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

Function free_pkts

dpdk/examples/vhost/main.c:1021–1026  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1019}
1020
1021static inline void
1022free_pkts(struct rte_mbuf **pkts, uint16_t n)
1023{
1024 while (n--)
1025 rte_pktmbuf_free(pkts[n]);
1026}
1027
1028static __rte_always_inline void
1029complete_async_pkts(struct vhost_dev *vdev)

Callers 7

complete_async_pktsFunction · 0.70
drain_vhostFunction · 0.70
do_drain_mbuf_tableFunction · 0.70
drain_eth_rxFunction · 0.70
drain_virtio_txFunction · 0.70
vhost_clear_queueFunction · 0.70

Calls 1

rte_pktmbuf_freeFunction · 0.85

Tested by

no test coverage detected