Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Apr 2007 02:39:33 +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/msk if_msk.c
Message-ID:  <200704140239.l3E2dXKS022369@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2007-04-14 02:39:33 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/msk          if_msk.c 
  Log:
  MFC if_msk.c, rev. 1.13 to RELENG_6
    Add work around for hardware Tx checksum offload bug in Yukon II.
    Yukon II generated corrupted TCP checksum for short TCP packets
    that's less than 60 bytes in size(e.g. window probe packet, pure ACK
    packet etc). Padding the frame with zeros to make the frame minimum
    ethernet frame size didn't work at all. Instead of dropping Tx
    checksum offload support we calculate TCP checksum with S/W method
    when we encounter short TCP frames.
    Fortunately it seems that short UDP datagrams appear to be handled
    correctly by Yukon II.
  
    While I'm here simplify ethernet/VLAN header size calculation logic.
  
    PR:   111384
  
  Revision  Changes    Path
  1.11.2.4  +25 -5     src/sys/dev/msk/if_msk.c



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