bce: Disable RX max BDs based interrupt moderation
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 11 Dec 2012 11:20:17 +0000 (19:20 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 12 Dec 2012 12:15:07 +0000 (20:15 +0800)
commit47388162eff1ff692a152b98b5b12d547067a026
tree7aa7c566879b5d74cc988fd6eac17ff06cf73deb
parentf6e9f793ec68bbfe24b884db8842ca968c14ade6
bce: Disable RX max BDs based interrupt moderation

The RX max coalesce BDs is limited to 255, which means that the chip will
generate ~5800 interrupts/s when it sinks 1.48Mpps tiny packets.  However,
interrupt rate at 4500Hz is already enough for the chip to sink 1.48Mpps
tiny packets, so ticks based RX interrupt moderation should be prefered.
sys/dev/netif/bce/if_bce.c