Thread (34 messages) 34 messages, 4 authors, 2011-03-04

Re: [PATCH] sched: QFQ - quick fair queue scheduler (v2)

flat view

From: Eric Dumazet <hidden>
Date: 2011-03-02 15:41:26

Le lundi 28 février 2011 à 17:17 -0800, Stephen Hemminger a écrit :

quoted hunk ↗ jump to hunk
--- a/include/linux/pkt_sched.h	2011-02-28 13:28:57.763177314 -0800
+++ b/include/linux/pkt_sched.h	2011-02-28 13:29:10.466792117 -0800
@@ -588,4 +588,18 @@ struct tc_sfb_xstats {
 
 #define SFB_MAX_PROB 0xFFFF
 
+/* QFQ */
+enum {
+	TCA_QFQ_UNSPEC,
quoted hunk ↗ jump to hunk
+	TCA_QFQ_WEIGHT,
+	TCA_QFQ_LMAX,
+	__TCA_QFQ_MAX
+};
+
+#define TCA_QFQ_MAX	(__TCA_QFQ_MAX - 1)
+
With TCA_QFQ_UNSPEC bit (and mirror the change in iproute2), it seems to
work better.

Oh wait, I had a crash in qfq_reset_qdisc() when re-running my setup
script.


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help