Netdev List
 help / color / mirror / Atom feed
* DRR example, how to replace SFQ
@ 2009-03-12  0:01 Denys Fedoryschenko
  2009-03-12  7:25 ` Jarek Poplawski
  0 siblings, 1 reply; 2+ messages in thread
From: Denys Fedoryschenko @ 2009-03-12  0:01 UTC (permalink / raw)
  To: netdev, Jarek Poplawski

If i understand right, it must look like this to simulate SFQ 
This example with just 2 "queues".

tc qdisc add dev eth0.100 root handle 1: htb

tc class add dev eth0.100 parent 1: classid 1:1 htb rate 15Kbit ceil 15Kbit

tc qdisc add dev eth0.100 parent 1:1 handle 2: drr

tc class add dev eth0.100 parent 2: classid 2:1 drr quantum 1600
tc class add dev eth0.100 parent 2: classid 2:2 drr quantum 1600

tc qdisc add dev eth0.100 parent 2:1 handle 10: bfifo 9000
tc qdisc add dev eth0.100 parent 2:2 handle 11: bfifo 9000

tc filter add dev eth0.100 parent 1: protocol ip prio 5 u32 match u32 0 0 
flowid 1:1

tc filter add dev eth0.100 parent 2: protocol ip prio 10 handle 1 flow keys 
dst divisor 2 baseclass 2:1

Is it correct?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-12  7:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-12  0:01 DRR example, how to replace SFQ Denys Fedoryschenko
2009-03-12  7:25 ` Jarek Poplawski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox