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 2B0B52E89 for ; Thu, 6 Nov 2014 18:05:34 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 06 Nov 2014 09:08:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="412522688" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by FMSMGA003.fm.intel.com with ESMTP; 06 Nov 2014 08:59:23 -0800 Received: from irsmsx151.ger.corp.intel.com (163.33.192.59) by IRSMSX103.ger.corp.intel.com (163.33.3.157) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 6 Nov 2014 17:07:58 +0000 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.56]) by IRSMSX151.ger.corp.intel.com ([169.254.4.227]) with mapi id 14.03.0195.001; Thu, 6 Nov 2014 17:07:58 +0000 From: "Ananyev, Konstantin" To: "Alex Markuze (alex@weka.io)" Thread-Topic: [dpdk-dev] UDP Checksum Thread-Index: AQHP+duWQ+CHGJZ3ck2UAVZQPh0WuJxTxB0wgAAFCgCAAAoxsIAAADtA Date: Thu, 6 Nov 2014 17:07:57 +0000 Message-ID: <2601191342CEEE43887BDE71AB977258213A2EDA@IRSMSX105.ger.corp.intel.com> References: <2601191342CEEE43887BDE71AB977258213A2E79@IRSMSX105.ger.corp.intel.com> <2601191342CEEE43887BDE71AB977258213A2EC5@IRSMSX105.ger.corp.intel.com> In-Reply-To: <2601191342CEEE43887BDE71AB977258213A2EC5@IRSMSX105.ger.corp.intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] UDP Checksum 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, 06 Nov 2014 17:05:36 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQW5hbnlldiwgS29uc3Rh bnRpbg0KPiBTZW50OiBUaHVyc2RheSwgTm92ZW1iZXIgMDYsIDIwMTQgNTowNCBQTQ0KPiBUbzog QW5hbnlldiwgS29uc3RhbnRpbg0KPiBTdWJqZWN0OiBGVzogW2RwZGstZGV2XSBVRFAgQ2hlY2tz dW0NCj4gDQo+IA0KPiANCj4gRnJvbTogQWxleCBNYXJrdXplIFttYWlsdG86YWxleEB3ZWthLmlv XQ0KPiBTZW50OiBUaHVyc2RheSwgTm92ZW1iZXIgMDYsIDIwMTQgNDoyNyBQTQ0KPiBUbzogQW5h bnlldiwgS29uc3RhbnRpbg0KPiBDYzogZGV2QGRwZGsub3JnDQo+IFN1YmplY3Q6IFJlOiBbZHBk ay1kZXZdIFVEUCBDaGVja3N1bQ0KPiANCj4gSSB3YXMgc2V0dGluZyBib3RoIGlwIGFuZCB1ZHAg c2N1bSBmaWVsZHMgdG8gMC7CoFBLVF9UWF9VRFBfQ0tTVU0gPT3CoFBLVF9UWF9MNF9NQVNLID0g MHg2MDAwLg0KPiANCj4gSSB3YXMgbm90IGF3YXJlIG9mIHRoZcKgZ2V0X2lwdjRfcHNkX3N1bShp cHY0X2hkcik7DQo+IEFuZCBJJ20gcXVpdGUgZnJhbmtseSBzdXJwcmlzZWQgdGhlIEhXIGRvZXNu J3QgYWxyZWFkeSBkbyB0aGlzLiBGYXJ0aGVyIG1vcmUgSSBkb24ndCByZW1lbWJlciBrZXJuZWwg ZHJpdmVycyBtZXNzaW5nIHdpdGgNCj4gTDMgSGVhZGVycyhibngyeC9tbHg0KS4gSXMgdGhpcyB0 cnVlIGZ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