From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 35FC71B772 for ; Thu, 8 Feb 2018 04:03:28 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Feb 2018 19:03:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,476,1511856000"; d="scan'208";a="16176704" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga007.fm.intel.com with ESMTP; 07 Feb 2018 19:03:20 -0800 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 7 Feb 2018 19:03:19 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 7 Feb 2018 19:03:19 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.116]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.125]) with mapi id 14.03.0319.002; Thu, 8 Feb 2018 11:03:17 +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 1/7] vhost: make capabilities configurable Thread-Index: AQHTnBmxfTBmxjl7RUCW04a7+OOxG6OWqYKAgAMmz2A= Date: Thu, 8 Feb 2018 03:03:17 +0000 Message-ID: <8F6C2BD409508844A0EFC19955BE0941513D9F86@SHSMSX103.ccr.corp.intel.com> References: <1517614137-62926-1-git-send-email-zhihong.wang@intel.com> <1517614137-62926-2-git-send-email-zhihong.wang@intel.com> <8954f0ba-dfbe-4af5-c7d7-9acfebdd931d@redhat.com> In-Reply-To: <8954f0ba-dfbe-4af5-c7d7-9acfebdd931d@redhat.com> 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 1/7] vhost: make capabilities configurable 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, 08 Feb 2018 03:03:29 -0000 SGkgTWF4aW1lLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE1heGlt ZSBDb3F1ZWxpbiBbbWFpbHRvOm1heGltZS5jb3F1ZWxpbkByZWRoYXQuY29tXQ0KPiBTZW50OiBU dWVzZGF5LCBGZWJydWFyeSA2LCAyMDE4IDY6MTkgUE0NCj4gVG86IFdhbmcsIFpoaWhvbmcgPHpo aWhvbmcud2FuZ0BpbnRlbC5jb20+OyBkZXZAZHBkay5vcmcNCj4gQ2M6IFRhbiwgSmlhbmZlbmcg PGppYW5mZW5nLnRhbkBpbnRlbC5jb20+OyBCaWUsIFRpd2VpDQo+IDx0aXdlaS5iaWVAaW50ZWwu Y29tPjsgeWxpdUBmcmlkYXlsaW51eC5vcmc7IExpYW5nLCBDdW5taW5nDQo+IDxjdW5taW5nLmxp YW5nQGludGVsLmNvbT47IFdhbmcsIFhpYW8gVyA8eGlhby53LndhbmdAaW50ZWwuY29tPjsgRGFs eSwNCj4gRGFuIDxkYW4uZGFseUBpbnRlbC5jb20+DQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0ggMS83 XSB2aG9zdDogbWFrZSBjYXBhYmlsaXRpZXMgY29uZmlndXJhYmxlDQo+IA0KPiBI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