From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id C2C0D3772 for ; Wed, 9 Nov 2016 10:46:15 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP; 09 Nov 2016 01:46:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,465,1473145200"; d="scan'208";a="899425880" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga003.jf.intel.com with ESMTP; 09 Nov 2016 01:46:13 -0800 Received: from irsmsx156.ger.corp.intel.com (10.108.20.68) by IRSMSX109.ger.corp.intel.com (163.33.3.23) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 9 Nov 2016 09:46:12 +0000 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.177]) by IRSMSX156.ger.corp.intel.com ([169.254.3.66]) with mapi id 14.03.0248.002; Wed, 9 Nov 2016 09:46:12 +0000 From: "Ananyev, Konstantin" To: "Topel, Bjorn" , "dev@dpdk.org" CC: "Xu, Qian Q" , "Yao, Lei A" , "Wu, Jingjing" , "thomas.monjalon@6wind.com" , "Topel, Bjorn" Thread-Topic: [dpdk-dev] [PATCH] examples/l3fwd: force CRC stripping for i40evf Thread-Index: AQHSOmK2ZBfOsirwqU+9rGT6xQUr/qDQYiRw Date: Wed, 9 Nov 2016 09:46:12 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772583F0D2F6C@irsmsx105.ger.corp.intel.com> References: <20161109082341.19825-1-bjorn.topel@intel.com> In-Reply-To: <20161109082341.19825-1-bjorn.topel@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 Subject: Re: [dpdk-dev] [PATCH] examples/l3fwd: force CRC stripping for i40evf 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: Wed, 09 Nov 2016 09:46:16 -0000 DQpIaSwNCg0KPiANCj4gQ29tbWl0IDFiYmNjNWQyMTEyOSAoImk0MGV2ZjogcmVwb3J0IGVycm9y IGZvciB1bnN1cHBvcnRlZCBDUkMNCj4gc3RyaXBwaW5nIGNvbmZpZyIpIGJyb2tlIGwzZndkLCBz aW5jZSBpdCB3YXMgZm9yY2luZyB0aGF0IENSQyB3YXMNCj4ga2VwdC4gTm93LCBpZiBpNDBldmYg aXMgcnVubmluZywgQ1JDIHN0cmlwcGluZyB3aWxsIGJlIGVuYWJsZWQuDQo+IA0KPiBTaWduZWQt b2ZmLWJ5OiBCasO2cm4gVMO2cGVsIDxiam9ybi50b3BlbEBpbnRlbC5jb20+DQo+IC0tLQ0KPiAg ZXhhbXBsZXMvbDNmd2QvbWFpbi5jIHwgOSArKysrKysrKy0NCj4gIDEgZmlsZSBjaGFuZ2VkLCA4 IGluc2VydGlvbnMoKyksIDEgZGVsZXRpb24oLSkNCj4gDQo+IGRpZmYgLS1naXQgYS9leGFtcGxl cy9sM2Z3ZC9tYWluLmMgYi9leGFtcGxlcy9sM2Z3ZC9tYWluLmMNCj4gaW5kZXggNzIyM2U3NzMx MDdlLi5iNjAyNzg3OTQxMzUgMTAwNjQ0DQo+IC0tLSBhL2V4YW1wbGVzL2wzZndkL21haW4uYw0K PiArKysgYi9leGFtcGxlcy9sM2Z3ZC9tYWluLmMNCj4gQEAgLTkwNiw2ICs5MDYsMTQgQEAgbWFp bihpbnQgYXJnYywgY2hhciAqKmFyZ3YpDQo+ICAJCQluX3R4X3F1ZXVlID0gTUFYX1RYX1FVRVVF X1BFUl9QT1JUOw0KPiAgCQlwcmludGYoIkNyZWF0aW5nIHF1ZXVlczogbmJfcnhxPSVkIG5iX3R4 cT0ldS4uLiAiLA0KP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