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 41F0AA034F; Wed, 6 May 2020 13:35:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4E7001D8ED; Wed, 6 May 2020 13:35:08 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 3E7DC1D6E5 for ; Wed, 6 May 2020 13:35:05 +0200 (CEST) IronPort-SDR: EHBdYFYAiQOQl49yY1zt3ODtEt57JlcUOfFhYyk+KGkKfy/bwP9y8lYedaDxYMFvpzNWFfGQLv nePWmFpq8JvQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2020 04:35:04 -0700 IronPort-SDR: e1Fb0/3GXIRDitZvAAtMjKeh6kq3FO2K0Gdl2j/Q497f7olyIR+jMfwK2XPNalWCRMCFbKjlCd W+ZcS5U4Of9g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,358,1583222400"; d="scan'208";a="338977444" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 06 May 2020 04:35:03 -0700 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 6 May 2020 04:35:03 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by SHSMSX605.ccr.corp.intel.com (10.109.6.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 6 May 2020 19:35:01 +0800 Received: from shsmsx603.ccr.corp.intel.com ([10.109.6.143]) by SHSMSX603.ccr.corp.intel.com ([10.109.6.143]) with mapi id 15.01.1713.004; Wed, 6 May 2020 19:35:01 +0800 From: "Wang, Haiyue" To: "Burakov, Anatoly" , "dev@dpdk.org" , "thomas@monjalon.net" , "jerinj@marvell.com" , "david.marchand@redhat.com" Thread-Topic: [PATCH v12 2/2] eal: support for VFIO-PCI VF token Thread-Index: AQHWIsryKW7LlGPQ306umEVo4fZEeqiaViWAgACX+sA= Date: Wed, 6 May 2020 11:35:00 +0000 Message-ID: References: <20200305043311.17065-1-vattunuru@marvell.com> <20200505103440.38455-1-haiyue.wang@intel.com> <20200505103440.38455-3-haiyue.wang@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v12 2/2] eal: support for VFIO-PCI VF token 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" SGkgQW5hdG9seSwNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBCdXJh a292LCBBbmF0b2x5IDxhbmF0b2x5LmJ1cmFrb3ZAaW50ZWwuY29tPg0KPiBTZW50OiBXZWRuZXNk YXksIE1heSA2LCAyMDIwIDE4OjI3DQo+IFRvOiBXYW5nLCBIYWl5dWUgPGhhaXl1ZS53YW5nQGlu dGVsLmNvbT47IGRldkBkcGRrLm9yZzsgdGhvbWFzQG1vbmphbG9uLm5ldDsgamVyaW5qQG1hcnZl bGwuY29tOw0KPiBkYXZpZC5tYXJjaGFuZEByZWRoYXQuY29tDQo+IFN1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