Add sysctl/tunable for TX/RX interrupt coalescing variables. Default
commit4f1689bccba9749bc8a2a5d0bc58ea60f2ff2546
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 19 Jun 2007 14:59:41 +0000 (19 14:59 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 19 Jun 2007 14:59:41 +0000 (19 14:59 +0000)
tree5fcbcc7e8fa1f21008e9198c648c5c8960baf5aa
parentb1852be956b11cb4be60cecc856002dca237ee2b
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