login
Header Space

 
 

net-sched 00/06: dynamically sized class hashes v2

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <netdev@...>
Cc: <devik@...>, Patrick McHardy <kaber@...>, <jarkao2@...>
Date: Thursday, July 3, 2008 - 11:16 am

These patches add support for dynamically sized class hash tables
to remove a major bottleneck in qdisc filters with many classes
when filters are not bound to classes and convert CBQ, HTB and HFSC
to use them.

Changes since the last posting are mostly suggestions from Martin
Devera and Jarek Poplawski:

- fix missing qdisc hash initialization in CBQ
- use classes directly in hlist iteration instead of Qdisc_class_common
- change qdisc_class_find to return Qdisc_class_common * instead of void *
- new patch to remove child and sibling lists from HTB
- all patches are tested now and considered ready for merging :)

The patches need the two filter destruction fixes that went into
net-2.6.git to apply cleanly, so they won't apply until net-2.6.git
is merged into net-next-2.6.git.


 include/net/sch_generic.h |   42 +++++++++++++
 net/sched/sch_api.c       |  104 ++++++++++++++++++++++++++++++++
 net/sched/sch_cbq.c       |  112 +++++++++++++++++------------------
 net/sched/sch_hfsc.c      |   81 ++++++++++++-------------
 net/sched/sch_htb.c       |  145 ++++++++++++++++++---------------------------
 5 files changed, 299 insertions(+), 185 deletions(-)

Patrick McHardy (6):
      net-sched: add dynamically sized qdisc class hash helpers
      net-sched: sch_hfsc: use dynamic class hash helpers
      net-sched: sch_cbq: use dynamic class hash helpers
      net-sched: sch_htb: move hash and sibling list removal to htb_delete
      net-sched: sch_htb: use dynamic class hash helpers
      net-sched: sch_htb: remove child and sibling lists
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
net-sched 00/06: dynamically sized class hashes v2, Patrick McHardy, (Thu Jul 3, 11:16 am)
Re: net-sched 00/06: dynamically sized class hashes v2, David Miller, (Sun Jul 6, 2:28 am)
Re: net-sched 00/06: dynamically sized class hashes v2, Jarek Poplawski, (Thu Jul 3, 12:14 pm)
Re: net-sched 00/06: dynamically sized class hashes v2, Patrick McHardy, (Thu Jul 3, 12:09 pm)
Re: net-sched 00/06: dynamically sized class hashes v2, Jarek Poplawski, (Thu Jul 3, 12:46 pm)
Re: net-sched 00/06: dynamically sized class hashes v2, Patrick McHardy, (Thu Jul 3, 12:49 pm)
net-sched 06/06: sch_htb: remove child and sibling lists, Patrick McHardy, (Thu Jul 3, 11:16 am)
net-sched 02/06: sch_hfsc: use dynamic class hash helpers, Patrick McHardy, (Thu Jul 3, 11:16 am)
net-sched 05/06: sch_htb: use dynamic class hash helpers, Patrick McHardy, (Thu Jul 3, 11:16 am)
net-sched 03/06: sch_cbq: use dynamic class hash helpers, Patrick McHardy, (Thu Jul 3, 11:16 am)
speck-geostationary