Message ID | 20211021044700.12370-1-apeksha.gupta@nxp.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 CBD61A0C4B; Thu, 21 Oct 2021 06:47:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A67A40150; Thu, 21 Oct 2021 06:47:07 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by mails.dpdk.org (Postfix) with ESMTP id A05D040142 for <dev@dpdk.org>; Thu, 21 Oct 2021 06:47:05 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 6E9D71A0E6D; Thu, 21 Oct 2021 06:47:05 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 3DFD51A0E61; Thu, 21 Oct 2021 06:47:05 +0200 (CEST) Received: from lsv03186.swis.in-blr01.nxp.com (lsv03186.swis.in-blr01.nxp.com [92.120.146.182]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 3BB5E183ACDC; Thu, 21 Oct 2021 12:47:04 +0800 (+08) From: Apeksha Gupta <apeksha.gupta@nxp.com> To: david.marchand@redhat.com, andrew.rybchenko@oktetlabs.ru, ferruh.yigit@intel.com Cc: dev@dpdk.org, sachin.saxena@nxp.com, hemant.agrawal@nxp.com, Apeksha Gupta <apeksha.gupta@nxp.com> Date: Thu, 21 Oct 2021 10:16:55 +0530 Message-Id: <20211021044700.12370-1-apeksha.gupta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211019184003.23128-2-apeksha.gupta@nxp.com> References: <20211019184003.23128-2-apeksha.gupta@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v6 0/5] drivers/net: add NXP ENETFEC driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 | drivers/net: add NXP ENETFEC driver | |
Message
Apeksha Gupta
Oct. 21, 2021, 4:46 a.m. UTC
This patch series introduce the enetfec driver, ENETFEC (Fast Ethernet Controller) is a network poll mode driver for the inbuilt NIC found in the NXP i.MX 8M Mini SoC. An overview of the enetfec driver with probe and remove are in patch 1. Patch 2 design UIO interface so that user space directly communicate with a UIO based hardware device. UIO interface mmap the Control and Status Registers (CSR) & BD memory in DPDK which is allocated in kernel and this gives access to non-cacheble memory for BD. Patch 3 adds the RX/TX queue configuration setup operations. Patch 4 adds enqueue and dequeue support. Also adds some basic features like promiscuous enable, basic stats. Patch 5 adds checksum and VLAN features. Apeksha Gupta (5): net/enetfec: introduce NXP ENETFEC driver net/enetfec: add UIO support net/enetfec: support queue configuration net/enetfec: add enqueue and dequeue support net/enetfec: add features MAINTAINERS | 7 + doc/guides/nics/enetfec.rst | 135 +++++ doc/guides/nics/features/enetfec.ini | 14 + doc/guides/nics/index.rst | 1 + doc/guides/rel_notes/release_21_11.rst | 4 + drivers/net/enetfec/enet_ethdev.c | 761 +++++++++++++++++++++++++ drivers/net/enetfec/enet_ethdev.h | 181 ++++++ drivers/net/enetfec/enet_pmd_logs.h | 31 + drivers/net/enetfec/enet_regs.h | 116 ++++ drivers/net/enetfec/enet_rxtx.c | 496 ++++++++++++++++ drivers/net/enetfec/enet_uio.c | 278 +++++++++ drivers/net/enetfec/enet_uio.h | 64 +++ drivers/net/enetfec/meson.build | 11 + drivers/net/enetfec/version.map | 3 + drivers/net/meson.build | 1 + 15 files changed, 2103 insertions(+) create mode 100644 doc/guides/nics/enetfec.rst create mode 100644 doc/guides/nics/features/enetfec.ini create mode 100644 drivers/net/enetfec/enet_ethdev.c create mode 100644 drivers/net/enetfec/enet_ethdev.h create mode 100644 drivers/net/enetfec/enet_pmd_logs.h create mode 100644 drivers/net/enetfec/enet_regs.h create mode 100644 drivers/net/enetfec/enet_rxtx.c create mode 100644 drivers/net/enetfec/enet_uio.c create mode 100644 drivers/net/enetfec/enet_uio.h create mode 100644 drivers/net/enetfec/meson.build create mode 100644 drivers/net/enetfec/version.map
Comments
On 10/21/2021 5:46 AM, Apeksha Gupta wrote: > This patch series introduce the enetfec driver, ENETFEC > (Fast Ethernet Controller) is a network poll mode driver for > the inbuilt NIC found in the NXP i.MX 8M Mini SoC. > > An overview of the enetfec driver with probe and remove are in patch 1. > Patch 2 design UIO interface so that user space directly communicate with > a UIO based hardware device. UIO interface mmap the Control and Status > Registers (CSR) & BD memory in DPDK which is allocated in kernel and this > gives access to non-cacheble memory for BD. > > Patch 3 adds the RX/TX queue configuration setup operations. > Patch 4 adds enqueue and dequeue support. Also adds some basic features > like promiscuous enable, basic stats. > Patch 5 adds checksum and VLAN features. > > Apeksha Gupta (5): > net/enetfec: introduce NXP ENETFEC driver > net/enetfec: add UIO support > net/enetfec: support queue configuration > net/enetfec: add enqueue and dequeue support > net/enetfec: add features > Hi Apeksha, I have requested for techboard approval on uio part, comparing having a new bus implementation. Meanwhile I put some comments on the driver, but initially it doesn't compile with latest DPDK. Can you please send a new version that fixes the build error first, so more checks can be done, later you can continue with other comments in another version. Thanks, ferruh