Add sysctl/tunable for TX/RX interrupt coalescing variables. Default
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 19 Jun 2007 14:59:41 +0000 (14:59 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 19 Jun 2007 14:59:41 +0000 (14:59 +0000)
commit055d06f021be1ee176432bd0ca2ab69b3cfe606d
tree5761a33197e6013416fba9fe82c0078686be9e77
parenteb4846644b091e32ff65ec52e825a32521037b39
Add sysctl/tunable for TX/RX interrupt coalescing variables.  Default
values are obtained from empirical measurement on bcm5751(PCIe).
Inspired-by: Bruce Evans <brde@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@netbsd.org)

# On Altima AC9100 (bcm5701 based), TX/RX interrupt coalescing values
# seem to have no effect at all :(
sys/dev/netif/bge/if_bge.c
sys/dev/netif/bge/if_bgereg.h
sys/dev/netif/mii_layer/brgphy.c