mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 14:47:46 +01:00
fix qos-scripts RED qdisc calculation for slow lines
SVN-Revision: 5853
This commit is contained in:
parent
64335e3ddb
commit
e3a0c3b9fd
@ -9,7 +9,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=qos-scripts
|
||||
PKG_VERSION:=0.9.3
|
||||
PKG_VERSION:=0.9.4
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||
|
@ -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…
Reference in New Issue
Block a user