mbox

[0/9] code optimization for hns3 PMD

Message ID 20211102031729.35536-1-humin29@huawei.com (mailing list archive)
Headers

Message

humin (Q) Nov. 2, 2021, 3:17 a.m. UTC
  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

 drivers/net/hns3/hns3_cmd.c       |   2 +-
 drivers/net/hns3/hns3_common.c    | 762 ++++++++++++++++++++++++++++++
 drivers/net/hns3/hns3_common.h    |  61 +++
 drivers/net/hns3/hns3_ethdev.c    | 748 +----------------------------
 drivers/net/hns3/hns3_ethdev.h    |  47 +-
 drivers/net/hns3/hns3_ethdev_vf.c | 327 +------------
 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 +
 15 files changed, 901 insertions(+), 1138 deletions(-)
 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