Add sysctl/tunable for TX/RX interrupt coalescing variables. Default
commitd48cafe8b0e5084f1b7744ee647f388c6aa73bd7
authorsephe <sephe>
Tue, 19 Jun 2007 14:59:41 +0000 (19 14:59 +0000)
committersephe <sephe>
Tue, 19 Jun 2007 14:59:41 +0000 (19 14:59 +0000)
tree7624e0527581af08fb51fcb93a7eba7833b3abb4
parent2477bc075a2ab3712db7c3939d0685aa2ef143fe
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