cvs commit: src/sys/dev/netif/bce if_bce.c if_bcereg.h

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed May 28 03:52:50 PDT 2008


sephe       2008/05/28 03:51:56 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/bce    if_bce.c if_bcereg.h 
  Log:
  - Add tunables and sysctl nodes for interrupt moderation variables.
    Settings are committed to device during device initialization or in
    interrupt routine.
  - Default interrupt moderation variables' value from Broadcom's driver
    seem to be misconfigiured.  Following changes are made:
    Send max coalesced BD count		20 -> 24
    Send coalescing ticks			80 -> 1000 (~1000HZ)
    Receive max coalesced BD count	6  -> 24
    Receive coalescing ticks		18 -> 125  (~8000Hz)
    Two changes on "Receive" interrupt moderation variables avoid livelock
  
  Revision  Changes    Path
  1.10      +240 -9    src/sys/dev/netif/bce/if_bce.c
  1.2       +18 -8     src/sys/dev/netif/bce/if_bcereg.h


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/bce/if_bce.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/bce/if_bcereg.h.diff?r1=1.1&r2=1.2&f=u





More information about the Commits mailing list