net_sched: gred: correct comment about qavg calculation in RIO mode
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>
This commit is contained in:
committed by
David S. Miller
parent
4b921eda53
commit
e29fe837bf
@@ -176,7 +176,7 @@ static int gred_enqueue(struct sk_buff *skb, struct Qdisc *sch)
|
|||||||
skb->tc_index = (skb->tc_index & ~GRED_VQ_MASK) | dp;
|
skb->tc_index = (skb->tc_index & ~GRED_VQ_MASK) | dp;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* sum up all the qaves of prios <= to ours to get the new qave */
|
/* sum up all the qaves of prios < ours to get the new qave */
|
||||||
if (!gred_wred_mode(t) && gred_rio_mode(t)) {
|
if (!gred_wred_mode(t) && gred_rio_mode(t)) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user