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

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

From: Patrick McHardy <hidden>
Date: 2009-06-03 10:06:09

Possibly related (same subject, not in this thread)

Patrick McHardy wrote:
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 :)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help