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

Function infinite_rx_ring_free

dpdk/drivers/net/pcap/pcap_ethdev.c:818–827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

816}
817
818static inline void
819infinite_rx_ring_free(struct rte_ring *pkts)
820{
821 struct rte_mbuf *bufs;
822
823 while (!rte_ring_dequeue(pkts, (void **)&bufs))
824 rte_pktmbuf_free(bufs);
825
826 rte_ring_free(pkts);
827}
828
829static int
830eth_dev_close(struct rte_eth_dev *dev)

Callers 2

eth_dev_closeFunction · 0.85
eth_rx_queue_setupFunction · 0.85

Calls 3

rte_ring_dequeueFunction · 0.85
rte_pktmbuf_freeFunction · 0.85
rte_ring_freeFunction · 0.85

Tested by

no test coverage detected