From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (unknown [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DA48C460AB; Fri, 17 Jan 2025 12:45:27 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C557942DBB; Fri, 17 Jan 2025 12:45:09 +0100 (CET) Received: from smtpbguseast1.qq.com (smtpbguseast1.qq.com [54.204.34.129]) by mails.dpdk.org (Postfix) with ESMTP id CB091427DD for ; Fri, 17 Jan 2025 12:45:07 +0100 (CET) X-QQ-mid: bizesmtp85t1737114303tex24o4v X-QQ-Originating-IP: BGDba0DCbH4vV4YgB4+HDRl28nvefmKWRwUwLCW7+7E= Received: from DSK-zaiyuwang.trustnetic.com ( [36.24.187.167]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 17 Jan 2025 19:44:58 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 0 X-BIZMAIL-ID: 2023437724150424165 From: Zaiyu Wang To: dev@dpdk.org Cc: Zaiyu Wang Subject: [PATCH v3 00/15] net/ngbe: add VF driver support Date: Fri, 17 Jan 2025 19:44:38 +0800 Message-Id: <20250117114455.15864-1-zaiyuwang@trustnetic.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20250109040227.1016-1-zaiyuwang@trustnetic.com> References: <20250109040227.1016-1-zaiyuwang@trustnetic.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:trustnetic.com:qybglogicsvrgz:qybglogicsvrgz5a-1 X-QQ-XMAILINFO: MSrNHHHirmthipildA6nWNFfoqU5xUgv2dzCqKNQK/w0nOlmHmUgzJv4 aeZ04ws90c22XoDDikM27mVnuhAtuPKEhHHzWTxcfNgG0CqsI/0uW2WqB6onOVa8HNsWjPF k0Y/8/yrlblzfp/6qkWOJ8SyBeE8wrKRRwMN7HOeXnB0wI16ey6rfhoJ2Nsd0o0DLSa0FNP OWipBChBVI/O0UMGyUHjQsOBy7gzfNG8SP12vLd5MuOqzSu3ShfJJ/D14bTp6XYbFOcS7Er mcLtTWAY+v2kTtljhpC6FXRIrkR77r3cD0idHWuEKvGpXVvRUuxFA15w/rzaCJcmY4LU7VM 9gPqfcrhTNnDwK9Dk9BZ9EviOPJEWiRylwlEzx2p3qN2aw8/S6GBlmPPg8F0Xv7jnTfcvf4 rqZTH7w+aiMAOt9toWCN4z7/fzbOb9td1zMKJ/F0+eXVU0yGVIFB2rEmPZqQyPioqWpuU+Y 5IoRZ2IIFUAsUOQNmSEwqkTKkhEgKzqam82i0BdliPlksUQF1oNPszWm0iXowsMFqnprWsc ulFD0Wa/3WoNSkUYyM67aGf5NhYFcEruOglEV1o09rj6lcntA369Sf3UabvOd8fL596XXS7 aYJyZxcw1ph4yqXB+eLtX7SedxD5WyyeiCOrSTPJtJ0UKJxzm3tN8H0wiThcPj3WXYBBcX5 OjjO/MOwlDXkq0r6LZZNNUxLBWrSUD/j0/rlOzfVMxz5LaQn2HScDRVqUTbiuKERGzuHd+A vuvKdM4qfVHcKw/kSRS0GoE+tr3krSelQcXnBAVmKwPELdmltA4/Fh5jIlhW+Z71OFUrwcK lRh7nki3oYaqveMvbEGgS2K73aq9SvuV/TqFjJtN61nO6QvgN4WRHwFU1oZU91VQUa9+Wie wSzWgkDOBBtoQzaQailD9q7Nn15CaGGflbv7VUih3zi/n+D0/sBmlHj81CfmfRiLzYi8CIF KNF4CalJSMTKIO8eDSAoBf6z1C44QvsohkmROc1AcdUW7+g== X-QQ-XMRINFO: OD9hHCdaPRBwq3WW+NvGbIU= X-QQ-RECHKSPAM: 0 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 This patch adds support to VF device for ngbe PMD. --- v2: - update description of patch content - fix build issue - formatting and cleanup --- v3: - fix Intel-compilation error --- Zaiyu Wang (15): net/ngbe: add ethdev probe and remove for VF device net/ngbe: add support for PF-VF mailbox interface net/ngbe: add hardware configuration code for VF device net/ngbe: add promiscuous and allmulticast ops for VF device net/ngbe: add set MTU ops for VF device net/ngbe: add add/remove/set mac addr ops for VF device net/ngbe: add datapath init code for VF device net/ngbe: add VLAN related ops for VF device net/ngbe: add interrupt support for VF device net/ngbe: add link update ops for VF device net/ngbe: add stats and xstats ops for VF device net/ngbe: add start/stop/reset/close ops for VF device net/ngbe: add multicast MAC filter ops for VF device net/ngbe: add dump registers ops for VF device net/ngbe: add some ops which PF has implemented doc/guides/nics/features/ngbe_vf.ini | 37 + doc/guides/nics/ngbe.rst | 11 + drivers/net/ngbe/base/meson.build | 1 + drivers/net/ngbe/base/ngbe.h | 1 + drivers/net/ngbe/base/ngbe_hw.c | 4 + drivers/net/ngbe/base/ngbe_mbx.c | 338 +++++++ drivers/net/ngbe/base/ngbe_mbx.h | 31 + drivers/net/ngbe/base/ngbe_type.h | 15 + drivers/net/ngbe/base/ngbe_vf.c | 671 +++++++++++++ drivers/net/ngbe/base/ngbe_vf.h | 68 ++ drivers/net/ngbe/meson.build | 1 + drivers/net/ngbe/ngbe_ethdev.h | 6 + drivers/net/ngbe/ngbe_ethdev_vf.c | 1353 ++++++++++++++++++++++++++ drivers/net/ngbe/ngbe_rxtx.c | 209 ++++ 14 files changed, 2746 insertions(+) create mode 100644 doc/guides/nics/features/ngbe_vf.ini create mode 100644 drivers/net/ngbe/base/ngbe_vf.c create mode 100644 drivers/net/ngbe/base/ngbe_vf.h create mode 100644 drivers/net/ngbe/ngbe_ethdev_vf.c -- 2.21.0.windows.1