xref: /linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/cake.json (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
1b68d9c33SZhengchao Shao[
2b68d9c33SZhengchao Shao    {
3b68d9c33SZhengchao Shao        "id": "1212",
4b68d9c33SZhengchao Shao        "name": "Create CAKE with default setting",
5b68d9c33SZhengchao Shao        "category": [
6b68d9c33SZhengchao Shao            "qdisc",
7b68d9c33SZhengchao Shao            "cake"
8b68d9c33SZhengchao Shao        ],
9b68d9c33SZhengchao Shao        "plugins": {
10b68d9c33SZhengchao Shao            "requires": "nsPlugin"
11b68d9c33SZhengchao Shao        },
12b68d9c33SZhengchao Shao        "setup": [
13b68d9c33SZhengchao Shao        ],
14b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake",
15b68d9c33SZhengchao Shao        "expExitCode": "0",
16b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
17b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
18b68d9c33SZhengchao Shao        "matchCount": "1",
19b68d9c33SZhengchao Shao        "teardown": [
20*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
21b68d9c33SZhengchao Shao        ]
22b68d9c33SZhengchao Shao    },
23b68d9c33SZhengchao Shao    {
24b68d9c33SZhengchao Shao        "id": "3281",
25b68d9c33SZhengchao Shao        "name": "Create CAKE with bandwidth limit",
26b68d9c33SZhengchao Shao        "category": [
27b68d9c33SZhengchao Shao            "qdisc",
28b68d9c33SZhengchao Shao            "cake"
29b68d9c33SZhengchao Shao        ],
30b68d9c33SZhengchao Shao        "plugins": {
31b68d9c33SZhengchao Shao            "requires": "nsPlugin"
32b68d9c33SZhengchao Shao        },
33b68d9c33SZhengchao Shao        "setup": [
34b68d9c33SZhengchao Shao        ],
35b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake bandwidth 1000",
36b68d9c33SZhengchao Shao        "expExitCode": "0",
37b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
38b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth 1Kbit diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
39b68d9c33SZhengchao Shao        "matchCount": "1",
40b68d9c33SZhengchao Shao        "teardown": [
41*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
42b68d9c33SZhengchao Shao        ]
43b68d9c33SZhengchao Shao    },
44b68d9c33SZhengchao Shao    {
45b68d9c33SZhengchao Shao        "id": "c940",
46b68d9c33SZhengchao Shao        "name": "Create CAKE with autorate-ingress flag",
47b68d9c33SZhengchao Shao        "category": [
48b68d9c33SZhengchao Shao            "qdisc",
49b68d9c33SZhengchao Shao            "cake"
50b68d9c33SZhengchao Shao        ],
51b68d9c33SZhengchao Shao        "plugins": {
52b68d9c33SZhengchao Shao            "requires": "nsPlugin"
53b68d9c33SZhengchao Shao        },
54b68d9c33SZhengchao Shao        "setup": [
55b68d9c33SZhengchao Shao        ],
56b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake autorate-ingress",
57b68d9c33SZhengchao Shao        "expExitCode": "0",
58b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
59b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited autorate-ingress diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
60b68d9c33SZhengchao Shao        "matchCount": "1",
61b68d9c33SZhengchao Shao        "teardown": [
62*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
63b68d9c33SZhengchao Shao        ]
64b68d9c33SZhengchao Shao    },
65b68d9c33SZhengchao Shao    {
66b68d9c33SZhengchao Shao        "id": "2310",
67b68d9c33SZhengchao Shao        "name": "Create CAKE with rtt time",
68b68d9c33SZhengchao Shao        "category": [
69b68d9c33SZhengchao Shao            "qdisc",
70b68d9c33SZhengchao Shao            "cake"
71b68d9c33SZhengchao Shao        ],
72b68d9c33SZhengchao Shao        "plugins": {
73b68d9c33SZhengchao Shao            "requires": "nsPlugin"
74b68d9c33SZhengchao Shao        },
75b68d9c33SZhengchao Shao        "setup": [
76b68d9c33SZhengchao Shao        ],
77b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake rtt 200",
78b68d9c33SZhengchao Shao        "expExitCode": "0",
79b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
80b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 200us raw overhead",
81b68d9c33SZhengchao Shao        "matchCount": "1",
82b68d9c33SZhengchao Shao        "teardown": [
83*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
84b68d9c33SZhengchao Shao        ]
85b68d9c33SZhengchao Shao    },
86b68d9c33SZhengchao Shao    {
87b68d9c33SZhengchao Shao        "id": "2385",
88b68d9c33SZhengchao Shao        "name": "Create CAKE with besteffort flag",
89b68d9c33SZhengchao Shao        "category": [
90b68d9c33SZhengchao Shao            "qdisc",
91b68d9c33SZhengchao Shao            "cake"
92b68d9c33SZhengchao Shao        ],
93b68d9c33SZhengchao Shao        "plugins": {
94b68d9c33SZhengchao Shao            "requires": "nsPlugin"
95b68d9c33SZhengchao Shao        },
96b68d9c33SZhengchao Shao        "setup": [
97b68d9c33SZhengchao Shao        ],
98b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake besteffort",
99b68d9c33SZhengchao Shao        "expExitCode": "0",
100b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
101b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited besteffort triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
102b68d9c33SZhengchao Shao        "matchCount": "1",
103b68d9c33SZhengchao Shao        "teardown": [
104*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
105b68d9c33SZhengchao Shao        ]
106b68d9c33SZhengchao Shao    },
107b68d9c33SZhengchao Shao    {
108b68d9c33SZhengchao Shao        "id": "a032",
109b68d9c33SZhengchao Shao        "name": "Create CAKE with diffserv8 flag",
110b68d9c33SZhengchao Shao        "category": [
111b68d9c33SZhengchao Shao            "qdisc",
112b68d9c33SZhengchao Shao            "cake"
113b68d9c33SZhengchao Shao        ],
114b68d9c33SZhengchao Shao        "plugins": {
115b68d9c33SZhengchao Shao            "requires": "nsPlugin"
116b68d9c33SZhengchao Shao        },
117b68d9c33SZhengchao Shao        "setup": [
118b68d9c33SZhengchao Shao        ],
119b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake diffserv8",
120b68d9c33SZhengchao Shao        "expExitCode": "0",
121b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
122b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv8 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
123b68d9c33SZhengchao Shao        "matchCount": "1",
124b68d9c33SZhengchao Shao        "teardown": [
125*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
126b68d9c33SZhengchao Shao        ]
127b68d9c33SZhengchao Shao    },
128b68d9c33SZhengchao Shao    {
129b68d9c33SZhengchao Shao        "id": "2349",
130b68d9c33SZhengchao Shao        "name": "Create CAKE with diffserv4 flag",
131b68d9c33SZhengchao Shao        "category": [
132b68d9c33SZhengchao Shao            "qdisc",
133b68d9c33SZhengchao Shao            "cake"
134b68d9c33SZhengchao Shao        ],
135b68d9c33SZhengchao Shao        "plugins": {
136b68d9c33SZhengchao Shao            "requires": "nsPlugin"
137b68d9c33SZhengchao Shao        },
138b68d9c33SZhengchao Shao        "setup": [
139b68d9c33SZhengchao Shao        ],
140b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake diffserv4",
141b68d9c33SZhengchao Shao        "expExitCode": "0",
142b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
143b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv4 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
144b68d9c33SZhengchao Shao        "matchCount": "1",
145b68d9c33SZhengchao Shao        "teardown": [
146*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
147b68d9c33SZhengchao Shao        ]
148b68d9c33SZhengchao Shao    },
149b68d9c33SZhengchao Shao    {
150b68d9c33SZhengchao Shao        "id": "8472",
151b68d9c33SZhengchao Shao        "name": "Create CAKE with flowblind flag",
152b68d9c33SZhengchao Shao        "category": [
153b68d9c33SZhengchao Shao            "qdisc",
154b68d9c33SZhengchao Shao            "cake"
155b68d9c33SZhengchao Shao        ],
156b68d9c33SZhengchao Shao        "plugins": {
157b68d9c33SZhengchao Shao            "requires": "nsPlugin"
158b68d9c33SZhengchao Shao        },
159b68d9c33SZhengchao Shao        "setup": [
160b68d9c33SZhengchao Shao        ],
161b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake flowblind",
162b68d9c33SZhengchao Shao        "expExitCode": "0",
163b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
164b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 flowblind nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
165b68d9c33SZhengchao Shao        "matchCount": "1",
166b68d9c33SZhengchao Shao        "teardown": [
167*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
168b68d9c33SZhengchao Shao        ]
169b68d9c33SZhengchao Shao    },
170b68d9c33SZhengchao Shao    {
171b68d9c33SZhengchao Shao        "id": "2341",
172b68d9c33SZhengchao Shao        "name": "Create CAKE with dsthost and nat flag",
173b68d9c33SZhengchao Shao        "category": [
174b68d9c33SZhengchao Shao            "qdisc",
175b68d9c33SZhengchao Shao            "cake"
176b68d9c33SZhengchao Shao        ],
177b68d9c33SZhengchao Shao        "plugins": {
178b68d9c33SZhengchao Shao            "requires": "nsPlugin"
179b68d9c33SZhengchao Shao        },
180b68d9c33SZhengchao Shao        "setup": [
181b68d9c33SZhengchao Shao        ],
182b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake dsthost nat",
183b68d9c33SZhengchao Shao        "expExitCode": "0",
184b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
185b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 dsthost nat nowash no-ack-filter split-gso rtt 100ms raw overhead",
186b68d9c33SZhengchao Shao        "matchCount": "1",
187b68d9c33SZhengchao Shao        "teardown": [
188*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
189b68d9c33SZhengchao Shao        ]
190b68d9c33SZhengchao Shao    },
191b68d9c33SZhengchao Shao    {
192b68d9c33SZhengchao Shao        "id": "5134",
193b68d9c33SZhengchao Shao        "name": "Create CAKE with wash flag",
194b68d9c33SZhengchao Shao        "category": [
195b68d9c33SZhengchao Shao            "qdisc",
196b68d9c33SZhengchao Shao            "cake"
197b68d9c33SZhengchao Shao        ],
198b68d9c33SZhengchao Shao        "plugins": {
199b68d9c33SZhengchao Shao            "requires": "nsPlugin"
200b68d9c33SZhengchao Shao        },
201b68d9c33SZhengchao Shao        "setup": [
202b68d9c33SZhengchao Shao        ],
203b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake hosts wash",
204b68d9c33SZhengchao Shao        "expExitCode": "0",
205b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
206b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 hosts nonat wash no-ack-filter split-gso rtt 100ms raw overhead",
207b68d9c33SZhengchao Shao        "matchCount": "1",
208b68d9c33SZhengchao Shao        "teardown": [
209*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
210b68d9c33SZhengchao Shao        ]
211b68d9c33SZhengchao Shao    },
212b68d9c33SZhengchao Shao    {
213b68d9c33SZhengchao Shao        "id": "2302",
214b68d9c33SZhengchao Shao        "name": "Create CAKE with flowblind and no-split-gso flag",
215b68d9c33SZhengchao Shao        "category": [
216b68d9c33SZhengchao Shao            "qdisc",
217b68d9c33SZhengchao Shao            "cake"
218b68d9c33SZhengchao Shao        ],
219b68d9c33SZhengchao Shao        "plugins": {
220b68d9c33SZhengchao Shao            "requires": "nsPlugin"
221b68d9c33SZhengchao Shao        },
222b68d9c33SZhengchao Shao        "setup": [
223b68d9c33SZhengchao Shao        ],
224b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake flowblind no-split-gso",
225b68d9c33SZhengchao Shao        "expExitCode": "0",
226b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
227b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 flowblind nonat nowash no-ack-filter no-split-gso rtt 100ms raw overhead",
228b68d9c33SZhengchao Shao        "matchCount": "1",
229b68d9c33SZhengchao Shao        "teardown": [
230*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
231b68d9c33SZhengchao Shao        ]
232b68d9c33SZhengchao Shao    },
233b68d9c33SZhengchao Shao    {
234b68d9c33SZhengchao Shao        "id": "0768",
235b68d9c33SZhengchao Shao        "name": "Create CAKE with dual-srchost and ack-filter flag",
236b68d9c33SZhengchao Shao        "category": [
237b68d9c33SZhengchao Shao            "qdisc",
238b68d9c33SZhengchao Shao            "cake"
239b68d9c33SZhengchao Shao        ],
240b68d9c33SZhengchao Shao        "plugins": {
241b68d9c33SZhengchao Shao            "requires": "nsPlugin"
242b68d9c33SZhengchao Shao        },
243b68d9c33SZhengchao Shao        "setup": [
244b68d9c33SZhengchao Shao        ],
245b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake dual-srchost ack-filter",
246b68d9c33SZhengchao Shao        "expExitCode": "0",
247b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
248b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 dual-srchost nonat nowash ack-filter split-gso rtt 100ms raw overhead",
249b68d9c33SZhengchao Shao        "matchCount": "1",
250b68d9c33SZhengchao Shao        "teardown": [
251*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
252b68d9c33SZhengchao Shao        ]
253b68d9c33SZhengchao Shao    },
254b68d9c33SZhengchao Shao    {
255b68d9c33SZhengchao Shao        "id": "0238",
256b68d9c33SZhengchao Shao        "name": "Create CAKE with dual-dsthost and ack-filter-aggressive flag",
257b68d9c33SZhengchao Shao        "category": [
258b68d9c33SZhengchao Shao            "qdisc",
259b68d9c33SZhengchao Shao            "cake"
260b68d9c33SZhengchao Shao        ],
261b68d9c33SZhengchao Shao        "plugins": {
262b68d9c33SZhengchao Shao            "requires": "nsPlugin"
263b68d9c33SZhengchao Shao        },
264b68d9c33SZhengchao Shao        "setup": [
265b68d9c33SZhengchao Shao        ],
266b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake dual-dsthost ack-filter-aggressive",
267b68d9c33SZhengchao Shao        "expExitCode": "0",
268b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
269b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 dual-dsthost nonat nowash ack-filter-aggressive split-gso rtt 100ms raw overhead",
270b68d9c33SZhengchao Shao        "matchCount": "1",
271b68d9c33SZhengchao Shao        "teardown": [
272*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
273b68d9c33SZhengchao Shao        ]
274b68d9c33SZhengchao Shao    },
275b68d9c33SZhengchao Shao    {
276b68d9c33SZhengchao Shao        "id": "6572",
277b68d9c33SZhengchao Shao        "name": "Create CAKE with memlimit and ptm flag",
278b68d9c33SZhengchao Shao        "category": [
279b68d9c33SZhengchao Shao            "qdisc",
280b68d9c33SZhengchao Shao            "cake"
281b68d9c33SZhengchao Shao        ],
282b68d9c33SZhengchao Shao        "plugins": {
283b68d9c33SZhengchao Shao            "requires": "nsPlugin"
284b68d9c33SZhengchao Shao        },
285b68d9c33SZhengchao Shao        "setup": [
286b68d9c33SZhengchao Shao        ],
287b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake memlimit 10000 ptm",
288b68d9c33SZhengchao Shao        "expExitCode": "0",
289b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
290b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw ptm overhead 0 memlimit 10000b",
291b68d9c33SZhengchao Shao        "matchCount": "1",
292b68d9c33SZhengchao Shao        "teardown": [
293*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
294b68d9c33SZhengchao Shao        ]
295b68d9c33SZhengchao Shao    },
296b68d9c33SZhengchao Shao    {
297b68d9c33SZhengchao Shao        "id": "2436",
298b68d9c33SZhengchao Shao        "name": "Create CAKE with fwmark and atm flag",
299b68d9c33SZhengchao Shao        "category": [
300b68d9c33SZhengchao Shao            "qdisc",
301b68d9c33SZhengchao Shao            "cake"
302b68d9c33SZhengchao Shao        ],
303b68d9c33SZhengchao Shao        "plugins": {
304b68d9c33SZhengchao Shao            "requires": "nsPlugin"
305b68d9c33SZhengchao Shao        },
306b68d9c33SZhengchao Shao        "setup": [
307b68d9c33SZhengchao Shao        ],
308b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake fwmark 8 atm",
309b68d9c33SZhengchao Shao        "expExitCode": "0",
310b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
311b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw atm overhead 0 fwmark 0x8",
312b68d9c33SZhengchao Shao        "matchCount": "1",
313b68d9c33SZhengchao Shao        "teardown": [
314*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
315b68d9c33SZhengchao Shao        ]
316b68d9c33SZhengchao Shao    },
317b68d9c33SZhengchao Shao    {
318b68d9c33SZhengchao Shao        "id": "3984",
319b68d9c33SZhengchao Shao        "name": "Create CAKE with overhead and mpu",
320b68d9c33SZhengchao Shao        "category": [
321b68d9c33SZhengchao Shao            "qdisc",
322b68d9c33SZhengchao Shao            "cake"
323b68d9c33SZhengchao Shao        ],
324b68d9c33SZhengchao Shao        "plugins": {
325b68d9c33SZhengchao Shao            "requires": "nsPlugin"
326b68d9c33SZhengchao Shao        },
327b68d9c33SZhengchao Shao        "setup": [
328b68d9c33SZhengchao Shao        ],
329b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake overhead 128 mpu 256",
330b68d9c33SZhengchao Shao        "expExitCode": "0",
331b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
332b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms noatm overhead 128 mpu 256",
333b68d9c33SZhengchao Shao        "matchCount": "1",
334b68d9c33SZhengchao Shao        "teardown": [
335*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
336b68d9c33SZhengchao Shao        ]
337b68d9c33SZhengchao Shao    },
338b68d9c33SZhengchao Shao    {
339b68d9c33SZhengchao Shao        "id": "5421",
340b68d9c33SZhengchao Shao        "name": "Create CAKE with conservative and ingress flag",
341b68d9c33SZhengchao Shao        "category": [
342b68d9c33SZhengchao Shao            "qdisc",
343b68d9c33SZhengchao Shao            "cake"
344b68d9c33SZhengchao Shao        ],
345b68d9c33SZhengchao Shao        "plugins": {
346b68d9c33SZhengchao Shao            "requires": "nsPlugin"
347b68d9c33SZhengchao Shao        },
348b68d9c33SZhengchao Shao        "setup": [
349b68d9c33SZhengchao Shao        ],
350b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake conservative ingress",
351b68d9c33SZhengchao Shao        "expExitCode": "0",
352b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
353b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 triple-isolate nonat nowash ingress no-ack-filter split-gso rtt 100ms atm overhead 48",
354b68d9c33SZhengchao Shao        "matchCount": "1",
355b68d9c33SZhengchao Shao        "teardown": [
356*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
357b68d9c33SZhengchao Shao        ]
358b68d9c33SZhengchao Shao    },
359b68d9c33SZhengchao Shao    {
360b68d9c33SZhengchao Shao        "id": "6854",
361b68d9c33SZhengchao Shao        "name": "Delete CAKE with conservative and ingress flag",
362b68d9c33SZhengchao Shao        "category": [
363b68d9c33SZhengchao Shao            "qdisc",
364b68d9c33SZhengchao Shao            "cake"
365b68d9c33SZhengchao Shao        ],
366b68d9c33SZhengchao Shao        "plugins": {
367b68d9c33SZhengchao Shao            "requires": "nsPlugin"
368b68d9c33SZhengchao Shao        },
369b68d9c33SZhengchao Shao        "setup": [
370b68d9c33SZhengchao Shao            "$TC qdisc add dev $DUMMY handle 1: root cake conservative ingress"
371b68d9c33SZhengchao Shao        ],
372b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc del dev $DUMMY handle 1: root",
373b68d9c33SZhengchao Shao        "expExitCode": "0",
374b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
375b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 triple-isolate nonat nowash ingress no-ack-filter split-gso rtt 100ms atm overhead 48",
376b68d9c33SZhengchao Shao        "matchCount": "0",
377b68d9c33SZhengchao Shao        "teardown": [
378b68d9c33SZhengchao Shao        ]
379b68d9c33SZhengchao Shao    },
380b68d9c33SZhengchao Shao    {
381b68d9c33SZhengchao Shao        "id": "2342",
382b68d9c33SZhengchao Shao        "name": "Replace CAKE with mpu",
383b68d9c33SZhengchao Shao        "category": [
384b68d9c33SZhengchao Shao            "qdisc",
385b68d9c33SZhengchao Shao            "cake"
386b68d9c33SZhengchao Shao        ],
387b68d9c33SZhengchao Shao        "plugins": {
388b68d9c33SZhengchao Shao            "requires": "nsPlugin"
389b68d9c33SZhengchao Shao        },
390b68d9c33SZhengchao Shao        "setup": [
391b68d9c33SZhengchao Shao            "$TC qdisc add dev $DUMMY handle 1: root cake overhead 128 mpu 256"
392b68d9c33SZhengchao Shao        ],
393b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc replace dev $DUMMY handle 1: root cake mpu 128",
394b68d9c33SZhengchao Shao        "expExitCode": "0",
395b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
396b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms noatm overhead 128 mpu 128",
397b68d9c33SZhengchao Shao        "matchCount": "1",
398b68d9c33SZhengchao Shao        "teardown": [
399*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
400b68d9c33SZhengchao Shao        ]
401b68d9c33SZhengchao Shao    },
402b68d9c33SZhengchao Shao    {
403b68d9c33SZhengchao Shao        "id": "2313",
404b68d9c33SZhengchao Shao        "name": "Change CAKE with mpu",
405b68d9c33SZhengchao Shao        "category": [
406b68d9c33SZhengchao Shao            "qdisc",
407b68d9c33SZhengchao Shao            "cake"
408b68d9c33SZhengchao Shao        ],
409b68d9c33SZhengchao Shao        "plugins": {
410b68d9c33SZhengchao Shao            "requires": "nsPlugin"
411b68d9c33SZhengchao Shao        },
412b68d9c33SZhengchao Shao        "setup": [
413b68d9c33SZhengchao Shao            "$TC qdisc add dev $DUMMY handle 1: root cake overhead 128 mpu 256"
414b68d9c33SZhengchao Shao        ],
415b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc change dev $DUMMY handle 1: root cake mpu 128",
416b68d9c33SZhengchao Shao        "expExitCode": "0",
417b68d9c33SZhengchao Shao        "verifyCmd": "$TC qdisc show dev $DUMMY",
418b68d9c33SZhengchao Shao        "matchPattern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms noatm overhead 128 mpu 128",
419b68d9c33SZhengchao Shao        "matchCount": "1",
420b68d9c33SZhengchao Shao        "teardown": [
421*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
422b68d9c33SZhengchao Shao        ]
423b68d9c33SZhengchao Shao    },
424b68d9c33SZhengchao Shao    {
425b68d9c33SZhengchao Shao        "id": "4365",
426b68d9c33SZhengchao Shao        "name": "Show CAKE class",
427b68d9c33SZhengchao Shao        "category": [
428b68d9c33SZhengchao Shao            "qdisc",
429b68d9c33SZhengchao Shao            "cake"
430b68d9c33SZhengchao Shao        ],
431b68d9c33SZhengchao Shao        "plugins": {
432b68d9c33SZhengchao Shao            "requires": "nsPlugin"
433b68d9c33SZhengchao Shao        },
434b68d9c33SZhengchao Shao        "setup": [
435b68d9c33SZhengchao Shao        ],
436b68d9c33SZhengchao Shao        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake",
437b68d9c33SZhengchao Shao        "expExitCode": "0",
438b68d9c33SZhengchao Shao        "verifyCmd": "$TC class show dev $DUMMY",
439b68d9c33SZhengchao Shao        "matchPattern": "class cake",
440b68d9c33SZhengchao Shao        "matchCount": "0",
441b68d9c33SZhengchao Shao        "teardown": [
442*d227cc0bSPedro Tammela            "$TC qdisc del dev $DUMMY handle 1: root"
443b68d9c33SZhengchao Shao        ]
444b68d9c33SZhengchao Shao    }
445b68d9c33SZhengchao Shao]
446