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 CD7A5A0C45; Wed, 20 Oct 2021 09:47:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F6A94117C; Wed, 20 Oct 2021 09:47:55 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam08on2049.outbound.protection.outlook.com [40.107.102.49]) by mails.dpdk.org (Postfix) with ESMTP id B955841174 for ; Wed, 20 Oct 2021 09:47:54 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VevA3lUAQzbOfrU1yyum5eUMEWboXSqbsVC25MvJZLzVcViJpiboB/OAh5X5hVgJ06NJuxOuvZzyT74yUh5SJKOMAyhc+NKulurZ8VA9xvxR3KGta2vNYJCvz9rv37OsNTh+11fvInUD/2lOW6H3PtOBM4ufvh7I9xUSP3yEVCnyUUOjSmINFkuCf1RCTmUyPzbr9dPS4BlxnFJM7olJUjRZom3sL8Q30ZnJv2YBDM6/G2FiqR6sY7C2UiC1I28xiMo11JJDg9+OXZXJ+YxeWQqBtAJtNcBQrtG88DSTkqnoPp+H5YMezcELrISQ5LZ6mz8FKycAr59Jn30oIilnuw== 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=ql/BLcXzYbFlDVNFCV04Btatpt4CNbtQABfxxOBFL98=; b=G/PHl4mBMCJ1Talf/8yuza25yrAZuReezGFqVJtIUrPS0P2akVmHLimCpFDL8bSbtEieEDqN1I572Sf894LM80o8DM3DUUa6ZF7Zv7P/4hou7H110DZjtwBqbKYl6AHyf2l8ZAlEyH/TgCoPFD7qTq70vojD9ZIL9XpDVdYMgM8kht4/yN/Jh/pDQK6MrJJ7mx8POiBn0JkL6ah87X0hY9bUn7wVbWazxtPw0oIrtle2XFCttdObzRPaqORAeXPUfoKoG8FVwfOrs96CIJPNZIm3hlKIObOJdriQA5JEyWYYXmH9zi9IUsk27ij/RDAXAh5Jg2aOBDS9ihfelhSRlQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ql/BLcXzYbFlDVNFCV04Btatpt4CNbtQABfxxOBFL98=; b=MQ1s+mz6xIiWKw5kIYJ/Lwxs3ZW3yDQYvZjfdJfxK08h3rIgntNypORiAV+jVdH8btghbuBfNNYTkdmA8aN+tTvzIU2Gb305yv/QJ97iLHpb32OUThUY4uLpFFVAlFLajlUo09fpt9/aL0YRS2PiHBPk2bdDnc/xznfhrBQFamWm/79OrtWNb0ZynMORv/Jr0tmAdHC/FKKUJ6zfoDQ9suWd4Acovm10eZo68it0k6GIBK8jLJr+wvZF2hOK9CzEbnxASrYuHFYJ3lt1JmtgoOZIqn+pwsrt7jNyaKmuOPZ4lgPA7MbgbJf//3l/1KX4y2B/L7vp6Mp/O1fSOog8eg== Received: from DM4PR12MB5373.namprd12.prod.outlook.com (2603:10b6:5:39a::17) by DM4PR12MB5376.namprd12.prod.outlook.com (2603:10b6:5:39a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16; Wed, 20 Oct 2021 07:47:53 +0000 Received: from DM4PR12MB5373.namprd12.prod.outlook.com ([fe80::584f:672a:653f:fe25]) by DM4PR12MB5373.namprd12.prod.outlook.com ([fe80::584f:672a:653f:fe25%5]) with mapi id 15.20.4608.018; Wed, 20 Oct 2021 07:47:53 +0000 From: "Xueming(Steven) Li" To: "yuying.zhang@intel.com" , "andrew.rybchenko@oktetlabs.ru" , "dev@dpdk.org" CC: "konstantin.ananyev@intel.com" , "mdr@ashroe.eu" , "jerinjacobk@gmail.com" , NBU-Contact-Thomas Monjalon , Slava Ovsiienko , "ajit.khaparde@broadcom.com" , "ferruh.yigit@intel.com" , Lior Margalit Thread-Topic: [PATCH v10 2/7] ethdev: new API to resolve device capability name Thread-Index: AQHXxP4LUoVDqjOQ7UmRrCHOYB0YwKvam5uAgADoAgA= Date: Wed, 20 Oct 2021 07:47:53 +0000 Message-ID: <5aa817c081bfba68175acb286f917a9c4c683518.camel@nvidia.com> References: <20210727034204.20649-1-xuemingl@nvidia.com> <20211019152809.2278464-1-xuemingl@nvidia.com> <20211019152809.2278464-3-xuemingl@nvidia.com> <2dde9f24-fe30-45d9-7230-7d59991cc038@oktetlabs.ru> In-Reply-To: <2dde9f24-fe30-45d9-7230-7d59991cc038@oktetlabs.ru> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.40.4 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c810d150-ea02-48fd-0444-08d9939dec8a x-ms-traffictypediagnostic: DM4PR12MB5376: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5TYSJD+xDDaGuefMO+6UdyZd6255OZth8mM4nWAKk/AEFFAAY2+HEmzN2PgCHkteuFea3csXgP3MmGKCAgN3Ya5gbcZ8aGYxVVaSWW2JOf7uLW5CqbnHYjK2/R+J4en1bVawuCVsEmsSYz/STWEeL0pJV2Az8BIaDBXqIA723f3bQtJNSRKspK3jtekWBmGuKFazisfTYylpdx4Ezsq9w37KxP0C+b+VLPNL2H/K0bl2FU8zyufiCGRukr7KW1G3qXFm47XoPximGcx/ruge2xonN5AphdsVNkNa0nuuqcH/8I4pRRTxGs3am2FUkjCGiV99A+vI09uacjvTfUDfs3a7YKzXu4d1BC53bg4nSlH+Dx/1fJZEw10I/X8W0uFh2JTZ7TO4cKhzmgPakt7MZ+EyrjiOpSK1tcnkZ8iN8Y8Pd92/hVeh/LGMozMf9Yy0PVipS1YjcI9XHhmjG0vQNKSX2r1PgTVtMSk3YhN7ayjruj6ZQiL/Dj9+25FWooJ80PpLjxi2W4tHX3OMu6B5E5X+CgvT6hKYfqbAjjmqTxGFY+tlL/lpIAYhdQIwOElqm1JqQt7kPomV/NhVpoaBTvbO7yHE2z4zxCjUDYagAYtdjUVvQxN76EAGkW6zUtxDtHo9ZboNyrr7TZA8hLURSi3LvyphSxOEizqawWP6W+O6bp7zJ8nxb0hqSaWxi2EdVOMzlAQVNo+RAoD9rwYrxg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5373.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(66446008)(64756008)(83380400001)(66556008)(86362001)(508600001)(6506007)(38070700005)(66476007)(122000001)(186003)(2616005)(6512007)(2906002)(91956017)(4326008)(54906003)(36756003)(5660300002)(316002)(38100700002)(107886003)(76116006)(4001150100001)(66946007)(8936002)(110136005)(6486002)(8676002)(53546011)(26005)(71200400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?eUZmc3piUEF1SlA5M2g2WGRuelRqN0ZDeHZoNEd2Y1Z1MXZmeFNZRDdYTFU1?= =?utf-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D884314C808501CBA61CE60F@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5373.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c810d150-ea02-48fd-0444-08d9939dec8a X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2021 07:47:53.5729 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dZkew0u2xVFFe+5OvCVdS2VGQJbT7BIE7nEuce9J6J5qPdITeaSHVf+xxTH8+lDXa580bMGHOFlVODKXq7W1Pw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5376 Subject: Re: [dpdk-dev] [PATCH v10 2/7] ethdev: new API to resolve device capability name 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 Sender: "dev" T24gVHVlLCAyMDIxLTEwLTE5IGF0IDIwOjU3ICswMzAwLCBBbmRyZXcgUnliY2hlbmtvIHdyb3Rl Og0KPiBPbiAxMC8xOS8yMSA2OjI4IFBNLCBYdWVtaW5nIExpIHdyb3RlOg0KPiA+IFRoaXMgcGF0 Y2ggYWRkcyBBUEkgdG8gcmV0dXJuIG5hbWUgb2YgZGV2aWNlIGNhcGFiaWxpdHkuDQo+ID4gDQo+ ID4gU2lnbmVkLW9mZi1ieTogWHVlbWluZyBMaSA8eHVlbWluZ2xAbnZpZGlhLmNvbT4NCj4gDQo+ IFtzbmlwXQ0KPiANCj4gPiBkaWZmIC0tZ2l0IGEvbGliL2V0aGRldi9ydGVfZXRoZG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