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 9EF8D46F64; Wed, 24 Sep 2025 09:55:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0582840E16; Wed, 24 Sep 2025 09:54:04 +0200 (CEST) Received: from mail-m16.vip.163.com (mail-m16.vip.163.com [220.197.30.222]) by mails.dpdk.org (Postfix) with ESMTP id 3E2FF40BA4 for ; Wed, 24 Sep 2025 09:53:56 +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=URxS67szY1C/hnWm0FHXIQTLjISjgUzRRA/6kYl6qdc=; b=b9DTw0fWRzpMZbBCBVWtkRg8DM0FW2i6QAeAZdys0jtKGvFaegH0rosGLtAGAf sY3l2yQ33VYXdw0inFGtkAxe2lLCpYwfWH0/IFNe/3iZyEkrrxhyg5SDB3QvK76w mHT1+xDafCPdG7ydyjedCoOu7AC6umPNR7GuF18YpTt5s= Received: from localhost.localdomain (unknown [114.116.198.59]) by gzsmtp2 (Coremail) with SMTP id As8vCgDnT+VCo9No80coBA--.31336S22; Wed, 24 Sep 2025 15:53:53 +0800 (CST) From: Feifei Wang To: dev@dpdk.org Cc: gongfan1@huawei.com, Yi Chen , Xin Wang , Feifei Wang Subject: [V13 18/18] drivers/net: add hinic3 PMD build and doc files Date: Wed, 24 Sep 2025 15:52:05 +0800 Message-ID: <20250924075216.18750-19-wff_light@vip.163.com> X-Mailer: git-send-email 2.47.0.windows.2 In-Reply-To: <20250924075216.18750-1-wff_light@vip.163.com> References: <20250418090621.9638-1-wff_light@vip.163.com> <20250924075216.18750-1-wff_light@vip.163.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: As8vCgDnT+VCo9No80coBA--.31336S22 X-Coremail-Antispam: 1Uf129KBjvJXoWxAFWxKryDCw43tr13Wr1UGFg_yoWrXr45pa 13C34fKrykG3y2vwnxtw1UAr4rXw4vkFWUuw4xJFyrZF98Cr10vw48Kay0y39rJ34rZFyf ZF1YvryakF1jqwUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jO9N3UUUUU= X-Originating-IP: [114.116.198.59] X-CM-SenderInfo: pziiszhljk3qxylshiywtou0bp/1tbiBg-SCmjTmswiRwAAsZ 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 | 50 +++++++++++++++++++++++++++++ doc/guides/nics/hinic3.rst | 47 +++++++++++++++++++++++++++ drivers/net/meson.build | 1 + 4 files changed, 99 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 e24fbcccbb..3719ff5143 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -786,6 +786,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..fe63379bad --- /dev/null +++ b/doc/guides/nics/features/hinic3.ini @@ -0,0 +1,50 @@ +; +; 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 +Rx interrupt = Y +Queue start/stop = Y +Runtime Rx queue setup = Y +Runtime Tx queue setup = 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 reta update = Y +VLAN filter = Y +Flow control = Y +CRC offload = 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 +Multiprocess aware = Y +Linux = Y +x86-64 = Y +ARMv8 = Y + +[rte_flow items] +any = Y +eth = 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..87dec019bd --- /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