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 B4B0E43734; Mon, 18 Dec 2023 12:28:06 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79130402B6; Mon, 18 Dec 2023 12:28:06 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id EF92340282 for ; Mon, 18 Dec 2023 12:28:04 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BI3LPLv020727; Mon, 18 Dec 2023 03:28:04 -0800 Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2040.outbound.protection.outlook.com [104.47.66.40]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3v2e3v9ed9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Dec 2023 03:28:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m+g+IeMSx/5b7+JsQH4DBwGh6l8cY/XojUsZJENIcNWNka4kGUm/alpHWiP8xL0mWoJo+CAg92ADhVddFl5N9ekm+1miL7Vw+SLEfD9cbfcFktqMpPV2NyLdbx83hMZfUS0k7BTRBItPUlSVQ464iQZE5WSAqDdmdtASubfI8uNU6r5WINVlb4fWj8pzO7ssDa4NVcHOLoLATI3bJgqzwBhB0M5wyPNPRUihWC0pY7skBAuA+TKLpehncSHSLd5rxKPKxDSdYm+yDvccJK5VjS3q1Sz63HtzxyDQdBfCz3ZVGf7ySkhzvHZwRWPbpF3CHVXjZES5XtPf2pzy9V71rA== 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=t32orzx5dECcbqeWQ4KyXLv6cHfvD9tAbPzFcjLFCRQ=; b=inOJRjkKIUdpGZNs98o9yf8dvpw66/7Cg/TVdyn3XTUsh2PsvkEA0a9oEgCdCaMScDc3jz2ok9LkvR1OCBKzfq/yGqFEDkTTRMFinNqwLTiF3n2AyA0skdS+MeUYJgP5VSkCmg8jyrMB1V54j8LH0pViPu5unmOktniEADG9Rk5VpxPbCMLpYFdkxleJnolS72c5do8OKa69BQyvswdY+GcvR10Ly5nQ+9PVlvNdqyN2wsbvcaxHZ1UagCFQE+ipIPzgg9lc9cTIS3OrHjTDInYEpLeYUhtLBOPBRyl2bc3BhTxKnO5H4dCNkRaWCrNrG4zpb1WCsVIvumf/gpp6+w== 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.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=t32orzx5dECcbqeWQ4KyXLv6cHfvD9tAbPzFcjLFCRQ=; b=Hphe7yF7vqDbvMUgWSFZOamPCtHWImMCA7ZZIjvMybfgHfywtZgHiiXOQvJJGDN3mVkEs1bum3WzhkkNX51bW2EKTGCzCJmqCeSabI8Ig5fYY+fQ4s/1yWBNqFN5C0J5gym2v44LRJtmobO1ulaUiA/RRLmxXJfNQKk3DUqqNFw= Received: from SJ0PR18MB5161.namprd18.prod.outlook.com (2603:10b6:a03:438::6) by CO6PR18MB3956.namprd18.prod.outlook.com (2603:10b6:5:344::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.16; Mon, 18 Dec 2023 11:28:00 +0000 Received: from SJ0PR18MB5161.namprd18.prod.outlook.com ([fe80::6013:c7f3:e8dc:6f0a]) by SJ0PR18MB5161.namprd18.prod.outlook.com ([fe80::6013:c7f3:e8dc:6f0a%4]) with mapi id 15.20.7113.016; Mon, 18 Dec 2023 11:27:59 +0000 From: Amit Prakash Shukla To: Bruce Richardson CC: Chengwen Feng , Kevin Laatz , "dev@dpdk.org" , Jerin Jacob Kollanukkaran , Vamsi Krishna Attunuru , Nithin Kumar Dabilpuram , Anoob Joseph , "mb@smartsharesystems.com" Subject: RE: [EXT] Re: [PATCH] lib/dmadev: get DMA device using device ID Thread-Topic: [EXT] Re: [PATCH] lib/dmadev: get DMA device using device ID Thread-Index: AQHaKawE831gU4qqkkCvYcmPKk70kbCj5N0AgAsFblA= Date: Mon, 18 Dec 2023 11:27:59 +0000 Message-ID: References: <20231208075526.2696553-1-amitprakashs@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcYW1pdHByYWth?= =?us-ascii?Q?c2hzXGFwcGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02?= =?us-ascii?Q?Yjg0YmEyOWUzNWJcbXNnc1xtc2ctN2Q0MTRlNDQtOWQ5OC0xMWVlLWI2ZTIt?= =?us-ascii?Q?MWNjMTBjNDc0ZGNlXGFtZS10ZXN0XDdkNDE0ZTQ1LTlkOTgtMTFlZS1iNmUy?= =?us-ascii?Q?LTFjYzEwYzQ3NGRjZWJvZHkudHh0IiBzej0iMzgxNCIgdD0iMTMzNDczNzI0?= =?us-ascii?Q?NzY5MDAxNzk2IiBoPSJUQkFjODkvdEdqTHhFWGM1eDdpVE94UWFFZGc9IiBp?= =?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FHRUFjZ0IyQUdV?= =?us-ascii?Q?QWJBQnNBRjhBZHdCdkFISUFaQUFBQUE9PSIvPjwvbWV0YT4=3D?= x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR18MB5161:EE_|CO6PR18MB3956:EE_ x-ms-office365-filtering-correlation-id: ec6e3517-32f2-4bd3-79bb-08dbffbc63e6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: iBcwlP6qcEQkyZqrK3rVCYUEJZaLYh3Lt309d+cHSMwcQ3jyuflI+xvNKLgi2rFxKHOIJhlAb0lxuscoHb8xwcdqoZb017XLjzIhNbOJC1Wik8dgZUQPC+FjH66WBPTUPzk2DhBFNgfNmU3kyeZXjvoaumPDeWma6aXhgC4EhPJD8TrxHb/emynDjt4XFOIrMhYWiJCAlIHEGfLLtHS0Ph6tPCItjW6fBU/xIaeGvB/PKFeDHUqpsF2RwRV6Co177f5hppORhtp9rr9UB9hg8fyXbAAUrPH+IGFxSoZ4BZRHlFGZTi2r/nf22lVAnGlNe+6mWCqr/aSgxpBh+p/77McTSFc2c8N8DRUs7YkhEsTJqTlngi4ZRLV3DHXe8gXWxFadabg5sJbi+RgPVQxTKiu9HqmWAQ3fSasGjLZFD/atT2UElXM8kAr1SyEc+6WAoBBr5CpvyRLmWJg3LEUvgkMHMiLZMAHkWNYYJY9n8DInZs+fKnC4hAaE5GJZRKPBnMPzPr0meUr9Vj18rOOuZPY5McxhiLSIEZjoxu8B0QOgrMSdE/LSNqwViZt89L4QEKbiUCkT2Q6ZnEcjBnHEwjYQTfoo6N0vtg+54zDHcdra7C43Gf8Z8sSsYsg50RUafCrf8Y5Cn1w45jVl614uIw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR18MB5161.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39850400004)(376002)(396003)(136003)(346002)(366004)(230922051799003)(230173577357003)(230273577357003)(1800799012)(186009)(451199024)(64100799003)(83380400001)(66946007)(66556008)(55016003)(66446008)(64756008)(66476007)(6916009)(76116006)(478600001)(54906003)(316002)(38100700002)(26005)(966005)(4326008)(52536014)(8936002)(8676002)(6506007)(53546011)(7696005)(71200400001)(9686003)(5660300002)(2906002)(33656002)(86362001)(122000001)(41300700001)(38070700009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?IcQdWCh35bZhJN3VXdIexYgUcpJ4nMNUAU+lJ+7XJyK9ocOvYnh/WCK3kbQE?= =?us-ascii?Q?MMoTMfvUdSnIokBduvRaAzCx/UlaFIBN46jz3cGg+9n/AndLEXMBV9u6welp?= =?us-ascii?Q?eWeaHEN9lFxAGxQ0szUxeG3WfSC5m1u20avNrScPfqvJ2pS/A2tRXA/NBGxY?= =?us-ascii?Q?NwLPHLIokKH7FTBbpZDjAaUovuisY8E7j0TytqWQYo6V6498WUNKBOJcLnM6?= =?us-ascii?Q?JOEuGqh9dDjvpqS3AeIQV7mTMEVpiHlNaHDcphHfEtDNqg9jAvodpQJnFLez?= =?us-ascii?Q?oKrwqy5yYuZEXhuDAS6+O2ZRcvu8jM9PuGUAMnA8iWO4rvOyOdLy9NFk2zgt?= =?us-ascii?Q?Lxo8Jy1YQ4RJ1SGl27ERVx6wixBclH/5bNurVDPggd7E4bXp/ZjxD/0HMrQk?= =?us-ascii?Q?ikoxaFeR6c8E+S040/tkku72z/CSPFhiv7opoffQkAAfRH7S8oij8svThen1?= =?us-ascii?Q?NPoWms3+iosBfZKPLzV9Cye6/irZboQkQHPTU1w7+r97fqthChxBRxcSqaNc?= =?us-ascii?Q?eMLIQcUT4FLRMN2EfICeLyKMlXJ4rD3+/MmcwSUnha692bKPxofjz8o869NH?= =?us-ascii?Q?Om732JVXf5Xv8zuF8N4sXxJLhx+m1aMXesYm/PJAKRZIWTCZlMOv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BVHlPx4U43048ZbAHuW6/Aijexj0vRNOnAjS9jJ?= =?us-ascii?Q?NIPSFVTZFMHuGb2Oeo+4jQPWiASNThhlNfFFPcye?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR18MB5161.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ec6e3517-32f2-4bd3-79bb-08dbffbc63e6 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Dec 2023 11:27:59.7949 (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: Sx5EeEhw6ehmP9h5Qg9c1PMkKJRm+0Orp66o9+O85iRcBki/5upQ38Uv1di7guGGv28s+AIus5TarKhaxbxm7TDHFllX635REZtD1i9Q1jY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB3956 X-Proofpoint-ORIG-GUID: O2MgfWEw4ElFdGTa9XOgtx7GjXABr8Ts X-Proofpoint-GUID: O2MgfWEw4ElFdGTa9XOgtx7GjXABr8Ts X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 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 Hi Bruce, Thanks for the review and feedback. Please find my reply in-line. Thanks, Amit Shukla > -----Original Message----- > From: Bruce Richardson > Sent: Monday, December 11, 2023 3:54 PM > To: Amit Prakash Shukla > Cc: Chengwen Feng ; Kevin Laatz > ; dev@dpdk.org; Jerin Jacob Kollanukkaran > ; Vamsi Krishna Attunuru ; > Nithin Kumar Dabilpuram ; Anoob Joseph > ; mb@smartsharesystems.com > Subject: [EXT] Re: [PATCH] lib/dmadev: get DMA device using device ID >=20 > External Email >=20 > ---------------------------------------------------------------------- > On Fri, Dec 08, 2023 at 01:25:25PM +0530, Amit Prakash Shukla wrote: > > DMA library has a function to get DMA device based on device name but > > there is no function to get DMA device using device id. > > > > Added a function that lookup for the dma device using device id and > > returns the pointer to the same. > > > > Signed-off-by: Amit Prakash Shukla > > --- > > lib/dmadev/rte_dmadev.c | 9 +++++++++ > > lib/dmadev/rte_dmadev_pmd.h | 14 ++++++++++++++ > > lib/dmadev/version.map | 1 + > > 3 files changed, 24 insertions(+) > > > What is the use-case for these functions? With the dmadev library > abstraction, other libs and apps should never need a pointer to an dmadev > struct. [Amit]: The dmadev struct pointer is needed at driver layer to verify certa= in underlying device parameters which cannot be done as part of dma lib. Th= is api is been used in the patch: https://patches.dpdk.org/project/dpdk/pat= ch/20231208082835.2817601-3-amitprakashs@marvell.com/