Commit e29fe837 authored by David Ward's avatar David Ward Committed by David S. Miller

net_sched: gred: correct comment about qavg calculation in RIO mode

Signed-off-by: default avatarDavid Ward <david.ward@ll.mit.edu>
Acked-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4b921eda
...@@ -176,7 +176,7 @@ static int gred_enqueue(struct sk_buff *skb, struct Qdisc *sch) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment