linux/drivers/net/e1000
Dave Graham 3ed30676f5 e1000: 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.

same patch as e1000e

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:29:26 -07:00
..
e1000.h e1000: remove unused Kconfig option for disabling packet split 2008-09-24 22:17:42 -04:00
e1000_ethtool.c e1000: Move assignments in tests before test 2008-07-22 19:39:03 -04:00
e1000_hw.c e1000: prevent corruption of EEPROM/NVM 2008-09-18 21:40:24 -04:00
e1000_hw.h e1000: convert uint16_t style integers to u16 2008-04-16 20:41:45 -04:00
e1000_main.c e1000: don't generate bad checksums for tcp packets with 0 csum 2008-10-09 14:29:26 -07:00
e1000_osdep.h e1000: Remove spaces after casts and function names 2008-07-22 19:38:52 -04:00
e1000_param.c e1000: fix stack size 2008-08-27 13:56:27 -07:00
Makefile e100, e1000, ixgb: update copyright header and remove LICENSE 2006-09-27 12:53:14 -07:00