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

Function ena_init_rx_mbuf

dpdk/drivers/net/ena/ena_ethdev.c:2585–2591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2583}
2584
2585static inline void ena_init_rx_mbuf(struct rte_mbuf *mbuf, uint16_t len)
2586{
2587 mbuf->data_len = len;
2588 mbuf->data_off = RTE_PKTMBUF_HEADROOM;
2589 mbuf->refcnt = 1;
2590 mbuf->next = NULL;
2591}
2592
2593static struct rte_mbuf *ena_rx_mbuf(struct ena_ring *rx_ring,
2594 struct ena_com_rx_buf_info *ena_bufs,

Callers 1

ena_rx_mbufFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected