From patchwork Wed Sep 8 08:37:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiawen Wu X-Patchwork-Id: 98281 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B63BAA0C56; Wed, 8 Sep 2021 10:36:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A24BD4003E; Wed, 8 Sep 2021 10:36:27 +0200 (CEST) Received: from smtpbgbr2.qq.com (smtpbgbr2.qq.com [54.207.22.56]) by mails.dpdk.org (Postfix) with ESMTP id DB9BE4003C for ; Wed, 8 Sep 2021 10:36:24 +0200 (CEST) X-QQ-mid: bizesmtp47t1631090177tdnhde3n Received: from wxdbg.localdomain.com (unknown [183.129.236.74]) by esmtp6.qq.com (ESMTP) with id ; Wed, 08 Sep 2021 16:36:06 +0800 (CST) X-QQ-SSF: 01400000002000E0G000B00A0000000 X-QQ-FEAT: 1VT9TMQFSYt8217cRHB/NdQRoqF0OF9nXzeRit5qw9AIqiENG9yKqcWuF1i69 ADGSPuCtuODX8BJTjvaniozL3Jb5Y0Q14/sQEJEqeRpZ9oXOtbZYCaytKXYoJkQ2WqUWdze deDzlCcSNwW9V7qGq/BQqE3wzm8XLKa/hBGSaudyjYOlcOU6ZwV4s+6XcBtOIMFjshbumvf 9xoqb/NV9106XK0RzfrX20mjFgPwdDG0Gzjg/N0TQW2FGp9Nl8oQBKrnihkVGDnsjmL4TJB nmi3s9b6ld9SdLhrc46yiItA1WfacfDMnMZ8riqbspt3nldy6KkIJ8pDzYBTsyt7Jf/6Zk7 56Ii1etltZLL1cadXI= X-QQ-GoodBg: 2 From: Jiawen Wu To: dev@dpdk.org Cc: Jiawen Wu Date: Wed, 8 Sep 2021 16:37:26 +0800 Message-Id: <20210908083758.312055-1-jiawenwu@trustnetic.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:trustnetic.com:qybgforeign:qybgforeign6 X-QQ-Bgrelay: 1 Subject: [dpdk-dev] [PATCH 00/32] net/ngbe: add many features 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 Sender: "dev" This patch adds a number of major features to complete ngbe PMD. Jiawen Wu (32): net/ngbe: add packet type net/ngbe: support scattered Rx net/ngbe: support Rx checksum offload net/ngbe: support TSO net/ngbe: support CRC offload net/ngbe: support jumbo frame net/ngbe: support VLAN and QinQ offload net/ngbe: support basic statistics net/ngbe: support device xstats net/ngbe: support MTU set net/ngbe: add device promiscuous and allmulticast mode net/ngbe: support getting FW version net/ngbe: add loopback mode net/ngbe: support Rx interrupt net/ngbe: support MAC filters net/ngbe: support VLAN filter net/ngbe: support RSS hash net/ngbe: support SRIOV net/ngbe: add mailbox process operations net/ngbe: support flow control net/ngbe: support device LED on and off net/ngbe: support EEPROM dump net/ngbe: support register dump net/ngbe: support timesync net/ngbe: add Rx and Tx queue info get net/ngbe: add Rx and Tx descriptor status net/ngbe: add Tx done cleanup net/ngbe: add IPsec context creation net/ngbe: create and destroy security session net/ngbe: support security operations net/ngbe: add security offload in Rx and Tx doc: update for ngbe doc/guides/nics/features/ngbe.ini | 33 + doc/guides/nics/ngbe.rst | 16 + doc/guides/rel_notes/release_21_11.rst | 10 + drivers/net/ngbe/base/meson.build | 1 + drivers/net/ngbe/base/ngbe.h | 4 + drivers/net/ngbe/base/ngbe_dummy.h | 131 ++ drivers/net/ngbe/base/ngbe_eeprom.c | 133 ++ drivers/net/ngbe/base/ngbe_eeprom.h | 10 + drivers/net/ngbe/base/ngbe_hw.c | 912 ++++++++++- drivers/net/ngbe/base/ngbe_hw.h | 24 + drivers/net/ngbe/base/ngbe_mbx.c | 327 ++++ drivers/net/ngbe/base/ngbe_mbx.h | 89 + drivers/net/ngbe/base/ngbe_mng.c | 85 + drivers/net/ngbe/base/ngbe_mng.h | 18 + drivers/net/ngbe/base/ngbe_phy.c | 9 + drivers/net/ngbe/base/ngbe_phy.h | 3 + drivers/net/ngbe/base/ngbe_phy_mvl.c | 57 + drivers/net/ngbe/base/ngbe_phy_mvl.h | 4 + drivers/net/ngbe/base/ngbe_phy_rtl.c | 42 + drivers/net/ngbe/base/ngbe_phy_rtl.h | 3 + drivers/net/ngbe/base/ngbe_phy_yt.c | 44 + drivers/net/ngbe/base/ngbe_phy_yt.h | 6 + drivers/net/ngbe/base/ngbe_type.h | 226 +++ drivers/net/ngbe/meson.build | 7 + drivers/net/ngbe/ngbe_ethdev.c | 2077 ++++++++++++++++++++++- drivers/net/ngbe/ngbe_ethdev.h | 199 +++ drivers/net/ngbe/ngbe_ipsec.c | 702 ++++++++ drivers/net/ngbe/ngbe_ipsec.h | 95 ++ drivers/net/ngbe/ngbe_pf.c | 760 +++++++++ drivers/net/ngbe/ngbe_ptypes.c | 300 ++++ drivers/net/ngbe/ngbe_ptypes.h | 240 +++ drivers/net/ngbe/ngbe_regs_group.h | 54 + drivers/net/ngbe/ngbe_rxtx.c | 2083 +++++++++++++++++++++++- drivers/net/ngbe/ngbe_rxtx.h | 84 +- drivers/net/ngbe/rte_pmd_ngbe.h | 39 + 35 files changed, 8799 insertions(+), 28 deletions(-) create mode 100644 drivers/net/ngbe/base/ngbe_mbx.c create mode 100644 drivers/net/ngbe/base/ngbe_mbx.h create mode 100644 drivers/net/ngbe/ngbe_ipsec.c create mode 100644 drivers/net/ngbe/ngbe_ipsec.h create mode 100644 drivers/net/ngbe/ngbe_pf.c create mode 100644 drivers/net/ngbe/ngbe_ptypes.c create mode 100644 drivers/net/ngbe/ngbe_ptypes.h create mode 100644 drivers/net/ngbe/ngbe_regs_group.h create mode 100644 drivers/net/ngbe/rte_pmd_ngbe.h