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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Oct 9 05:43:36 PDT 2008


sephe       2008/10/09 05:41:03 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/re     if_re.c if_rereg.h if_revar.h 
  Log:
  Use hardware timer to simulate interrupt moderation.  Old devices will no
  longer be livelocked when they are receiving on GigE line.  Newer devices
  also gain well controlled interrupt rate.
  
  If hardware supports interrupt moderation (e.g. 8168B, 8168C), you could
  also use hardware based interrupt moderation, however, due to lack of
  necessary information it does not work as reliably as simulated interrupt
  moderation.  It is _not_ recommended currently.
  
  By default, PCI-E devices' simulated interrupt moderation timer is set to
  75us, while PCI devices' is set to 125us.
  
  Revision  Changes    Path
  1.73      +356 -89   src/sys/dev/netif/re/if_re.c
  1.17      +10 -1     src/sys/dev/netif/re/if_rereg.h
  1.17      +13 -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.72&r2=1.73&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/re/if_rereg.h.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/re/if_revar.h.diff?r1=1.16&r2=1.17&f=u





More information about the Commits mailing list