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 20E8BA09E4; Thu, 21 Jan 2021 08:12:15 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C4FB140E9D; Thu, 21 Jan 2021 08:12:15 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 0F64F140E66 for ; Thu, 21 Jan 2021 08:12:12 +0100 (CET) IronPort-SDR: yqaxlEOPmxFm+eQlvqTcnW9hFaz9m3ENh5IitY3Bxx7zvmVGt6bBDHlc4LOTQdY5BlLZepR8zo tzYnw5U8XcWg== X-IronPort-AV: E=McAfee;i="6000,8403,9870"; a="159003571" X-IronPort-AV: E=Sophos;i="5.79,363,1602572400"; d="scan'208";a="159003571" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jan 2021 23:12:12 -0800 IronPort-SDR: ZMGeSeGIbN+N7I14e/6o5JoijCcOFKrbE+meHdN7qUdMnzMYJ+NN7EcObMvjWK1siVpTRlOPTQ eUro/Pp7t8Gg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,363,1602572400"; d="scan'208";a="407185161" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by FMSMGA003.fm.intel.com with ESMTP; 20 Jan 2021 23:12:11 -0800 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 20 Jan 2021 23:12:11 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 20 Jan 2021 23:12:11 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.170) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 20 Jan 2021 23:12:10 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZyppKLrHYSIVhcOAfJX0PDsd67OvVVTzhEPaesrXDU4+AhJQjw5TRiG0LgeQIwHRR1x69ZzBpQ+zPjCc7+IJ2tDDMQr4y3ZJBdPJMS78H06XFobIeDst0WbJU9ck0g4+0+dW4tkXqug4AfQnU1YzxXiPH54VPNGpjLbmprw6YySNLGzaFI4rtpWy20NAy1KERal60kMWWTezK+HhxTY33ayzji14kVjzx7hRAO2G5vzOmQwoUbMdZSZKR2HnxYYpEreTq9Wurq1q7U/lBA2lIEcez46f0Q7oNbzH3iFcsr/N/DzYSW30b+RkRmb+IoggB278DUu3m4QYdKKGQhuoyA== 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=J6ljIeIj55Y9O+yP9YxjC8Fs7c5t6P+l1acRxwcTgTY=; b=Emf2hA9NDOZHA7G7Bagt4vfGsPug+5Zz8BLc0TT0KZgMk6IYZQD3jepSrrAd3A0LxCTi0y9hy/NHTM1tupcFpGlcfxt5J7i6HD4JeVvrKpJI3Q64Vl9MQApV2nbUFWVrbRN1bnlTv9b6HqyfI0K0uxyhuWTGKQTbYeZpllFJT5B0lfwcTSBYiz8ovYMRBY9bq0UY7YHPIGVF2J5s+sMCoVLd5KfHBb6r9A1lg+1Rhu5atoXvcN5GcRxNq607FxLIPNnbOXyRZV9z7OxsudfzdJ3lDOW/7OAiT8xOq3vetG7uUWx5qXNrXog/7vzqWot0vocNOH2L7GbEFx+KxH6UdQ== 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=J6ljIeIj55Y9O+yP9YxjC8Fs7c5t6P+l1acRxwcTgTY=; b=VDUWRHVpAFGyqlF4ZC1CokhabL5EV29MVFlP9npPmWlElMIkZbxPyJEAE/EtPSWXUj9MbQrZWN3KYQ3AtJ4Ktnt+xh5a05l0HepsG0qmhXuw0jSuKcR+ONLEBIsyWVjPj3V4TQE6gT63QGFGR55BEZkgXbhld9Vn/Ks/cgA3nW0= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3888.namprd11.prod.outlook.com (2603:10b6:208:155::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.12; Thu, 21 Jan 2021 07:12:09 +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 07:12:09 +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 09/44] net/virtio: move MSIX detection to PCI ethdev Thread-Index: AQHW7qnD4HxT+iNhdk+gvQoykgPw/qoxqidg Date: Thu, 21 Jan 2021 07:12:09 +0000 Message-ID: References: <20210119212507.1043636-1-maxime.coquelin@redhat.com> <20210119212507.1043636-10-maxime.coquelin@redhat.com> In-Reply-To: <20210119212507.1043636-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: b2d0878c-d527-42fd-76b7-08d8bddbde0e x-ms-traffictypediagnostic: MN2PR11MB3888: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:854; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Ts84b2xYzQsroCU9Y8+ypc4QQ8yB5ghCZ2MHP/u38l+AzPXE0yHrMSK/H70UxWZDjXeKMIzP0nAiUj2qVGan4hSpjMSFv8eyvaPDQsvHv3sCW4rn8/4IMsZ7Vuk03viFyeUKriBJ2dCHIL2MhSyODs8YZrKq8wkAFntnmT8N6RLQ+R6MgqzBbhrFB8O+UZCxphAvSBtthQrdRY2BL3521FdzFDA5uedtRzndCNxi9V8D3vs6PMdH070IjU3DMiAtrEKR60Q8G156x3ehjs5RxMq92YlXdNJ47vs4GOf3soNiCei616gN9DDwnHcW8p53xs1vybDlXpDHvfyvg31JJg6dqz0EhMGjSyk4PkMtEeRDGbZD7sUBL57XFgrqepX5sgFp5cGRatOSsW+k3+MzUA== 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)(39860400002)(376002)(136003)(396003)(346002)(366004)(316002)(6506007)(53546011)(26005)(186003)(83380400001)(7696005)(2906002)(8936002)(71200400001)(33656002)(478600001)(8676002)(110136005)(76116006)(5660300002)(66946007)(64756008)(66556008)(66476007)(66446008)(52536014)(86362001)(9686003)(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wVkJJd0czY3pXUmtEY3JlTmtpU2xYSTN0eTJRUVZZNmQ4QmZX?= =?utf-8?B?NHlQbjFCQndpVFg5TnhDTGtTTXptWXFUNEZrQ2dXdnFiV2QraTNoSHlyWVRS?= =?utf-8?B?V2RnVjRsUEZ2M3pnTWlzK3hweWRxdFNTNlVjdDJRRndGWGJZeHhESXBKeHdC?= =?utf-8?B?Y1NqY1FOZ2Q5ekE5SEFWcVFQUjNtaSs2NUFWNUZsQWZsSjhVRTdXZmRIN3FG?= =?utf-8?B?TUF0dkJwdWM4MXRFREtDVmdBR0NLTUhzby9uV1duVGxBWjB3WkM1SlYrTHVj?= =?utf-8?B?bThWSlRYYU1qRmQ5dmY3UkhidzdQMkFTZjNDUTlHRm81dEw1Z1FibndzWlhH?= =?utf-8?B?R21OODA2ZEx5REdXNzJQc3pRdExuZWUvbHprTTE3YSttUFVQMDg3bUl5RHo4?= =?utf-8?B?S2R5Qi9jZkdXSnRLTjFvSWxCSzRtSWdEZG5oNHBpbmxpNUlqa0Z0bXZnbkVO?= =?utf-8?Q?GlHgamNOqTtTA=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: b2d0878c-d527-42fd-76b7-08d8bddbde0e X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2021 07:12:09.3172 (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: sBRGytQ9mHdnTS9pqqJQQu40Riq5APtcolkK4GOxuzvBJlz/JH8Azkz3iJLVMGm6MNyJYd6L9UsPzKfHmeYX+g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3888 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 09/44] net/virtio: move MSIX detection to PCI ethdev 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 eSwgSmFudWFyeSAyMCwgMjAyMSA1OjI1IEFNDQo+IFRvOiBkZXZAZHBkay5vcmc7IFhpYSwgQ2hl bmJvIDxjaGVuYm8ueGlhQGludGVsLmNvbT47IG9saXZpZXIubWF0ekA2d2luZC5jb207DQo+IGFt b3Jlbm96QHJlZGhhdC5jb207IGRhdmlkLm1hcmNoYW5kQHJlZGhhdC5jb20NCj4gQ2M6IE1heGlt ZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFN1YmplY3Q6IFtQQVRD SCB2MiAwOS80NF0gbmV0L3ZpcnRpbzogbW92ZSBNU0lYIGRldGVjdGlvbiB0byBQQ0kgZXRoZGV2 DQo+IA0KPiBUaGlzIHBhdGNoIGludHJvZHVjZXMgYSBuZXcgY2FsbGJhY2sgdG8gbm90aWZ5IHRo ZSBidXMNCj4gZHJpdmVyIHNvbWUgaW50ZXJydXB0IHJlbGF0ZWQgb3BlcmF0aW9uIHdhcyBkb25l Lg0KPiANCj4gVGhpcyBpcyB1c2VkIGJ5IFZpcnRpbyBQQ0kgZHJpdmVyIHRvIGNoZWNrIG1zaXgg c3RhdHVzLg0KPiANCj4gU2lnbmVkLW9mZi1ieTogTWF4aW1lIENvcXVlbGluIDxtYXhpbWUu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