git: mxge: Use chip private input hash instead of standard RSS input hash

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Oct 26 05:48:35 PDT 2013


commit 8433e5f5d8c2f12ecfd7e7e3fb517045abd0ff91
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
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 <gallatin at FreeBSD.org> 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


More information about the Commits mailing list