This patch set fixes problem when mbufs are not released back to the original memory pool during Rx queue relese call leading to mbufs "leakage".
This issue happens when device stop (rte_eth_dev_stop()) will be called after device start (rte_eth_dev_start()) without any incoming packets received since device start. In this case both rxq->rx_tail and rxq->rxrearm_start equal to 0 and release cycle will not be executed. On the next device start (rte_eth_dev_start()) new set of mbufs for the RX queue will be allocated. Yury Kylulin (2): net/ixgbe: fix mbufs leakage during Rx queue release net/i40e: fix mbufs leakage during Rx queue release drivers/net/i40e/i40e_rxtx_vec.c | 16 ++++++++++++++-- drivers/net/ixgbe/ixgbe_rxtx_vec_common.h | 16 ++++++++++++++-- 2 files changed, 28 insertions(+), 4 deletions(-) -- 2.7.4