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 D833B29B6 for ; Fri, 15 Apr 2016 10:08:13 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP; 15 Apr 2016 01:07:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,486,1455004800"; d="scan'208";a="85662773" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga004.fm.intel.com with ESMTP; 15 Apr 2016 01:07:42 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 15 Apr 2016 01:07:41 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 15 Apr 2016 01:07:41 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.142]) by shsmsx102.ccr.corp.intel.com ([169.254.2.232]) with mapi id 14.03.0248.002; Fri, 15 Apr 2016 16:07:39 +0800 From: "Zhang, Helin" To: David Marchand , "Topel, Bjorn" CC: "dev@dpdk.org" , "Wu, Jingjing" Thread-Topic: [dpdk-dev] [PATCH] i40evf: Ignore disabled HW CRC strip for Linux PF hosts Thread-Index: AQHRluo15ITjA8gZqUawlBVwJ8mUU5+KrYwg Date: Fri, 15 Apr 2016 08:07:38 +0000 Message-ID: References: <1460645904-19565-1-git-send-email-bjorn.topel@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWU3ZDBlNDAtZmYwZi00YmFlLTkxN2MtOThlZmMwMmZjMjM2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InBFQkd4eHV6RGJ1UGJKeU13UGZBdEZIU1JVZlhOTGd3STR2c0d3SFhFMUk9In0= x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] i40evf: Ignore disabled HW CRC strip for Linux PF hosts 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: Fri, 15 Apr 2016 08:08:15 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRGF2aWQgTWFyY2hhbmQg W21haWx0bzpkYXZpZC5tYXJjaGFuZEA2d2luZC5jb21dDQo+IFNlbnQ6IEZyaWRheSwgQXByaWwg MTUsIDIwMTYgMzo0MSBQTQ0KPiBUbzogVG9wZWwsIEJqb3JuIDxiam9ybi50b3BlbEBpbnRlbC5j b20+DQo+IENjOiBkZXZAZHBkay5vcmc7IFpoYW5nLCBIZWxpbiA8aGVsaW4uemhhbmdAaW50ZWwu Y29tPjsgV3UsIEppbmdqaW5nDQo+IDxqaW5namluZy53dUBpbnRlbC5jb20+DQo+IFN1YmplY3Q6 IFJlOiBbZHBkay1kZXZdIFtQQVRDSF0gaTQwZXZmOiBJZ25vcmUgZGlzYWJsZWQgSFcgQ1JDIHN0 cmlwIGZvciBMaW51eCBQRg0KPiBob3N0cw0KPiANCj4gQ0Mgb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