From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 77CB14CA2 for ; Wed, 28 Feb 2018 02:53:41 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Feb 2018 17:53:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,403,1515484800"; d="scan'208";a="31176787" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga003.jf.intel.com with ESMTP; 27 Feb 2018 17:53:40 -0800 Received: from bgsmsx151.gar.corp.intel.com (10.224.48.42) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 27 Feb 2018 17:53:39 -0800 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.25]) by BGSMSX151.gar.corp.intel.com ([169.254.3.9]) with mapi id 14.03.0319.002; Wed, 28 Feb 2018 07:23:36 +0530 From: "Yang, Zhiyong" To: Maxime Coquelin , "dev@dpdk.org" , "yliu@fridaylinux.org" , "Tan, Jianfeng" , "Bie, Tiwei" , "Wang, Zhihong" CC: "Wang, Dong1" Thread-Topic: [PATCH 3/4] net/virtio-user: support server mode Thread-Index: AQHTpaObC4o+gg9QnkakvPymV20Bm6O4Qo4AgADcs5A= Date: Wed, 28 Feb 2018 01:53:36 +0000 Message-ID: References: <20180214145330.4679-1-zhiyong.yang@intel.com> <20180214145330.4679-4-zhiyong.yang@intel.com> <5780f87d-96bc-2c51-eaf8-d38ac4af7d11@redhat.com> In-Reply-To: <5780f87d-96bc-2c51-eaf8-d38ac4af7d11@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.223.10.10] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 3/4] net/virtio-user: support server mode 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: Wed, 28 Feb 2018 01:53:42 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWF4aW1lIENvcXVlbGlu IFttYWlsdG86bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb21dDQo+IFNlbnQ6IFdlZG5lc2RheSwg RmVicnVhcnkgMjgsIDIwMTggMjowMiBBTQ0KPiBUbzogWWFuZywgWmhpeW9uZyA8emhpeW9uZy55 YW5nQGludGVsLmNvbT47IGRldkBkcGRrLm9yZzsNCj4geWxpdUBmcmlkYXlsaW51eC5vcmc7IFRh biwgSmlhbmZlbmcgPGppYW5mZW5nLnRhbkBpbnRlbC5jb20+OyBCaWUsIFRpd2VpDQo+IDx0aXdl aS5iaWVAaW50ZWwuY29tPjsgV2FuZywgWmhpaG9uZyA8emhpaG9uZy53YW5nQGludGVsLmNvbT4N Cj4gQ2M6IFdhbmcsIERvbmcxIDxkb25nMS53YW5nQGludGVsLmNvbT4NCj4gU3ViamVjdDogUmU6 IFtQQVRDSCAzLzRdIG5ldC92aXJ0aW8tdXNlcjogc3VwcG9ydCBzZXJ2ZXIgbW9kZQ0KPiANCj4g DQo+IA0KPiBPbiAwMi8xNC8yMDE4IDAzOjUzIFBNLCBaaGl5b25nIFlhbmcgd3JvdGU6DQo+ID4g dmlydGlvIHVzZXIgYWRkcyB0byBzdXBwb3J0IGZvciBzZXJ2ZXIgbW9kZS4NCj4gPg0KPiA+IFZp cnRpbyB1c2VyIHdpdGggc2VydmVyIG1vZGUgY3JlYXRlcyBzb2NrZXQgZmlsZSB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