i40e/i40evf: add PPRS bit to error bits and fix bug in Rx checksum
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Tue, 20 May 2014 08:01:43 +0000 (08:01 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Jun 2014 07:39:58 +0000 (00:39 -0700)
commit8a3c91cce3d32d3fa1e3b64d41b241103a62fd62
tree385692000534fb57c95dcfac5eb95ae11ffa15f2
parent9aa7e9355db342fda17d716bcf5ce62df7a02e61
i40e/i40evf: add PPRS bit to error bits and fix bug in Rx checksum

The driver was not marking packets with bad checksums
correctly, especially IPv6 packets with a bad checksum.
To do this correctly we need a define that may be set by
hardware in rare cases.

Change-ID: I1a997b72b491ded27a78ac3bce1197b2d2611130
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40e/i40e_type.h
drivers/net/ethernet/intel/i40evf/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_type.h