Date: Mon, 29 Nov 2010 13:36:20 +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: <201011291336.oATDaY1s045075@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gallatin 2010-11-29 13:36:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/mxge if_mxge.c Log: SVN rev 216054 on 2010-11-29 13:36:20Z by gallatin MFC 215686: 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. Revision Changes Path 1.64.2.14 +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?201011291336.oATDaY1s045075>