From: Patrick McHardy <kaber@trash.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB burst/cburst decremented by one
Date: Fri, 16 Dec 2005 02:24:15 +0000 [thread overview]
Message-ID: <43A2254F.6090805@trash.net> (raw)
In-Reply-To: <20051214214610.GB13441@DervishD>
DervishD wrote:
> Hi all :)
>
> If I set the burst/cburst parameter to, let's say, 1500, the
> command "tc -s -d class show dev eth0" says that the value is 1499b/8
> instead of the (correct?) 1500b/8.
>
> Is this right or am I doing anything wrong?
No, this is related to an integer division loosing precision in some
cases. I'm looking into a fix, but it might take a while.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2005-12-16 2:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-14 21:46 [LARTC] HTB burst/cburst decremented by one DervishD
2005-12-16 2:24 ` Patrick McHardy [this message]
2005-12-16 6:43 ` DervishD
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=43A2254F.6090805@trash.net \
--to=kaber@trash.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.