net/i40e: cleanup Tx buffers
authorChenxu Di <chenxux.di@intel.com>
Mon, 13 Jan 2020 09:57:05 +0000 (09:57 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:26 +0000 (19:46 +0100)
commit6a8defc552b11adb311565e6e5480d264b7de982
treeab3cce8620ef298fd485735a2abf3134fceedbc0
parent8dc4ff37fe8b7c656aafdf81360f2ef2cd0d94d3
net/i40e: cleanup Tx buffers

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

Signed-off-by: Chenxu Di <chenxux.di@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev_vf.c
drivers/net/i40e/i40e_rxtx.c
drivers/net/i40e/i40e_rxtx.h