[dpdk-dev] PCAP memory leak in freeing jumbo frames

Dror Birkman dror.birkman at lightcyber.com
Thu Nov 3 10:35:14 CET 2016


I have a huge memory leak when I release mbufs allocated
by eth_pcap_rx_jumbo().

I use rte_mempool_put_bulk() to release the mbufs.
To my horror I found out it puts back to the mempool only the head mbuf and
not its segments!

I know rte_pktmbuf_free() frees the mbuf and all it segments, but afaik it
is not thread safe.

What is the thread safe way to free mbufs (preferably in bulk) and their


More information about the dev mailing list