[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A264B12.5030303@trash.net>
Date: Wed, 03 Jun 2009 12:06:10 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Jarek Poplawski <jarkao2@...il.com>
CC: Antonio Almeida <vexwek@...il.com>,
Stephen Hemminger <shemminger@...tta.com>,
netdev@...r.kernel.org, davem@...emloft.net, devik@....cz,
Eric Dumazet <dada1@...mosbay.com>,
Vladimir Ivashchenko <hazard@...ncoudi.com>
Subject: Re: [PATCH iproute2] Re: HTB accuracy for high speed
Patrick McHardy wrote:
>> PSCHED_SHIFT should be 4, right?
>
>> -#define SM_SHIFT 20
>> -#define ISM_SHIFT 18
>> +#define PSCHED_SHIFT 6 /* TODO: move to pkt_sched.h */
>> +#define SM_SHIFT (30 - PSCHED_SHIFT)
>> +#define ISM_SHIFT (8 + PSCHED_SHIFT)
>
> Actually I'm confused, why the additional change of 10?
OK, 10 - 6 = 4, got it :)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists