Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 2010 18:32:02 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/sge if_sge.c if_sgereg.h
Message-ID:  <201005061832.o46IWEJl052050@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2010-05-06 18:32:02 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/dev/sge          if_sge.c if_sgereg.h 
  Log:
  SVN rev 207713 on 2010-05-06 18:32:02Z by yongari
  
  MFC r207379:
    Enable FCS stripping and padding 10 bytes bit of RX MAC control
    register. Due to lack of SiS190 controller, I'm not sure whether
    this is also applicable to SiS190 so this feature is only activated
    on SiS191 controller.
    The controller can pad 10 bytes before DMAing a received frame to
    RX buffer and received bytes include the padded bytes. This padding
    is very useful on strict-alignment architectures because driver
    does not have to copy received frame to align IP header on 4 bytes
    boundary. It also gives better RX performance on non-strict
    alignment architectures. Special thanks to xclin to give me
    valuable register information. Without his enthusiastic trial and
    errors this wouldn't be even possible.
  
    While I'm here tighten validity check of received frame. Controller
    clears RDS_CRCOK bit when it received bad CRC frames. xclin found
    that using loop back testing.
  
    Tested by:    xclin <xclin <> cs dot nctu dot edu dot tw >
  
  Revision  Changes    Path
  1.3.4.6   +28 -5     src/sys/dev/sge/if_sge.c
  1.1.4.4   +4 -0      src/sys/dev/sge/if_sgereg.h



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