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 AE079A09E4; Thu, 21 Jan 2021 09:58:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7A211140EF8; Thu, 21 Jan 2021 09:58:54 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id E595B140EE6 for ; Thu, 21 Jan 2021 09:58:51 +0100 (CET) IronPort-SDR: 9VmbazEdbQ5yPHNnuDdFVC8Rc9Bd3mtYBlUSJo7k8bTVxJ7gJ29Uej0vfL74vDZQ6fpqwAH1rn A0wghdAFgx+w== X-IronPort-AV: E=McAfee;i="6000,8403,9870"; a="158418431" X-IronPort-AV: E=Sophos;i="5.79,363,1602572400"; d="scan'208";a="158418431" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2021 00:58:50 -0800 IronPort-SDR: yjPVoZ19Fe9ngQb4/xqw4DXB4+sRoFXdrY0AN2sGYFPwW1wKOG5p88c59lnDNBw/85GpRxIgbY q74wqwSNcQag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,363,1602572400"; d="scan'208";a="502091795" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga004.jf.intel.com with ESMTP; 21 Jan 2021 00:58:50 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 21 Jan 2021 00:58:49 -0800 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 21 Jan 2021 00:58:49 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 21 Jan 2021 00:58:49 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.102) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Thu, 21 Jan 2021 00:58:47 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l5Tc/Lw5hW0QBwVb+qquOD549oJrpfV9Ta/R3DIwXSrtHy2Dhh1fG/atLwUE9yJH2vvZAgwcnwBAw6BkdJ4hHs74l2N1/eDyYv6gOg209TLUDUgh4KN2cqLOziiKnVbHoZfF9eykZmP+LUqCHEbfwW1X4Zw4QYdH2sUUacL4mGakjUZ5kE6p07bl029VHpQh6vc9cqInm8y1qp4rhglCor2fmwUr6MQcHydmiSwBFp42hqOJbEUU6oULs+ho4UpMV0CSzaAtWWs+TDX6kEWckFgcOJzGE75YqXmtnlCDjfsP9gWz1dKEC414j6adCDp2l/sNgZu8FoU0Ga7UafF+Hg== 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=Cb7f8MUsHTTrC2+38ztljp5HuQfdlM9zLMtL7xp1YQE=; b=maJ83ObflzyKRExgGtPRylPAUEwUtI/nalTMJF2LSIUTLZoOple51NxN4rzEEAf8FbJBWcCSaT13wwTNSVbwSZ8k7uIytLmca9cms6wQ2Eqy/FVAi1EPb/alQ6fb/k3UvA0dA3A0pMuJOpwG4SLbpoCQpj44087UOHir43C8KAb67+oHIVraFoDdAtsUlpmBSSP9TusH28B75JAaMgm6+OmgqTG3UnO/wCGibapL1zwIWZTgauHRSs4zYqo5fbH3UGbXZ02+FP1Y9D94ilgj21jIf3GgVFT/V++kG8PexaNLG4U2kM6/vQtc3vNJR5GrvUTlvH1e37mjNe3CuP718A== 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=Cb7f8MUsHTTrC2+38ztljp5HuQfdlM9zLMtL7xp1YQE=; b=AIKMriX89+rBYtkQ1buJgKfoIsjAYOcNZiLOxDj+aLztfxKf0jMMPEhfPVjj/oO11CkghcsXdNE3imxLBy12ZUO7GqBHNRTaGgic5DvHZsYq0DdWpil04tbbRJIS7BTzWEM514OByMiqTql9lf1GsS86S9SJwzjT3Ww8uT30qu0= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3567.namprd11.prod.outlook.com (2603:10b6:208:ed::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.11; Thu, 21 Jan 2021 08:58:46 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::4c5:a27c:aab2:a2ed]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::4c5:a27c:aab2:a2ed%7]) with mapi id 15.20.3763.014; Thu, 21 Jan 2021 08:58:46 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "olivier.matz@6wind.com" , "amorenoz@redhat.com" , "david.marchand@redhat.com" Thread-Topic: [PATCH v2 01/44] bus/vdev: add helper to get vdev from eth dev Thread-Index: AQHW7qmwEJbuTfFo50+0H6OJAI13hqoxyY0g Date: Thu, 21 Jan 2021 08:58:46 +0000 Message-ID: References: <20210119212507.1043636-1-maxime.coquelin@redhat.com> <20210119212507.1043636-2-maxime.coquelin@redhat.com> In-Reply-To: <20210119212507.1043636-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: c4a014c2-5370-4a59-29ae-08d8bdeac2f0 x-ms-traffictypediagnostic: MN2PR11MB3567: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3513; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VOvippLWqAOeUYwj8i4oDABppq7zbHKcZP2AxuYMTblAl3NbxTsgagan8/smqTUZPjbCv9qs4WrnQGew/1hOvvLzkmEWBvM1AfuYhqT1BJthxLL527ljCly+nv9m/k/kbRZR0O9HDCyYcmiv4Jm86BDPttT3+f0LlQNW51cAYDeUgRgxogh93bCTZCHLTK+dfq3Pj6gm12p762zpZci20aZ5bin+Oj2dsQ88QhjWAPpTORodEshAvOfXwa2JsA//NMqfbyQxQ3tuEVcj8UjITIU4EibKTKXl530roM7mJvB8aPMqV+8X7pzDBkiOivS/99Q/hnC91hePdFWW+QoJlSCzADeAxdPPs0GF5pXcy6YHGiqNhT+5xuGfSrYgzs8eF1p5M+XDUAcqS+1RgYwaP+UYto9rTh7cMQLSHW9AgOS67/8JN5H0LjWjENtDIQQvH/unIA+9wCRm4r/ZTGJObpmKL9PU3pl/DhBRfEQowSE9sgfbrQHEfBa1RURVffRFWxMOgqbFXD2lu4+UgvTeKA== 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)(136003)(376002)(346002)(39860400002)(366004)(396003)(66946007)(66556008)(64756008)(66476007)(7696005)(5660300002)(71200400001)(66446008)(33656002)(76116006)(478600001)(52536014)(186003)(83380400001)(26005)(110136005)(2906002)(55016002)(6506007)(53546011)(86362001)(8676002)(316002)(9686003)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?QVNzNzlGRThhWGN6VkRNcDRuWkg3UVppU3pvNzBBNUxvdXNkYU1rU3FzejBT?= =?utf-8?B?RkpIWnV6MDFDM0o5NEptSXE2TUJvUGUrcEl0ZTZjWE5PQVhMMVJFenlxMWVZ?= =?utf-8?B?dktkZkF6QXdSVmJzUnZOZmJ2SnloM1dpc3p1clB4MmJyczFuNE9GM2tDMWkv?= =?utf-8?B?WE0yelFsMExmbkV0bTR4MlJMRWlaQWZJUjNEd0svWmczcnBGczJSMUVnWEF3?= =?utf-8?B?bzFwU2ZGU3ZjUUZKSmxMOWx3bnZ3bkF4UzJjV3dqZXlualNiQ1ZyRVpveFdn?= =?utf-8?B?am9JLzlxTG9iSlpKNW1JZUQxMlpPRjhPYk9QeDJOSXI4YkwvZnVteVY4QVU1?= =?utf-8?B?Rm42aUlRbi9UMXpyK3l3d0V0RXpuNG4wWVd2eStBekRjQmxuSWEyOG8wbnh2?= =?utf-8?B?a29jUnUrMGJkV0pRR2sydEVXWUZvWmlFMUdVMFJSWmh4RjNZcGJ3c1dkVXZh?= =?utf-8?B?N3ZyU3BHL3RlTDJzb3YxN1RLczllbkNGeXJGaWdSczNOdmV6K3h4ZHdYemph?= =?utf-8?B?R1ZoTUs4Z2U1ckdTS0VHVlNHWFdydUtTbjZrQXArSEJwOWh4R1dSY2dGa2d2?= =?utf-8?B?d3FEVjFab2ZNd0IwRzZ1TnBiY21HYUNaakxPRW9GZ01mVSsydmtWMGUxWHJE?= =?utf-8?B?ZERQOVFwUmZTV1lGRTVHSlJIenQ0T3BOSm9HRHpTRW9RcElXZTdqVVNYTGhF?= =?utf-8?B?MStmeGFiakc3WlBlaElqZHJIWnlTTno4YVZxbDZIZm1TWCtoUExOZmJ1MkRR?= =?utf-8?B?bUl4T1NUa3R5SGRtN2dhdGRuSkhaSUhIN0RuZ1FOVnZPQzFiMll3ZC9GcmtS?= =?utf-8?B?bnNFZ3VMeFhyclZLWFZGUmhzMEpkNzdLZnA2MjFVaVpDamNES0s3MDU3SlNJ?= =?utf-8?B?VzBPUHM3eXprYldrWms0UCtqbkRFNTVubXFrY0l1czlmdjE1MnRJTlhvZ0di?= =?utf-8?B?cEFyK1hIUWtPN2Y4c1B6alJOQTdiVitxSWs5Tjd2RndoTHU5SUVlOUt3anpa?= =?utf-8?B?b3BuQmt2SjVLQ0kxNWtUbEtjQktlY092OC9CQmFKTkFZZDk2UHlldXdXYXlU?= =?utf-8?B?NXk1QzQ0VjlaR0xpNjFYRFl0R0libE9vM0szZnJ3Rm54ZzFqSWVucUk5MnY2?= =?utf-8?B?Vm0xWWtVQjhZdkhXbzhQS09wTnpEYkcwTDE5V3pOb2lXTWY5MDNCeDBvOW1w?= =?utf-8?B?ZWNRY3c1NzUwL20vUGFwb1V2cG9kSTVzM2EyWjNNaVE0VDcxcUt1QllZU0ZZ?= =?utf-8?B?bThQTTRJbC9rVzJvTm83MTlsL3NBalFrV3ovOWhqV1RvbGNENXNUNnJXNzdi?= =?utf-8?Q?D2Y2THOH/TCEo=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: c4a014c2-5370-4a59-29ae-08d8bdeac2f0 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2021 08:58:46.2341 (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: IUiMx3/WqYTTazuMs3mAbjGqTRW+6E0Q9Ke0q6tTL1rpATcunvF7bECNiRFFF/FhRtAshiefuS1gKPQCcH101w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3567 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 01/44] bus/vdev: add helper to get vdev from eth dev 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" SGkgTWF4aW1lLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE1heGlt ZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFNlbnQ6IFdlZG5lc2Rh eSwgSmFudWFyeSAyMCwgMjAyMSA1OjI0IEFNDQo+IFRvOiBkZXZAZHBkay5vcmc7IFhpYSwgQ2hl bmJvIDxjaGVuYm8ueGlhQGludGVsLmNvbT47IG9saXZpZXIubWF0ekA2d2luZC5jb207DQo+IGFt b3Jlbm96QHJlZGhhdC5jb207IGRhdmlkLm1hcmNoYW5kQHJlZGhhdC5jb20NCj4gQ2M6IE1heGlt ZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFN1YmplY3Q6IFtQQVRD SCB2MiAwMS80NF0gYnVzL3ZkZXY6IGFkZCBoZWxwZXIgdG8gZ2V0IHZkZXYgZnJvbSBldGggZGV2 DQoNClNvcnJ5IHRoYXQgSSBtaXNzZWQgdGhlIHRpdGxlIGluIHYxLi4NCg0KQmV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