[PATCH v2] net/iavf: do Tx done cleanup starting from Tx tail

Zhang, Qi Z qi.z.zhang at intel.com
Tue Aug 30 03:45:34 CEST 2022



> -----Original Message-----
> From: Aleksandr Miloshenko <a.miloshenko at f5.com>
> Sent: Tuesday, August 30, 2022 9:14 AM
> To: Zhang, Qi Z <qi.z.zhang at intel.com>; Wu, Jingjing <jingjing.wu at intel.com>;
> Xing, Beilei <beilei.xing at intel.com>
> Cc: dev at dpdk.org; Aleksandr Miloshenko <a.miloshenko at f5.com>;
> stable at 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: stable at dpdk.org
> 
> Signed-off-by: Aleksandr Miloshenko <a.miloshenko at f5.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


More information about the stable mailing list