From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 7E718AABF; Thu, 10 May 2018 16:02:01 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 May 2018 07:02:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,385,1520924400"; d="scan'208";a="40735254" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga006.jf.intel.com with ESMTP; 10 May 2018 07:01:59 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 10 May 2018 07:01:59 -0700 Received: from bgsmsx153.gar.corp.intel.com (10.224.23.4) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 10 May 2018 07:01:59 -0700 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.242]) by BGSMSX153.gar.corp.intel.com ([169.254.2.178]) with mapi id 14.03.0319.002; Thu, 10 May 2018 19:31:56 +0530 From: "Yang, Zhiyong" To: "Bie, Tiwei" CC: "dev@dpdk.org" , "stable@dpdk.org" , "maxime.coquelin@redhat.com" , "Yigit, Ferruh" Thread-Topic: [PATCH v2] net/virtio-user: fix multiple queues fail in server mode Thread-Index: AQHT6EJg/z9BYPcomEmrTCb6DSxmmKQoZR8AgACYJoA= Date: Thu, 10 May 2018 14:01:55 +0000 Message-ID: References: <20180509094936.62796-1-zhiyong.yang@intel.com> <20180510093623.82588-1-zhiyong.yang@intel.com> <20180510102322.ps6n7s4rer5hvnxp@debian> In-Reply-To: <20180510102322.ps6n7s4rer5hvnxp@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 v2] 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: Thu, 10 May 2018 14:02:02 -0000 SGkgdGl3ZWksDQoNClRoYW5rcyBmb3IgeW91ciByZXZpZXcgZmlyc3RseS4gIFJlcGx5IGlubGlu ZS4NCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBCaWUsIFRpd2VpDQo+ IFNlbnQ6IFRodXJzZGF5LCBNYXkgMTAsIDIwMTggNjoyMyBQTQ0KPiBUbzogWWFuZywgWmhpeW9u ZyA8emhpeW9uZy55YW5nQGludGVsLmNvbT4NCj4gQ2M6IGRldkBkcGRrLm9yZzsgc3RhYmxlQGRw ZGsub3JnOyBtYXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbTsgWWlnaXQsDQo+IEZlcnJ1aCA8ZmVy cnVoLnlpZ2l0QGludGVsLmNvbT4NCj4gU3ViamVjdDogUmU6IFtQQVRDSCB2Ml0gbmV0L3ZpcnRp by11c2VyOiBmaXggbXVsdGlwbGUgcXVldWVzIGZhaWwgaW4gc2VydmVyDQo+IG1vZGUNCj4gDQo+ IE9uIFRodSwgTWF5IDEwLCAyMDE4IGF0IDA1OjM2OjIzUE0gKzA4MDAsIHpoaXlvbmcueWFuZ0Bp bnRlbC5jb20gd3JvdGU6DQo+ID4gVGhpcyBwYXRjaCBmaXhlcyBtdWx0aXBsZSBxdWV1ZXMgZmFp bHVyZSB3aGVuIHZpcnRpby11c2VyIHdvcmtzIGluDQo+ID4gc2V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