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 A0907A0C4B; Sat, 13 Nov 2021 05:31:58 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 276CB40691; Sat, 13 Nov 2021 05:31:58 +0100 (CET) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by mails.dpdk.org (Postfix) with ESMTP id A4AE94013F for ; Sat, 13 Nov 2021 05:31:57 +0100 (CET) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 6F2E71A04AC; Sat, 13 Nov 2021 05:31:57 +0100 (CET) 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 374F11A048F; Sat, 13 Nov 2021 05:31:57 +0100 (CET) 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 3156F183AD05; Sat, 13 Nov 2021 12:31:56 +0800 (+08) From: Apeksha Gupta To: ferruh.yigit@intel.com, david.marchand@redhat.com, andrew.rybchenko@oktetlabs.ru Cc: dev@dpdk.org, sachin.saxena@nxp.com, hemant.agrawal@nxp.com, Apeksha Gupta Subject: [PATCH v10 0/5] drivers/net: add NXP ENETFEC driver Date: Sat, 13 Nov 2021 10:01:36 +0530 Message-Id: <20211113043141.18888-1-apeksha.gupta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211110074829.16654-2-apeksha.gupta@nxp.com> References: <20211110074829.16654-2-apeksha.gupta@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP 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 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 Rx/Tx support net/enetfec: add features MAINTAINERS | 7 + doc/guides/nics/enetfec.rst | 137 +++++ doc/guides/nics/features/enetfec.ini | 14 + doc/guides/nics/index.rst | 1 + doc/guides/rel_notes/release_21_11.rst | 5 + drivers/net/enetfec/enet_ethdev.c | 705 +++++++++++++++++++++++++ drivers/net/enetfec/enet_ethdev.h | 153 ++++++ drivers/net/enetfec/enet_pmd_logs.h | 31 ++ drivers/net/enetfec/enet_regs.h | 116 ++++ drivers/net/enetfec/enet_rxtx.c | 273 ++++++++++ drivers/net/enetfec/enet_uio.c | 284 ++++++++++ drivers/net/enetfec/enet_uio.h | 64 +++ drivers/net/enetfec/meson.build | 13 + drivers/net/enetfec/version.map | 3 + drivers/net/meson.build | 1 + 15 files changed, 1807 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 -- 2.17.1