1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/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
mxge_eth_z8e.c
mxge_ethp_z8e.c
mxge_lro.c
mxge_mcp.h
mxge_rss_eth_z8e.c
mxge_rss_ethp_z8e.c
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