[V9 17/17] drivers/net: add hinic3 PMD build and doc files
Feifei Wang
wff_light at vip.163.com
Tue Sep 9 09:31:45 CEST 2025
From: Yi Chen <chenyi221 at huawei.com>
The hinic3.ini file and hinic3.rst file are added to this patch.
Signed-off-by: Yi Chen <chenyi221 at huawei.com>
Reviewed-by: Xin Wang <wangxin679 at h-partners.com>
Reviewed-by: Feifei Wang <wangfeifei40 at huawei.com>
---
MAINTAINERS | 1 +
doc/guides/nics/features/hinic3.ini | 60 +++++++++++++++++++++++++++++
doc/guides/nics/hinic3.rst | 47 ++++++++++++++++++++++
drivers/net/meson.build | 1 +
4 files changed, 109 insertions(+)
create mode 100644 doc/guides/nics/features/hinic3.ini
create mode 100644 doc/guides/nics/hinic3.rst
diff --git a/MAINTAINERS b/MAINTAINERS
index be7c815f11..80c43e8465 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -783,6 +783,7 @@ Huawei hinic3
M: Feifei Wang <wangfeifei40 at huawei.com>
F: drivers/net/hinic3/
F: doc/guides/nics/hinic3.rst
+F: doc/guides/nics/features/hinic3.ini
Intel Network Common Code
M: Bruce Richardson <bruce.richardson at intel.com>
diff --git a/doc/guides/nics/features/hinic3.ini b/doc/guides/nics/features/hinic3.ini
new file mode 100644
index 0000000000..50012ca696
--- /dev/null
+++ b/doc/guides/nics/features/hinic3.ini
@@ -0,0 +1,60 @@
+;
+; Supported features of the 'hinic3' network poll mode driver.
+;
+; Refer to default.ini for the full list of available PMD features.
+;
+[Features]
+Speed capabilities = Y
+Link speed configuration = Y
+Link status = Y
+Link status event = Y
+Rx interrupt = Y
+Queue start/stop = Y
+Runtime Rx queue setup = Y
+Runtime Tx queue setup = Y
+Burst mode info = Y
+Fast mbuf free = Y
+Free Tx mbuf on demand = Y
+MTU update = Y
+Scattered Rx = Y
+TSO = Y
+LRO = Y
+Promiscuous mode = Y
+Allmulticast mode = Y
+Unicast MAC filter = Y
+Multicast MAC filter = Y
+RSS hash = Y
+RSS key update = Y
+RSS reta update = Y
+VLAN filter = Y
+Flow control = Y
+Traffic manager = Y
+CRC offload = Y
+FEC = Y
+L3 checksum offload = Y
+L4 checksum offload = Y
+Inner L3 checksum = Y
+Inner L4 checksum = Y
+Packet type parsing = Y
+Basic stats = Y
+Extended stats = Y
+Stats per queue = Y
+FW version = Y
+Registers dump = Y
+Timesync = Y
+Multiprocess aware = Y
+Linux = Y
+x86-64 = Y
+ARMv8 = Y
+
+[rte_flow items]
+any = Y
+eth = Y
+icmp = Y
+ipv4 = Y
+ipv6 = Y
+tcp = Y
+udp = Y
+vxlan = Y
+[rte_flow actions]
+queue = Y
diff --git a/doc/guides/nics/hinic3.rst b/doc/guides/nics/hinic3.rst
new file mode 100644
index 0000000000..0eebcf0723
--- /dev/null
+++ b/doc/guides/nics/hinic3.rst
@@ -0,0 +1,47 @@
+.. SPDX-License-Identifier: BSD-3-Clause
+ Copyright(c) 2025 Huawei Technologies Co., Ltd
+
+HINIC3 Poll Mode Driver
+=======================
+
+The hinic3 PMD (**librte_net_hinic3**) provides poll mode driver support
+for 25Gbps/100Gbps/200Gbps Huawei SPx series Network Adapters.
+
+Features
+--------
+
+- Multi arch support: x86_64, ARMv8.
+- Multiple queues for TX and RX
+- Receiver Side Scaling (RSS)
+- flow filtering
+- Checksum offload
+- TSO offload
+- Promiscuous mode
+- Port hardware statistics
+- Link state information
+- Link flow control
+- Scattered and gather for TX and RX
+- Allmulticast mode
+- MTU update
+- Multicast MAC filter
+- Flow API
+- Set Link down or up
+- VLAN filter and VLAN offload
+- SR-IOV - Partially supported at this point, VFIO only
+- FW version
+- LRO
+
+Prerequisites
+-------------
+
+- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
+
+Driver compilation and testing
+------------------------------
+
+Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>`
+for details.
+
+Limitations or Known issues
+---------------------------
+X86-32, Windows, and BSD are not supported yet.
diff --git a/drivers/net/meson.build b/drivers/net/meson.build
index 61f8cddb30..2d32068ed2 100644
--- a/drivers/net/meson.build
+++ b/drivers/net/meson.build
@@ -23,6 +23,7 @@ drivers = [
'failsafe',
'gve',
'hinic',
+ 'hinic3',
'hns3',
'intel/e1000',
'intel/fm10k',
--
2.47.0.windows.2
More information about the dev
mailing list