fix qos-scripts RED qdisc calculation for slow lines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5853 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
319225a9d4
commit
20b90a1252
2 changed files with 2 additions and 1 deletions
|
@ -275,6 +275,7 @@ BEGIN {
|
|||
print "sfq perturb 10 limit " cqlen
|
||||
} else {
|
||||
avpkt = 1200
|
||||
if (min < avpkt) min = avpkt
|
||||
min = int(limit * 1024 / 8 * 0.1)
|
||||
dqb = cqlen * 1500
|
||||
max = int(min + (dqb - min) * 0.25)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue