From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 22814B62 for ; Thu, 10 Nov 2016 14:50:28 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP; 10 Nov 2016 05:50:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,619,1473145200"; d="scan'208";a="1083405442" Received: from pgsmsx101.gar.corp.intel.com ([10.221.44.78]) by fmsmga002.fm.intel.com with ESMTP; 10 Nov 2016 05:50:23 -0800 Received: from pgsmsx110.gar.corp.intel.com (10.221.44.111) by PGSMSX101.gar.corp.intel.com (10.221.44.78) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 10 Nov 2016 21:50:21 +0800 Received: from pgsmsx107.gar.corp.intel.com ([169.254.7.110]) by PGSMSX110.gar.corp.intel.com ([10.221.44.111]) with mapi id 14.03.0248.002; Thu, 10 Nov 2016 21:50:21 +0800 From: "Mori, Naoyuki" To: "dev@dpdk.org" , "bjorn.topel@gmail.com" , "Yao, Lei A" , "Topel, Bjorn" , "Zhang, Helin" , "Ananyev, Konstantin" CC: "Xu, Qian Q" , "Wu, Jingjing" , "thomas.monjalon@6wind.com" Thread-Topic: [PATCH] examples/l3fwd: force CRC stripping for i40evf Thread-Index: AQHSO1lgjJAAoTEDM0qc6H7cRDp2Sw== Date: Thu, 10 Nov 2016 13:50:21 +0000 Message-ID: <5952EEAD-ED55-4C0B-86EB-945B87637CD2@intel.com> Accept-Language: ja-JP, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/f.1b.0.161010 x-originating-ip: [10.254.199.137] Content-Type: text/plain; charset="utf-8" Content-ID: <3C861666EF7F1942ABCB9D7B605FA451@intel.com> 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: Thu, 10 Nov 2016 13:50:29 -0000 SGksDQoNClJlOg0KPiAgICBTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBbUEFUQ0hdIGV4YW1wbGVz L2wzZndkOiBmb3JjZSBDUkMgc3RyaXBwaW5nDQo+ICAgIAlmb3IJaTQwZXZmDQo+ICAgIE1lc3Nh Z2UtSUQ6IDxjY2U0ZDMxYy04YTg0LTA3YWEtMzM2MS0zMjdkYmExZWM3N2FAaW50ZWwuY29tPg0K PiAgICBUaG9tYXMgd3JvdGU6DQo+ICAgICA+IEp1c3QgdG8gbWFrZSBpdCBzdXJlLCB5b3UgbWVh biByZXR1cm5pbmcgYW4gZXJyb3IgaW4gdGhlIGRyaXZlciB3aGVuDQo+ICAgICA+IGEgY29uZmln dXJhdGlvbiBjYW5ub3QgYmUgYXBwbGllZCwgcmlnaHQ/DQo+ICAgIA0KPiAgICBZZXMsIGFzIGlu IDFiYmNjNWQyMTEyOSAoImk0MGV2ZjogcmVwb3J0IGVycm9yIGZvciB1bnN1cHBvcnRlZCBDUkMN Cj4gICAgc3RyaXBwaW5nIGNvbmZpZyIpLCB3aGVyZSAtRUlOVkFMIGlzIHJldHVybmVkLg0KPiAg ICANCj4gICAgQmo/cm4NCg0KT24gbXkgZXhwZXJpZW5jZSwgT3ZTK0RQREsgaGFzIHNhbWUgaXNz dWUuDQpZb3UgY2Fubm90IHJ1biBPdlMgb24gaTQwZXZmIGR1ZSB0byB0aGlzIENSQyBjb25maWcg bWlzbWF0Y2gsIHdoaWxlIE92UyBvbiBpeGdiZXZmIHdvcmtzIGZpbmUuDQpTbywgY2hhbmdpbmcg b24gaTQwZXZmIFBNRCBzaWRlIHdvdWxkIGhhdmUgbW9yZSBiZW5lZml0LCBJIGJlbGlldmUuDQoN Cg0KW0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