commit 8433e5f5d8c2f12ecfd7e7e3fb517045abd0ff91
Author: Sepherosa Ziehau <[email protected]>
Date:   Sat Oct 26 20:38:01 2013 +0800

    mxge: Use chip private input hash instead of standard RSS input hash
    
    This restores RX performance when multiple RX queues are enable.
    
    If the stardard RSS input hash is used, the chip's firmware will compute
    the RSS hash (*); this kinda explains why using standard RSS input hash
    hurts RX performance greatly.
    
    Sysctl hw.mxgeX.use_rss is added to turn on standard RSS input hash.
    It is disabled by default.  It is also controlled globally by tunable
    hw.mxge.use_rss.
    
    (*) Thank Andrew Gallatin <[email protected]> for giving the hint.

Summary of changes:
 sys/dev/netif/mxge/if_mxge.c     | 51 +++++++++++++++++++++++++++++++++++++---
 sys/dev/netif/mxge/if_mxge_var.h |  1 +
 2 files changed, 49 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8433e5f5d8c2f12ecfd7e7e3fb517045abd0ff91


-- 
DragonFly BSD source repository

Reply via email to