summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorDavid Ward2012-09-13 07:22:34 +0200
committerDavid S. Miller2012-09-13 22:10:13 +0200
commit1fe37b106b039d9358fd1211c39b1fa199e547a8 (patch)
treec7b84405616fc88087f174f4e4934a65a483032e /Kbuild
parentnet_sched: gred: eliminate redundant DP prio comparisons (diff)
downloadkernel-qcow2-linux-1fe37b106b039d9358fd1211c39b1fa199e547a8.tar.gz
kernel-qcow2-linux-1fe37b106b039d9358fd1211c39b1fa199e547a8.tar.xz
kernel-qcow2-linux-1fe37b106b039d9358fd1211c39b1fa199e547a8.zip
net_sched: gred: fix qave reporting via netlink
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 <david.ward@ll.mit.edu> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions