Displaying 2 results from an estimated 2 matches for "wrr_max_classes".
2004 Jan 19
0
problem with wrr+prio
...add dev $DEV root handle 8000: htb default 1
tc class add dev $DEV parent 8000:0 classid 8000:1 htb \
rate ${RATE}kbit prio 2
# add wrr for correct direction, matching ip, # classes, no proxy
# remap
tc qdisc add dev $DEV parent 8000:1 handle 8001: \
wrr $WRR_DIRECTION ip $WRR_MAX_CLASSES 0
declare -i NUM=$WRR_MAX_CLASSES;
while [ $NUM -ge 1 ]; do
HNUM=$(printf %X $NUM)
tc qdisc add dev $DEV parent 8001:$HNUM handle $HNUM: prio
NUM=$NUM-1
done
tc class add dev $DEV parent 8000:0 classid 8000:2 htb prio 1 \
rate ${RATE}kbit
tc filter add dev $...
2005 Feb 03
0
Kernel panic when using wrr qd
For some time now im trying to get to know what causes such
configuration of QOS (kernel 2.4.25-2.4.28 + IMQ patch and ofcourse wrr):
--
WRR_MAX_CLASSES=200
DEV_IN=imq0
ifconfig $DEV_IN down
ifconfig $DEV_IN up
tc qdisc add dev ${DEV_IN} handle 1:0 root htb default 10
tc class add dev ${DEV_IN} parent 1:0 classid 1:10 htb rate 1000kbit burst
1kbit prio 1
tc qdisc add dev ${DEV_IN} parent 1:10 handle 10: htb default 190
tc class add dev ${DEV_IN} pa...