aboutsummaryrefslogtreecommitdiffstats
path: root/main/iproute2-qos/qos.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/iproute2-qos/qos.initd')
-rw-r--r--main/iproute2-qos/qos.initd6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/iproute2-qos/qos.initd b/main/iproute2-qos/qos.initd
index d8001117a6..b04d629913 100644
--- a/main/iproute2-qos/qos.initd
+++ b/main/iproute2-qos/qos.initd
@@ -67,8 +67,8 @@ bits()
expand_leaf_qdisc()
{
case "$1" in
- pfifo) echo "pfifo limit 5";;
- sfq) echo "sfq perturb 10";;
+ pfifo) echo "pfifo limit ${PFIFO_LIMIT-20480}";;
+ sfq) echo "sfq perturb ${SFQ_PERTURB-10}";;
red) echo "red min $RED_MIN max $RED_MAX burst $RED_BURST limit $RED_LIMIT probability $RED_PROB avpkt $RED_AVPKT";;
esac
}
@@ -225,7 +225,7 @@ set_filters()
#
set_htb()
{
- $ECHO tc qdisc add dev $DEV root handle 1 htb default 60
+ $ECHO tc qdisc add dev $DEV root handle 1 htb default 60 r2q ${HTB_R2Q-100}
$ECHO tc class add dev $DEV parent 1: classid 1:2 htb rate $DEV_RATE burst $(($DEV_RATE*5/4))
$ECHO tc class add dev $DEV parent 1:2 classid 1:30 htb rate $WAN_SUB_RATE burst $(($WAN_SUB_RATE*5/4))
$ECHO tc class add dev $DEV parent 1:30 classid 1:40 htb rate $INTERACTIVE_RATE ceil $WAN_SUB_RATE prio 1