DragonFly commits List (threaded) for 2008-10
DragonFly BSD
DragonFly commits List (threaded) for 2008-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/dev/netif/re if_re.c if_revar.h


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 17 Oct 2008 07:12:24 -0700 (PDT)

sephe       2008/10/17 07:12:24 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/re     if_re.c if_revar.h 
  Log:
  Correct jumbo frame support for 8168C/CP/D.
  
  These newer chips use ancient design, which does _not_ support gathering RX.
  An even worse aspect of the new chips' design is that it does not compat
  with old ones: the buffer length field in the RX descriptor seems to be
  completely ignored by the hardware.  This means host memory will be trashed
  by hardware if driver uses gathering RX.
  
  Allocate a jumbo buffer pool for these chips and configure "max RX packet
  size" register according to MTU.
  
  Revision  Changes    Path
  1.86      +265 -15   src/sys/dev/netif/re/if_re.c
  1.27      +26 -0     src/sys/dev/netif/re/if_revar.h


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/re/if_re.c.diff?r1=1.85&r2=1.86&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/re/if_revar.h.diff?r1=1.26&r2=1.27&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]