DragonFly BSD
DragonFly commits List (threaded) for 2013-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 13 Jan 2013 02:48:25 -0800 (PST)

commit 2cc2f6391cf953ba02d6c69d8282aed2d8d4caa8
Author: Sepherosa Ziehau <sephe@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]