> -----Original Message----- > From: Aleksandr Miloshenko <a.miloshe...@f5.com> > Sent: Tuesday, August 30, 2022 9:14 AM > To: Zhang, Qi Z <qi.z.zh...@intel.com>; Wu, Jingjing <jingjing...@intel.com>; > Xing, Beilei <beilei.x...@intel.com> > Cc: dev@dpdk.org; Aleksandr Miloshenko <a.miloshe...@f5.com>; > sta...@dpdk.org > Subject: [PATCH v2] net/iavf: do Tx done cleanup starting from Tx tail > > iavf_xmit_pkts() sets tx_tail to the next of last transmitted Tx descriptor. > So the > cleanup of Tx done descriptors must be started from tx_tail, not from the next > of tx_tail. > Otherwise rte_eth_tx_done_cleanup() doesn't free the first Tx done mbuf when > tx queue is full. > > Fixes: 86e44244f95c ("net/iavf: cleanup Tx buffers") > Cc: sta...@dpdk.org > > Signed-off-by: Aleksandr Miloshenko <a.miloshe...@f5.com> Acked-by: Qi Zhang <qi.z.zh...@intel.com> Applied to dpdk-next-net-intel. Thanks Qi