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

2016-11-03 Thread Dror Birkman
Hi, 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

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

2016-11-03 Thread Bruce Richardson
On Thu, Nov 03, 2016 at 11:35:14AM +0200, Dror Birkman wrote: > Hi, > > 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