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 DC248A034E; Tue, 1 Feb 2022 18:16:04 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7542040698; Tue, 1 Feb 2022 18:16:04 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 293A040691; Tue, 1 Feb 2022 18:16:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643735763; x=1675271763; h=message-id:date:subject:from:to:cc:references: in-reply-to:content-transfer-encoding:mime-version; bh=/EOtMaP2x/CH0AX6wbCvaubxD4lBUaagO+bAw3tLENQ=; b=alAAwopPbJA2lul9nzm8bzZwmGS2NM0i6XKj/wgj9UY/c2kFGPCuLwcB JKrzWIiJfAj9h/vhgNxiuUcmRylNerxyVHV/8C0MR9zKV9yIcmtPL8Cp5 1MIwMGQbjM0jObk7FvoEfcFKYMeuoY/AS9fXRAUQDpxdan1VMlrtxPIjc mxKm5S+BQXXDmHZb/PihpHt4z4CWLIfY/7blfUapSysnU7myQzVMtiMq7 dwY7mtQa8vktmoT6963lfzdWS1/cd3MKzuRBWfnfYJCNYIKMD886Cahmj 3mbmLnSJk8L9zHhxIOJzIFclPcu9xTN1gZi9FrYpNH0VNe1bdjnll7xGp g==; X-IronPort-AV: E=McAfee;i="6200,9189,10245"; a="245335388" X-IronPort-AV: E=Sophos;i="5.88,334,1635231600"; d="scan'208";a="245335388" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2022 09:16:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,334,1635231600"; d="scan'208";a="479760106" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga003.jf.intel.com with ESMTP; 01 Feb 2022 09:16:01 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) 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.2308.20; Tue, 1 Feb 2022 09:15:59 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx612.amr.corp.intel.com (10.18.126.92) 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 09:15:59 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.109) by edgegateway.intel.com (192.55.55.71) 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 09:15:59 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dsmxEq6QEyKSra6rwfd+WxmKCshVsTYNA0K24eLBU7P6hzvaUISNzcqubOW79WE6VhX1iyRfs12b57tDjwwXCui0OgDW3lLC6e7+WpZp1B8VKFcxVjM+rwfCY9zq7Bdd3WJKp0aon4aMiPyFCvfVYr7u7dsTjL2h3HvRbZ8xJ38Q4gNyNayUunAospoW/Wciw40umKQStyM5dQ9jzOvzPzLybVHwDSCNvjEFyCG1/T7k0I107nj6A0qLLu3/4OufrTzAkUhehaXzQ48dElogU1ByL1LjZY1JPmEnzRs8LH964tWRA/Y01Rhu68bkJvn7s2T6BYzvFD2RGjmF4rpqCQ== 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=icJXZMWXK28vuMof9huxZ0GxXjtIRUr+8OlWwuvdVYM=; b=JFdlHid8WZXuxkrwKO8bOvA71Vu4xiVUglnwZDdWfMH/ldmCKGF6u+dws0XsiXDQcC+uT9oeWZAyKJQ6GEWBFQEXTFWtflwZCLxbqwNfq7A7FhvGSCtmqer1ExpO6VGetR2nxODFB8CuaYWbXAflJM7Nywp4WqTD898e8DsLfV7PQL2OxJBwkVAuxgGcS98o3ZRDGEVO02sTaWvZ/QAHe6WU4MQv5L98tLp9T3SyFIR5EXLrZ8iaGY1Tbv/mdaWIHiRGN7qeo4M5GRojs2TJfpPerGUug/NgZQ2QAu83WL5D3132yR3KTW2Njc5p54BMpeTyUmz/UBAHVNxNm5S7Xw== 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 MWHPR11MB1293.namprd11.prod.outlook.com (2603:10b6:300:1e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.20; Tue, 1 Feb 2022 17:15:57 +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 17:15:57 +0000 Message-ID: <8e7a9571-a45a-ba48-2414-73b2571ff803@intel.com> Date: Tue, 1 Feb 2022 17:15:51 +0000 Subject: Re: [PATCH v3 1/2] ethdev: define a function to get eth dev structure Content-Language: en-US From: Ferruh Yigit 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> <2edd4240-648d-4b1a-e814-9e3150f69650@intel.com> X-User: ferruhy In-Reply-To: <2edd4240-648d-4b1a-e814-9e3150f69650@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0088.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::28) 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: 0adb5020-b5ef-478b-3d2b-08d9e5a682e3 X-MS-TrafficTypeDiagnostic: MWHPR11MB1293: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: e4EapHX62JXSeMQIFXiskAy5DkGy33VOVxyWKTQu+zl2RxddAS3A5L4bGis2I+TVd0nqsz5DfuOIc7yAIK6W5k7XQM5FuPiHhAv0QyyODJNH+I8PuAFwt4vVXMPklmS08WgeONEgDORnHm6vCdCixIEn++4WTGpnZ5aBoxryh8umPkHxLSkGBw+dgfRWbL2Qi7gisKTFDR0iwotSR+cg/B03Vi8U38N4sbRvLKP15KOIjsmVaWRyg5r4kZLLM3lppdB1LceBOokxRyHVHNVtSeLCKMXl8ssO+iKZtOrQ8BYz9ZFaN29E5dUOoKdGHBMATjXJTOqveW2vH1tk/TDjRfVD84u+4c2b45UDGtsS249wjvtqWsE1yx5GH5eCZZ16udbCkLX/Yq41w3kjNPeBy4gDduay3roM2pJsiMptHv+3mc3PPjr8/uLEjFKcNdjodcA4UXO0cKZvaVrKGemHZikSf6X/4VE4icWUMUvEhgEiNw7BJ1p/Kg6+EbTtC9uyqHJOKbE0WAUha3kpDgjZQqIuQiS8MYDK9CxCFSfcvBmZCo9WSKI9zyF55b6eEdqhDISttu1uU2LQxFEHDQJ5w3eVUndrjpFJBcWI1UVU0C+1KfW6DJx0f5eoXyjM7AZZ+gFTJefH3HptpH48nQgdPbkNEpysW4HzbELzzZUoSoI6f1ymdlLeOQUMLZCSSHLvkhPWR8sa8tM1VEU5pOKm9A== 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)(316002)(31696002)(53546011)(54906003)(38100700002)(31686004)(82960400001)(83380400001)(6506007)(55236004)(8936002)(186003)(8676002)(44832011)(86362001)(5660300002)(26005)(6512007)(6486002)(36756003)(508600001)(66946007)(4326008)(66556008)(4744005)(66476007)(2906002)(6666004)(2616005)(45980500001)(20210929001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cUVUNzVVZVhhSGU1OWRNOGtnZnk4QzdJa3VDYis3QitvM2huWWJoS2dzc0Iv?= =?utf-8?B?NE5ZUnE1bVFKd0Zhd3M2YS84TXJBaUxUWlowUHBuZ3ZJSGVNSDd1NFk4YTlM?= =?utf-8?B?Qnl2RElDb05OWEhiQytZVklreWZVQlVGZVZselRsRUpwMVZsTFVjditIVGJQ?= =?utf-8?B?bGpIVlZVclVnNXA5aFgrM2kyOHdELzRUdU9JK1Y0MUlkN1BsZkNRaHBBRnNo?= =?utf-8?B?Vml4RmJocThoQTA4M25BS21aSXRGVkRINTE2ZlV3eklXajRqTUdnTkJvYUha?= =?utf-8?B?bFVHdkcxaVJTMWIvaUgwV1ZURFVkTm82YlNuWFArRXhXVS9pc3EwWEZ4dUFL?= =?utf-8?B?QWRvOW4vZHBsR2xaRy9SOCtWZzBwUFUzSzgrQlZJUERKMWV3dVpSYXNPZkhX?= =?utf-8?B?a3VHTmlNdTlOVUtGTzNROXI0Z2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adb5020-b5ef-478b-3d2b-08d9e5a682e3 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2022 17:15:57.5241 (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: EYXExQT8SK1DwWAtQ/l19dP0RHUJeq0Qody+KbZt0DRxmBra3z3zpY8ceHdXeW8JwU+yqR0+VLUWBCgdiqihqw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1293 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 2/1/2022 4:56 PM, Ferruh Yigit wrote: > 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 Series applied to dpdk-next-net/main, thanks.