From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 36219A09FF; Wed, 30 Dec 2020 04:04:08 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1890E2C55; Wed, 30 Dec 2020 04:04:07 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 5C0A92B8E for ; Wed, 30 Dec 2020 04:04:05 +0100 (CET) IronPort-SDR: e5BUena6kJH5TdxFg2nfZUwzOF/cNMbKB6rQYpEsBh49QvyfAo7S+l5RLUr1dg4PA+a99GeOu1 +WyKiBmjqTgw== X-IronPort-AV: E=McAfee;i="6000,8403,9849"; a="155763093" X-IronPort-AV: E=Sophos;i="5.78,460,1599548400"; d="scan'208";a="155763093" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Dec 2020 19:04:03 -0800 IronPort-SDR: Y2oZGkEgUSqUTdmtJyGdFJ+2JH87PUS8xqe6zX3oL3rpWp4viwO8vO5s0hyaEhDp/RrPOuhon2 xYgGQHINmUAQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,460,1599548400"; d="scan'208";a="348050187" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga006.jf.intel.com with ESMTP; 29 Dec 2020 19:04:02 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 29 Dec 2020 19:04:02 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 29 Dec 2020 19:04:02 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 29 Dec 2020 19:04:02 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.171) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 29 Dec 2020 19:02:22 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h9DpmaH+rjn6e4NqL0cdTleq1AOgiAGVgcjlLTvrK3qiRaMPF3AhvTR00P2GwbcccJlHLOsbQeXsqgs+kfOLUthKxXWe4UnZOj0dtOlSSiMz3fxhXnwlNK5zK0MQI3t/ACqCX46saXfhxWrPm4lgoYHoQfG7LSkZPbQlDLjZ0kCcXVQFv1+LVF85oRSxBjslECB0M1c3HcKxd0xA+38BlsPhWKNZBDvslDmE6mKzslr7sSeo2l2myma9WiZ9LCFJGy6GARnfmJ6Z4UmzSU3vve/koRdUH0cx7Gbex9Td1iHUa1BQ2L6Dz3uc0vOr/aO4mbXZrToM0XVb+K0k+XBCjg== 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-SenderADCheck; bh=9lsW9Cvr5HkaHOOCRdR+ie/pnEXlAtakUPN8mUNNJBg=; b=OE6jepgxAAvNnRmTnPpzuIjDTxg1/+phcq0ecH2nxsw215xSjNOMljcmBCmj1+kyW0xAmVsHSKCYb7DLBmLvMeHgrQjv8TUmZT7I+ZImqzzjLprd6riblu4d/YEtUh3HU12wZXhoMy98oWK2v0Y3orIBjyzRcTyCsHw6JVN4i2u6IvUfJCRY9gYqcxDJHPc1BsmqDK7ekghkj0w5+H/aLkfWFoBbkrCO5sXekwYnoRYe5mJPbkHhRGawJR0+cuytuT3bO4+sNaGImutcFv0IeYA4RpASA2SYQQHslBxN2VBgoiFwznEbJwnaIZ/1BJXKXHGK7GtMfBhFlZvqOBbJqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9lsW9Cvr5HkaHOOCRdR+ie/pnEXlAtakUPN8mUNNJBg=; b=TyQn7ZuPTg7NeOqen+GV/n+7LOwgcunVB7LlotQvp9wSKgCYNdCfvcGuVY5b1BppthgMb+r4t/FlSUL74opRnxoDY92uZMhKZ1wLTy15U1K4+HLe6rVpZAQQkNxMKhceWU1+utBLDVcqOH3bFL5kyX+Y5EACXvzqF2dCSg1KE8o= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3791.namprd11.prod.outlook.com (2603:10b6:208:f9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.31; Wed, 30 Dec 2020 03:02:21 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::74f2:ba7f:cb22:5272]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::74f2:ba7f:cb22:5272%7]) with mapi id 15.20.3700.031; Wed, 30 Dec 2020 03:02:21 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "olivier.matz@6wind.com" , "amorenoz@redhat.com" , "david.marchand@redhat.com" Thread-Topic: [PATCH 01/40] bus/vdev: add helper to get vdev from eth dev Thread-Index: AQHW1xUdriYYwGHLd0uxPmY4/ISj/KoO/96w Date: Wed, 30 Dec 2020 03:02:21 +0000 Message-ID: References: <20201220211405.313012-1-maxime.coquelin@redhat.com> <20201220211405.313012-2-maxime.coquelin@redhat.com> In-Reply-To: <20201220211405.313012-2-maxime.coquelin@redhat.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.218] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c6cff200-9667-4eb2-247c-08d8ac6f5399 x-ms-traffictypediagnostic: MN2PR11MB3791: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:466; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Vb8zwari65FbF7CyWkByyQSdsZASK8z3bQ3iWifis7bYRnwkKzK92Z4VBC5eO+oCYUoPt8X//nx4iI3VdIx5jwxqiDngsOSEfEvtEB3fSZeqczQVE/7YfbWO7QnopIQtxzvDg6lnL4ytVPG1Hz7wsHa+NzxsPicVMitmRWE2J0OWSPWJoxwWTZ/VQq7GFIy8fWFVqtkPtrgp8DyXxpQBXOvJZ4NJCT6FjjEoxE9KyLdFzyiykhMljarrhuV11vWUgWFeZH+i+nTjfhlUkCZp7yw+MGNp2mcxv4yG8JeBm3j9IBR5OKK3WoQK8XXbVa7BiX7vFmRhUc6/+ztXuM3C+avNLvB6w7QEIMIv1JLN0K7R0IXlb0qbXD8pHYBgE/B7l9jZWk7HiG6NaZmdBeqZWg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(39860400002)(396003)(366004)(136003)(346002)(64756008)(9686003)(71200400001)(186003)(6506007)(52536014)(5660300002)(83380400001)(55016002)(110136005)(53546011)(33656002)(66476007)(66446008)(76116006)(8676002)(66556008)(2906002)(26005)(86362001)(316002)(7696005)(8936002)(478600001)(66946007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?cDFnanpNYWhlSDBHN1FMNmhsYmV1OFR5czFMOExWMWR3MWl6cCsxL3RRZWxN?= =?utf-8?B?UTRDMHRreUdpOXUyT1NhTjFGV0dJRUhZemgwUGMvZXorZnlGY2ZSRlJyMFhh?= =?utf-8?B?TVNtNEZYZUpvM1V4S1RMN0lZWlRIVmNnTkJYK0N5SnBIVVBPV2xYcmc1L0ZD?= =?utf-8?B?VmtVRXUxakpFSmN5bmM2VFo4NWExK2lrZERXK0NxZkJRbUxacFBGQXdYVEdu?= =?utf-8?B?bXFGS2djdzQza0RUK29mV0tpbFlvM2U0cjVyRlJTVG9VcTF3d1lyNUF0ZldE?= =?utf-8?B?VlIxalpTQlV5TGJOc245RVByY1B4ZHZDa1RzbmdrajBsT0x5M2FscmVCK0Jt?= =?utf-8?B?QTVvTU5NSFhkcE5aTk9IcENjT1VPU2Nyb01WLyt2eEF5M2t4QXY0MGtBZzEz?= =?utf-8?B?TlVTdE5qYkxiNE01eU9xVmZtSWUwMWpWVHNveVdzQTJ6M3N4clZRQWMvcWdk?= =?utf-8?B?SkxrOXdodHV5cm92MWxnbUlHOFl5cU9ubHF3Y1U4cjRIMkswVnkxakRKUFpG?= =?utf-8?B?dHc0c3lxV1NWTDRQWjd4VWt5VE42Z0tQZ254NEZlZzE0RWxxc052REh4YWtW?= =?utf-8?B?ejIrMzIzM0tEWjdXQUZpWEg0aGZiVnN3bktzaFF5VDYveWVpS0tCN0lsY3FH?= =?utf-8?B?aWFxL0s3K0NMVjdvOGRqTTluNlgzaEFTdnc0L3pGSHN2ZTlLUURCaVltSWFj?= =?utf-8?B?bG9FYWJDTS9STEVsRkhWYW8xbUN5QTM2NVhuOFlkcXRhTDBIRmZqYWdZdnJX?= =?utf-8?B?R3JCK3hjWWFLb1pmMG52SVg1blVKS01GOC9ZOWd5UG1DcG5kNjdQdk1RK08r?= =?utf-8?B?aTNLNk9rWlloQ3VIU2Y1UVZGTk8zZDFOb1c0VzU1NHF3bFBpMWZlVXN5MEo1?= =?utf-8?B?WkliWUduM1BXSkdzMmhsTVMvUE0veG1EQlEwRVp0UDJXYXY1UnIwUjBFbXEx?= =?utf-8?B?REJTSWkrNFhJd0dldm1HUURXZHVJQVhXVXhHRVVxQUxpZ28wdlR2L2lRYXFu?= =?utf-8?B?cVRtMnR6My9aejk4SGFheVNNaTBJNlFWNjNNVEp1eVJ3ZExhSHNJc1M4S0tT?= =?utf-8?B?T2xPTWNacU9PV2pPdHZnVkloZlZNRE5SWVFkamhpSWQzQU5iRFhFOFZQS0dM?= =?utf-8?B?bXJsQnI4b3I5K3BPbFJPU0ZjbVFWemNwcm1pZUZIUFBTV01jZnRjdERUUDBS?= =?utf-8?B?ZTZDUWxrNngvQ01VVWp5RXc0d3BoRXkwbVBpNi9QWlJ2ZkFWRERCTjkwVWxV?= =?utf-8?B?ZDNlb3k5d1RPQi9mTWl5R2kyQWhpNGxiSmcvU0JlRFVFWWpHa1EzVXdkMzBJ?= =?utf-8?Q?Hw18AzmAx65TU=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c6cff200-9667-4eb2-247c-08d8ac6f5399 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Dec 2020 03:02:21.5268 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dVRapSlcY/iuU1ug/FcGCkaBPcewHOQMhYK4SKvQ1YMkjWJN/NExtk4W5A7IunMxRx/c0sj/mR7e7TS3psr2Mg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3791 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 01/40] bus/vdev: add helper to get vdev from eth dev X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNYXhpbWUgQ29xdWVsaW4gPG1h eGltZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiBTZW50OiBNb25kYXksIERlY2VtYmVyIDIxLCAy MDIwIDU6MTMgQU0NCj4gVG86IGRldkBkcGRrLm9yZzsgWGlhLCBDaGVuYm8gPGNoZW5iby54aWFA aW50ZWwuY29tPjsgb2xpdmllci5tYXR6QDZ3aW5kLmNvbTsNCj4gYW1vcmVub3pAcmVkaGF0LmNv bTsgZGF2aWQubWFyY2hhbmRAcmVkaGF0LmNvbQ0KPiBDYzogTWF4aW1lIENvcXVlbGluIDxtYXhp bWUuY29xdWVsaW5AcmVkaGF0LmNvbT4NCj4gU3ViamVjdDogW1BBVENIIDAxLzQwXSBidXMvdmRl djogYWRkIGhlbHBlciB0byBnZXQgdmRldiBmcm9tIGV0aCBkZXYNCj4gDQo+IFRoaXMgcGF0Y2gg YWRkcyBhbiBoZWxwZXIgbWFjcm8gdG8gZ2V0IHRoZSBydGVfdmRldl9kZXZpY2UNCj4gcG9pbnRl ciBmcm9tIGEgcnRlX2V0aF9kZXYgcG9pbnRlci4NCj4gDQo+IFRoaXMgaXMgc2ltaWxhciB0byBS VEVfRVRIX0RFVl9UT19QQ0koKS4NCj4gDQ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