Skip to contentSkip to conversation

iproute2: sch_rr support in tc

PATCH New PJ Waskiewicz 2 participants 3 messages Jun 21, 2007 – Jun 22, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iproute2: sch_rr support in tc

This patch is to support the new sch_rr (round-robin) qdisc being proposed in NET for multiqueue network device support in the Linux network stack. It uses q_prio.c as the template, since the qdiscs are nearly identical, outside of the ->dequeue() routine.

I'm soliciting feedback for a 2.6.23 multiqueue submission. Thanks.

Signature · 1 line
PJ Waskiewicz <[email protected]>
#1 lore raw

PATCH 1/1 iproute2: Added support for RR qdisc (sch_rr)

Add tc support for the sch_rr qdisc. This qdisc supports multiple queues
on hardware. The syntax for sch_rr is the same as sch_prio.

---

 tc/Makefile |    1 +
 tc/q_rr.c   |  113 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 114 insertions(+), 0 deletions(-)
tc/Makefile +1 -0
index 9d618ff..62e2697 100644
@@ -9,6 +9,7 @@ TCMODULES += q_fifo.o
 TCMODULES += q_sfq.o
 TCMODULES += q_red.o
 TCMODULES += q_prio.o
+TCMODULES += q_rr.o
 TCMODULES += q_tbf.o
 TCMODULES += q_cbq.o
 TCMODULES += f_rsvp.o
tc/q_rr.c new file +113 -0

113 lines not on this page · raw message

#2 lore raw

Re: [PATCH] iproute2: Added support for RR qdisc (sch_rr)

Quoted 5 lines · On Thu, 21 Jun 2007 14:27:04 -0700 PJ Waskiewicz…

Add tc support for the sch_rr qdisc. This qdisc supports multiple queues
on hardware. The syntax for sch_rr is the same as sch_prio.

If the rr discipline makes it into mainline, I'll add it to iproute2. If RR stays out of tree, then you need maintain it yourself