From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Date: Fri, 16 Dec 2005 02:24:15 +0000 Subject: Re: [LARTC] HTB burst/cburst decremented by one Message-Id: <43A2254F.6090805@trash.net> List-Id: References: <20051214214610.GB13441@DervishD> In-Reply-To: <20051214214610.GB13441@DervishD> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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