mbox series

[v7,0/4] drivers/net: cleanup Tx buffers

Message ID 20200109103822.89011-1-chenxux.di@intel.com (mailing list archive)
Headers show
Series drivers/net: cleanup Tx buffers | expand

Message

Chenxu Di Jan. 9, 2020, 10:38 a.m. UTC
Add support to the drivers inclulding i40e, ice, ixgbe 
and igb vf for the API rte_eth_tx_done_cleanup to force
 free consumed buffers on Tx ring.

---
v7:
changed the design of code, reuse exist function.

Chenxu Di (4):
  net/i40e: cleanup Tx buffers
  net/ice: cleanup Tx buffers
  net/ixgbe: cleanup Tx buffers
  net/e1000: cleanup Tx buffers

 drivers/net/e1000/igb_ethdev.c    |   1 +
 drivers/net/i40e/i40e_ethdev.c    |   3 +
 drivers/net/i40e/i40e_ethdev_vf.c |   3 +
 drivers/net/i40e/i40e_rxtx.c      | 151 +++++++++++++++++++++++++++++
 drivers/net/i40e/i40e_rxtx.h      |   8 ++
 drivers/net/ice/ice_ethdev.c      |   3 +
 drivers/net/ice/ice_rxtx.c        | 155 +++++++++++++++++++++++++++++
 drivers/net/ice/ice_rxtx.h        |  11 +++
 drivers/net/ixgbe/ixgbe_ethdev.c  |   4 +
 drivers/net/ixgbe/ixgbe_rxtx.c    | 156 +++++++++++++++++++++++++++++-
 drivers/net/ixgbe/ixgbe_rxtx.h    |  10 ++
 11 files changed, 504 insertions(+), 1 deletion(-)