net/iavf: cleanup Tx buffers
authorRobin Zhang <robinx.zhang@intel.com>
Sun, 27 Sep 2020 07:26:24 +0000 (07:26 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 9 Oct 2020 11:17:43 +0000 (13:17 +0200)
commit86e44244f95c6bf7c4658805eb764ed7cf627fef
tree0f90b9451c5437e8dbbed5bd0292ddf670f42517
parent41515403f1841c7444c648c21dc355c6fe258709
net/iavf: cleanup Tx buffers

Add support to the iavf driver for the API rte_eth_tx_done_cleanup
to force free consumed buffers on Tx ring.

Signed-off-by: Robin Zhang <robinx.zhang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_ethdev.c
drivers/net/iavf/iavf_rxtx.c
drivers/net/iavf/iavf_rxtx.h