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 9E8BEA0544; Fri, 2 Sep 2022 21:35:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4825540693; Fri, 2 Sep 2022 21:35:10 +0200 (CEST) Received: from na01-obe.outbound.protection.outlook.com (mail-eastus2azon11021026.outbound.protection.outlook.com [52.101.57.26]) by mails.dpdk.org (Postfix) with ESMTP id 4E32940685 for ; Fri, 2 Sep 2022 21:35:08 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D2kBhuCnK5vwnyusmqO3aRlt+u3hNqC1L9FMeRKdvi9hQsg0sR9QhEt/GGVwuqPSLbyjtLwpJlQMZM+7P7FkluG6EwJHoDPqfVaX8H4Xu6rTfR2vHZfB5QrkLI/wpcDhdP0Ht8N/Mu+0xUcaP1d8EgBmeBFj/4ggbzL3/KD7Dj0vHMlankRU+HtoPpiCAUQio/MGxKKiPVJ9i2tumbw2y0ZX5pTBR7f9nmW6GcMDIGgDZbeh3gciO/iyPMOZ4Mf6EkDMELCB7Vx4CyTbgK/MrYl+xzuZ8PeSU59v6wlCaSG7wFxQe7NpX32KRBZ8yNxljVtXOiBDGRQHWNd/wU45Cg== 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=cs8aSHBGx0u0qM2HFAit8ZRKm91vW1wgri0M3kwaPLY=; b=a6alLi3n9GxugKV2hud31/qpK7yiOoPj0xiQGt+oHaiy3Sg/QPpFVhZLzMcgPTTMmohnUA6daestxBh+n5g3VB1sEVAXzNUWhCBiawkRU9zRh2F8okcJHZjJhn+AfqQwcqafOOV3D2TmFDA2XBylFEH0XlD646Or0THDsg9TpMLTacCGzJFjZKFwRSvbjCD9DqAHnrznjozsFhgWSfZgUvIEhHS509xQOCh+BZ+qwlTMGvaSr9JqK1rCPny4jxUIt097Qogoqah5JVOBYzG75HfzWgC+iOEly7Twuy68ALYlJT6dCnbdfNa9Kxx0EiUamwU389MvX3eG1oFn0V47gw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cs8aSHBGx0u0qM2HFAit8ZRKm91vW1wgri0M3kwaPLY=; b=iX7WW2TBc0GmnwcSGfR8iQlraA4p3zeLquUszguZ+q/m2HuLJviScN8XKpqq+BCpE5VPCoL/gOwDQ7+7n/zESDqjlXUGNKTIled1cps9qix04XsoZK6cYKIQsfJIKE/fIZKYR/oq48wiSTUsCHpnhlCuGm7fvqS7LCeEGzW4hag= Received: from PH7PR21MB3263.namprd21.prod.outlook.com (2603:10b6:510:1db::16) by IA1PR21MB3426.namprd21.prod.outlook.com (2603:10b6:208:3e1::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.6; Fri, 2 Sep 2022 19:35:05 +0000 Received: from PH7PR21MB3263.namprd21.prod.outlook.com ([fe80::c42c:5004:23c1:bcac]) by PH7PR21MB3263.namprd21.prod.outlook.com ([fe80::c42c:5004:23c1:bcac%8]) with mapi id 15.20.5612.006; Fri, 2 Sep 2022 19:35:05 +0000 From: Long Li To: fengchengwen , Ferruh Yigit CC: "dev@dpdk.org" , Ajay Sharma , Stephen Hemminger Subject: RE: [Patch v6 06/18] net/mana: add device info Thread-Topic: [Patch v6 06/18] net/mana: add device info Thread-Index: AQHYvMMfWsFb9f7Ya0mw/QOykQRzw63MEJ8AgAB71eA= Date: Fri, 2 Sep 2022 19:35:05 +0000 Message-ID: References: <1661899911-13086-1-git-send-email-longli@linuxonhyperv.com> <1661899911-13086-7-git-send-email-longli@linuxonhyperv.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR21MB3263:EE_|IA1PR21MB3426:EE_ x-ms-office365-filtering-correlation-id: 12593932-cbd3-4216-5d82-08da8d1a3cf2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BO7bHTGDvtELHwK2qFzvP8BpowSEa9WtgYFqoMvvwsbG/bQES1d7hCOxuS/b2DEqiV1mTB0iK188KyXafARJ8CEYbAi0ISsB/xxJnG2A7IX3pV+q6DqgVkaGkeRhXRBOpTTnOcna3HtjrS02htJi+kBfyISxVT5f6FmOO/OP5jhqd8ihTJo3G1BLfBrAbksj+wtdcTBvGhpAwHJ0THiGrU5Xzl/RWdKGLkjsAGrs5S8C2jMFU1NpHzN2nyAWv+3xdtKu9KE5ZQWMKSkKAeWna2m/ViDsshj9fJglDwXq014W+U2McogmZuHBPUoOasi7nzPGzUj6ZvAN0VS+Ksfrryo6qw3GFSaxq2sAqpjuSLLaS9/LgmbZLzh+QpytSJMKsgFfSeUacCCqPnVwPXmlDDOjFipnpDKbImT/Z0JJAyPzT2GYWlhzr9hOgYqzt0ArO1zcLVSKSp1dX0a+4B6cbAE1g7W6DGYCxGf51WNldVZd+g+vqsAcIRg9sYEEP6GxXCKg0kOxj2WFddLH3WjQVfdy3/MgU9/lLBb1aKt1jXYRRbO0fj2/XeGUdP3dUNyuKm3WwvL+g9EBEbAcQxEuMABQHqb4IYT12GxV0pwk2L+okvvHWoUo3cO4rlIGHOzQao17uDTxie03lfOriQfldr0eKYnev0UEWoRQFgQequTjK8W/+l38QChaBG5SGjdtSN2cOWB1IJAdZsok0JZo1YQ1j65tfOYcz/xgo2J+fByHG+QKDotMAUNH7uCBPH8r3DN+LbWZv2pAe/5c2dmn6S5mSyU06b4k1Kv1ZSqFsCePo+0Uxof63hrBQhiTMoXE x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR21MB3263.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(376002)(39860400002)(396003)(346002)(366004)(136003)(451199009)(6506007)(33656002)(86362001)(82950400001)(82960400001)(186003)(107886003)(53546011)(38100700002)(38070700005)(110136005)(10290500003)(54906003)(55016003)(122000001)(316002)(71200400001)(26005)(478600001)(41300700001)(52536014)(2906002)(8936002)(83380400001)(8990500004)(4326008)(66556008)(76116006)(66946007)(66446008)(7696005)(66476007)(64756008)(9686003)(5660300002)(8676002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bmgzTnA2cXJUdXBtTS9IUXVsTWg5amtxVG9jVmhDZElCc3IwMWdSVHJ2bTIr?= =?utf-8?B?K00wcTZDVXlBTW1kdjliSUQxTG9FRFlTb0lLZVExdFkxN292azV5bnA1c0hM?= =?utf-8?B?ZmwyTUUveFl3d0tja25XaWNNYjB3V0QzRGNjTlZ0dFIyc05MUnAyeFN3ZHBE?= =?utf-8?B?OS9OZkkxUldVaS9wenFzQjJqREpKc1FyVUtRdzZhY2N6QWgyUWNCbEZuY04w?= =?utf-8?B?REZMMVY2aW52L3JXRGRXSitrMm9OaUVTenZadStQTjZOOWhnM3VONGdMRy9X?= =?utf-8?B?bHRKRldpd29UWXNjL3YwQk03REpRVEpkSkNCUEMzRjlKNjBpYVBiMy8xTE81?= =?utf-8?B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" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR21MB3426 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 PiBTdWJqZWN0OiBSZTogW1BhdGNoIHY2IDA2LzE4XSBuZXQvbWFuYTogYWRkIGRldmljZSBpbmZv DQo+IA0KPiBPbiAyMDIyLzgvMzEgNjo1MSwgbG9uZ2xpQGxpbnV4b25oeXBlcnYuY29tIHdyb3Rl Og0KPiA+IEZyb206IExvbmcgTGkgPGxvbmdsaUBtaWNyb3NvZnQuY29tPg0KPiA+DQo+ID4gQWRk IHRoZSBmdW5jdGlvbiB0byBnZXQgZGV2aWNlIGluZm8uDQo+ID4NCj4gPiBTaWduZWQtb2ZmLWJ5 OiBMb25nIExpIDxsb25nbGlAbWljcm9zb2Z0LmNvbT4NCj4gPiAtLS0NCj4gPiAgZG9jL2d1aWRl cy9uaWNzL2ZlYXR1cmVzL21hbmEuaW5pIHwgIDEgKw0KPiA+ICBkcml2ZXJzL25ldC9tYW5hL21h bmEuYyAgICAgICAgICAgfCA4MiArKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrDQo+ID4g IDIgZmlsZXMgY2hhbmdlZCwgODMgaW5zZXJ0aW9ucygrKQ0KPiA+DQo+ID4gZGlmZiAtLWdpdCBh L2RvYy9ndWlkZXMvbmljcy9mZWF0dXJlcy9tYW5hLmluaQ0KPiA+IGIvZG9jL2d1aWRlcy9uaWNz L2ZlYXR1cmVzL21hbmEuaW5pDQo+ID4gaW5kZXggODA0M2UxMWY5OS4uNTY2YjNlODc3MCAxMDA2 NDQNCj4gPiAtLS0gYS9kb2MvZ3VpZGVzL25pY3MvZmVhdHVyZXMvbWFuYS5pbmkNCj4gPiArKysg Yi9kb2MvZ3VpZGVzL25pY3Mv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