git: if: Multiple TX queue support step 3 of 3; map CPUID to subqueue

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Jan 13 02:48:25 PST 2013


commit 2cc2f6391cf953ba02d6c69d8282aed2d8d4caa8
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Jan 13 18:42:45 2013 +0800

    if: Multiple TX queue support step 3 of 3; map CPUID to subqueue
    
    Add CPUID to subqueue mapping method to ifaltq.  Driver could provide
    its own CPUID to subqueue mapping method through ifnet.if_mapsubq,
    which is used when ALTQ's packet scheduler is not enabled.  ALTQ's
    packet schedulers always map CPUID to the default subqueue.

Summary of changes:
 sys/net/altq/altq_cbq.c   |  2 +-
 sys/net/altq/altq_fairq.c |  5 ++---
 sys/net/altq/altq_hfsc.c  |  2 +-
 sys/net/altq/altq_priq.c  |  2 +-
 sys/net/altq/altq_subr.c  |  3 ++-
 sys/net/altq/if_altq.h    |  9 +++++++--
 sys/net/if.c              | 28 ++++++++++++++++++++--------
 sys/net/if_var.h          |  3 ++-
 sys/net/ifq_var.h         | 12 ++++++++++--
 9 files changed, 46 insertions(+), 20 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2cc2f6391cf953ba02d6c69d8282aed2d8d4caa8


-- 
DragonFly BSD source repository


More information about the Commits mailing list