[PATCH 0/6] net/hns3: some code optimization for Rx/Tx function

Dongdong Liu liudongdong3 at huawei.com
Sat Feb 11 10:18:24 CET 2023


This patchset is to do some code optimization for Rx/Tx function.

Huisong Li (6):
  net/hns3: fix querying dummy function failed
  net/hns3: add debug info for Rx/Tx dummy function
  net/hns3: remove debug condition for Tx prepare
  net/hns3: separate tx prepare from getting Tx function
  net/hns3: remove getting Tx function from head file
  net/hns3: extract common functions to set Rx/Tx

 drivers/net/hns3/hns3_ethdev.c    |  20 ++----
 drivers/net/hns3/hns3_ethdev_vf.c |  19 ++----
 drivers/net/hns3/hns3_mp.c        |   4 +-
 drivers/net/hns3/hns3_rxtx.c      | 108 ++++++++++++++++++------------
 drivers/net/hns3/hns3_rxtx.h      |   5 +-
 5 files changed, 79 insertions(+), 77 deletions(-)

--
2.22.0



More information about the stable mailing list