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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Fri Oct 17 07:14:13 PDT 2008


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





More information about the Commits mailing list