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 32FF842FF3; Mon, 7 Aug 2023 04:16:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2461A43249; Mon, 7 Aug 2023 04:16:55 +0200 (CEST) Received: from smtpbguseast2.qq.com (smtpbguseast2.qq.com [54.204.34.130]) by mails.dpdk.org (Postfix) with ESMTP id C8B3F40A8B for ; Mon, 7 Aug 2023 04:16:52 +0200 (CEST) X-QQ-mid: bizesmtp66t1691374579t8brc8s7 Received: from steven.localdomain ( [183.81.182.182]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 07 Aug 2023 10:16:18 +0800 (CST) X-QQ-SSF: 01400000000000D0F000000A0000000 X-QQ-FEAT: XBN7tc9DADIDxJCM0is3KDaseVsnJx7vcQBa0wTihulOHPHi3bpA+P/L180sG N4ThEZuuXwNlF+eGMNWhb+Cw+GN5V+Zj8AU6ukohOzlqu7sT/tgoGt4aifgIjkD/kiDRcb5 4ygr1OPYq1QzAGyQz7v5G7od8V5zXhH94Yq9wmUKzdzSGJFGKqTKikHIa5agphxYqNziOnw dfKhHOe3pryy0N2twIAOd2dHZsC6By1W8XlZ9eDxjaZhkI85m+l1czdeFpbmskNTFh1Q4yG iJCCyn8rAxJZLFxKaLawGqGw2oaU5O6Gx/OlCe8t6Pd2fTjJj7RGLKZ2P65OQ70k9+e1GsP XG+D2Xlu4ZrVkwQGJdV1Mt+9Chxm/Z9HIn80AEUI1fNL8ebhi8= X-QQ-GoodBg: 2 X-BIZMAIL-ID: 401631844456221272 From: Wenbo Cao To: Cc: dev@dpdk.org, ferruh.yigit@amd.com, andrew.rybchenko@oktetlabs.ru, yaojun@mucse.com, Wenbo Cao Subject: [PATCH v4 0/8] [v4]drivers/net Add Support mucse N10 Pmd Driver Date: Mon, 7 Aug 2023 02:16:07 +0000 Message-Id: <20230807021615.3663034-1-caowenbo@mucse.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:mucse.com:qybglogicsvrgz:qybglogicsvrgz5a-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 For This patchset just to support the basic chip init work and user can just found the eth_dev, but can't control more. For Now just support 2*10g nic,the chip can support 2*10g,4*10g,4*1g,8*1g,8*10g. The Feature rx side can support rx-cksum-offload,rss,vlan-filter flow_clow,uncast_filter,mcast_filter,1588,Jumbo-frame The Feature tx side can supprt tx-cksum-offload,tso,vxlan-tso flow director base on ntuple pattern of tcp/udp/ip/ eth_hdr->type for sriov is also support. Because of the chip desgin defect, for multiple-port mode one pci-bdf will have multiple-port (max can have four ports) so this code must be care of one bdf init multiple-port. v4: * one patch has been forget to upload :( v3: * fixed http://dpdk.org/patch/129830 FreeBSD 13 compile Issue * change iobar type to void suggest by Stephen Hemminger * add KMOD_DEP support for vfio-pci * change run-cmd argument parse check for invalid extra_args v2: * fixed MAINTAIN maillist fullname format * fixed driver/net/meson the order issue of new driver to driver list * improve virtual point function usage suggest by Stephen Hemminger Wenbo Cao (8): net/rnp: add skeleton net/rnp: add ethdev probe and remove net/rnp: add device init and uninit net/rnp: add mbx basic api feature net/rnp add reset code for Chip Init process net/rnp add port info resource init net/rnp add devargs runtime parsing functions net/rnp handle device interrupts MAINTAINERS | 6 + doc/guides/nics/features/rnp.ini | 8 + doc/guides/nics/index.rst | 1 + doc/guides/nics/rnp.rst | 43 ++ drivers/net/meson.build | 1 + drivers/net/rnp/base/rnp_api.c | 71 +++ drivers/net/rnp/base/rnp_api.h | 17 + drivers/net/rnp/base/rnp_cfg.h | 7 + drivers/net/rnp/base/rnp_dma_regs.h | 73 +++ drivers/net/rnp/base/rnp_eth_regs.h | 124 +++++ drivers/net/rnp/base/rnp_hw.h | 206 +++++++ drivers/net/rnp/base/rnp_mac_regs.h | 279 ++++++++++ drivers/net/rnp/meson.build | 18 + drivers/net/rnp/rnp.h | 218 ++++++++ drivers/net/rnp/rnp_ethdev.c | 822 ++++++++++++++++++++++++++++ drivers/net/rnp/rnp_logs.h | 43 ++ drivers/net/rnp/rnp_mbx.c | 524 ++++++++++++++++++ drivers/net/rnp/rnp_mbx.h | 140 +++++ drivers/net/rnp/rnp_mbx_fw.c | 781 ++++++++++++++++++++++++++ drivers/net/rnp/rnp_mbx_fw.h | 401 ++++++++++++++ drivers/net/rnp/rnp_osdep.h | 30 + drivers/net/rnp/rnp_rxtx.c | 83 +++ drivers/net/rnp/rnp_rxtx.h | 14 + 23 files changed, 3910 insertions(+) create mode 100644 doc/guides/nics/features/rnp.ini create mode 100644 doc/guides/nics/rnp.rst create mode 100644 drivers/net/rnp/base/rnp_api.c create mode 100644 drivers/net/rnp/base/rnp_api.h create mode 100644 drivers/net/rnp/base/rnp_cfg.h create mode 100644 drivers/net/rnp/base/rnp_dma_regs.h create mode 100644 drivers/net/rnp/base/rnp_eth_regs.h create mode 100644 drivers/net/rnp/base/rnp_hw.h create mode 100644 drivers/net/rnp/base/rnp_mac_regs.h create mode 100644 drivers/net/rnp/meson.build create mode 100644 drivers/net/rnp/rnp.h create mode 100644 drivers/net/rnp/rnp_ethdev.c create mode 100644 drivers/net/rnp/rnp_logs.h create mode 100644 drivers/net/rnp/rnp_mbx.c create mode 100644 drivers/net/rnp/rnp_mbx.h create mode 100644 drivers/net/rnp/rnp_mbx_fw.c create mode 100644 drivers/net/rnp/rnp_mbx_fw.h create mode 100644 drivers/net/rnp/rnp_osdep.h create mode 100644 drivers/net/rnp/rnp_rxtx.c create mode 100644 drivers/net/rnp/rnp_rxtx.h -- 2.27.0