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 B40EA2A5D; Tue, 5 Dec 2017 09:52:33 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Dec 2017 00:52:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,363,1508828400"; d="scan'208";a="10655699" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by fmsmga001.fm.intel.com with ESMTP; 05 Dec 2017 00:52:30 -0800 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.22]) by IRSMSX106.ger.corp.intel.com ([169.254.8.36]) with mapi id 14.03.0319.002; Tue, 5 Dec 2017 08:52:29 +0000 From: "Fischetti, Antonio" To: "Bie, Tiwei" CC: "dev@dpdk.org" , "yliu@fridaylinux.org" , "maxime.coquelin@redhat.com" , "jfreimann@redhat.com" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] net/virtio: fix an incorrect behavior of device stop/start Thread-Index: AQHTayZgGvuLNA8kakulsWFpuBFh/6MyyiyAgABF/lCAAQcXAIAAXpmQ Date: Tue, 5 Dec 2017 08:52:28 +0000 Message-ID: References: <20170829082601.30349-1-tiwei.bie@intel.com> <1508465368-36746-1-git-send-email-tiwei.bie@intel.com> <20171202043033.gwg3lx2hlmdway3x@debian-xvivbkq> <20171204071935.semcmhb2agdkbggp@debian-xvivbkq> <20171205031144.f7tv4nctuwxb6uxy@debian-xvivbkq> In-Reply-To: <20171205031144.f7tv4nctuwxb6uxy@debian-xvivbkq> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmMzNDZiOTUtNjBiNy00MmUzLWEzNWEtMTk5YjJlZjhmNzM1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJVMVlpUUJIVnd3c1wvVVpTbktxMGdwaHNqXC91MVgrWXdxc09yNytlemZmMlwvYzBhdUVrMEM2a0tUTW8xZTlCTVVUIn0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] net/virtio: fix an incorrect behavior of device stop/start 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: Tue, 05 Dec 2017 08:52:34 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQmllLCBUaXdlaQ0KPiBT ZW50OiBUdWVzZGF5LCBEZWNlbWJlciA1LCAyMDE3IDM6MTIgQU0NCj4gVG86IEZpc2NoZXR0aSwg QW50b25pbyA8YW50b25pby5maXNjaGV0dGlAaW50ZWwuY29tPg0KPiBDYzogZGV2QGRwZGsub3Jn OyB5bGl1QGZyaWRheWxpbnV4Lm9yZzsgbWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb207DQo+IGpm cmVpbWFubkByZWRoYXQuY29tOyBzdGFibGVAZHBkay5vcmcNCj4gU3ViamVjdDogUmU6IFtkcGRr LWRldl0gW1BBVENIIHYyXSBuZXQvdmlydGlvOiBmaXggYW4gaW5jb3Jy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