Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Catalin BOIE <catab@deuroconsult.ro>
To: lartc@vger.kernel.org
Subject: [LARTC] htb, class, prio
Date: Tue, 14 May 2002 09:38:07 +0000	[thread overview]
Message-ID: <marc-lartc-102136917232748@msgid-missing> (raw)

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/

             reply	other threads:[~2002-05-14  9:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-14  9:38 Catalin BOIE [this message]
2002-05-14  9:47 ` [LARTC] htb, class, prio Stef Coene
2002-05-14 12:09 ` Martin Devera
2002-11-07 14:31 ` Martin Devera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-102136917232748@msgid-missing \
    --to=catab@deuroconsult.ro \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox