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 41E70A0C4D; Thu, 17 Jun 2021 12:58:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B08B4067A; Thu, 17 Jun 2021 12:58:10 +0200 (CEST) Received: from smtpbgeu1.qq.com (smtpbgeu1.qq.com [52.59.177.22]) by mails.dpdk.org (Postfix) with ESMTP id D2DD240150 for ; Thu, 17 Jun 2021 12:58:07 +0200 (CEST) X-QQ-mid: bizesmtp46t1623927483t1cuund7 Received: from wxdbg.localdomain.com (unknown [183.129.236.74]) by esmtp6.qq.com (ESMTP) with id ; Thu, 17 Jun 2021 18:57:50 +0800 (CST) X-QQ-SSF: 01400000000000D0E000B00A0000000 X-QQ-FEAT: gJOPO5V2d0uPhRs2Wu3/WEBGl3Mx6LRC/cXd0HJooFvB2g01+zRmNJ6hT8kbn DMtxDr9q6m8Nf8swKaOKUN5TChsLGPTITv7iG788B5fm395aE0KxwaxWqb0Coxm5T8EaPf+ mBnNCexBRi1Gn+DPTMvpxNPvnbm9wi67cP3ACpQPGX5S4RtZwtTvS670KrFxpyNuvKsxx4n 2N+tkPhRxoYfF27dke31sUylMpLooRASuzgaCHNEAjKuNmncei36zake7Ddq8bNth4zcJ/K lgGVuh9AV3gr903YH7jMrkcYjYRszkhG1cGKHaWkPkOZTvmrTe4ybGar4nhsTzMjpBpTf7c 5dugmuV X-QQ-GoodBg: 2 From: Jiawen Wu To: dev@dpdk.org Cc: Jiawen Wu Date: Thu, 17 Jun 2021 18:59:46 +0800 Message-Id: <20210617110005.4132926-1-jiawenwu@trustnetic.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:trustnetic.com:qybgforeign:qybgforeign5 X-QQ-Bgrelay: 1 Subject: [dpdk-dev] [PATCH v6 00/19] net: ngbe PMD 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 set provides a skeleton of ngbe PMD, which adapted to Wangxun WX1860 series NICs. v6: - Correct style errors and re-split patches. v5: - Extend patches with device initialization and RxTx functions. v4: - Fix compile error. v3: - Use rte_ether functions to define marcos. v2: - Correct some clerical errors. - Use ethdev debug flags instead of driver own. Jiawen Wu (19): net/ngbe: add build and doc infrastructure net/ngbe: support probe and remove net/ngbe: add log type and error type net/ngbe: define registers net/ngbe: set MAC type and LAN ID with device initialization net/ngbe: init and validate EEPROM net/ngbe: add HW initialization net/ngbe: identify PHY and reset PHY net/ngbe: store MAC address net/ngbe: support link update net/ngbe: setup the check PHY link net/ngbe: add Rx queue setup and release net/ngbe: add Tx queue setup and release net/ngbe: add simple Rx flow net/ngbe: add simple Tx flow net/ngbe: add device start and stop operations net/ngbe: add Tx queue start and stop net/ngbe: add Rx queue start and stop net/ngbe: support to close and reset device MAINTAINERS | 6 + doc/guides/nics/features/ngbe.ini | 15 + doc/guides/nics/index.rst | 1 + doc/guides/nics/ngbe.rst | 57 + doc/guides/rel_notes/release_21_08.rst | 6 + drivers/net/meson.build | 1 + drivers/net/ngbe/base/meson.build | 26 + drivers/net/ngbe/base/ngbe.h | 11 + drivers/net/ngbe/base/ngbe_devids.h | 83 ++ drivers/net/ngbe/base/ngbe_dummy.h | 209 ++++ drivers/net/ngbe/base/ngbe_eeprom.c | 203 ++++ drivers/net/ngbe/base/ngbe_eeprom.h | 17 + drivers/net/ngbe/base/ngbe_hw.c | 1068 +++++++++++++++++ drivers/net/ngbe/base/ngbe_hw.h | 59 + drivers/net/ngbe/base/ngbe_mng.c | 198 ++++ drivers/net/ngbe/base/ngbe_mng.h | 65 ++ drivers/net/ngbe/base/ngbe_osdep.h | 183 +++ drivers/net/ngbe/base/ngbe_phy.c | 451 +++++++ drivers/net/ngbe/base/ngbe_phy.h | 62 + drivers/net/ngbe/base/ngbe_phy_mvl.c | 251 ++++ drivers/net/ngbe/base/ngbe_phy_mvl.h | 97 ++ drivers/net/ngbe/base/ngbe_phy_rtl.c | 289 +++++ drivers/net/ngbe/base/ngbe_phy_rtl.h | 89 ++ drivers/net/ngbe/base/ngbe_phy_yt.c | 272 +++++ drivers/net/ngbe/base/ngbe_phy_yt.h | 76 ++ drivers/net/ngbe/base/ngbe_regs.h | 1490 ++++++++++++++++++++++++ drivers/net/ngbe/base/ngbe_status.h | 73 ++ drivers/net/ngbe/base/ngbe_type.h | 204 ++++ drivers/net/ngbe/meson.build | 19 + drivers/net/ngbe/ngbe_ethdev.c | 1184 +++++++++++++++++++ drivers/net/ngbe/ngbe_ethdev.h | 134 +++ drivers/net/ngbe/ngbe_logs.h | 46 + drivers/net/ngbe/ngbe_rxtx.c | 1356 +++++++++++++++++++++ drivers/net/ngbe/ngbe_rxtx.h | 302 +++++ drivers/net/ngbe/version.map | 3 + 35 files changed, 8606 insertions(+) create mode 100644 doc/guides/nics/features/ngbe.ini create mode 100644 doc/guides/nics/ngbe.rst create mode 100644 drivers/net/ngbe/base/meson.build create mode 100644 drivers/net/ngbe/base/ngbe.h create mode 100644 drivers/net/ngbe/base/ngbe_devids.h create mode 100644 drivers/net/ngbe/base/ngbe_dummy.h create mode 100644 drivers/net/ngbe/base/ngbe_eeprom.c create mode 100644 drivers/net/ngbe/base/ngbe_eeprom.h create mode 100644 drivers/net/ngbe/base/ngbe_hw.c create mode 100644 drivers/net/ngbe/base/ngbe_hw.h create mode 100644 drivers/net/ngbe/base/ngbe_mng.c create mode 100644 drivers/net/ngbe/base/ngbe_mng.h create mode 100644 drivers/net/ngbe/base/ngbe_osdep.h create mode 100644 drivers/net/ngbe/base/ngbe_phy.c create mode 100644 drivers/net/ngbe/base/ngbe_phy.h create mode 100644 drivers/net/ngbe/base/ngbe_phy_mvl.c create mode 100644 drivers/net/ngbe/base/ngbe_phy_mvl.h create mode 100644 drivers/net/ngbe/base/ngbe_phy_rtl.c create mode 100644 drivers/net/ngbe/base/ngbe_phy_rtl.h create mode 100644 drivers/net/ngbe/base/ngbe_phy_yt.c create mode 100644 drivers/net/ngbe/base/ngbe_phy_yt.h create mode 100644 drivers/net/ngbe/base/ngbe_regs.h create mode 100644 drivers/net/ngbe/base/ngbe_status.h create mode 100644 drivers/net/ngbe/base/ngbe_type.h create mode 100644 drivers/net/ngbe/meson.build create mode 100644 drivers/net/ngbe/ngbe_ethdev.c create mode 100644 drivers/net/ngbe/ngbe_ethdev.h create mode 100644 drivers/net/ngbe/ngbe_logs.h create mode 100644 drivers/net/ngbe/ngbe_rxtx.c create mode 100644 drivers/net/ngbe/ngbe_rxtx.h create mode 100644 drivers/net/ngbe/version.map -- 2.21.0.windows.1