4 "name": "Add taprio Qdisc to multi-queue device (8 queues)",
10 "requires": "nsPlugin"
13 "echo \"1 1 8\" > /sys/bus/netdevsim/new_device"
15 "cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@0 1@0 base-time 1000000000 sched-entry S 01 300000 flags 0x1 clockid CLOCK_TAI",
17 "verifyCmd": "$TC qdisc show dev $ETH",
18 "matchPattern": "qdisc taprio 1: root refcnt [0-9]+ tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2",
21 "echo \"1\" > /sys/bus/netdevsim/del_device"
26 "name": "Add taprio Qdisc with multiple sched-entry",
32 "requires": "nsPlugin"
35 "echo \"1 1 8\" > /sys/bus/netdevsim/new_device"
37 "cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@0 1@0 base-time 1000000000 sched-entry S 01 300000 sched-entry S 03 300000 sched-entry S 04 400000 flags 0x1 clockid CLOCK_TAI",
39 "verifyCmd": "$TC qdisc show dev $ETH",
40 "matchPattern": "index [0-9]+ cmd S gatemask 0x[0-9]+ interval [0-9]+00000",
43 "echo \"1\" > /sys/bus/netdevsim/del_device"
48 "name": "Add taprio Qdisc with txtime-delay",
54 "requires": "nsPlugin"
57 "echo \"1 1 8\" > /sys/bus/netdevsim/new_device"
59 "cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@0 1@0 base-time 1000000000 sched-entry S 01 300000 flags 0x1 txtime-delay 500000 clockid CLOCK_TAI",
61 "verifyCmd": "$TC qdisc show dev $ETH",
62 "matchPattern": "clockid TAI flags 0x1 txtime delay 500000",
65 "echo \"1\" > /sys/bus/netdevsim/del_device"
70 "name": "Delete taprio Qdisc with valid handle",
76 "requires": "nsPlugin"
79 "echo \"1 1 8\" > /sys/bus/netdevsim/new_device",
80 "$TC qdisc add dev $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@0 1@0 base-time 1000000000 sched-entry S 01 300000 flags 0x1 clockid CLOCK_TAI"
82 "cmdUnderTest": "$TC qdisc del dev $ETH root handle 1:",
84 "verifyCmd": "$TC qdisc show dev $ETH",
85 "matchPattern": "qdisc taprio 1: root refcnt",
88 "echo \"1\" > /sys/bus/netdevsim/del_device"
93 "name": "Show taprio class",
99 "requires": "nsPlugin"
102 "echo \"1 1 8\" > /sys/bus/netdevsim/new_device"
104 "cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@0 1@0 base-time 1000000000 sched-entry S 01 300000 flags 0x1 clockid CLOCK_TAI",
106 "verifyCmd": "$TC class show dev $ETH",
107 "matchPattern": "class taprio 1:[0-9]+ root leaf 1:",
110 "echo \"1\" > /sys/bus/netdevsim/del_device"
115 "name": "Add taprio Qdisc to single-queue device",
121 "requires": "nsPlugin"
124 "echo \"1 1\" > /sys/bus/netdevsim/new_device"
126 "cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@0 1@0 base-time 1000000000 sched-entry S 01 300000 flags 0x1 clockid CLOCK_TAI",
128 "verifyCmd": "$TC qdisc show dev $ETH",
129 "matchPattern": "qdisc taprio 1: root refcnt",
132 "echo \"1\" > /sys/bus/netdevsim/del_device"