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 906F42BA1 for ; Thu, 14 Apr 2016 16:58:49 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 14 Apr 2016 07:58:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,485,1455004800"; d="scan'208";a="686261982" Received: from btopel-mobl1.isw.intel.com ([10.103.209.144]) by FMSMGA003.fm.intel.com with ESMTP; 14 Apr 2016 07:58:49 -0700 From: =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= To: dev@dpdk.org Cc: =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= Date: Thu, 14 Apr 2016 16:58:24 +0200 Message-Id: <1460645904-19565-1-git-send-email-bjorn.topel@intel.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: [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: Thu, 14 Apr 2016 14:58:50 -0000 T24gTGludXggUEYgaG9zdHMsIHRoZSBWRiBoYXMgbm8gbWVhbnMgb2YgY2hhbmdpbmcgdGhlIEhX IENSQyBzdHJpcApzZXR0aW5nIGZvciBhIFJYIHF1ZXVlLiBJdCdzIGltcGxpY2l0bHkgZW5hYmxl ZC4KClRoaXMgcGF0Y2ggaWdub3JlcywgYW5kIHdhcm5zLCBpZiBIVyBDUkMgc3RyaXBwaW5nIHdh cyBkaXNhYmxlZC4KClNpZ25lZC1vZmYtYnk6IEJqw7ZybiBUw7ZwZWwgPGJqb3JuLnRvcGVsQGlu dGVsLmNvbT4KLS0t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