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 46C4EA09FF; Wed, 30 Dec 2020 04:04:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C2097C9B6; Wed, 30 Dec 2020 04:04:08 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 4025A2B8E for ; Wed, 30 Dec 2020 04:04:06 +0100 (CET) IronPort-SDR: ZZNoUzpCtH2tbxCx6+eYTqkW46fhUfsE70ykPFgOc97PCzVETNmzte6ZS9aylb1+miB7MQ+aa7 GhlSmVhENzhg== X-IronPort-AV: E=McAfee;i="6000,8403,9849"; a="175786975" X-IronPort-AV: E=Sophos;i="5.78,460,1599548400"; d="scan'208";a="175786975" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Dec 2020 19:04:04 -0800 IronPort-SDR: z7n5LszfccwvroZCEpDcsiofNOC3JMIw8tbeQ/7aTxOpS5iEJxfzv+6gBnqYWXsEOpYQfPeALr 9Fa0l9y3uB9A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,460,1599548400"; d="scan'208";a="385052427" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga007.jf.intel.com with ESMTP; 29 Dec 2020 19:04:03 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.1713.5; Tue, 29 Dec 2020 19:04:03 -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:03 -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:57 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P7ppqnsY4OE/Hk4uC7IkMl+hN92TUgJ3ZKYyiPfjSxM9ZK6MkaZLERVQKqdZcXyVsLlEVWuKvbm8eCoTG0hLxOCK6zrqejAPClrfshxKFJxlr96AncrK+eSItRtU0HB03nqQlSd54bW6YLWe7LALsgjeAtjzAoI0ZSI6I4SnYsOV2pAJxnrRwgNP/sKfooPX9blT5wofdCet6D5CNlHt2EmNsZbLNr8Z7xXaVcnXrKU36/XLHyskPpGqM1gsPc41yW4yXYNdLPR6Du5AA5GwNDxJFs4iQJYlA1KfauouwpuwwUIyNbHbUecN/oQXaLUspm7qRtIiF+C6oX0bU9CoGg== 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=bFoPRjC/xw1aBuMpoLIzFnVBIeJEYI6MrTdQvwrPhq0=; b=Ha9vmko1RwgHSGVZF6Z6konc5pwP8UwwI5IZjx6BrEIaa4Ku0hDL5vviVUUZi5NllhQDrRhfGsVx6lNW1x70rt790e7fQWV2Y8GhjKSdPluKtd5RtYDEortee4cbZ1xeS1nG+L3tKWV8QlpKDTeGQlVtpovXDZLKiuJorhY61+AcQOu+lRwkKRqu1Epc82kzA02nh47PW6NBFSvhSPf+ZQDL8NUkmj+NFVLnzT5uZOlwsVlEG1HXaKVKXts5JvHy920lMwkcSyfONYrEIF0ffK9YTLMbyrBCWRmt4DfPlrtKneDoGzAWpY1qbB7JstG6OW9kBY8O/A97v4AoK6g9jA== 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=bFoPRjC/xw1aBuMpoLIzFnVBIeJEYI6MrTdQvwrPhq0=; b=YFP8/uBTQyX+8rPIQDv3Aq7rb8KY8gpbx/tgyZq1CYHQFlvboIw7YJe6/KJ+Zolfurq5dPMJpu5XbXQokgkroT/eunc70NJJUOjfEO77fuy8oItQooaEVHDh0iPU4PGXwP8/7hcF1dgQ9yCLW9HzD+I67QwE9dGyjzwB4VP9ET4= 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:30 +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:30 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "olivier.matz@6wind.com" , "amorenoz@redhat.com" , "david.marchand@redhat.com" Thread-Topic: [PATCH 04/40] net/virtio: introduce PCI device metadata Thread-Index: AQHW1xUjFZChsR7gZUCgSPZ5gbWYvKoPAHRw Date: Wed, 30 Dec 2020 03:02:30 +0000 Message-ID: References: <20201220211405.313012-1-maxime.coquelin@redhat.com> <20201220211405.313012-5-maxime.coquelin@redhat.com> In-Reply-To: <20201220211405.313012-5-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: 3a72cc9e-63c1-4f5b-fee6-08d8ac6f58bb x-ms-traffictypediagnostic: MN2PR11MB3791: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:565; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Mw9M5sQrnKb5nEWNa08eLtXkCvmvGKD3Yu4EZudrbSSo5eAuk9QbGItSfRzVVVYwWm21/f1alVK1W1f0EogzGUliqGiA+yjpmiFBZrm7FnSlJIMDRf8KKSAtRJYHYm8Yiyd+1RAwmC7AR6dCzoIOSLUvQ8c/OTDhOWV2HglxX7+TOeR4v4U7tpeV0IEMk2FtqkgKplZvY9okGHdTHevrOO8/AUs6W28tU3xdAF78kmFgoPweoSrdxm0gQWkEGDa84w3FD8Qts1eGer2fx1gGwDswi/yhNsQkzTsc97WioCUc2WBXCcBGysq/uJXZdkghftbW3qyhH4UoEWmcuMAEtjmZ415inZjv5qZEGPEr9VY53xONuJxcjks4NmTN9jlIhyJCq0Y8esCaQSafnLNDCQ== 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-messag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f-8?B?SDJPcEdtTkNIcW1GSmk2VUk0R1kwRHduY1gvM2NQcWdLM3gwK3c1dWc3VGY0?= =?utf-8?B?dkdON3pYZGJ3cHIvR2pKS1ZmbHNoK1VYa2pycU9neUUwWm1VcEJrZ21STXQz?= =?utf-8?B?QWFvalk3cXB0N0JOVVVHc0tBcGZCUWZnUlFUWXA3bmkrQXRkdHpSU2NCaHVU?= =?utf-8?B?NENVTDN5SFJ1dGJJSnNUcERsL1hkV29ocFdITlZNTEpGdmxjZWhJRGRYTFQy?= =?utf-8?B?RkZ1dWVldVhMZmtqdjVOUlR2Nlk4V2RJSXU5TE1YRG5CcEZ3ajRzT1RvZnNW?= =?utf-8?B?MkRXdnJDbk9yVWp4QVgxTnlFOE4zVFpGMUFYZ2FvV3ZId2VGUGJvMnhvMnRW?= =?utf-8?B?WTJ6V1V6L1g2V2ZtRlZzWVd0NDMyOWRCb0pIdWxacUlYWkhRa09NSlcyMHY3?= =?utf-8?Q?rfs/W94/fiaPk=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: 3a72cc9e-63c1-4f5b-fee6-08d8ac6f58bb X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Dec 2020 03:02:30.1358 (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: EWaMFegfjpRrzmkaTHWdt5EnIdeDzycP1CnaGNAxlAdyeqU+gBa5wZvbyj00+h9t5sBwk0Tkh595/RMQOIP/Rg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3791 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 04/40] net/virtio: introduce PCI device metadata 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 bWUuY29xdWVsaW5AcmVkaGF0LmNvbT4NCj4gU3ViamVjdDogW1BBVENIIDA0LzQwXSBuZXQvdmly dGlvOiBpbnRyb2R1Y2UgUENJIGRldmljZSBtZXRhZGF0YQ0KPiANCj4gVGhpcyBwYXRjaCBpbml0 aWF0ZSByZWZhY3RvcmluZyBvZiBWaXJ0aW8gUENJLCBieSBpbnRyb2R1Y2luZw0KPiBhIG5ldyBk ZXZpY2Ugc3RydWN0dXJlIGZvciBQQ0ktc3BlY2lmaWMgbWV0YWRhdGEuDQo+IA0KPiBTaWduZWQt b2ZmLWJ5OiBNYXhpbWUgQ29xdWVsaW4gPG1heGltZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiAt LS0NCj4gIGRyaXZlcnMvbmV0L3ZpcnRpby92aXJ0aW9fZXRoZGV2LmMgfCAyICstDQo+ICBkcml2 ZXJzL25ldC92aXJ0aW8vdmlydGlvX3BjaS5oICAgIHwgNSArKysrKw0KP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