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

Function pktmbuf_input_free_bulk

dpdk/examples/bbdev_app/main.c:298–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298static inline void
299pktmbuf_input_free_bulk(struct rte_mbuf **mbufs, unsigned int nb_to_free)
300{
301 unsigned int i;
302 for (i = 0; i < nb_to_free; ++i) {
303 struct rte_mbuf *rx_pkt = *mbuf_input(mbufs[i]);
304 rte_pktmbuf_free(rx_pkt);
305 rte_pktmbuf_free(mbufs[i]);
306 }
307}
308
309/* Check the link status of all ports in up to 9s, and print them finally */
310static int

Callers 2

run_encodingFunction · 0.85
run_decodingFunction · 0.85

Calls 2

mbuf_inputFunction · 0.85
rte_pktmbuf_freeFunction · 0.85

Tested by

no test coverage detected