Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] htb, class, prio
@ 2002-05-14  9:38 Catalin BOIE
  2002-05-14  9:47 ` Stef Coene
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Catalin BOIE @ 2002-05-14  9:38 UTC (permalink / raw)
  To: lartc

Hello!

Seems that whatever I set for prio for a htb class it is always set to 3.
Example script:

ifconfig dummy1 up
ifconfig dummy1 200.200.200.200 netmask 255.255.255.248

tc qdisc del dev dummy1 root

tc qdisc add dev dummy1 root handle 2: htb

tc class add dev dummy1 parent 2: classid 2:1 \
        htb prio 7 rate 1000bps ceil 2000bps
               ^^^^^

Dump:
# tc -s -d -r class show dev dummy1
class htb 2:1 root prio 3 rate 1000bps ceil 2000bps burst 1609b/8 mpu 0b
                      ^^^^^
cburst 1619b/8 mpu 0b quantum 100 level 0 buffer [00142000] cbuffer [000a2000]
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0 injects: 0
 tokens: 1318912 ctokens: 663552


Thanks!

---
Catalin(ux) BOIE
catab@deuroconsult.ro
openh323://dino.rdsbv.ro

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2002-11-07 14:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-14  9:38 [LARTC] htb, class, prio Catalin BOIE
2002-05-14  9:47 ` Stef Coene
2002-05-14 12:09 ` Martin Devera
2002-11-07 14:31 ` Martin Devera

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