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

Feifei Wang
2026-03-16T13:44:03Z

From: chenyi221 <chenyi221@huawei.com>

Change hinic3 driver to support Huawei new SPx series NIC.

v2:
--fix build issues

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 | 80 ++-
drivers/net/hinic3/base/hinic3_cmdq.c | 370 ++++------
drivers/net/hinic3/base/hinic3_cmdq.h | 112 ++-
drivers/net/hinic3/base/hinic3_cmdq_enhance.c | 111 +++
drivers/net/hinic3/base/hinic3_cmdq_enhance.h | 125 ++++
drivers/net/hinic3/base/hinic3_csr.h | 18 +-
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 | 10 +-
drivers/net/hinic3/base/hinic3_mgmt.c | 5 +-
drivers/net/hinic3/base/hinic3_mgmt.h | 2 +
drivers/net/hinic3/base/hinic3_nic_cfg.c | 182 ++---
drivers/net/hinic3/base/hinic3_nic_cfg.h | 98 ++-
drivers/net/hinic3/base/meson.build | 1 +
drivers/net/hinic3/hinic3_ethdev.c | 280 ++++++--
drivers/net/hinic3/hinic3_ethdev.h | 120 ++--
drivers/net/hinic3/hinic3_fdir.c | 657 +++++++++++++-----
drivers/net/hinic3/hinic3_fdir.h | 361 ++++++++--
drivers/net/hinic3/hinic3_nic_io.c | 525 ++++++--------
drivers/net/hinic3/hinic3_nic_io.h | 163 ++++-
drivers/net/hinic3/hinic3_rx.c | 265 +++++--
drivers/net/hinic3/hinic3_rx.h | 182 ++++-
drivers/net/hinic3/hinic3_tx.c | 458 ++++++------
drivers/net/hinic3/hinic3_tx.h | 154 +++-
.../net/hinic3/htn_adapt/hinic3_htn_cmdq.c | 167 +++++
.../net/hinic3/htn_adapt/hinic3_htn_cmdq.h | 63 ++
drivers/net/hinic3/htn_adapt/meson.build | 7 +
drivers/net/hinic3/meson.build | 8 +-
.../net/hinic3/stn_adapt/hinic3_stn_cmdq.c | 151 ++++
.../net/hinic3/stn_adapt/hinic3_stn_cmdq.h | 46 ++
drivers/net/hinic3/stn_adapt/meson.build | 7 +
33 files changed, 3362 insertions(+), 1443 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