bnx: Disable RX max BDs based interrupt moderation
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 8 Aug 2012 13:11:11 +0000 (21:11 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 8 Aug 2012 13:11:11 +0000 (21:11 +0800)
commit306e54983ee873f2ef1c55b94257b6b1f47c70d3
tree306cb4dfa571421c67767ffeec353477aef0dae8
parent8a382fe765fbbc699d3101448acff2ab459c3065
bnx: 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 4000Hz is already enough for the chip to sink 1.48Mpps
tiny packets, so ticks based RX interrupt moderation should be prefered.
sys/dev/netif/bnx/if_bnx.c
sys/dev/netif/bnx/if_bnxvar.h