Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jun 2009 04:35:44 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/msk if_msk.c if_mskreg.h
Message-ID:  <200906021756.n52HuG7F081821@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2009-06-02 04:35:44 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/msk          if_msk.c if_mskreg.h 
  Log:
  SVN rev 193294 on 2009-06-02 04:35:44Z by yongari
  
  Add frame parser capability of Yukon FE+ and Yukon Extreme. With
  this feature hardware automatically computes TCP/UDP payload
  offset. Introduce MSK_FLAG_AUTOTX_CSUM to mark the capability.
  Yukon Extreme B0 revision is known to have a silicon for the
  feature so disable it. Yukon Extreme B0 still can do Tx checksum
  offloading but CPU have to compute TCP/UDP payload offset. To
  enable traditional checksum offloading, disable automatic Tx
  checksum calculation capability.
  Yukon Extreme A0 revision could not use store-and-forward mode for
  jumbo frames(silicon bug) so disable Tx checksum offloading for
  jumbo frames.
  
  I believe controllers that have MSK_FLAG_AUTOTX_CSUM capability or
  new descriptor format do not have Tx checksum offload bug so
  disable checksum offloading workaround for for short frames.
  
  Tested by:      jhb, Warren Block ( wblock <> wonkity dot com )
  
  Revision  Changes    Path
  1.61      +44 -11    src/sys/dev/msk/if_msk.c
  1.25      +3 -2      src/sys/dev/msk/if_mskreg.h



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