]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix rx csum return status misinterpretation
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Tue, 26 Aug 2008 11:26:56 +0000 (04:26 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 3 Sep 2008 14:03:32 +0000 (10:03 -0400)
commit1a110d85ebf9b81c5778e5a30a0c2eea97674884
tree518486567505a1978d36b78354fdbd6675c8d424
parent866a689a31963645ae0b88ece5c74fde85b63660
ixgbe: fix rx csum return status misinterpretation

the driver was misinterpreting rx_csum return value in the descriptor
so occassionally we would indicate an rx_csum error in our stats
when there was none.  This would have no effect on traffic because
we would just hand the packet to the stack anyway without the offload
flag set, but would increase CPU for those packets that needed a recompute.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/ixgbe/ixgbe_main.c