[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120913.161039.104251629136106139.davem@davemloft.net>
Date: Thu, 13 Sep 2012 16:10:39 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jhs@...atatu.com
Cc: david.ward@...mit.edu, netdev@...r.kernel.org, brosler@...co.com,
cyril@...com
Subject: Re: [PATCH 3/4] net_sched: gred: fix qave reporting via netlink
From: Jamal Hadi Salim <jhs@...atatu.com>
Date: Thu, 13 Sep 2012 14:01:59 -0400
> 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 <david.ward@...mit.edu>
>
> Acked-by: Jamal Hadi Salim <jhs@...atatu.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists