aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/myri10ge/myri10ge.c
diff options
context:
space:
mode:
authorDave Graham <david.graham@intel.com>2008-10-09 14:29:26 -0700
committerDavid S. Miller <davem@davemloft.net>2008-10-09 14:29:26 -0700
commit3ed30676f5bc9960c67644fa37c5fdc36ae47b5b (patch)
treec95e30027cec695c1ede5a967f084cd508e571f4 /drivers/net/myri10ge/myri10ge.c
parente1000e: don't generate bad checksums for tcp packets with 0 csum (diff)
downloadlinux-dev-3ed30676f5bc9960c67644fa37c5fdc36ae47b5b.tar.xz
linux-dev-3ed30676f5bc9960c67644fa37c5fdc36ae47b5b.zip
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>
Diffstat (limited to 'drivers/net/myri10ge/myri10ge.c')
0 files changed, 0 insertions, 0 deletions