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

Sepherosa Ziehau sephe at
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 
  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

More information about the Commits mailing list