git: bnx: Optimize RX STD ring refilling scheduling

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu May 9 02:08:56 PDT 2013


commit 625c3ba34fbf0d2f37dd186a84212634b8c2e137
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Wed May 8 09:42:58 2013 +0800

    bnx: Optimize RX STD ring refilling scheduling
    
    At the end of the RX RET ring interrupt, the RX STD ring refilling is
    scheduled only when the number of consumed RX BDs are more then half of
    the RX STD ring size (256).
    
    This reduces the IPI rate on CPU that performs the RX STD ring refilling
    from ~17000ipis/s to ~4000ipis/s on the system with heavy network loading.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/625c3ba34fbf0d2f37dd186a84212634b8c2e137


-- 
DragonFly BSD source repository



More information about the Commits mailing list