[PATCH 0/7] hinic3 change for support new SPx NIC

Feifei Wang
2026-01-31T10:06:52Z

Change hinic3 driver to support Huawei new SPx series NIC.

Feifei Wang (7):
net/hinic3: add support for new SPx series NIC
net/hinic3: add enhance cmdq support for new SPx series NIC
net/hinic3: use different callback func to split new/old cmdq
operations
net/hinic3: add fun init ops to support Compact CQE
net/hinic3: add rx ops to support Compact CQE
net/hinic3: add tx ops to support Compact CQE
net/hinic3: use different callback func to support htn fdir

drivers/net/hinic3/base/hinic3_cmd.h | 145 +++--
drivers/net/hinic3/base/hinic3_cmdq.c | 400 +++++-------
drivers/net/hinic3/base/hinic3_cmdq.h | 65 +-
drivers/net/hinic3/base/hinic3_cmdq_enhance.c | 110 ++++
drivers/net/hinic3/base/hinic3_cmdq_enhance.h | 169 +++++
drivers/net/hinic3/base/hinic3_csr.h | 16 +-
drivers/net/hinic3/base/hinic3_hw_comm.c | 15 +-
drivers/net/hinic3/base/hinic3_hw_comm.h | 31 +-
drivers/net/hinic3/base/hinic3_hwdev.c | 13 +-
drivers/net/hinic3/base/hinic3_hwdev.h | 18 +
drivers/net/hinic3/base/hinic3_hwif.c | 4 +-
drivers/net/hinic3/base/hinic3_mgmt.c | 5 +-
drivers/net/hinic3/base/hinic3_mgmt.h | 2 +
drivers/net/hinic3/base/hinic3_nic_cfg.c | 167 +++--
drivers/net/hinic3/base/hinic3_nic_cfg.h | 104 ++--
drivers/net/hinic3/base/meson.build | 1 +
drivers/net/hinic3/hinic3_ethdev.c | 240 +++++--
drivers/net/hinic3/hinic3_ethdev.h | 132 ++--
drivers/net/hinic3/hinic3_fdir.c | 589 ++++++++++++------
drivers/net/hinic3/hinic3_fdir.h | 373 +++++++++--
drivers/net/hinic3/hinic3_nic_io.c | 507 +++++++--------
drivers/net/hinic3/hinic3_nic_io.h | 147 +++++
drivers/net/hinic3/hinic3_rx.c | 235 +++++--
drivers/net/hinic3/hinic3_rx.h | 147 +++++
drivers/net/hinic3/hinic3_tx.c | 463 +++++++-------
drivers/net/hinic3/hinic3_tx.h | 144 ++++-
.../net/hinic3/htn_adapt/hinic3_htn_cmdq.c | 163 +++++
.../net/hinic3/htn_adapt/hinic3_htn_cmdq.h | 55 ++
drivers/net/hinic3/htn_adapt/meson.build | 7 +
.../net/hinic3/stn_adapt/hinic3_stn_cmdq.c | 147 +++++
.../net/hinic3/stn_adapt/hinic3_stn_cmdq.h | 38 ++
drivers/net/hinic3/stn_adapt/meson.build | 7 +
32 files changed, 3268 insertions(+), 1391 deletions(-)
create mode 100644 drivers/net/hinic3/base/hinic3_cmdq_enhance.c
create mode 100644 drivers/net/hinic3/base/hinic3_cmdq_enhance.h
create mode 100644 drivers/net/hinic3/htn_adapt/hinic3_htn_cmdq.c
create mode 100644 drivers/net/hinic3/htn_adapt/hinic3_htn_cmdq.h
create mode 100644 drivers/net/hinic3/htn_adapt/meson.build
create mode 100644 drivers/net/hinic3/stn_adapt/hinic3_stn_cmdq.c
create mode 100644 drivers/net/hinic3/stn_adapt/hinic3_stn_cmdq.h
create mode 100644 drivers/net/hinic3/stn_adapt/meson.build

--
2.45.1.windows.1