Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2010 13:36:37 +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.oATDatLS045110@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
gallatin    2010-11-29 13:36:37 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/dev/mxge         if_mxge.c 
  Log:
  SVN rev 216055 on 2010-11-29 13:36:37Z 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.42.2.18  +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.oATDatLS045110>