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 5AEDE43A9A; Tue, 6 Feb 2024 07:24:20 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 314E4402C8; Tue, 6 Feb 2024 07:24:20 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 930934025E for ; Tue, 6 Feb 2024 07:24:18 +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 415MxtXt024760; Mon, 5 Feb 2024 22:24:17 -0800 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2169.outbound.protection.outlook.com [104.47.56.169]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3w38y4h4hm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Feb 2024 22:24:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U8EJhjPfyPYMvarw8+PAtUdrfMGbD79WCEcYvUtiNmpNG/7KAhhP36F4skmIzi5nO1TYXDRwJ8sQWhDw8d2IMlq2KQf0GqPjMkrFi3qjNweg6ZnF2upYpsTd1IQJWypnxD2iIgm9hxYVbwJkpW/06KR1yOs3bK0O/GnVRe5v4u0syW7ZGyTijfXy4FfluN/BK6w4QCxOXzY3mSvvg9t9GyKSUPmqSKeYxgt+wnTRA3JGn8DwxNaCFTj6+K+m7ubx/ZgO+bbQzykfePWts9g7Ly/O1/G/YvKw+hWCqBhazT3PIm/KhsIfdhF7l6nnYvhIB2yyT8e8lete5A/DiPcOLg== 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=72OiVON8wwWJB5FM7EgboCQQM3EwVBWbBwqOxmsAQSE=; b=AnlNPyhUWsDXg94K2MbodyzVYSMMlg/KXmo8inH0GicKsSpzP8pp04hkSnrARbSV4V68qqD58WZ6IxV+ubjuddYBAnF5WxkECCAgBG4kJ7YdC1wJIo3Sy+Ut4LajSuCSKZ7w7Ok2I7lp5tBN+osazNsPePdJknABylb5fGj9PSCMVL/MIdbcNvAXyY/pBkA8YPtt4OetzqB3S13TSj8opmedt9HEfheCIxnV0qyI66PfImJLEBDsP34MflJyE8tPTDXxQBdiWF5awWSWGDhFmDnUA0AVtExlQHakToTfu6PM3NcVnjlOym55brLDjjJm8S7NaauvIhiG3al5KYvKEw== 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=72OiVON8wwWJB5FM7EgboCQQM3EwVBWbBwqOxmsAQSE=; b=GCDHR2gWPgHeefICYMyc1AUlvBzqtUkbUE5tfOgKmvf5orPgpSXNzh9XCZG8nQDNMPB57sIiyB44P4QanvRuRZUQXzvUpXfQVmYXJSTERXv4JBsq6e9UphdhigRaGoLSuJDVPFtBM7mAJ1REobk4+nyNRue8NvDOP+zdKrgFDjM= Received: from SJ0PR18MB5161.namprd18.prod.outlook.com (2603:10b6:a03:438::6) by BL1PR18MB4149.namprd18.prod.outlook.com (2603:10b6:208:310::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.36; Tue, 6 Feb 2024 06:24:14 +0000 Received: from SJ0PR18MB5161.namprd18.prod.outlook.com ([fe80::c204:20a9:f3d6:62dd]) by SJ0PR18MB5161.namprd18.prod.outlook.com ([fe80::c204:20a9:f3d6:62dd%7]) with mapi id 15.20.7249.032; Tue, 6 Feb 2024 06:24:14 +0000 From: Amit Prakash Shukla To: Thomas Monjalon CC: "dev@dpdk.org" , Jerin Jacob , Vamsi Krishna Attunuru , Nithin Kumar Dabilpuram , "mb@smartsharesystems.com" , Anoob Joseph , Chengwen Feng , Kevin Laatz , Bruce Richardson Subject: RE: [PATCH v2] lib/dmadev: get DMA device using device ID Thread-Topic: [PATCH v2] lib/dmadev: get DMA device using device ID Thread-Index: AQHaMmqfmaOKR3fmXEaOdypDH4D7HLDQHj8AgC0FNPA= Date: Tue, 6 Feb 2024 06:24:14 +0000 Message-ID: References: <20231208075526.2696553-1-amitprakashs@marvell.com> <20231219110027.16443-1-amitprakashs@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: SJ0PR18MB5161:EE_|BL1PR18MB4149:EE_ x-ms-office365-filtering-correlation-id: 0aaa4b6c-5faf-453c-cd87-08dc26dc3d28 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: fSLwT8JHpUQi7QOSowpXqrvv7E3Nv57VRitu+JN2HVPYHVkGPsq/FWUs5d59TFrUpT/an2og5dUazOJXrAfMLJQtbuq0Ce8BG4GU/dYWciP36Esrk+VMn/myLQhH3gI9cW9p34BBtILzI2rj9KmBhCIjLopomIXnW2vNYD+65ItIa5OCAvm/R5/v7kZ0EdVF1mWb27w/z4RlDrICjox2vPyvyP5bQ3vxElAtvJ1f3a2usl+JuvaU0HO3XIH3ySeABbpUC7XZSRAupgAkrGCqn+PpSsXwfmIC+YoVuMilDMgXoAXl4RQ1sjhYYKE01p8xx4+9r6eWwA6lu3zzn/ZMuijRa0XbomMTL002Frz/BENUVx73P+glcL7eO1reqTvfzxDNVqiu2EcbxbWcdKzMYXRZxVzhh1d2aYGk/GB5UW5K0rFUU9gGYnxQlOzbFY0k8NHW8s3Z6X5xfxLN6luNAt9fNzr+wJ6giEPpOb58MGIDk/fw0s977A/duf2V9apo9WXGDpEntlOtzRy02WBNbNXwrMM2J8MyouwVdWsmevkAAyUzxwZrtJbUUfJYX8qkq6nyfs2SArKiUHMFnxEWEEIs0/q+ReJWT6I3jFV/2J8= 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)(366004)(346002)(376002)(396003)(136003)(230922051799003)(186009)(451199024)(64100799003)(1800799012)(5660300002)(52536014)(2906002)(4744005)(55016003)(41300700001)(38100700002)(122000001)(26005)(83380400001)(86362001)(6506007)(7696005)(33656002)(53546011)(66946007)(71200400001)(6916009)(64756008)(66446008)(66476007)(54906003)(478600001)(66556008)(966005)(8936002)(76116006)(9686003)(38070700009)(4326008)(316002)(8676002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?WLABsdmih8jUCSykv+uzdTvlKQ0m+xRtL0Fs/u1HDxuEfgnEEEtR0w119bvI?= =?us-ascii?Q?6SMcCipGForW08A13TOLbdBx3hvXH917/c/VsJGn3e8NwbRSLmwrWQQkxXw+?= =?us-ascii?Q?/Pm2m2NIyWgdHIPvKMrQliU7nj/yaPYece1UH1ufwhqmosartkJLFQy4K8vo?= =?us-ascii?Q?9tJMqi7SaAjqlkpOynq/Iv7hD65bRxM757ioTb9zciHgII4UG4d+tHvl87Bt?= =?us-ascii?Q?NXiJJMi+PErTTdmQWzTT5GFys1MRI25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?us-ascii?Q?I83fKywT55ENQDpmun3kbJggNtmWCMj1tOeXEqJcNLvOeYKgTl5WBPjIfQKR?= =?us-ascii?Q?nL8JyTJM7TuYTnIgf8JcfEfMuP8gDwonIJxgs0YirRhUM58j83JsCVmPmWGl?= =?us-ascii?Q?F/R8WudofC0GLh+Yl7JAkfG91WlImL87xHn2ZExba1BgXk3LHWg0p+8Ixmko?= =?us-ascii?Q?hs94fnlagVTzLEKHhgEtosD28rkv5DOUh4p/HG3E26QOn5oAWIKkYHoEjehl?= =?us-ascii?Q?8+z1c0PYm2uk15MpG39rPdDNglrqGIuPtVGpiy3KYt2TqnW1giCEEYmp+Sqd?= =?us-ascii?Q?pznGlVxF/hTNx8AkMZdmHTsUmwRqy2pq4CeG0YrMhuUui2IzOhYxFqahOut3?= =?us-ascii?Q?1/9fpZCMqHFWPDDFf2eVnQmJ7FoNT+cXSeCrDaoXa8sc9Fj/rG6Y7zDQK5Nn?= =?us-ascii?Q?T6Uv5AukAsiuE1feFb0NfbgQ7rqyOi+LEYEQSG7C?= 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: 0aaa4b6c-5faf-453c-cd87-08dc26dc3d28 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Feb 2024 06:24:14.0356 (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: 1+G1lfQIm3Jl3rctrRDeS7Xm2XeLNPELS18W7X421ioKesGcsMF02InCmx++LWDPzVn0Tn3mEkj0RCxyJ36S5ROO90wnTPxT86j09Vz46nY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR18MB4149 X-Proofpoint-ORIG-GUID: xzKY31tzEySXEIw1yTWpIrfU3Zxsx7GI X-Proofpoint-GUID: xzKY31tzEySXEIw1yTWpIrfU3Zxsx7GI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-05_18,2024-01-31_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 Thomas, Gentle ping. Could you please consider merging this patch. The driver series https://pat= ches.dpdk.org/project/dpdk/patch/20231208082835.2817601-3-amitprakashs@marv= ell.com/ is dependent on this patch. Thanks, Amit Shukla > -----Original Message----- > From: Anoob Joseph > Sent: Monday, January 8, 2024 8:17 PM > To: Amit Prakash Shukla ; Chengwen Feng > ; Kevin Laatz ; Bruce > Richardson > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; Vamsi > Krishna Attunuru ; Nithin Kumar Dabilpuram > ; mb@smartsharesystems.com; Amit Prakash > Shukla > Subject: RE: [PATCH v2] lib/dmadev: get DMA device using device ID >=20 > > > > 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 > > Acked-by: Chengwen Feng >=20 > Acked-by: Anoob Joseph >=20