[dpdk-dev] [PATCH v2 0/9] code optimization for hns3 PMD

Min Hu (Connor) humin29 at huawei.com
Fri Nov 5 03:46:48 CET 2021


This patch set contains refactor patches and code check patches.

Chengwen Feng (1):
  net/hns3: remove PF/VF duplicate code

Huisong Li (7):
  net/hns3: fix the shift of DMA address in Rx/Tx queue
  net/hns3: remove a redundant function declaration
  net/hns3: modifying code alignment
  net/hns3: use unsigned integer for bitwise operations
  net/hns3: extract a common file
  net/hns3: remove magic numbers
  net/hns3: fix the return value of the function

Min Hu (Connor) (1):
  net/hns3: add hns3 flow header file
---
v2:
* rebase patch on top of latest next-net

 drivers/net/hns3.tar.gz           | Bin 0 -> 203522 bytes
 drivers/net/hns3/hns3_cmd.c       |   2 +-
 drivers/net/hns3/hns3_common.c    | 763 ++++++++++++++++++++++++++++++
 drivers/net/hns3/hns3_common.h    |  61 +++
 drivers/net/hns3/hns3_ethdev.c    | 749 +----------------------------
 drivers/net/hns3/hns3_ethdev.h    |  47 +-
 drivers/net/hns3/hns3_ethdev_vf.c | 328 +------------
 drivers/net/hns3/hns3_fdir.h      |  31 --
 drivers/net/hns3/hns3_flow.c      |   1 +
 drivers/net/hns3/hns3_flow.h      |  44 ++
 drivers/net/hns3/hns3_intr.c      |   2 +-
 drivers/net/hns3/hns3_mbx.c       |   2 +-
 drivers/net/hns3/hns3_rxtx.c      |   8 +-
 drivers/net/hns3/hns3_rxtx.h      |   1 -
 drivers/net/hns3/hns3_tm.c        |   2 +-
 drivers/net/hns3/meson.build      |   1 +
 16 files changed, 902 insertions(+), 1140 deletions(-)
 create mode 100644 drivers/net/hns3.tar.gz
 create mode 100644 drivers/net/hns3/hns3_common.c
 create mode 100644 drivers/net/hns3/hns3_common.h
 create mode 100644 drivers/net/hns3/hns3_flow.h

-- 
2.33.0



More information about the dev mailing list