OpenCloudOS-Kernel/drivers/net/e1000e
Dave Graham af807c8297 e1000e: don't generate bad checksums for tcp packets with 0 csum
When offloading transmit checksums only, the driver was not
correctly configuring the hardware to handle the case of a zero
checksum.  For UDP the correct behavior is to leave it alone, but
for tcp the checksum must be changed from 0x0000 to 0xFFFF.  The
hardware takes care of this case but only if it is told the
packet is tcp.

Signed-off-by: Dave Graham <david.graham@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-10-09 14:28:58 -07:00
..
82571.c e1000e: add support for new 82574L part 2008-09-03 10:08:13 -04:00
Makefile e1000e: reformat comment blocks, cosmetic changes only 2008-03-28 22:14:56 -04:00
defines.h e1000e: add support for new 82574L part 2008-09-03 10:08:13 -04:00
e1000.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-10-08 14:56:41 -07:00
es2lan.c e1000e: add support for new 82574L part 2008-09-03 10:08:13 -04:00
ethtool.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-10-08 14:56:41 -07:00
hw.h e1000e: add support for new 82574L part 2008-09-03 10:08:13 -04:00
ich8lan.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-10-08 14:56:41 -07:00
lib.c e1000e: release hw semaphore after successfully writing EEPROM 2008-10-08 16:47:58 -07:00
netdev.c e1000e: don't generate bad checksums for tcp packets with 0 csum 2008-10-09 14:28:58 -07:00
param.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-10-08 14:56:41 -07:00
phy.c e1000e: add support for new 82574L part 2008-09-03 10:08:13 -04:00