From: Felix Fietkau Date: Thu, 21 Jan 2016 22:26:15 +0000 (+0000) Subject: qos-scripts: stop overriding tx queue length X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b1f1b528a17911eaa1031c7e3f01c6a130e95df0;p=librecmc%2Flibrecmc.git qos-scripts: stop overriding tx queue length Signed-off-by: Felix Fietkau SVN-Revision: 48445 --- diff --git a/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh b/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh index caa1125795..b6f69da354 100755 --- a/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh +++ b/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh @@ -321,7 +321,7 @@ start_interface() { append cstr "$classnr:$prio:$avgrate:$pktsize:$pktdelay:$maxrate:$qdisc:$filter" "$N" done append ${prefix}q "$(tcrules)" "$N" - export dev_${dir}="ifconfig $dev up txqueuelen 5 >&- 2>&- + export dev_${dir}="ifconfig $dev up >&- 2>&- tc qdisc del dev $dev root >&- 2>&- tc qdisc add dev $dev root handle 1: hfsc default ${class_default}0 tc class add dev $dev parent 1: classid 1:1 hfsc sc rate ${rate}kbit ul rate ${rate}kbit"