From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id BE8C71B6F6; Thu, 10 May 2018 05:05:05 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 May 2018 20:05:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,383,1520924400"; d="scan'208";a="39795286" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga007.jf.intel.com with ESMTP; 09 May 2018 20:05:03 -0700 Received: from bgsmsx152.gar.corp.intel.com (10.224.48.50) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 9 May 2018 20:05:03 -0700 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.242]) by BGSMSX152.gar.corp.intel.com ([169.254.6.199]) with mapi id 14.03.0319.002; Thu, 10 May 2018 08:35:00 +0530 From: "Yang, Zhiyong" To: "Bie, Tiwei" CC: "dev@dpdk.org" , "maxime.coquelin@redhat.com" , "Yao, Lei A" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/virtio-user: fix multiple queues fail in server mode Thread-Index: AQHT53sZqsa1vu0T1kyUy/NAXUnq4KQn5zEAgABfL0A= Date: Thu, 10 May 2018 03:04:59 +0000 Message-ID: References: <20180509094936.62796-1-zhiyong.yang@intel.com> <20180510024704.gkcaazw3ctztmait@debian> In-Reply-To: <20180510024704.gkcaazw3ctztmait@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] [dpdk-dev] [PATCH] 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 03:05:07 -0000 SGkgIFRpd2VpLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEJpZSwg VGl3ZWkNCj4gU2VudDogVGh1cnNkYXksIE1heSAxMCwgMjAxOCAxMDo0NyBBTQ0KPiBUbzogWWFu ZywgWmhpeW9uZyA8emhpeW9uZy55YW5nQGludGVsLmNvbT4NCj4gQ2M6IGRldkBkcGRrLm9yZzsg bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb207IFlhbywgTGVpIEENCj4gPGxlaS5hLnlhb0BpbnRl bC5jb20+OyBzdGFibGVAZHBkay5vcmcNCj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENI XSBuZXQvdmlydGlvLXVzZXI6IGZpeCBtdWx0aXBsZSBxdWV1ZXMgZmFpbCBpbg0KPiBzZXJ2ZXIg bW9kZQ0KPiANCj4gT24gV2VkLCBNYXkgMDksIDIwMTggYXQgMDU6NDk6MzZQTSArMDgwMCwgemhp eW9uZy55YW5nQGludGVsLmNvbSB3cm90ZToNCj4gPiBUaGlzIHBhdGNoIGZpeGVzIG11bHRpcGxl IHF1ZXVlcyBmYWlsdXJlIHdoZW4gdmlydGlvLXVzZXIgd29ya3MgaW4NCj4gPiBzZXJ2ZXIgbW9k ZS4NCj4gPg0KPiA+IEZpeGVzOiBiZDhmNTBhNDVkMGYgKCJuZXQvdmlydGlvLXVzZXI6IHN1cHBv cnQgc2VydmVyIG1vZGUiKQ0KPiA+IENjOiBzdGFibGVAZHBkay5vcmcNCj4gPiBTaWduZWQtb2Zm LWJ5OiBaaGl5b25nIFlhbmcgPHpoaXlvbmcueWFuZ0Bp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