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 CF23FA034E; Tue, 1 Feb 2022 17:58:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6305940698; Tue, 1 Feb 2022 17:58:51 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 4161340691; Tue, 1 Feb 2022 17:58:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643734729; x=1675270729; h=message-id:date:to:cc:references:from:subject: in-reply-to:content-transfer-encoding:mime-version; bh=sOU3MaJifP0i1Aso6PsViD8FhHhqRaXOUzqqM3pXAqk=; b=dAo8t1mTHgKRm8rDDL3ebvt3JLKxcpzCKfhXWZ8K1A5D5/OH4Fa/jIvy chmQlgZL+dE7XCfjFgVpXhlqmSYJ4eggMZfy+Qk4TJ0PfZ9LmiynI2gjG 0ypM6/y/RnYR/167IyXFpgLMkT6DXQyxtnVwNG62dxzdudaaOWwqb2HdF HuVcHI3p1eebwHVbTbfMJB9PFb7Mo2VfW/lFQQCbYWGetHHsEyCnYs4da KqCv9GIW9G5cAJe7BUdBOU2Ggi6cQHoW2cXRHt0vFkii8MNaZAFPxJ169 ujbtDKpHQs0be7GfIt0/XlwwtSdhDz0dZGyg6K6Z7b21ThCKDxdSA5O3N g==; X-IronPort-AV: E=McAfee;i="6200,9189,10245"; a="308465704" X-IronPort-AV: E=Sophos;i="5.88,334,1635231600"; d="scan'208";a="308465704" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2022 08:56:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,334,1635231600"; d="scan'208";a="583091157" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by fmsmga008.fm.intel.com with ESMTP; 01 Feb 2022 08:56:51 -0800 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 1 Feb 2022 08:56:50 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 1 Feb 2022 08:56:50 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Tue, 1 Feb 2022 08:56:50 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Tue, 1 Feb 2022 08:56:49 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cW8J+MWCbN0CTwtKpsNYprcq+fBYoW04xcCRxRCKwQmTBbJIpauZ6ZMi0buwoY5KmGEdGdsdt//C23NeYIOWZC6+nlW6z2U5HCJI0xmuAnCprUFr5asmzeoYXbHidRW1sPy4e8VIPGArx4dFDwnOIgXXwYYMORRlAAg21sTob973OihEK7nsEq2042H8dFk8CzxJNIQtDlvLpl8OhjnSuggML94mVKL5hl6w+NCMOn77rW8IYOiwBxT2U7bFtpsQsBEPyLvg02RCI7HnqPl66D84q5udfKblxtmqM8JOkuIP+hSvoHttlkmOrDEIizaxwm9LoIiwj30JOluH6ShAzA== 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=oAYCgGB1We9+z7hRtaOEWFvr6sK+ek6adgKO16mBs5Q=; b=RtmWdyRethBkwtJVb81/U+jcYzUy8EusQETxuLOnF8KoHRpntoNz3JTpuIlBZNNA13LjJtSii42Q/ePmVwpmjfIs0jov7E+yEIl+/MtMP+SM82DqjMHNex8riToujByw7gt8/DG9/ep8rjKCR93wxGsggb+MPyyAoi53yKncMMUG01RWXgeBhL+0DUIVgAvDRZMGOtRNmUNTzaqIzvQfs7gfWRUY845wVBWZ3nleWEle5Ffi3XeGs2d3plGyg9vJk5mRGGBRVPt1D0e3kfTql2hemBEdd6o8LSJg86ckD6+i7ALU8PMH6gik/5cPrrzij1Bw39H3n5D2ddiyC3kO0A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none 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 MWHPR11MB1983.namprd11.prod.outlook.com (2603:10b6:300:112::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.18; Tue, 1 Feb 2022 16:56:47 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e%7]) with mapi id 15.20.4930.022; Tue, 1 Feb 2022 16:56:47 +0000 Message-ID: <2edd4240-648d-4b1a-e814-9e3150f69650@intel.com> Date: Tue, 1 Feb 2022 16:56:42 +0000 Content-Language: en-US To: Kumara Parameshwaran , CC: Kumara Parameshwaran , , "Luca Boccassi" , Kevin Traynor , "Christian Ehrhardt" References: <20220121042944.23929-1-kumaraparamesh92@gmail.com> <20220131143234.17945-1-kumaraparamesh92@gmail.com> From: Ferruh Yigit Subject: Re: [PATCH v3 1/2] ethdev: define a function to get eth dev structure X-User: ferruhy In-Reply-To: <20220131143234.17945-1-kumaraparamesh92@gmail.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0158.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:188::19) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 16e7d262-76c6-42f4-7547-08d9e5a3d552 X-MS-TrafficTypeDiagnostic: MWHPR11MB1983:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /CdESXAXur4HwF1AasfrOcPte9FI0swK+D4RnT7TUwX3Mrgv0I5SkxAbK3c2ASkxlj0qG4UqYbIWSGrP2D2JcEshZe+SRGg+gyNMNfcWugae/C3D4rVBueeWIpKj8q0WSCpSECmbIFn5ANc247rj6mg2YRnpD5vGTxreJ7/e66PRb4F/8hfLzDcNWxlTRlx1S2TvfzzzDxH2JTEUvQ4Ude9EfTDx+/X060SHLDPMgSvpw0z2kSZ1c9DP2Cc8vaqazQlqVPp170Pvy5iZ644GWFjcteMkRGrkz0Qi7RZXr0mS59yxbQ6Vz2KRU29jSdd/GTJ2frA9Ni95FQqTpnDFc4X3iVcgDzMK4X2MjeNplP6R1mQOwiyBtMx0mMKJlZFMJGLXjwadyS53nU22ErB3FcD6qiU1we57cBwPEU5Py/dtRU63s3ZTfbl5c7eR2OYID218VtgQc0DLpdzw9ZZLS2mNePu3GU5VIL3JqhVtREDW9AeR2Bysa3gKEo/TtC5xyldunmVbkAvqQaJEKZiRPnJK/hfHVzyu/BDKIFbkd8q9oGHNDzqYKOyGDQd7NZeMMNjvbGTcVZ4gfDXtRtSzpXkQJv4O/quN3+zaUhqp/gt4qlmfwn6SyOyLghrJCc8MabnHmUxpikTBtSDJVlS8nEDiIBDgEFb/RjJvfdd5WKKBo80MAnX+RL34apiZtg5KmuHHuyv6gHzVHZTCNoyuqQ== 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:(13230001)(366004)(4326008)(82960400001)(38100700002)(508600001)(6486002)(5660300002)(8936002)(8676002)(44832011)(83380400001)(316002)(186003)(66476007)(36756003)(26005)(66556008)(66946007)(2616005)(6666004)(4744005)(6506007)(53546011)(6512007)(55236004)(31686004)(86362001)(31696002)(2906002)(54906003)(45980500001)(20210929001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?a2dEYzVWVFFXVkQ3MU1nQU52NEdyMjVIb1BDamoyNTduWG9VODFqckY2UUhj?= =?utf-8?B?ZnB6YmFxNVhvNTZ3Qi9jUTVNZTZnbGNOVlZEZERna3JPSVZwVGFRS3VYM2oy?= =?utf-8?B?OEU3TXBuRnpuQ3RHZEI3Wmo5N3IrQXBKMmU0ZUxtRGNDU1lGUUJ6OFVBS2VW?= =?utf-8?B?L0s1RUs1QW1QdGQ5RFRNS1hSS1NDK0dQSXF1VEJRdk5uWENVclVwV0g4QUlh?= =?utf-8?B?OFE1bFFUa0xoZ3llSGd6Q0p6NFllVVdBU2pmcU54V05CSEkrOHppSVRhWGdZ?= =?utf-8?B?NGZUek9HTlJ2M0ZQSHgwcHZtbWNzaHhZU3d5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UdjRy90S05GNUJmVG5xNkw1YmZLdlFtNFB5MUxmZ01ZaFBZQTFT?= =?utf-8?Q?+e6cgyZa4d57mW035ZyMPac=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 16e7d262-76c6-42f4-7547-08d9e5a3d552 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2022 16:56:47.5234 (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: /6Py+hyjvaTxSyP/34e/NPmw7poE/vTSfoFUDZ7hXthM0QtjRrHyp+TWU1UmCgcUIy7o3bHPFEJVq0m3Zo6zqQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1983 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 1/31/2022 2:32 PM, Kumara Parameshwaran wrote: > From: Kumara Parameshwaran > > The PMDs would need a function to access the rte_eth_devices > global array > > Cc: stable@dpdk.org > Not sure if this patch is suitable for backport, since it introduces new internal API. But since API is internal, perhaps it is OK to get it, specially because it is required for next patch that is a fix. Keeping the tag and leaving the decision to LTS maintainers. > Signed-off-by: Kumara Parameshwaran Reviewed-by: Ferruh Yigit