From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 0EE311C13D; Fri, 11 May 2018 05:01:28 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 May 2018 20:01:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,387,1520924400"; d="scan'208";a="223345366" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga005.jf.intel.com with ESMTP; 10 May 2018 20:01:27 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 10 May 2018 20:01:27 -0700 Received: from bgsmsx102.gar.corp.intel.com (10.223.4.172) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 10 May 2018 20:01:26 -0700 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.242]) by BGSMSX102.gar.corp.intel.com ([169.254.2.150]) with mapi id 14.03.0319.002; Fri, 11 May 2018 08:31:24 +0530 From: "Yang, Zhiyong" To: "Bie, Tiwei" CC: "dev@dpdk.org" , "Yigit, Ferruh" , "maxime.coquelin@redhat.com" , "stable@dpdk.org" Thread-Topic: [PATCH v3] net/virtio-user: fix multiple queues fail in server mode Thread-Index: AQHT6M2P4I93Fd5g10WOdofLFQ6lyKQpd6iAgABe20A= Date: Fri, 11 May 2018 03:01:22 +0000 Message-ID: References: <20180510093623.82588-1-zhiyong.yang@intel.com> <20180511021247.12411-1-zhiyong.yang@intel.com> <20180511024951.boqwhaegsjmum32i@debian> In-Reply-To: <20180511024951.boqwhaegsjmum32i@debian> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.200.100 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-stable] [PATCH v3] net/virtio-user: fix multiple queues fail in server mode X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2018 03:01:29 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQmllLCBUaXdlaQ0KPiBT ZW50OiBGcmlkYXksIE1heSAxMSwgMjAxOCAxMDo1MCBBTQ0KPiBUbzogWWFuZywgWmhpeW9uZyA8 emhpeW9uZy55YW5nQGludGVsLmNvbT4NCj4gQ2M6IGRldkBkcGRrLm9yZzsgWWlnaXQsIEZlcnJ1 aCA8ZmVycnVoLnlpZ2l0QGludGVsLmNvbT47DQo+IG1heGltZS5jb3F1ZWxpbkByZWRoYXQuY29t OyBzdGFibGVAZHBkay5vcmcNCj4gU3ViamVjdDogUmU6IFtQQVRDSCB2M10gbmV0L3ZpcnRpby11 c2VyOiBmaXggbXVsdGlwbGUgcXVldWVzIGZhaWwgaW4gc2VydmVyDQo+IG1vZGUNCj4gDQo+IE9u IEZyaSwgTWF5IDExLCAyMDE4IGF0IDEwOjEyOjQ3QU0gKzA4MDAsIHpoaXlvbmcueWFuZ0BpbnRl bC5jb20gd3JvdGU6DQo+IFsuLi5dDQo+ID4gQEAgLTQ0NywxMSArNDQ3LDE3IEBAIHZpcnRpb191 c2VyX2hhbmRsZV9tcShzdHJ1Y3QgdmlydGlvX3VzZXJfZGV2DQo+ICpkZXYsIHVpbnQxNl90IHFf cGFpcnMpDQo+ID4gIAkJcmV0dXJuIC0xOw0KPiA+ICAJfQ0KPiA+DQo+ID4gLQlmb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