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 5904FA0546; Fri, 30 Apr 2021 06:34:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 22F9E40693; Fri, 30 Apr 2021 06:34:43 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by mails.dpdk.org (Postfix) with ESMTP id 26E0340395 for ; Fri, 30 Apr 2021 06:34:42 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id EA5CF1A0068; Fri, 30 Apr 2021 06:34:41 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A2E151A00CD; Fri, 30 Apr 2021 06:34:39 +0200 (CEST) Received: from lsv03186.swis.in-blr01.nxp.com (lsv03186.swis.in-blr01.nxp.com [92.120.146.182]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 549A740313; Fri, 30 Apr 2021 06:34:36 +0200 (CEST) From: Apeksha Gupta To: ferruh.yigit@intel.com Cc: dev@dpdk.org, hemant.agrawal@nxp.com, sachin.saxena@nxp.com, Apeksha Gupta Date: Fri, 30 Apr 2021 10:04:20 +0530 Message-Id: <20210430043424.19752-1-apeksha.gupta@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 0/4] 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch series introduce the enetfec ethernet driver, ENET fec (Fast Ethernet Controller) is a network poll mode driver for the inbuilt NIC found in the NXP imx8mmevk Soc. An overview of the enetfec driver with probe and remove are in patch 1. Patch 2 design UIO so that user space directly communicate with a hardware device. UIO interface mmap the Register & 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. Apeksha Gupta (4): drivers/net/enetfec: Introduce NXP ENETFEC driver drivers/net/enetfec: UIO support added drivers/net/enetfec: queue configuration drivers/net/enetfec: add enqueue and dequeue support doc/guides/nics/enetfec.rst | 125 +++++ doc/guides/nics/features/enetfec.ini | 13 + doc/guides/nics/index.rst | 1 + drivers/net/enetfec/enet_ethdev.c | 726 +++++++++++++++++++++++++++ drivers/net/enetfec/enet_ethdev.h | 203 ++++++++ drivers/net/enetfec/enet_pmd_logs.h | 31 ++ drivers/net/enetfec/enet_regs.h | 179 +++++++ drivers/net/enetfec/enet_rxtx.c | 499 ++++++++++++++++++ drivers/net/enetfec/enet_uio.c | 192 +++++++ drivers/net/enetfec/enet_uio.h | 54 ++ drivers/net/enetfec/meson.build | 16 + drivers/net/enetfec/version.map | 3 + drivers/net/meson.build | 1 + 13 files changed, 2043 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