Message ID | 20190828110849.14759-1-g.singh@nxp.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ECC491BFDF; Wed, 28 Aug 2019 13:22:58 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id DFFD21BFDA for <dev@dpdk.org>; Wed, 28 Aug 2019 13:22:57 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 35E3C2006E2; Wed, 28 Aug 2019 13:22:57 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 846EB2006D6; Wed, 28 Aug 2019 13:22:54 +0200 (CEST) Received: from GDB1.ap.freescale.net (GDB1.ap.freescale.net [10.232.132.179]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 41AF2402E3; Wed, 28 Aug 2019 19:22:50 +0800 (SGT) From: Gagandeep Singh <g.singh@nxp.com> To: dev@dpdk.org, ferruh.yigit@intel.com Cc: thomas@monjalon.net, Gagandeep Singh <g.singh@nxp.com> Date: Wed, 28 Aug 2019 16:38:36 +0530 Message-Id: <20190828110849.14759-1-g.singh@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190826130246.30485-1-g.singh@nxp.com> References: <20190826130246.30485-1-g.singh@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v2 00/13] introduces ppfe network PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
introduces ppfe network PMD
|
|
Message
Gagandeep Singh
Aug. 28, 2019, 11:08 a.m. UTC
This series introduces ppfe (programmable packet forwarding engine) network poll mode driver for NXP SoC ls1012a. First patch of this series move OF library code from dpaa bus to a common folder as PPFE also uses the same library for getting information from the device tree. This patch is included in this series so that compilation by CI don't break. V2 Change-log: * fix compilation break for clang3.4 and gcc 4.8 * fix checkpatch errors Gagandeep Singh (12): net/ppfe: introduce ppfe net poll mode driver doc: add guide for ppfe net PMD net/ppfe: support dynamic logging net/ppfe: add HW specific macros and operations net/ppfe: add MAC and host interface initialisation net/ppfe: add device start stop operations net/ppfe: add queue setup and release operations net/ppfe: add burst enqueue and dequeue operations net/ppfe: add supported packet types and basic statistics net/ppfe: add MTU and MAC address set operations net/ppfe: add allmulticast and promiscuous net/ppfe: add link status update Hemant Agrawal (1): common/dpaax: moving OF lib code from dpaa bus MAINTAINERS | 7 + config/common_base | 5 + config/common_linux | 5 + doc/guides/nics/features/ppfe.ini | 17 + doc/guides/nics/index.rst | 1 + doc/guides/nics/ppfe.rst | 175 +++ drivers/bus/dpaa/Makefile | 2 +- drivers/bus/dpaa/base/qbman/dpaa_sys.h | 1 + drivers/bus/dpaa/dpaa_bus.c | 2 +- drivers/bus/dpaa/include/compat.h | 1 - drivers/bus/dpaa/include/fman.h | 1 + drivers/bus/dpaa/include/fsl_usd.h | 1 + drivers/bus/dpaa/meson.build | 1 - drivers/bus/dpaa/rte_dpaa_bus.h | 2 +- drivers/bus/fslmc/Makefile | 1 + drivers/common/dpaax/Makefile | 10 +- .../dpaa/include => common/dpaax}/dpaa_list.h | 0 drivers/common/dpaax/dpaax_logs.h | 10 + drivers/common/dpaax/meson.build | 5 +- .../{bus/dpaa/base/fman => common/dpaax}/of.c | 61 +- .../{bus/dpaa/include => common/dpaax}/of.h | 27 +- .../common/dpaax/rte_common_dpaax_version.map | 18 + drivers/crypto/caam_jr/Makefile | 2 + drivers/crypto/dpaa2_sec/Makefile | 2 +- drivers/crypto/dpaa_sec/Makefile | 1 + drivers/event/dpaa/Makefile | 1 + drivers/event/dpaa2/Makefile | 1 + drivers/mempool/dpaa/Makefile | 1 + drivers/mempool/dpaa2/Makefile | 1 + drivers/net/Makefile | 1 + drivers/net/dpaa/Makefile | 1 + drivers/net/dpaa2/Makefile | 1 + drivers/net/meson.build | 1 + drivers/net/ppfe/Makefile | 36 + drivers/net/ppfe/base/cbus.h | 66 + drivers/net/ppfe/base/cbus/bmu.h | 41 + drivers/net/ppfe/base/cbus/class_csr.h | 277 ++++ drivers/net/ppfe/base/cbus/emac_mtip.h | 231 ++++ drivers/net/ppfe/base/cbus/gpi.h | 77 ++ drivers/net/ppfe/base/cbus/hif.h | 86 ++ drivers/net/ppfe/base/cbus/hif_nocpy.h | 36 + drivers/net/ppfe/base/cbus/tmu_csr.h | 154 +++ drivers/net/ppfe/base/cbus/util_csr.h | 47 + drivers/net/ppfe/base/pfe.h | 422 ++++++ drivers/net/ppfe/meson.build | 16 + drivers/net/ppfe/pfe_eth.h | 78 ++ drivers/net/ppfe/pfe_hal.c | 596 +++++++++ drivers/net/ppfe/pfe_hif.c | 848 ++++++++++++ drivers/net/ppfe/pfe_hif.h | 156 +++ drivers/net/ppfe/pfe_hif_lib.c | 557 ++++++++ drivers/net/ppfe/pfe_hif_lib.h | 181 +++ drivers/net/ppfe/pfe_logs.h | 30 + drivers/net/ppfe/pfe_mod.h | 59 + drivers/net/ppfe/ppfe_ethdev.c | 1183 +++++++++++++++++ drivers/net/ppfe/rte_pmd_ppfe_version.map | 4 + drivers/raw/dpaa2_cmdif/Makefile | 1 + drivers/raw/dpaa2_qdma/Makefile | 1 + mk/rte.app.mk | 1 + 58 files changed, 5504 insertions(+), 46 deletions(-) create mode 100644 doc/guides/nics/features/ppfe.ini create mode 100644 doc/guides/nics/ppfe.rst rename drivers/{bus/dpaa/include => common/dpaax}/dpaa_list.h (100%) rename drivers/{bus/dpaa/base/fman => common/dpaax}/of.c (88%) rename drivers/{bus/dpaa/include => common/dpaax}/of.h (86%) create mode 100644 drivers/net/ppfe/Makefile create mode 100644 drivers/net/ppfe/base/cbus.h create mode 100644 drivers/net/ppfe/base/cbus/bmu.h create mode 100644 drivers/net/ppfe/base/cbus/class_csr.h create mode 100644 drivers/net/ppfe/base/cbus/emac_mtip.h create mode 100644 drivers/net/ppfe/base/cbus/gpi.h create mode 100644 drivers/net/ppfe/base/cbus/hif.h create mode 100644 drivers/net/ppfe/base/cbus/hif_nocpy.h create mode 100644 drivers/net/ppfe/base/cbus/tmu_csr.h create mode 100644 drivers/net/ppfe/base/cbus/util_csr.h create mode 100644 drivers/net/ppfe/base/pfe.h create mode 100644 drivers/net/ppfe/meson.build create mode 100644 drivers/net/ppfe/pfe_eth.h create mode 100644 drivers/net/ppfe/pfe_hal.c create mode 100644 drivers/net/ppfe/pfe_hif.c create mode 100644 drivers/net/ppfe/pfe_hif.h create mode 100644 drivers/net/ppfe/pfe_hif_lib.c create mode 100644 drivers/net/ppfe/pfe_hif_lib.h create mode 100644 drivers/net/ppfe/pfe_logs.h create mode 100644 drivers/net/ppfe/pfe_mod.h create mode 100644 drivers/net/ppfe/ppfe_ethdev.c create mode 100644 drivers/net/ppfe/rte_pmd_ppfe_version.map
Comments
On 8/28/2019 12:08 PM, Gagandeep Singh wrote: > This series introduces ppfe (programmable packet > forwarding engine) network poll mode driver for > NXP SoC ls1012a. > > First patch of this series move OF library code from > dpaa bus to a common folder as PPFE also uses the > same library for getting information from the device > tree. > This patch is included in this series so that > compilation by CI don't break. > > V2 Change-log: > * fix compilation break for clang3.4 and gcc 4.8 > * fix checkpatch errors > > Gagandeep Singh (12): > net/ppfe: introduce ppfe net poll mode driver > doc: add guide for ppfe net PMD > net/ppfe: support dynamic logging > net/ppfe: add HW specific macros and operations > net/ppfe: add MAC and host interface initialisation > net/ppfe: add device start stop operations > net/ppfe: add queue setup and release operations > net/ppfe: add burst enqueue and dequeue operations > net/ppfe: add supported packet types and basic statistics > net/ppfe: add MTU and MAC address set operations > net/ppfe: add allmulticast and promiscuous > net/ppfe: add link status update > > Hemant Agrawal (1): > common/dpaax: moving OF lib code from dpaa bus > Hi Gagandeep, Hemant, There has been some ethdev API changes in next-net and driver needs to comply with them, can you please send a new version rebasing latest next-net? Meanwhile I put some comments to patches, please check them as well, I am planning to do another round on next version. Thanks, ferruh
Hi Ferruh, > > Gagandeep Singh (12): > > net/ppfe: introduce ppfe net poll mode driver > > doc: add guide for ppfe net PMD > > net/ppfe: support dynamic logging > > net/ppfe: add HW specific macros and operations > > net/ppfe: add MAC and host interface initialisation > > net/ppfe: add device start stop operations > > net/ppfe: add queue setup and release operations > > net/ppfe: add burst enqueue and dequeue operations > > net/ppfe: add supported packet types and basic statistics > > net/ppfe: add MTU and MAC address set operations > > net/ppfe: add allmulticast and promiscuous > > net/ppfe: add link status update > > > > Hemant Agrawal (1): > > common/dpaax: moving OF lib code from dpaa bus > > > > Hi Gagandeep, Hemant, > > There has been some ethdev API changes in next-net and driver needs to comply > with them, can you please send a new version rebasing latest next-net? > > Meanwhile I put some comments to patches, please check them as well, I am > planning to do another round on next version. > > Thanks, > ferruh I saw your comments, will handle them in next version of this series. Thanks, Gagan