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 29EF2A09FF; Wed, 30 Dec 2020 04:07:42 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0FCEA2D41; Wed, 30 Dec 2020 04:07:41 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id DA2272C55 for ; Wed, 30 Dec 2020 04:07:38 +0100 (CET) IronPort-SDR: nkZR+2muHm0i/12QqTDACF8fqOSzbs5PX18QaP8n7S11+Ec6XJlE2tRiXzorINM9QAoOpp1SD7 fXPLsSQu47Yw== X-IronPort-AV: E=McAfee;i="6000,8403,9849"; a="164276725" X-IronPort-AV: E=Sophos;i="5.78,460,1599548400"; d="scan'208";a="164276725" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Dec 2020 19:07:37 -0800 IronPort-SDR: WHbfe1BwB7qapwzGxvqyc3D8TiSvFwNuoQPs97mgBPl6ZaMyJ3OzyogbOAUG2jFl+gsnSnYwXD I/ypBjCHmZMQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,460,1599548400"; d="scan'208";a="385053229" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga007.jf.intel.com with ESMTP; 29 Dec 2020 19:07:36 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) 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:07:36 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) 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:07:36 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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 via Frontend Transport; Tue, 29 Dec 2020 19:07:36 -0800 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.46) by edgegateway.intel.com (192.55.55.68) 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:07:35 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hURcQzdTvVmS9musz0GGQNcjFi9XgdRU7H92Ak+vqtcIWAHuK5SBGfQwqDEGjooxKaDBDH855xzzvxai3gWYEm4AKm/4jhC/0aXcxaWkkFEmfqoaA0Hsm7lwaPWc9dL8Uhy+N18HW6DqD10k6+N7eDaMWB1UVBXLA+6QVjkx9hMPYP//rL0tp2Jxg8DYXLLXwQkUKt7It4SEunTU2uIqnx6g3XmUEZtCRCbXSNaJ8tutCcpH2D2uIERHXTRfJeegtB9B/qZhtKe+xpzEjEyUgcBKqkkGDoKyFO9bCzhb1CtZJeSxOimN+mlEYvRL03VfDEE/DvDvhGqlZUiB2wA/Tw== 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=0eo6J2deNhR8bGfL2VbAM39xGXZGDSzmecwFJ0EahNE=; b=J1JhfXkMabJIOFE9WadK6bRh0IlBnnrOTjbJWr6agF2rrvUsy9/rYxjUz8aB03RPC7TILzpaqMFLf5qwmJJNwYLZYHjxpSYwJ+kF2LZ72gjj3dKxRB6hCeGIU7pvPB0/OhKlEb2jCSTJzUDkSn8JsQK3WVwhFKWJtF4CPnmKYZ4toPvZNuViTK3K2RrDslJp6Jjl/dyLVdqqvzzceUkeRkSCqEmAV6R2HWuAZoVMFOVGDM6grrqfo0g2NVyPKLrEvT70SoGhDDdS4BnCUy/xlyWP6xtwGtYZ6o0zHs9UH+Djsxoe1CuY4RqxM08BsjOn8OIhu61iHgjhE4vjnYri9w== 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=0eo6J2deNhR8bGfL2VbAM39xGXZGDSzmecwFJ0EahNE=; b=C8oTxjeT6LeJjyLidewUmihZNdELc59A8xG44ELhGlqj3Fpj0Uc1ufj3vK+ohUE2z96VMHgOQiqj2lLhT3eBQlpnnU78vaJMXGUpg1DqlEG23J2gwt1V6XWGYd9+hXU790ozsCicxAm06zEPMGqha9zBEZRuysHCQELAevTypnI= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3744.namprd11.prod.outlook.com (2603:10b6:208:f5::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.28; Wed, 30 Dec 2020 03:07:34 +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:07:34 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "olivier.matz@6wind.com" , "amorenoz@redhat.com" , "david.marchand@redhat.com" Thread-Topic: [PATCH 09/40] net/virtio: store PCI type in Virtio device metadata Thread-Index: AQHW1xUyUkVbNJq+V0Cqeswq1KiYkKoPA5Xw Date: Wed, 30 Dec 2020 03:07:34 +0000 Message-ID: References: <20201220211405.313012-1-maxime.coquelin@redhat.com> <20201220211405.313012-10-maxime.coquelin@redhat.com> In-Reply-To: <20201220211405.313012-10-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: d2883830-749f-42c4-de79-08d8ac700e1f x-ms-traffictypediagnostic: MN2PR11MB3744: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: oAsp0SOFInqdtLHg93w7mFXb3YcYKWILkPMR+gnTkUT0VOBGrxbkZG4rJOXLkPDW+t3/KnRnYF5FXQF9UMEwX759up3lZwVyK+bB9nGvHzfef073Xa2tdpF7+fuWE6tdN9V0b6InnNtXvkXD+BSTFKr+2FyG1l5W7ZQDL9yvddWQvVbbmMACncsDoWf3ORd0P2Ya2ztbx4TzfWA7K7v8cFj731e2w/svWzkE5sUqzN0Y1lmJhe67HTOmBN6M0Jb/lKSqOixXlh92RF466JNhkuyfAfXAkyavTpHsnx1EITfSNhXk8GVW/H5i84WPVvLVbF+X88ZPw6MtXlnghxupX2m55+22urHetdz/nRZOMvLSMJv9ykmPGkLzV26fS/kGC+7TVBtGxoFuhOuckWazSQ== 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)(366004)(39860400002)(136003)(396003)(346002)(52536014)(6506007)(9686003)(71200400001)(478600001)(64756008)(33656002)(66946007)(86362001)(66446008)(186003)(53546011)(26005)(55016002)(110136005)(76116006)(316002)(66476007)(5660300002)(2906002)(66556008)(8676002)(8936002)(83380400001)(7696005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?YlRENlIycjhMeFNVa3pWMlUxMHJyR2lwUXkreTIyTEdFdnVWdnZ0c1hpWDlE?= =?utf-8?B?dXNZTno3NXpkRXJsRDRRNEpKVHFDV2MwcWJ5Qk5HbW55MVBMZTNRL2ZsLzFE?= =?utf-8?B?USt6dUlUREFIWWxxSE51eHBoZjRKYlgveUl4Q3pHUHBDbVNEZHBXeFNSNjNG?= =?utf-8?B?cis0WE5YdmsyT0o2eDNjTkNIZ3RpWVRadXJHLzVsSlQxdDV3MU1nUjc0b1Zu?= =?utf-8?B?alhPZDFmaFFxVGZMdUI3R08xMHFFeTlhOXFMUEtTcnFzdlBWSjl0SmtxYytt?= =?utf-8?B?T1R1TFBlblJpbktNSENGcVlZU0JHMjI0NldndXEwQmRZT0RORGVtbFB4Z2RN?= =?utf-8?B?T3RIOXBRSkJPaUY4MkZKK3F3dUhUdTNRTU1TdzNmUmt3dWpsbTdMOFdmZjVx?= =?utf-8?B?YUpEUWZNQnpyMHJqUy8rMGpiOTlpZ09QeUgwSUYydGk2ZG9GNXJFaW1RcHRC?= =?utf-8?B?R0NBNUV3N0krdGpCNmVEYSt2RmNNTVZ2Y3Nab3c1TUJjS09GOStWeWpRdDRY?= =?utf-8?B?UExFT1Rjb2pkK3huUkM1aGxqQjdQdkE3S3RBYnR4TnhSc0ZuK2RXdGlmMVN1?= =?utf-8?B?RE5mWHhrZEVBMDVNWkRRd2hpc3VBNHJTdUt2WTVwNUQ1T2ZSOGY0S2RXVDd3?= =?utf-8?B?WCtQam5mT3pmZkk5RWxtTnF4SHlqVHRRZzgxOHhvenNmYVB6R2RacXozeDR4?= =?utf-8?B?RWNxaitYQXNwSnFKQUFrT0VObXdYNHFDSThZcWtZbC9EaGtWaE9nRjd3em04?= =?utf-8?B?SDEzampkVElpL2ZFOGk3cE9tSTRrUlQ1bmw0WjdXS3crdGJGbVEvTlRQMlZ4?= =?utf-8?B?MFFSbHZxTlhzZHpWOWV0WEs3eXptTHlJS01WZVNOL0dkTG52MDNmOXlmUExo?= =?utf-8?B?ZDdyZXBnVnYvMld4NDRmYXpnNXNhUE5ORnNTZU1SSUNlZzY0VkxNOHNSdWhs?= =?utf-8?B?MjNWSDFkRUFweW1FYXJqT3p1MXA3Mjh6TklRa1g0ekMwOGQrTEY4RHVINEM2?= =?utf-8?B?Si9LOGlVQnBUaGR0WkNveFp5MTkwT2x2TExOUHorSTlhZzJpZ3MvTlorMmcr?= =?utf-8?B?TkhDbTFaV2VRR3MxNm9oaElta24zVU83SjZWWHljbjNBbHM0UGE3UlNhdWdL?= =?utf-8?B?MlFQalV3di90Um5wN1FBVjgwV2JHcUVWLzdXdUNvcVgxY0NwR29WWHJBdU8w?= =?utf-8?B?ckJiaE5mZzd6WEZqT212RW1rK0JZVEFaZDU1clloeTZ2V0Q3bEFmSzlkSmx6?= =?utf-8?B?RlZqbmVmdjBFUHQvSjJUOGRlVk1rS3BXRGlDK0xuRUxVdk9naFh6ckVzbGxi?= =?utf-8?Q?or6r6mdcXN8cVjq8avlvDnSMxMp9yz2LrA?= 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: d2883830-749f-42c4-de79-08d8ac700e1f X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Dec 2020 03:07:34.5299 (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: D0s3umo09mZ/JJyESv9f91JcSMyo41AmwYVbxgInlLwf6JIHa/2F4lTsZfmYsVy1rTN8uXTyHt7JNtxkGSuVyw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3744 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 09/40] net/virtio: store PCI type in Virtio 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 MDIwIDU6MTQgQU0NCj4gVG86IGRldkBkcGRrLm9yZzsgWGlhLCBDaGVuYm8gPGNoZW5iby54aWFA aW50ZWwuY29tPjsgb2xpdmllci5tYXR6QDZ3aW5kLmNvbTsNCj4gYW1vcmVub3pAcmVkaGF0LmNv bTsgZGF2aWQubWFyY2hhbmRAcmVkaGF0LmNvbQ0KPiBDYzogTWF4aW1lIENvcXVlbGluIDxtYXhp bWUuY29xdWVsaW5AcmVkaGF0LmNvbT4NCj4gU3ViamVjdDogW1BBVENIIDA5LzQwXSBuZXQvdmly dGlvOiBzdG9yZSBQQ0kgdHlwZSBpbiBWaXJ0aW8gZGV2aWNlIG1ldGFkYXRhDQo+IA0KPiBHb2lu ZyBmdXJ0aGVyIGluIG1ha2luZyB0aGUgVmlydGlvIGV0aGRldiBsYXllciBidXMgYWdub3N0aWMs DQo+IHRoaXMgcGF0Y2ggYWRkcyBhIGJvb2xlYW4gaW4gdGhlIFZpcnRpbyBQQ0kgZGV2aWNlIG1l dGFkYXRhLg0KPiANCj4gU2lnbmVkLW9mZi1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