Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/iavf: fix Tx done descriptors cleanup
[ upstream commit 4e86840 ] 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: 86e4424 ("net/iavf: cleanup Tx buffers") Signed-off-by: Aleksandr Miloshenko <a.miloshenko@f5.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
- Loading branch information