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 9D43F460C1; Mon, 20 Jan 2025 10:43:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 38CDD40280; Mon, 20 Jan 2025 10:43:26 +0100 (CET) Received: from smtpbgeu1.qq.com (smtpbgeu1.qq.com [52.59.177.22]) by mails.dpdk.org (Postfix) with ESMTP id 2C94F4027A for ; Mon, 20 Jan 2025 10:43:23 +0100 (CET) X-QQ-mid: bizesmtp86t1737366197txc7oih9 X-QQ-Originating-IP: 7ZfFst6cO31uPMovdPGWqw3PtYeOhPOmSMMT1wZ08Po= Received: from DSK-zaiyuwang.trustnetic.com ( [115.197.136.137]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 20 Jan 2025 17:43:13 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 0 X-BIZMAIL-ID: 11516024576071458351 From: Zaiyu Wang To: dev@dpdk.org Cc: Zaiyu Wang Subject: [PATCH v4 00/15] net/ngbe: add VF driver support Date: Mon, 20 Jan 2025 17:42:26 +0800 Message-Id: <20250120094242.1844-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: NCzI/oQKSQE0Vk4FP4BzaCpxRM5oZRe91Xd0gvaHLrFxlsoEUci4Ceax 3Alfk/1Nggo2ECe9Rqv5F/C6YJ9cEbEJz0WFwtD+EAoCNEdpZRcOv/EbCcYf778jUrTu8bS 2bSp8CWsJcqaocV0yvqytlT21svMWuepssm73aE0oHZmuwntmDg6WcPb5N+mXCPaKi/3G0q LcYzoki+kVmgWgzdolEx6bESdqZ8gz9XAQ+vzbUcWBTXZYorILE+jHhm4076cAdFv23HalX n2kbRfShDCmaBnR2ymvGJGs+/kWQ/3xazlckvAonQNYsHUAfr8wg570D5VDTRnSDi7sOX90 bigJsdMBLjMMJdhSCxLLjBHRLscELgNAcFy+nELkVHyff4k38BCP8n+4x08jWyIjrGR5xji L2viEm8CkcJVocUsbKmJPQPkgi6IhnORXDQ1QY6b+wUe9yvsDoyon4hpXm9vVYpuHvWKgpg sAnQnLF8ysZ4LST/zQFRbazTGqGNVih9LRfpcDh3BkMvMqwhzc24I4406uLFM1lTWwm3p+6 fJRdyvP88sJ97nEVPgtBjYKyhMldsEOZcNTZjQwMfUvQ/aCHezwmLMSM+WpNLdcbLsoi16V uv3jt1nJ0EtYHdbOlqOWFw12jwK4r0WxoO2ZX1FKCP0mU0khSpvJFW3TSb5rUU0nwIGUBG1 hVVUQG51sIkjtTPqwqPCL6pBaoIjtnGVMoJaHW1CjCnEeQwpgGitndq8q8aJ/SPlsjnZVWa bkxk6gZ1Uabs9cbS5u7CDC9cZc/x6ueQUq3yKj6TljBx84b22Wo2ce6q96Lm+wWU2V5lXv8 scxCuNftY/UWJshR18ye3MYN8NieVJPnRySQnzeMwQ2Uey8+Mk6GDoWo4snBpCw8Ki8X40k kU1/soP7vo95xs+AmAvVK+VgsxZlV61M9/uCpS4PS5ZpcX7S5TZt5LRTIgnVSY4bP/gTtuH t3UkudEvBq5vnlDNmmptwJKl1 X-QQ-XMRINFO: NyFYKkN4Ny6FSmKK/uo/jdU= 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 --- v4: - fix to add Line Feed at the end of files --- 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