Thread (14 messages) flat view 14 messages, 3 authors, 2012-09-13

Re: [PATCH 3/4] net_sched: gred: fix qave reporting via netlink

From: Jamal Hadi Salim <jhs@mojatatu.com>
Date: 2012-09-13 18:02:02

On 12-09-13 11:22 AM, David Ward wrote:
q->vars.qavg is a Wlog scaled value, but q->backlog is not. In order
to pass q->vars.qavg as the backlog value, we need to un-scale it.
Additionally, the qave value returned via netlink should not be Wlog
scaled, so we need to un-scale the result of red_calc_qavg().

This caused artificially high values for "Average Queue" to be shown
by 'tc -s -d qdisc', but did not affect the actual operation of GRED.

Signed-off-by: David Ward <redacted>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help