freebsd-dev/sys/dev/mxge
Andrew Gallatin 4ed8ca8f25 Fix a TSO checksum bug on mxge(4):
The Myri10GE NIC will assume all TSO frames contain partial checksum,
and will emit TSO segments with bad TCP checksums if a TSO frame
contains a full checksum.  The mxge driver takes care to make sure
that TSO is disabled when checksum offload is disabled for this
reason.  However, modules that modify packet contents (like pf) may
end up completing a checksum on a TSO frame, leading to the NIC emitting
TSO segments with bad checksums.

To workaround this, restore the partial checksum in the mxge driver
when we're fed a TSO frame with a full checksum.

Reported by: Bob Healey

MFC after:	3 days
2010-11-22 16:43:05 +00:00
..
eth_z8e.h Update mxge firmware to latest available from Myricom. 2010-05-19 19:44:00 +00:00
ethp_z8e.h Update mxge firmware to latest available from Myricom. 2010-05-19 19:44:00 +00:00
if_mxge_var.h Cleanup if_media handling in mxge(4) 2010-04-15 13:50:55 +00:00
if_mxge.c Fix a TSO checksum bug on mxge(4): 2010-11-22 16:43:05 +00:00
mcp_gen_header.h Update the mxge(4) driver's copyright to 2007, and drop 2007-07-12 16:04:55 +00:00
mxge_eth_z8e.c - Enable static building of mxge(4) and its firmware. 2007-07-19 16:16:00 +00:00
mxge_ethp_z8e.c - Enable static building of mxge(4) and its firmware. 2007-07-19 16:16:00 +00:00
mxge_lro.c Implement minimal set of changes suggested by bz to make 2009-06-23 17:42:06 +00:00
mxge_mcp.h Better support for recent Myricom 10GbE NICs 2009-02-17 22:15:58 +00:00
mxge_rss_eth_z8e.c Add optional support to mxge for MSI-X interrupts and multiple receive 2008-01-15 20:34:49 +00:00
mxge_rss_ethp_z8e.c Add optional support to mxge for MSI-X interrupts and multiple receive 2008-01-15 20:34:49 +00:00
rss_eth_z8e.h Update mxge firmware to latest available from Myricom. 2010-05-19 19:44:00 +00:00
rss_ethp_z8e.h Update mxge firmware to latest available from Myricom. 2010-05-19 19:44:00 +00:00