MCPcopy Create free account
hub / github.com/F-Stack/f-stack / is_imm

Function is_imm

dpdk/drivers/net/cxgbe/sge.c:1270–1273  ·  view source on GitHub ↗

* is_imm - check whether a packet can be sent as immediate data * @mbuf: the packet * * Returns true if a packet can be sent as a WR with immediate data. */

Source from the content-addressed store, hash-verified

1268 * Returns true if a packet can be sent as a WR with immediate data.
1269 */
1270static inline int is_imm(const struct rte_mbuf *mbuf)
1271{
1272 return mbuf->pkt_len <= MAX_CTRL_WR_LEN;
1273}
1274
1275/**
1276 * inline_tx_mbuf: inline a packet's data into TX descriptors

Callers 1

ctrl_xmitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected