cvs commit: src/sys/dev/netif/mii_layer brgphy.c src/sys/dev/netif/bge if_bge.c if_bgereg.h

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Jun 19 08:01:37 PDT 2007


sephe       2007/06/19 07:59:41 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/mii_layer brgphy.c 
    sys/dev/netif/bge    if_bge.c if_bgereg.h 
  Log:
  Add sysctl/tunable for TX/RX interrupt coalescing variables.  Default
  values are obtained from empirical measurement on bcm5751(PCIe).
  Inspired-by: Bruce Evans <brde at optusnet.com.au> on freebsd-net mail list
  
  For a running bge(4), setting these sysctl variables will not take
  effect immediately; they are committed to device in the upcoming
  interrupt handler.
  Adapted-from: NetBSD if_bge.c 1.58 (jonathan at netbsd.org)
  
  # On Altima AC9100 (bcm5701 based), TX/RX interrupt coalescing values
  # seem to have no effect at all :(
  
  Revision  Changes    Path
  1.19      +1 -0      src/sys/dev/netif/mii_layer/brgphy.c
  1.81      +194 -4    src/sys/dev/netif/bge/if_bge.c
  1.22      +9 -0      src/sys/dev/netif/bge/if_bgereg.h


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/brgphy.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/bge/if_bge.c.diff?r1=1.80&r2=1.81&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/bge/if_bgereg.h.diff?r1=1.21&r2=1.22&f=u





More information about the Commits mailing list