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 41001A0C43; Mon, 15 Nov 2021 11:08:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2A1E440E01; Mon, 15 Nov 2021 11:08:30 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id AA16940141 for ; Mon, 15 Nov 2021 11:08:27 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10168"; a="319624541" X-IronPort-AV: E=Sophos;i="5.87,236,1631602800"; d="scan'208";a="319624541" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 02:08:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,236,1631602800"; d="scan'208";a="535456841" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga001.jf.intel.com with ESMTP; 15 Nov 2021 02:08:26 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 15 Nov 2021 02:08:25 -0800 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 15 Nov 2021 02:08:25 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 15 Nov 2021 02:08:25 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.104) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 15 Nov 2021 02:07:50 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S7jS51XUWh6LdK5FaJujofNKIE9EJH8tPyeOQyyHu26734xiorlzRUOLXwpi/5ywIIEL6eS41fnva4n4hP5xd4z4oof/iig0JlX8ufg1Y2Us0UGecxCxM9u8erb/HcKKn+mIBDT/X1gfbspzDFDQKHl+0J5OkhCS/jicUrXSZuWwksjO5Iki9Nb1v1vquzNICVQ2vGmEJn9jVd4XrtQaErbDxeacYlTmxpzfdRK5Veqlyz+9WsUmSE8X1+MWf6Jp8vxLqF3+vDdvc4n8YEQhMv2uKCO2CfHOYzvrtF3w34J4J+qG/FhTblRyG7fcBOmVClSjl8q9PtiXGbWu7XOXjQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=w6wht9Izg5QxG2YkEcS3yy6hJvkvxMVrSxiWbHPaPH4=; b=nGzpUfT1Iji895oawxXeaxdh/NyCKvWnmDyPbQ9MCxDdegB2PmAkx9iZHk7UFBoLUwyvDDwrMVwN4gPlUOX2sffr+Vry5paY6r7u2WkrxB+/Fz8VcJVbdvRFpZwzmfpYxBZF7f2VvepF/urVw32InD1s823TqZbrWKj/UHTzVJ1jvcD3voq9nkNYzNfkqL/G4sYT+4bcVlpxsA8akqPDOmk5+EjpURmmvIr/171yuLBneicyQ5nKh0W/OuGHkFdvk74mmj0R+9amHdXvUQ0320YgABYhq/fp52busEcCJNIWisNpQKuWelRXXhqJsL2O1K0PVonAB7Yjmn9lnOMWnA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w6wht9Izg5QxG2YkEcS3yy6hJvkvxMVrSxiWbHPaPH4=; b=vVSJvJGFeWt4C0TRNP//WaBsdebGP3sQWkJMCzVYfzC4amzqFVeFkDRsJAvEPP1IrYO7hOJcWrJCctm7hi83Vvx/i3aa4uXQgL9eOp0iHoPC2pyXsHmnAwQr/e5Xxjr9PP+5TvtOgZwSS095EWfcZGfLakceBGHse6ZaXnjw1dc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5013.namprd11.prod.outlook.com (2603:10b6:510:30::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.19; Mon, 15 Nov 2021 10:07:49 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bc5f:31a7:10ad:443c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bc5f:31a7:10ad:443c%5]) with mapi id 15.20.4690.027; Mon, 15 Nov 2021 10:07:49 +0000 Message-ID: <98f60002-0b86-dcb8-a609-5a3a988c4f82@intel.com> Date: Mon, 15 Nov 2021 10:07:43 +0000 Content-Language: en-US To: Apeksha Gupta , CC: , , , , References: <20211113043141.18888-2-apeksha.gupta@nxp.com> <20211115071940.12942-1-apeksha.gupta@nxp.com> <20211115071940.12942-2-apeksha.gupta@nxp.com> From: Ferruh Yigit Subject: Re: [PATCH v11 1/5] net/enetfec: introduce NXP ENETFEC driver X-User: ferruhy In-Reply-To: <20211115071940.12942-2-apeksha.gupta@nxp.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB6PR1001CA0046.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:55::32) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB6PR1001CA0046.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:55::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.16 via Frontend Transport; Mon, 15 Nov 2021 10:07:47 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3e1070fd-e338-4957-9ec5-08d9a81fc73b X-MS-TrafficTypeDiagnostic: PH0PR11MB5013: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:517; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IOa5+NDHkDwo6jLTA1too67uwD6DkitL8++h9QxEDbwSd3mRRpiZuZfCQoIcujQwMVt9H0zKZxc7InTlCtlSbSr3CAW3Y0QRmBq4Ra4ywQV8z4dn2tsdmyE98imo32R4K7FsFk3Eq4Cj/Vv3AhDFtNe2gpXWY1A81AoO8NaQc8Lm4XH+Bo+OogyovFRiaKLtyWgqaVBhHJEhKYiTOEfhUAgOGipNzHi04Y9KdtQnY4a5+DisDwghdBlZ5UWOhAmYsF8/edES4fUebWMqsx8MGhoEGkUYKqtISQruuDsVBV+TRSiNuYnSFqCPx41MnBQgo4VBX03lKL6SFAvS6IOLSq691Kj0v9OI9RzE/lVnte08fM9NAlvuVoulIuWx067ALdaUdKnRPguySgQj8RvYodAmD4CXW8z4yp4pqfIdeEzjAlILuDCoGuyAvdzPKllG3Y/bqBLywQQ4LiAmWDNKcVXUSG16dBY0+bkwPlSZ6GurVvF6p1gF+o+6T5O6sMGd5gUK8JqwaIu1QxGEWqdWFTbNf9T1S03KOsRMIW07Gu1ANEiCzmNbfWbC7Fm8gulB2JMgd7RrC6ViXhOV+3yEbNMo+gFvQMJmMxIJ7YS9rLHEEQ8zKVG4H1DfNhF7hlmZOZBsaCdwKzydW6ftY9vU+U7jc4uDLZK2K2Qt3lr1/3dzAjQxguz7780S5pwMPfZfZRzIy/8h7VhHRSehvSF4lw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(6486002)(26005)(8676002)(31686004)(8936002)(16576012)(316002)(31696002)(508600001)(4326008)(38100700002)(6666004)(5660300002)(36756003)(66946007)(4744005)(2616005)(2906002)(956004)(86362001)(66556008)(186003)(66476007)(82960400001)(44832011)(53546011)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Wi9IWDN4L2V0Y0VkUmwxOEE3TVNVVUJXVXk2UFdJNXcwN3hFeWdzeHBHZVY3?= =?utf-8?B?MkJxNDlmbHgrNkpuaVB6cTZteEJ6cDI5djhtMm5FTzI5QmVCeGpFZFBJSDhn?= =?utf-8?B?QUJGb3dUY3pGb2VOMm5LVDFBVm9Ia2ZMbUVOTkc2cG9VUmVCZk1TTVZQYmhT?= =?utf-8?B?djhyaUVDOEI0cVBuS0MyazdXanhQNmVOTTRmOUhKSFp3SzVEWS9UclMvNG8x?= =?utf-8?B?ZGpmZStsR21yUTBoZ3FFUWFvK0V1aTN1TTVoWklyekFOL0luWGVSRXpiTlQw?= =?utf-8?B?cHg5OXo0T0FXOXVkZ25s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USVhn?= =?utf-8?B?UndhOGovS3NITk9aVUJ1ZGRXQkIvSS9ucXFCQ05kZ0dZV29EaXF5a1hKQWpy?= =?utf-8?Q?8KP0ruUHe7rFJNkwVF16POE=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 3e1070fd-e338-4957-9ec5-08d9a81fc73b X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2021 10:07:49.1931 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 20N7NlDdPEM0LtZCGydWlw8OLNN4fqXoeorC6qsafnNsi5ObueAMoXtbFOswqyIA4We5HQjI4vv+g+0pnUHzeA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5013 X-OriginatorOrg: intel.com 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 On 11/15/2021 7:19 AM, Apeksha Gupta wrote: > ENETFEC (Fast Ethernet Controller) is a network poll mode driver > for NXP SoC i.MX 8M Mini. > > This patch adds skeleton for enetfec driver with probe function. > > Signed-off-by: Sachin Saxena > Signed-off-by: Apeksha Gupta > Acked-by: Hemant Agrawal <...> > --- /dev/null > +++ b/drivers/net/enetfec/enet_ethdev.c > @@ -0,0 +1,82 @@ > +/* SPDX-License-Identifier: BSD-3-Clause > + * Copyright 2020-2021 NXP > + */ > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include "enet_pmd_logs.h" > +#include "enet_ethdev.h" Most probably you don't need all above headers, at least not in this patch.