From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id C39075F72 for ; Wed, 13 Feb 2019 15:48:03 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Feb 2019 06:48:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,365,1544515200"; d="scan'208";a="114614917" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga007.jf.intel.com with ESMTP; 13 Feb 2019 06:48:02 -0800 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 13 Feb 2019 06:48:02 -0800 Received: from fmsmsx117.amr.corp.intel.com ([169.254.3.143]) by FMSMSX126.amr.corp.intel.com ([169.254.1.212]) with mapi id 14.03.0415.000; Wed, 13 Feb 2019 06:48:01 -0800 From: "Wiles, Keith" To: Andrew Rybchenko CC: "Kulasek, TomaszX" , Olivier Matz , "dev@dpdk.org" , "Ananyev, Konstantin" , Thomas Monjalon , Stephen Hemminger Thread-Topic: [dpdk-dev] [RFC PATCH] mbuf: move headers not fragmented check to checksum Thread-Index: AQHUw4GcP4LbSx/Jdk64A1AcHsZ2DaXeVVMA Date: Wed, 13 Feb 2019 14:48:01 +0000 Message-ID: <3FA465F7-B774-482F-B7AB-39B855F7B4C8@intel.com> References: <1548751746-16030-1-git-send-email-arybchenko@solarflare.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.251.136.143] Content-Type: text/plain; charset="utf-8" Content-ID: <65F4AD7E45FA5E4398DF77F735019CE9@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [RFC PATCH] mbuf: move headers not fragmented check to checksum 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: Wed, 13 Feb 2019 14:48:04 -0000 DQoNCj4gT24gRmViIDEzLCAyMDE5LCBhdCAzOjUwIEFNLCBBbmRyZXcgUnliY2hlbmtvIDxhcnli Y2hlbmtvQHNvbGFyZmxhcmUuY29tPiB3cm90ZToNCj4gDQo+IFBpbmcuDQo+IA0KPiBEbyAyIHdl ZWtzIHdpdGhvdXQgcmVwbHkgbWVhbiB0aGF0IGl0IGxvb2tzIGdvb2QgYW5kIEkgc2hvdWxkIHNl bmQgbm9uLVJDRiB2ZXJzaW9uPw0KDQpKdXN0IHNlbmQgdGhlIG5vbi1SRkMgcGF0Y2ggYXMgaXQg c2VlbXMgbW9zdCBkbyBub3QgZXZlbiBsb29rIGF0IHRoZSBSRkPigJlzIGFueXdheS4NCj4gDQo+ IEFuZHJldy4NCj4gDQo+IE9uIDEvMjkvMTkgMTE6NDkgQU0sIEFuZHJldyBSeWJjaGVua28gd3Jv dGU6DQo+PiBydGVfdmFsaWRhdGVfdHhfb2ZmbG9hZCgpIGlzIHVzZWQgaW4gVHggcHJlcGFyZSBj YWxsYmFja3MNCj4+IChSVEVfTElCUlRFX0VUSERFVl9ERUJVRyBvbmx5KSB0byBjaGVjayBUeCBv ZmZsb2FkcyBjb25zaXN0ZW5jeS4NCj4+IFJlcXVpcmVtZW50IHRoYXQgcGFja2V0IGhlYWRlcnMg c2hvdWxkIG5vdCBiZSBmcmFnbWVudGVkIGlzIG5vdA0KPj4gZG9jdW1lbnRlZCBhbmQgdW5jbGVh ciB3aGVyZSBpdCBjb21lcyBmcm9tIGV4Y2VwdA0KPj4gcnRlX25ldF9pbnRlbF9ja3N1bV9wcmVw YXJlKCkgZnVuY3Rpb25zIHdoaWNoIHJlb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