git: bnx: Disable RX max BDs based interrupt moderation

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Aug 8 06:16:39 PDT 2012


commit 306e54983ee873f2ef1c55b94257b6b1f47c70d3
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Wed Aug 8 21:11:11 2012 +0800

    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.

Summary of changes:
 sys/dev/netif/bnx/if_bnx.c    |    4 ++--
 sys/dev/netif/bnx/if_bnxvar.h |    4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/306e54983ee873f2ef1c55b94257b6b1f47c70d3


-- 
DragonFly BSD source repository





More information about the Commits mailing list