Thread (102 messages) 102 messages, 9 authors, 2009-06-04

Re: [PATCH iproute2] Re: HTB accuracy for high speed

From: Jarek Poplawski <hidden>
Date: 2009-06-03 10:27:52

Possibly related (same subject, not in this thread)

On Wed, Jun 03, 2009 at 12:06:10PM +0200, Patrick McHardy wrote:
Patrick McHardy wrote:
quoted
quoted
PSCHED_SHIFT should be 4, right?
quoted
-#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 :)
If you wanted to console me after my hfsc confusions, you did it!

Thanks again,
Jarek P.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help