aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDavid Ward <[email protected]>2012-09-13 05:22:35 +0000
committerDavid S. Miller <[email protected]>2012-09-13 16:10:13 -0400
commitba1bf474eae07a128fae6252bf7d68eaef0eacf8 (patch)
treeb26f1d2656b2659935eff175c168604753f7a5e9 /tools/perf/util/trace-event-scripting.c
parent1fe37b106b039d9358fd1211c39b1fa199e547a8 (diff)
net_sched: gred: actually perform idling in WRED mode
gred_dequeue() and gred_drop() do not seem to get called when the queue is empty, meaning that we never start idling while in WRED mode. And since qidlestart is not stored by gred_store_wred_set(), we would never stop idling while in WRED mode if we ever started. This messes up the average queue size calculation that influences packet marking/dropping behavior. Now, we start WRED mode idling as we are removing the last packet from the queue. Also we now actually stop WRED mode idling when we are enqueuing a packet. Cc: Bruce Osler <[email protected]> Signed-off-by: David Ward <[email protected]> Acked-by: Jamal Hadi Salim <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions