Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jun 2007 07:47:40 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/re if_re.c
Message-ID:  <200706030747.l537leHu035129@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2007-06-03 07:47:40 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/re           if_re.c 
  Log:
  MFC if_re.c, 1.84 to RELENG_6
    The TCP checksum offload handling in the 8111B/8168B and 8101E PCIe can
    apparently be confused by short TCP segments that have been manually
    padded to the minimum ethernet frame size. The driver does short frame
    padding in software as a workaround for a bug in the 8169 PCI devices
    that causes short IP fragments to be corrupted due to an apparent
    conflict between the hardware autopadding and hardware IP checksumming.
  
    To fix this, we avoid software padding for short TCP segments, since
    the hardware seems to autopad and checksum these correctly (even the
    older 8169 NICs get these right). Short UDP packets appear to be
    handled correctly in all cases. This should work around the IP header
    checksum bug in the 8169 while not tripping the TCP checksum bug in
    the 8111B/8168B and 8101E.
  
  PR:     112089
  
  Revision   Changes    Path
  1.46.2.29  +6 -1      src/sys/dev/re/if_re.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706030747.l537leHu035129>