From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id ABEB5AAEC for ; Thu, 22 Mar 2018 08:55:51 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Mar 2018 00:55:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,343,1517904000"; d="scan'208";a="184981287" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga004.jf.intel.com with ESMTP; 22 Mar 2018 00:55:50 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 22 Mar 2018 00:55:49 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.235]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.108]) with mapi id 14.03.0319.002; Thu, 22 Mar 2018 15:55:46 +0800 From: "Wang, Zhihong" To: Maxime Coquelin , "dev@dpdk.org" CC: "Tan, Jianfeng" , "Bie, Tiwei" , "yliu@fridaylinux.org" , "Liang, Cunming" , "Wang, Xiao W" , "Daly, Dan" Thread-Topic: [PATCH v3 2/5] vhost: support selective datapath Thread-Index: AQHTv2rbLVpc25u1MUWRkq8W3G1vkqPaq82AgAE5bmA= Date: Thu, 22 Mar 2018 07:55:46 +0000 Message-ID: <8F6C2BD409508844A0EFC19955BE09415140B9C0@SHSMSX103.ccr.corp.intel.com> References: <1517614137-62926-1-git-send-email-zhihong.wang@intel.com> <20180227101342.18521-1-zhihong.wang@intel.com> <20180227101342.18521-3-zhihong.wang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 2/5] vhost: support selective datapath 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: , X-List-Received-Date: Thu, 22 Mar 2018 07:55:53 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWF4aW1lIENvcXVlbGlu IFttYWlsdG86bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb21dDQo+IFNlbnQ6IFRodXJzZGF5LCBN YXJjaCAyMiwgMjAxOCA1OjA2IEFNDQo+IFRvOiBXYW5nLCBaaGlob25nIDx6aGlob25nLndhbmdA aW50ZWwuY29tPjsgZGV2QGRwZGsub3JnDQo+IENjOiBUYW4sIEppYW5mZW5nIDxqaWFuZmVuZy50 YW5AaW50ZWwuY29tPjsgQmllLCBUaXdlaQ0KPiA8dGl3ZWkuYmllQGludGVsLmNvbT47IHlsaXVA ZnJpZGF5bGludXgub3JnOyBMaWFuZywgQ3VubWluZw0KPiA8Y3VubWluZy5saWFuZ0BpbnRlbC5j b20+OyBXYW5nLCBYaWFvIFcgPHhpYW8udy53YW5nQGludGVsLmNvbT47IERhbHksDQo+IERhbiA8 ZGFuLmRhbHlAaW50ZWwuY29tPg0KPiBTdWJqZWN0OiBSZTogW1BBVENIIHYzIDIvNV0gdmhvc3Q6 IHN1cHBvcnQgc2VsZWN0aXZlIGRhdGFwYXRoDQo+IA0KPiANCj4gDQo+IE9uIDAyLzI3LzIwMTgg MTE6MTMgQU0sIFpoaWhvbmcgV2FuZyB3cm90ZToNCj4gPiBUaGlzIHBhdGNoIGludHJvZHVjZXMg c3VwcG9ydCBmb3Igc2VsZWN0aXZlIGRhdGFwYXRoIGluIERQREsgdmhvc3QtdXNlciBsaWINCj4g PiB0byBlbmFibGUgdmFyaW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