git: ifq: Add ifq_purge_all(); currently it's same as ifq_purge()

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Dec 27 19:13:31 PST 2012


commit 9275f515abe8cae6b7a06bc94290bc587dd0e912
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Fri Dec 28 11:08:35 2012 +0800

    ifq: Add ifq_purge_all(); currently it's same as ifq_purge()
    
    This paves the way for the multiple transmission queues support.
    
    ifq_purge_all() is used when ALTQ packet scheduler is changed,
    interface routing is changed and pseudo devices are closed.

Summary of changes:
 sys/net/altq/altq_cbq.c    |    2 +-
 sys/net/altq/altq_fairq.c  |    2 +-
 sys/net/altq/altq_hfsc.c   |    2 +-
 sys/net/altq/altq_priq.c   |    2 +-
 sys/net/altq/altq_subr.c   |    4 ++--
 sys/net/if.c               |    4 ++--
 sys/net/ifq_var.h          |   18 ++++++++++++++++++
 sys/net/sppp/if_spppsubr.c |    2 +-
 sys/net/tap/if_tap.c       |    2 +-
 sys/net/tun/if_tun.c       |    2 +-
 10 files changed, 29 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9275f515abe8cae6b7a06bc94290bc587dd0e912


-- 
DragonFly BSD source repository


More information about the Commits mailing list