From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A03ED46EAF; Tue, 9 Sep 2025 09:35:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C4FC40BA6; Tue, 9 Sep 2025 09:33:21 +0200 (CEST) Received: from mail-m16.vip.163.com (mail-m16.vip.163.com [220.197.30.221]) by mails.dpdk.org (Postfix) with ESMTP id 198F940B8F for ; Tue, 9 Sep 2025 09:33:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vip.163.com; s=s110527; h=From:To:Subject:Date:Message-ID: MIME-Version; bh=V81enEQVn1SrallO5bV83rrg68JXoxx4FoGYxFq//ps=; b=aQwoRX6vL/NZyAhVr1Wvp1Y/YNTNIDlEAqDHSDQHWVgGPkucuExMLWxzNqHFeX vlO/ajDfCdywDpwekCpBsNKcEYAbQp/Kr+qNkj1D8LWEXeNXL9C/7L21QG/ZOvyR s/sONFqC1e6Yv+IAP7vuRrWaNaGdRkTesshgk2RQmVrkk= Received: from localhost.localdomain (unknown [114.116.198.59]) by gzsmtp1 (Coremail) with SMTP id Ac8vCgAXb4cZ2L9oEBzOAQ--.47637S21; Tue, 09 Sep 2025 15:33:11 +0800 (CST) From: Feifei Wang To: dev@dpdk.org Cc: Yi Chen , Xin Wang , Feifei Wang Subject: [V9 17/17] drivers/net: add hinic3 PMD build and doc files Date: Tue, 9 Sep 2025 15:31:45 +0800 Message-ID: <20250909073157.14968-18-wff_light@vip.163.com> X-Mailer: git-send-email 2.47.0.windows.2 In-Reply-To: <20250909073157.14968-1-wff_light@vip.163.com> References: <20250418090621.9638-1-wff_light@vip.163.com> <20250909073157.14968-1-wff_light@vip.163.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: Ac8vCgAXb4cZ2L9oEBzOAQ--.47637S21 X-Coremail-Antispam: 1Uf129KBjvJXoWxAFWxKryDCFWrAF1UGrWDXFb_yoWrWF4Upw 43A34fKr9rG3y2qwnxtw1UAr4rXw4vkFWUu397GFyruF98Cr10vw4Utay0v39rJ345ZFyf ZF1YvryakF1jqwUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07j8189UUUUU= X-Originating-IP: [114.116.198.59] X-CM-SenderInfo: pziiszhljk3qxylshiywtou0bp/1tbiHh7DCmi-l37gpwAAsw X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Yi Chen The hinic3.ini file and hinic3.rst file are added to this patch. Signed-off-by: Yi Chen Reviewed-by: Xin Wang Reviewed-by: Feifei Wang --- 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 F: drivers/net/hinic3/ F: doc/guides/nics/hinic3.rst +F: doc/guides/nics/features/hinic3.ini Intel Network Common Code M: Bruce Richardson 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 ` to setup the basic DPDK environment. + +Driver compilation and testing +------------------------------ + +Refer to the document :ref:`compiling and testing a PMD for a NIC ` +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