Date: Mon, 22 Nov 2010 16:43:05 +0000 (UTC) From: Andrew Gallatin <gallatin@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/mxge if_mxge.c Message-ID: <201011221643.oAMGhQAB054453@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gallatin 2010-11-22 16:43:05 UTC
FreeBSD src repository
Modified files:
sys/dev/mxge if_mxge.c
Log:
SVN rev 215686 on 2010-11-22 16:43:05Z by gallatin
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
Revision Changes Path
1.82 +12 -1 src/sys/dev/mxge/if_mxge.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011221643.oAMGhQAB054453>
