Qdisc Configuration
Extract of the configuration file
$TC qdisc add dev $DEV root handle 1: hfsc
$TC class add dev $DEV parent 1:0 classid 1:1 hfsc ls m2 ${MAX}bps ul m2 ${MAX}bps
$TC class add dev $DEV parent 1:1 classid 1:2 hfsc ls m2 $((${MAX}/3))bps
$TC class add dev $DEV parent 1:1 classid 1:3 hfsc ls m2 $((2*${MAX}/3))bps
$TC class add dev $DEV parent 1:2 classid 1:22 hfsc ls m2 $((${MAX}/9))bps
$TC class add dev $DEV parent 1:2 classid 1:23 hfsc ls m2 $((2*${MAX}/9))bps
$TC class add dev $DEV parent 1:2 classid 1:24 hfsc rt m1 $((2*${MAX}/9))bps d 1s m2 $((${MAX}/20))bps
$TC class add dev $DEV parent 1:2 classid 1:25 hfsc rt m1 $((${MAX}/9))bps d 1s m2 $((${MAX}/20))bps
$TC class add dev $DEV parent 1:3 classid 1:32 hfsc ls m2 $((2*${MAX}/3))bps
$TC class add dev $DEV parent 1:3 classid 1:33 hfsc rt m1 $((2*${MAX}/3))bps d 1s m2 $((${MAX}/20))bps