[dpdk-users] mbuf free cnt not decreasing

Ferruh Yigit ferruh.yigit at intel.com
Mon Apr 18 16:53:38 CEST 2016


On 4/18/2016 9:41 AM, Javier Coleto Fernández wrote:
> Hi Andriy,
> 
> Thank you for your answer.
> I've tried what you said and determined it's an mbuf leak, because the
> number of free mbufs doesn't stabilize, even when I increase the number of
> mbufs in the mempool.
> Is there any way to easily debug this mbuf leak? I didn't make the full
> code, so I don't really know where to start looking for leaks.
> 

Can you please check free_q?
kni_fifo_free_count(kni->free_q)

If you call rte_kni_tx_burst() for more than 32 packets at a time, mbufs
may stuck in free_q.

Regards,
ferruh



More information about the users mailing list