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 A14235A69 for ; Fri, 30 Oct 2015 12:45:29 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 30 Oct 2015 04:45:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,217,1444719600"; d="scan'208,217";a="823083451" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga001.fm.intel.com with ESMTP; 30 Oct 2015 04:45:28 -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.248.2; Fri, 30 Oct 2015 04:45:28 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 30 Oct 2015 04:45:28 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.96]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.106]) with mapi id 14.03.0248.002; Fri, 30 Oct 2015 19:45:26 +0800 From: "Liu, Jijiang" To: 'David Marchand' Thread-Topic: [dpdk-dev] [PATCH 5/8] driver/virtio:enqueue vhost TX offload Thread-Index: AQHRC7uHsGmT3ewiOUSBdlMvdT/7Yp6CCvwAgAG0frA= Date: Fri, 30 Oct 2015 11:45:25 +0000 Message-ID: <1ED644BD7E0A5F4091CF203DAFB8E4CC22BC6494@SHSMSX101.ccr.corp.intel.com> References: <1445402801-27806-1-git-send-email-jijiang.liu@intel.com> <1445402801-27806-6-git-send-email-jijiang.liu@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH 5/8] driver/virtio:enqueue vhost TX offload X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2015 11:45:30 -0000 SGkgRGF2aWQsDQoNCkZyb206IERhdmlkIE1hcmNoYW5kIFttYWlsdG86ZGF2aWQubWFyY2hhbmRA NndpbmQuY29tXQ0KU2VudDogVGh1cnNkYXksIE9jdG9iZXIgMjksIDIwMTUgMTA6MTYgUE0NClRv OiBMaXUsIEppamlhbmcNCkNjOiBkZXZAZHBkay5vcmcNClN1YmplY3Q6IFJlOiBbZHBkay1kZXZd IFtQQVRDSCA1LzhdIGRyaXZlci92aXJ0aW86ZW5xdWV1ZSB2aG9zdCBUWCBvZmZsb2FkDQoNCk9u IFdlZCwgT2N0IDIxLCAyMDE1IGF0IDY6NDYgQU0sIEppamlhbmcgTGl1IDxqaWppYW5nLmxpdUBp bnRlbC5jb208bWFpbHRvOmppamlhbmcubGl1QGludGVsLmNvbT4+IHdyb3RlOg0KQEAgLTIyMSw2 ICsyNzcsMTEgQEAgdmlydHF1ZXVlX2VucXVldWVfeG1pdChzdHJ1Y3QgdmlydHF1ZXVlICp0eHZx LCBzdHJ1Y3QgcnRlX21idWYgKmNvb2tpZSkNCiAgICAgICAgZHhwLT5jb29raWUgPSAodm9pZCAq KWNvb2tpZTsNCiAgICAgICAgZHhwLT5uZGVzY3MgPSBuZWVkZWQ7DQoNCisgICAgICAgaWYgKHZ0 cGNpX3dpdGhfZmVhdHVyZSh0eHZxLT5odywgVklSVElPX05FVF9GX0NTVU0pKSB7DQorICAgICAg ICAgICAgICAgaWYgKHZpcnRxdWV1ZV9lbnF1ZXVlX29mZmxvYWQodHh2cSwgY29va2llLCBpZHgs IGhlYWRfc2l6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