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 3BDF9A0A0F; Sun, 4 Jul 2021 04:56:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 697EC40040; Sun, 4 Jul 2021 04:56:12 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60061.outbound.protection.outlook.com [40.107.6.61]) by mails.dpdk.org (Postfix) with ESMTP id A6F7A4003F for ; Sun, 4 Jul 2021 04:56:10 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nN9m+xCQDJZVwHaQAR1PWmEqLdJTY6VSLFEbpa7X/b7zXtN2h1agBmom7KFvtZcNpeRb4ZkviHOtoc7YiFbO51arQkjx+J6W+4jqe8eYmwygw0ouRlljDBg4A5TFduW6ICYtc5N+n9bx+PghFL2lTUnoMOBcjK1ksbNPX8slGaWvC7B92pDsFyzZFv+r9yUCO/bK8kG047XSjR3QbSQY/ReNtMsDqn5cfY1U1kxE1PhHxFObGUidWsuqZDBV6umI3PxZNtMMsbSFRiZ5Yba9RxPmn+0f3pk0EaWQf3uSkDjIftzrviJ9jJgnsTL/M+Boj1xQu6sCobBz3uK9l3M9gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wJ3a91JJXn3cimiX2XBtwhggjiY9xElYo5C/tvg6JFI=; b=LLXRQTym85L8ofbNqVfVFT9Yn4i9zDeB8UWCJtKt8s3cYUzu/hhYohAxQt9ng9HVdzQ5TmNEvj54M/egoiJq9jC/JXDi9elP/pPMk/aAqntyZeKikbF3b32JDKmqSE8/51U9uZf0TXExamsx9UuESfgkazoZaM2lx4Qyx76ORUPuYdczVPKuESfuhyjIDMY7/zclYot7GwJUo5W+e+dKN3QzS/Ed6902INF/DrwJza1rJIqiFZchzfZRPlDx7sCs50NgZscoc2yIdKUCMZv2VZkxkV5Uy13OZf9Np+lGgRpCBixUNtWFZRt2x4L6TwSTeCikriZm06lSl4KidyUIyA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wJ3a91JJXn3cimiX2XBtwhggjiY9xElYo5C/tvg6JFI=; b=JHlG9uCsNl+3kVA3JfZTbCyZjsOhKQxZ0T8Dt24IJTG6z8ssuy2eNJQs5Q2a1MUV3pk0dR+zNuNj2w2GLDBA4DRq91NhgPmpj0bFt2GNnrs3j1jQK1r4cSTUeqy5kNBs0I4l5fEN2r/nuuoAX0wxMXSrCDV6b3KNVot3g4p3nOc= Authentication-Results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB8815.eurprd04.prod.outlook.com (2603:10a6:102:20e::23) by PAXPR04MB8541.eurprd04.prod.outlook.com (2603:10a6:102:214::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.23; Sun, 4 Jul 2021 02:56:08 +0000 Received: from PAXPR04MB8815.eurprd04.prod.outlook.com ([fe80::40f6:1464:ed:2902]) by PAXPR04MB8815.eurprd04.prod.outlook.com ([fe80::40f6:1464:ed:2902%7]) with mapi id 15.20.4287.033; Sun, 4 Jul 2021 02:56:08 +0000 To: Apeksha Gupta , ferruh.yigit@intel.com, dev@dpdk.org Cc: hemant.agrawal@nxp.com References: <20210430043424.19752-1-apeksha.gupta@nxp.com> From: "Sachin Saxena (OSS)" Message-ID: <214efff2-49c0-e728-70df-a0e76e67f0dd@oss.nxp.com> Date: Sun, 4 Jul 2021 08:25:35 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 In-Reply-To: <20210430043424.19752-1-apeksha.gupta@nxp.com> Content-Language: en-US X-Originating-IP: [223.233.64.109] X-ClientProxiedBy: SG2PR04CA0191.apcprd04.prod.outlook.com (2603:1096:4:14::29) To PAXPR04MB8815.eurprd04.prod.outlook.com (2603:10a6:102:20e::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.8] (223.233.64.109) by SG2PR04CA0191.apcprd04.prod.outlook.com (2603:1096:4:14::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22 via Frontend Transport; Sun, 4 Jul 2021 02:56:06 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f501fd81-4051-42d4-395a-08d93e974568 X-MS-TrafficTypeDiagnostic: PAXPR04MB8541: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4941; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iR+W2Wqf2nONN6DD8Rzw610bwKxZ2Hfr3k1cjUuh44DTPXYC3xMFYklmNkKLCGkOvp/OX0ahlkWDCiNxGi3MeD6zsS9FvQ5qjIYqwarroBN8AhvvO+k3iktgs9b9BwxMlnSlf9q/7Wf9mmJlQsjA7tjYIaeLLCgyL/+joJ202+xiJrW/TbgI9HlQ7qCavKNKunugZKqrI5EVcewukrA5B34t/r4lJm/3nB55V1V45zyyscEPf8bR3NEDQjdDsxCLpOUC68zBeUmeE91952xzPyPrN4Nyn4Tul3aOtzaZMJx+2GT52ELZ82rVtznbr+sKBMRHYwgupEBdUikdehJmdNiquOkoc/ekE2ev5spdi9yQakyOBZj27Yjb7qdAoMQ2i7ozn7qORUuen3GG0Gev71sfv80zmfsX3tPR0KYEfL7iTKYA598MdpYPCdOmxR8FK8Dn4WtzuWpVhDdBy7WfmnyXslntS/0+UYSBazlj9sF09rwCrege5h6DkbYvsjjw4CiSco7MtdbmVFxdiM07Pv08NIlZ6nijzVsQK3BKF8QCi0xjsRG1oSEQOiRW2YdHhDkuKj7YIqeMkwC8huuJwyP4OqoXPCtKELwTgxl/i4UjHKGPfT+7HGQtNy4HQUO/KG0hnUrqNblioeDxLDp8cw/k+LDIysL3x7vNkKD7zu/tlrG8j50y3YwIYJgEgXhQ6zbOXDvjNXfayyyjn1vcSDeDqDaNvJ8m6NnKTRN46xoxchcmofbVkvHdViApwMmfY6/xjCpBhJtQ6hktWyd7vg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB8815.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(396003)(136003)(39850400004)(346002)(366004)(2616005)(38100700002)(38350700002)(956004)(31686004)(66946007)(186003)(6486002)(66476007)(66556008)(16526019)(26005)(8936002)(478600001)(31696002)(8676002)(83380400001)(52116002)(4326008)(33964004)(86362001)(316002)(16576012)(53546011)(2906002)(6666004)(5660300002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aGQ0QVcvUk8vSmJGeU9mb1U5d2NWYUVaSlVqdVhFUE5zaGU2aXZLSlRuWFNl?= =?utf-8?B?TXlURkhnRkFJemhCazBTUTltUXpGUG03MmxaWHNLM3FMVCtOU2RUZzd3bkg3?= =?utf-8?B?NUNiMmJyNTdySGk0dmJIR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mc5VUJaWFRzYld2eFAvMmJ5bnpRbEZMMmhJRmRNL2JJdlNS?= =?utf-8?B?UDhvZHJHTVdKOUtWMEswSldYTmFCZHpOSTQyYTVVMk1rcWNsVVNjKy8yRHBN?= =?utf-8?B?QWtoeHpBb1VyMjZhck9pallPejVUYkNkZTRNVlZWalNIOWV1RDR6cTdBNXFF?= =?utf-8?B?UUwrVXd5WjNQVGl1aS9FZUs1Rmpsa2hUbkZ6YkxJZzFteHFxblJGNENrTG1s?= =?utf-8?B?aExreUFwL2R5WFV6MGNKT1lOaFVOcGp1NVVkWEJuNVU1eUo3RmpRQ0FUMkl4?= =?utf-8?B?NFJVTnBDZWkvSTAwVFVlTnBWYndGV285WHRZTFIvNzByRS9UUm1ZdldZMnpt?= =?utf-8?B?d2tVL05UQWxOaFc1YlVxcmh2NU1ZelJpWDF2TDljdWlBL0FhVzd2Y0UvaDcw?= =?utf-8?B?ajhIRmNqdTVNd2NQdThvZDRtTFFOaEZtMlBDVUladW5ESTJLemhGeDFrVFJG?= =?utf-8?B?TEJYT2pZeHcrVTdtV2UrTHdmbTdSSXFLbDY3Mk9DdWIyTGJOSWxwV1QyU1pF?= =?utf-8?B?S05vUjBEYUg4NEJ3ZXdwM0lJcFhxTEMrWG81OVljUlhSVGhmL1ZNZ0QxMVJi?= =?utf-8?B?dUg1eFRwZ3ZXaDk0YmdPcWdSYU9tYThtc01zaThXL3pGdnJMc01XdyswMjJO?= =?utf-8?B?TGR4R0tUVVNqeEl5SVUxWHdPT0Q1WEFRbXRlSUhZdkxsY0tZWkE3YU9YVk5V?= =?utf-8?Q?pxNZfZLk4Z67y/CdU0xBU+oluNN7FExMLN5MtO0?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f501fd81-4051-42d4-395a-08d93e974568 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8815.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2021 02:56:08.0802 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QwDc5ZN3b+loJWwKPALuDMszQCUeuGhxLdiUvZLv9l/7PJN9LykBp7cLjIppzMYzaGZQJiiA5QLduhKO1+w9Rg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8541 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [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" On 30-Apr-21 10:04 AM, Apeksha Gupta wrote: > This patch series introduce the enetfec ethernet driver, enetfec ethernet driver -> enetfec driver > ENET fec (Fast Ethernet Controller) is a network poll mode driver for ENET fec ->enetfec Also, please use "enetfec" consistently at all places. > the inbuilt NIC found in the NXP imx8mmevk Soc. 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 UIO -> UIO interface > hardware device. UIO interface mmap the Register & BD memory in DPDK hardware device -> UIO based hardware device Register ->Control and Status Registers (/CSR/) > 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 >