i40e: Fix Rx checksum error counter
authorAnjali Singhai <anjali.singhai@intel.com>
Fri, 19 Dec 2014 02:58:11 +0000 (02:58 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 7 Jan 2015 01:14:57 +0000 (17:14 -0800)
commitf6385979d6dd670ce2dd93d4684579dd1d1d2435
treeb4eb1477945e8b2b53ee72efc26aab12d8ab7cba
parentd91649f5b719cd9d69206af7b3c4b4f6645e3b1e
i40e: Fix Rx checksum error counter

The Rx port checksum error counter was incrementing incorrectly with
UDP encapsulated tunneled traffic.  This patch fixes the problem so that
the port_rx_csum counter will show accurate statistics.

Signed-off-by: Anjali Singhai <anjali.singhai@intel.com>
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c