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 1B16745AE1; Tue, 8 Oct 2024 14:01:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A6924027F; Tue, 8 Oct 2024 14:01:02 +0200 (CEST) Received: from mx0a-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 56E684025C for ; Tue, 8 Oct 2024 14:01:00 +0200 (CEST) Received: from pps.filterd (m0431384.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4988M91K029631; Tue, 8 Oct 2024 05:00:59 -0700 Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2170.outbound.protection.outlook.com [104.47.58.170]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 42515u0cn6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 08 Oct 2024 05:00:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YbT1LkcDFvp/QhtwDv7zAUhzK8xhLU8Oiz0sHSRek9GonYqBmyHKdcZyP2ivcpIt+OQ+8yNY35i50HM3LX41XpPw8r+H8ustjn8V0gVj7SJvOiCn2qOBdub6KMP2GTtnDv6eyfXfoaZ4G6aZy+L0RLZjRiAoH/nJfUDpN5Qobp+bPuHrZJSQ7+DS/MJvh4ljhQshnkbhgaxefcY1m7l3b2BEwjGX0rNOd5A8qZucBG6EIqlQFD/w23aWZtuejIWqfq5/aEKN1aUvrV3/a3p6kVKf+hVXehvE0/evbRT9NdqgrRrjqWHF7yBaxUcFFJ8cDFtmKUQOO2RpBgooHRj3sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=23YyMug3QHqZeN26N/oGMhARVAcHIYOuRqVtGxr9awY=; b=U4p9/UbbDnE+bVpq9Tgk9+nSD94GZ+7sDtRyKIzwuA8nrWvPvU01NmUTDwfTuAaloOnVAaezS3dxj45XpDF1OrYGVDL8SWp7EbalkPsMiqfLl31RaemylD1vu8LQguNce8EcsvhEBfIg3MfOQjl2eVJg3vKYyq/eg7tCygxoyCutMciwr8KiUGypTrB66ub3PFwJQG5YikL0CifaYc7AnImioNx0CSAEW2aoSnsF5NGFQyX9Hfsozlqm+yUTXq7Q4fw3V/qFL0uJ44eKDntR+SoDor2PUsBGGa3uepHeubYhy5/rLo06/pRypOHcNddTWBLfUf6d67aWY9KnwLDRaA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=23YyMug3QHqZeN26N/oGMhARVAcHIYOuRqVtGxr9awY=; b=oBOQQ7iBhhVUK82WiBDIyD9AI39PeCIloJRjSXov8sYsgsUKlzj30MWh/hbQnu63Pf1aBjn1KUzL14HTHNVGqS5ZSDOC9uKH8/mFJtnrJ9IEcYn/Jqw1GuDYWmmaA6yHKR1jkJn6+6qUc+a3dR09yYjvlIamsblwPIdKN1DNp4A= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by BN9PR18MB4378.namprd18.prod.outlook.com (2603:10b6:408:103::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.16; Tue, 8 Oct 2024 12:00:54 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::3c98:dd36:4897:a51d]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::3c98:dd36:4897:a51d%5]) with mapi id 15.20.8026.020; Tue, 8 Oct 2024 12:00:53 +0000 From: Akhil Goyal To: David Marchand CC: "dev@dpdk.org" , "thomas@monjalon.net" , "hemant.agrawal@nxp.com" , Jerin Jacob Subject: RE: [EXTERNAL] Re: [PATCH v2] rawdev: add API to get device from index Thread-Topic: [EXTERNAL] Re: [PATCH v2] rawdev: add API to get device from index Thread-Index: AQHbGVVWMlzuPcK9k0mzbBiXJDJvkbJ8wEgAgAAAS8A= Date: Tue, 8 Oct 2024 12:00:53 +0000 Message-ID: References: <20240907193311.1342310-2-gakhil@marvell.com> <20241008074000.3745855-1-gakhil@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|BN9PR18MB4378:EE_ x-ms-office365-filtering-correlation-id: 20134552-a423-45a8-0fa5-08dce790dc21 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|1800799024|376014|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?ZFFSSW9ZQVJYZFFPM2pPQ1NlMUJsL1JhTklVRDAyZFcxMEhjZFM1UkI0enpv?= =?utf-8?B?VHFVeFF2VDJKSDFFeHBNYTBWUGNDQld1UHVtamdwKzhlRnBlM0kreXBTV3lt?= =?utf-8?B?Nkg3R2NMN0p6MDR2b1ZSL3BGUGt1R1N5dlo1MWRxTURvR3Z5VkU4Nzk0S28w?= =?utf-8?B?MUpZMDhoVU0vK2w1QlRoanBWdS84YWlUL2FsNmUwa0EvMU9OWWJFcVR3SEhN?= =?utf-8?B?L1dNUXp6MjZ3WUVkN3Z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?R2Jaa1dveDNtd2IvMGZ6R2k0bEl3VVJwcGhQUnpiQWM2WWhXUG9yTms4R3NF?= =?utf-8?B?TE8xV1dETFNiWklyT3hMT2poSGNNNFdlV1lvaE9JNGlJbHRRb3dZSU1Lb21M?= =?utf-8?B?Q2ZUVkszdnBlWFJjUVgrSEVLVlJxbVRsOTJiSVNyeEU2Q0d4eWlUYTROc1I3?= =?utf-8?B?cW1qUEd1YUVQTENYbjNRYkt3RGVERmYwbEUzNC9ldU51TWQ2MkhQVHBlc1d5?= =?utf-8?B?R21zUTJaNGQ0ZVYvanZzU1hJb1BSZHFpMmZFQS9BTU05TlkxOEZ3UUFTbHVP?= =?utf-8?B?MGI0MUxyOUFXRS82cGZ0REtPZkFKdDJTWncvYnF6MUFLYTBIVDk4eHljdHJi?= =?utf-8?B?UlR5RzlFMXZmb3hPcjZFNjJuMWxvVktEZzZrbXlQZFVzRTM5a0YxSElsZ1g4?= =?utf-8?B?Z25kbWxtbWRTOVZ3N2lYZ3l3ZFFubE9GLy9QdzR1UVdneG5lUGFFUFhtMVk5?= =?utf-8?B?QUdXdnpSWHE2Zzljd1dxVU51M21wTGorYk9CNkxRNlhwbTFJVGJ4Z2VVeWgv?= =?utf-8?B?SVZURDM5bzZML2JzQVpQMHpRNjFhdWlydTNEeGp2UmVhRHphcU5YalZXY3dE?= =?utf-8?B?S2NrY01nd05BSUtaTmRPVEo0aDZyb3ZFYUtybUJmWlh3eU9MSkZXek8yWE5m?= =?utf-8?B?d0VBZ0xxUVlqRWlOR001dz09?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?QS82ZnRSZjlxMnBHQ040bVlaZjRVL2V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= =?utf-8?B?S2dWZHpkc29BQXdhT093T0Z0cTZsUHJtbzIvUXhwYXBEWFVsbnozOWNkeUdt?= =?utf-8?B?VU9aYys5WEYxa3pERk5yVE8vR2lnR2N3eVdUVkdtU093dXpUOUs5b1dTMmd5?= =?utf-8?B?bUU1Umg5cXZRT0x4VWE2blpDZk5oQzJPbmFkZmFHMEtpNnRLK0t5SGZNMyt5?= =?utf-8?B?K2RjKzkyNjVEY1R1dFN5TktPdkJDRnoyTHFwSTRpTGs0T3prYjZWNXRMdTNG?= =?utf-8?B?d1hTYmR0b01YTk5wVnFKaXFyb3lGZURQa05KQTRXSTdLZ1dkUmNvNzQxdGVu?= =?utf-8?Q?Np2E=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 20134552-a423-45a8-0fa5-08dce790dc21 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2024 12:00:53.3944 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JCR8+iGeaPZ51nrdk9UBJ2Z03UeKH2caH4sQfe8h3E8lrUr26Jwtq3fXsFSBoeiDYM/iYRICcYyevsLyR086gg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR18MB4378 X-Proofpoint-GUID: EcKA5eixYnuUGLQ6uSDDrpepMtqUp0vD X-Proofpoint-ORIG-GUID: EcKA5eixYnuUGLQ6uSDDrpepMtqUp0vD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.687,Hydra:6.0.235,FMLib:17.0.607.475 definitions=2020-10-13_15,2020-10-13_02,2020-04-07_01 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 PiA+IGRpZmYgLS1naXQgYS9saWIvcmF3ZGV2L3J0ZV9yYXdkZXZfcG1kLmggYi9saWIvcmF3ZGV2 L3J0ZV9yYXdkZXZfcG1kLmgNCj4gPiBpbmRleCAyMmI0MDY0NDRkLi44MzM5MTIyMzQ4IDEwMDY0 NA0KPiA+IC0tLSBhL2xpYi9yYXdkZXYvcnRlX3Jhd2Rldl9wbWQuaA0KPiA+ICsrKyBiL2xpYi9y YXdkZXYvcnRlX3Jhd2Rldl9wbWQuaA0KPiA+IEBAIC0xMDIsNiArMTAyLDMwIEBAIHJ0ZV9yYXdk ZXZfcG1kX2dldF9uYW1lZF9kZXYoY29uc3QgY2hhciAqbmFtZSkNCj4gPiAgICAgICAgIHJldHVy biBOVUxMOw0KPiA+ICB9DQo+ID4NCj4gPiArLyoqDQo+ID4gKyAqIEdldCB0aGUgcnRlX3Jhd2Rl diBzdHJ1Y3R1cmUgZGV2aWNlIHBvaW50ZXIgZm9yIGdpdmVuIGRldmljZSBJRC4NCj4gPiArICoN Cj4gPiArICogQHBhcmFtIGRldl9pZA0KPiA+ICsgKiAgIHJhdyBkZXZpY2UgaW5kZXguDQo+ID4g KyAqDQo+ID4gKyAqIEByZXR1cm4NCj4gPiArICogICAtIFRoZSBydGVfcmF3ZGV2IHN0cnVjdHVy ZSBwb2ludGVyIGZvciB0aGUgZ2l2ZW4gZGV2aWNlIElELg0KPiA+ICsgKi8NCj4gPiArc3RhdGlj IGlubGluZSBzdHJ1Y3QgcnRlX3Jhd2RldiAqDQo+ID4gK3J0ZV9yYXdkZXZfcG1kX2dldF9kZXYo dWludDhfdCBkZXZfaWQpDQo+ID4gK3sNCj4gPiArICAgICAgIHN0cnVjdCBydGVfcmF3ZGV2ICp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