ixgbe: fix for 82599 errata marking UDP checksum errors
authorDon Skidmore <donald.c.skidmore@intel.com>
Thu, 23 Jul 2009 18:00:39 +0000 (18:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2009 03:20:47 +0000 (20:20 -0700)
commit8bae1b2b13beb4cf4c0f119f97640503c2b74b0f
treef66e5ff4f682c7eb8fb46b90b3c6ba8aa2e3a143
parentca52efd5490f97f396d3c5863ba714624f272033
ixgbe: fix for 82599 errata marking UDP checksum errors

There is an 82599 errata that UDP frames with a zero checksum are
incorrectly marked as checksum invalid by the hardware.  This was
leading to misleading hw_csum_rx_error counts. This patch adds a
test around this counter increase for this condition.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c