Ticket #8689: hsfc-no-imq.txt

File hsfc-no-imq.txt, 577 bytes (added by josephlanders@…, 7 years ago)

Tc / HSFC script without IMQ

Line 
1
2rmmod sch_hfsc
3insmod sch_hfsc
4
5rmmod sch_sfq
6insmod sch_sfq
7
8tc qdisc del dev eth0 root
9
10tc qdisc add dev  eth0 root handle 2: hfsc
11tc class add dev eth0 parent 2: classid 2:2 hfsc sc rate 345kbit ul rate 345kbit  ### CRASHES HERE
12tc class add dev  eth0 parent 2:2 classid 2:110  hfsc sc umax 1500b dmax 10ms rate 100kbit ul rate 145kbit
13tc class add dev  eth0 parent 2:2 classid 2:120  hfsc sc m1 0 d 2s m2 150kbit ul rate 200kbit
14
15
16tc qdisc add dev  eth0 parent 2:110 handle 110: sfq perturb 10
17tc qdisc add dev  eth0 parent 2:120 handle 120: sfq perturb 10