From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 20F4158DF for ; Thu, 4 Sep 2014 04:49:28 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 03 Sep 2014 19:48:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,462,1406617200"; d="scan'208";a="568076111" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga001.jf.intel.com with ESMTP; 03 Sep 2014 19:54:05 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 3 Sep 2014 19:54:04 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 3 Sep 2014 19:54:04 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.198]) by shsmsx102.ccr.corp.intel.com ([169.254.2.246]) with mapi id 14.03.0195.001; Thu, 4 Sep 2014 10:54:03 +0800 From: "Xie, Huawei" To: Franck Baudin , "Gray, Mark D" , Thomas Monjalon Thread-Topic: [dpdk-dev] Wrong TCP checksum of packets sent by Linux guest (virtIO/vhost) Thread-Index: AQHPx+t7JgP5UdX2C0eA/gdu7JFrHA== Date: Thu, 4 Sep 2014 02:54:02 +0000 Message-ID: References: <1686757.iSdNo6aMGt@xps13> <738D45BC1F695740A983F43CFE1B7EA92D72308F@IRSMSX102.ger.corp.intel.com> <540721E8.2010307@qosmos.com> In-Reply-To: <540721E8.2010307@qosmos.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "dev@dpdk.org" , "dpdk-ovs@lists.01.org" Subject: Re: [dpdk-dev] Wrong TCP checksum of packets sent by Linux guest (virtIO/vhost) 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: Thu, 04 Sep 2014 02:49:29 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRnJhbmNrIEJhdWRpbiBb bWFpbHRvOmZyYW5jay5iYXVkaW5AcW9zbW9zLmNvbV0NCj4gU2VudDogV2VkbmVzZGF5LCBTZXB0 ZW1iZXIgMDMsIDIwMTQgMTA6MTMgUE0NCj4gVG86IFhpZSwgSHVhd2VpOyBHcmF5LCBNYXJrIEQ7 IFRob21hcyBNb25qYWxvbg0KPiBDYzogZGV2QGRwZGsub3JnOyBkcGRrLW92c0BsaXN0cy4wMS5v cmcNCj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0gV3JvbmcgVENQIGNoZWNrc3VtIG9mIHBhY2tl dHMgc2VudCBieSBMaW51eCBndWVzdA0KPiAodmlydElPL3Zob3N0KQ0KPiANCj4gSGksDQo+IA0K PiBPbiAwOS8wMy8xNCAxMzoxMywgWGllLCBIdWF3ZWkgd3JvdGU6DQo+ID4gTG9vcGluZyBpbiB0 aGUgZHBkay1vdnMgbGlzdC4NCj4gPg0KPiA+ICogRG9lcyB0aGUgbmV3IHZob3N0IEFQSSBhbGxv dyBhIHVzZXIgdG8ga25vdyBpZiBhbGwgdGhlIHJlbGV2YW50IG9mZmxvYWRzIGhhdmUNCj4gPiBi ZWVuDQo+ID4gdHVybmVkIG9uL29mZiBmb3IgdGhhdCBpbnRlcmZhY2U/IEl0IHNlZW1zIHRoYXQg dGhpcyBpcyBwb3NzaWJsZSB0aHJvdWdoIHRoZQ0KPiA+IHZpcnRpb19uZXQNCj4gPiBzdHJ1Y3R1 cmU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