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 0CFB2460A7; Fri, 17 Jan 2025 11:43:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2BD14415D7; Fri, 17 Jan 2025 11:43:19 +0100 (CET) Received: from smtpbguseast1.qq.com (smtpbguseast1.qq.com [54.204.34.129]) by mails.dpdk.org (Postfix) with ESMTP id 7BDFB4027A for ; Fri, 17 Jan 2025 11:43:15 +0100 (CET) X-QQ-mid: bizesmtpsz8t1737110591trmeb5r X-QQ-Originating-IP: 9Sf7UcSYiahDY7Yt/9xP+dU9RH+moj8dH6pkmur3TGU= Received: from DSK-zaiyuwang.trustnetic.com ( [36.24.187.167]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 17 Jan 2025 18:43:04 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 0 X-BIZMAIL-ID: 13600155081873807928 From: Zaiyu Wang To: dev@dpdk.org Cc: Zaiyu Wang Subject: [PATCH v2 00/15] net/ngbe: add VF driver support Date: Fri, 17 Jan 2025 18:40:59 +0800 Message-Id: <20250117104115.16528-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: bizesmtpsz:trustnetic.com:qybglogicsvrgz:qybglogicsvrgz5a-1 X-QQ-XMAILINFO: NWth7vBa++GduH/zfaaMq/I/p7xSPWS0PvSyGLu+f7RAA1Eq0Fgr8hpn Iv/uz8eMqozaWftYDebDYM4JhlUU8JI3+4OiZN6jSQxV0zmJUWiBBVjIcdKIHqIJ7bEF0jr cBU89bvbWwyk9kKrNIXpwWIwk1jr4LYkOXrg86GevCGD3OrKhRR9CuDErBuCWNr0aOHVIaY F4nxvGTGLq9r596v8NmEJ3ZPUEZ6sSNdEW67TDiv+Cj5Nlsbj+MNd34UPL0AkXP0r5Po81l 4xLasSLZT6defGLQbCTTwyqSt2VAWkRKoZ/1H8XKE64MJEm7Kkv9MUGC4rjGQKR0UEFCyBj n2+3hkD0L2jawWm8QVDLO4rSpQatMcBN5uCX+zR+EKkmX6+G7pYMd3gGO+ZUJwWFERcENwB flsu9+LwSZxDTNkOAtGj1jiUQoKtlbtE7irPojZ/EzNhg5dC0bLPyEBdTjrj0I/YX/NfCy0 2LVcS+GRGpTVqgB84SJSvQOoqEHwgQRzVeFuznTVTEsrkJQIURfvFKN/ww5HfTLnxr35fyW CB5QM9eNcIld6OAiH8Edh7+w+uLlyiyIe7ixGzdowSiG8pwu2CEkTjkWvV/bWj16N4GjX4s Wm4vROcLPRQYDiIOVTGvh48RGBgWJmKdVpol5m7XzW73QbDC8Qay0ywj6PV88K06d2UF388 pL2q4eX0LiaCPIvAMCuWI+uCPkqMaLs6eW+Dj4gp9+pnlK4FBvJubWxpVcpYM/S128xhN7d M1fNsU4IPILR9g7HnwfUzCYCUTyCEs+ljRwRuEVoK/X6pKQZmkQMM/+JLpifCwZk9et72R2 tDFc+9rvDH8HQtdsdFWkcKJWTlEOaQUS1c3rfkJuk4LrygtU1qQqXZWyDEddr215JX53UJs pWj2jpLWWVbB85LxVokKivjCKlXs1kMDgo6FWKYJRUXw+CIUbES7e1WxhSDd4a6vp9nRb8B FM+glod8RLwmjLiQHmGrSVK8MtX9nKC1pL3qXIdEFW84z8w== X-QQ-XMRINFO: NI4Ajvh11aEj8Xl/2s1/T8w= 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 --- 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 | 1350 ++++++++++++++++++++++++++ drivers/net/ngbe/ngbe_rxtx.c | 209 ++++ 14 files changed, 2743 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