~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/prio.json

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /tools/testing/selftests/tc-testing/tc-tests/qdiscs/prio.json (Architecture i386) and /tools/testing/selftests/tc-testing/tc-tests/qdiscs/prio.json (Architecture sparc)


  1 [                                                   1 [
  2     {                                               2     {
  3         "id": "ddd9",                               3         "id": "ddd9",
  4         "name": "Add prio qdisc on egress",         4         "name": "Add prio qdisc on egress",
  5         "category": [                               5         "category": [
  6             "qdisc",                                6             "qdisc",
  7             "prio"                                  7             "prio"
  8         ],                                          8         ],
  9         "plugins": {                                9         "plugins": {
 10             "requires": "nsPlugin"                 10             "requires": "nsPlugin"
 11         },                                         11         },
 12         "setup": [                                 12         "setup": [
 13         ],                                         13         ],
 14         "cmdUnderTest": "$TC qdisc add dev $DU     14         "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root prio",
 15         "expExitCode": "0",                        15         "expExitCode": "0",
 16         "verifyCmd": "$TC qdisc show dev $DUMM     16         "verifyCmd": "$TC qdisc show dev $DUMMY",
 17         "matchPattern": "qdisc prio 1: root",      17         "matchPattern": "qdisc prio 1: root",
 18         "matchCount": "1",                         18         "matchCount": "1",
 19         "teardown": [                              19         "teardown": [
 20             "$TC qdisc del dev $DUMMY handle 1     20             "$TC qdisc del dev $DUMMY handle 1: root prio"
 21         ]                                          21         ]
 22     },                                             22     },
 23     {                                              23     {
 24         "id": "aa71",                              24         "id": "aa71",
 25         "name": "Add prio qdisc on egress with     25         "name": "Add prio qdisc on egress with handle of maximum value",
 26         "category": [                              26         "category": [
 27             "qdisc",                               27             "qdisc",
 28             "prio"                                 28             "prio"
 29         ],                                         29         ],
 30         "plugins": {                               30         "plugins": {
 31             "requires": "nsPlugin"                 31             "requires": "nsPlugin"
 32         },                                         32         },
 33         "setup": [                                 33         "setup": [
 34         ],                                         34         ],
 35         "cmdUnderTest": "$TC qdisc add dev $DU     35         "cmdUnderTest": "$TC qdisc add dev $DUMMY root handle ffff: prio",
 36         "expExitCode": "0",                        36         "expExitCode": "0",
 37         "verifyCmd": "$TC qdisc show dev $DUMM     37         "verifyCmd": "$TC qdisc show dev $DUMMY",
 38         "matchPattern": "qdisc prio ffff: root     38         "matchPattern": "qdisc prio ffff: root",
 39         "matchCount": "1",                         39         "matchCount": "1",
 40         "teardown": [                              40         "teardown": [
 41         ]                                          41         ]
 42     },                                             42     },
 43     {                                              43     {
 44         "id": "db37",                              44         "id": "db37",
 45         "name": "Add prio qdisc on egress with     45         "name": "Add prio qdisc on egress with invalid handle exceeding maximum value",
 46         "category": [                              46         "category": [
 47             "qdisc",                               47             "qdisc",
 48             "prio"                                 48             "prio"
 49         ],                                         49         ],
 50         "plugins": {                               50         "plugins": {
 51             "requires": "nsPlugin"                 51             "requires": "nsPlugin"
 52         },                                         52         },
 53         "setup": [                                 53         "setup": [
 54         ],                                         54         ],
 55         "cmdUnderTest": "$TC qdisc add dev $DU     55         "cmdUnderTest": "$TC qdisc add dev $DUMMY root handle 10000: prio",
 56         "expExitCode": "255",                      56         "expExitCode": "255",
 57         "verifyCmd": "$TC qdisc show dev $DUMM     57         "verifyCmd": "$TC qdisc show dev $DUMMY",
 58         "matchPattern": "qdisc prio 10000: roo     58         "matchPattern": "qdisc prio 10000: root",
 59         "matchCount": "0",                         59         "matchCount": "0",
 60         "teardown": [                              60         "teardown": [
 61         ]                                          61         ]
 62     },                                             62     },
 63     {                                              63     {
 64         "id": "39d8",                              64         "id": "39d8",
 65         "name": "Add prio qdisc on egress with     65         "name": "Add prio qdisc on egress with unsupported argument",
 66         "category": [                              66         "category": [
 67             "qdisc",                               67             "qdisc",
 68             "prio"                                 68             "prio"
 69         ],                                         69         ],
 70         "plugins": {                               70         "plugins": {
 71             "requires": "nsPlugin"                 71             "requires": "nsPlugin"
 72         },                                         72         },
 73         "setup": [                                 73         "setup": [
 74         ],                                         74         ],
 75         "cmdUnderTest": "$TC qdisc add dev $DU     75         "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root prio foorbar",
 76         "expExitCode": "1",                        76         "expExitCode": "1",
 77         "verifyCmd": "$TC qdisc show dev $DUMM     77         "verifyCmd": "$TC qdisc show dev $DUMMY",
 78         "matchPattern": "qdisc prio 1: root",      78         "matchPattern": "qdisc prio 1: root",
 79         "matchCount": "0",                         79         "matchCount": "0",
 80         "teardown": [                              80         "teardown": [
 81         ]                                          81         ]
 82     },                                             82     },
 83     {                                              83     {
 84         "id": "5769",                              84         "id": "5769",
 85         "name": "Add prio qdisc on egress with     85         "name": "Add prio qdisc on egress with 4 bands and new priomap",
 86         "category": [                              86         "category": [
 87             "qdisc",                               87             "qdisc",
 88             "prio"                                 88             "prio"
 89         ],                                         89         ],
 90         "plugins": {                               90         "plugins": {
 91             "requires": "nsPlugin"                 91             "requires": "nsPlugin"
 92         },                                         92         },
 93         "setup": [                                 93         "setup": [
 94         ],                                         94         ],
 95         "cmdUnderTest": "$TC qdisc add dev $DU     95         "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root prio bands 4 priomap 1 1 2 2 3 3 0 0 1 2 3 0 0 0 0 0",
 96         "expExitCode": "0",                        96         "expExitCode": "0",
 97         "verifyCmd": "$TC qdisc show dev $DUMM     97         "verifyCmd": "$TC qdisc show dev $DUMMY",
 98         "matchPattern": "qdisc prio 1: root.*b     98         "matchPattern": "qdisc prio 1: root.*bands 4 priomap.*1 1 2 2 3 3 0 0 1 2 3 0 0 0 0 0",
 99         "matchCount": "1",                         99         "matchCount": "1",
100         "teardown": [                             100         "teardown": [
101             "$TC qdisc del dev $DUMMY handle 1    101             "$TC qdisc del dev $DUMMY handle 1: root prio"
102         ]                                         102         ]
103     },                                            103     },
104     {                                             104     {
105         "id": "fe0f",                             105         "id": "fe0f",
106         "name": "Add prio qdisc on egress with    106         "name": "Add prio qdisc on egress with 4 bands and priomap exceeding TC_PRIO_MAX entries",
107         "category": [                             107         "category": [
108             "qdisc",                              108             "qdisc",
109             "prio"                                109             "prio"
110         ],                                        110         ],
111         "plugins": {                              111         "plugins": {
112             "requires": "nsPlugin"                112             "requires": "nsPlugin"
113         },                                        113         },
114         "setup": [                                114         "setup": [
115         ],                                        115         ],
116         "cmdUnderTest": "$TC qdisc add dev $DU    116         "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root prio bands 4 priomap 1 1 2 2 3 3 0 0 1 2 3 0 0 0 0 0 1 1",
117         "expExitCode": "1",                       117         "expExitCode": "1",
118         "verifyCmd": "$TC qdisc show dev $DUMM    118         "verifyCmd": "$TC qdisc show dev $DUMMY",
119         "matchPattern": "qdisc prio 1: root.*b    119         "matchPattern": "qdisc prio 1: root.*bands 4 priomap.*1 1 2 2 3 3 0 0 1 2 3 0 0 0 0 0 1 1",
120         "matchCount": "0",                        120         "matchCount": "0",
121         "teardown": [                             121         "teardown": [
122         ]                                         122         ]
123     },                                            123     },
124     {                                             124     {
125         "id": "1f91",                             125         "id": "1f91",
126         "name": "Add prio qdisc on egress with    126         "name": "Add prio qdisc on egress with 4 bands and priomap's values exceeding bands number",
127         "category": [                             127         "category": [
128             "qdisc",                              128             "qdisc",
129             "prio"                                129             "prio"
130         ],                                        130         ],
131         "plugins": {                              131         "plugins": {
132             "requires": "nsPlugin"                132             "requires": "nsPlugin"
133         },                                        133         },
134         "setup": [                                134         "setup": [
135         ],                                        135         ],
136         "cmdUnderTest": "$TC qdisc add dev $DU    136         "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root prio bands 4 priomap 1 1 2 2 7 5 0 0 1 2 3 0 0 0 0 0",
137         "expExitCode": "1",                       137         "expExitCode": "1",
138         "verifyCmd": "$TC qdisc show dev $DUMM    138         "verifyCmd": "$TC qdisc show dev $DUMMY",
139         "matchPattern": "qdisc prio 1: root.*b    139         "matchPattern": "qdisc prio 1: root.*bands 4 priomap.*1 1 2 2 7 5 0 0 1 2 3 0 0 0 0 0",
140         "matchCount": "0",                        140         "matchCount": "0",
141         "teardown": [                             141         "teardown": [
142         ]                                         142         ]
143     },                                            143     },
144     {                                             144     {
145         "id": "d248",                             145         "id": "d248",
146         "name": "Add prio qdisc on egress with    146         "name": "Add prio qdisc on egress with invalid bands value (< 2)",
147         "category": [                             147         "category": [
148             "qdisc",                              148             "qdisc",
149             "prio"                                149             "prio"
150         ],                                        150         ],
151         "plugins": {                              151         "plugins": {
152             "requires": "nsPlugin"                152             "requires": "nsPlugin"
153         },                                        153         },
154         "setup": [                                154         "setup": [
155         ],                                        155         ],
156         "cmdUnderTest": "$TC qdisc add dev $DU    156         "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root prio bands 1 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0",
157         "expExitCode": "2",                       157         "expExitCode": "2",
158         "verifyCmd": "$TC qdisc show dev $DUMM    158         "verifyCmd": "$TC qdisc show dev $DUMMY",
159         "matchPattern": "qdisc prio 1: root.*b    159         "matchPattern": "qdisc prio 1: root.*bands 1 priomap.*0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0",
160         "matchCount": "0",                        160         "matchCount": "0",
161         "teardown": [                             161         "teardown": [
162         ]                                         162         ]
163     },                                            163     },
164     {                                             164     {
165         "id": "1d0e",                             165         "id": "1d0e",
166         "name": "Add prio qdisc on egress with    166         "name": "Add prio qdisc on egress with invalid bands value exceeding TCQ_PRIO_BANDS",
167         "category": [                             167         "category": [
168             "qdisc",                              168             "qdisc",
169             "prio"                                169             "prio"
170         ],                                        170         ],
171         "plugins": {                              171         "plugins": {
172             "requires": "nsPlugin"                172             "requires": "nsPlugin"
173         },                                        173         },
174         "setup": [                                174         "setup": [
175         ],                                        175         ],
176         "cmdUnderTest": "$TC qdisc add dev $DU    176         "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root prio bands 1024 priomap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16",
177         "expExitCode": "2",                       177         "expExitCode": "2",
178         "verifyCmd": "$TC qdisc show dev $DUMM    178         "verifyCmd": "$TC qdisc show dev $DUMMY",
179         "matchPattern": "qdisc prio 1: root.*b    179         "matchPattern": "qdisc prio 1: root.*bands 1024 priomap.*1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16",
180         "matchCount": "0",                        180         "matchCount": "0",
181         "teardown": [                             181         "teardown": [
182         ]                                         182         ]
183     },                                            183     },
184     {                                             184     {
185         "id": "1971",                             185         "id": "1971",
186         "name": "Replace default prio qdisc on    186         "name": "Replace default prio qdisc on egress with 8 bands and new priomap",
187         "category": [                             187         "category": [
188             "qdisc",                              188             "qdisc",
189             "prio"                                189             "prio"
190         ],                                        190         ],
191         "plugins": {                              191         "plugins": {
192             "requires": "nsPlugin"                192             "requires": "nsPlugin"
193         },                                        193         },
194         "setup": [                                194         "setup": [
195             "$TC qdisc add dev $DUMMY handle 1    195             "$TC qdisc add dev $DUMMY handle 1: root prio"
196         ],                                        196         ],
197         "cmdUnderTest": "$TC qdisc replace dev    197         "cmdUnderTest": "$TC qdisc replace dev $DUMMY handle 1: root prio bands 8 priomap 1 1 2 2 3 3 4 4 5 5 6 6 7 7 0 0",
198         "expExitCode": "0",                       198         "expExitCode": "0",
199         "verifyCmd": "$TC qdisc show dev $DUMM    199         "verifyCmd": "$TC qdisc show dev $DUMMY",
200         "matchPattern": "qdisc prio 1: root.*b    200         "matchPattern": "qdisc prio 1: root.*bands 8 priomap.*1 1 2 2 3 3 4 4 5 5 6 6 7 7 0 0",
201         "matchCount": "1",                        201         "matchCount": "1",
202         "teardown": [                             202         "teardown": [
203             "$TC qdisc del dev $DUMMY handle 1    203             "$TC qdisc del dev $DUMMY handle 1: root prio"
204         ]                                         204         ]
205     },                                            205     },
206     {                                             206     {
207         "id": "d88a",                             207         "id": "d88a",
208         "name": "Add duplicate prio qdisc on e    208         "name": "Add duplicate prio qdisc on egress",
209         "category": [                             209         "category": [
210             "qdisc",                              210             "qdisc",
211             "prio"                                211             "prio"
212         ],                                        212         ],
213         "plugins": {                              213         "plugins": {
214             "requires": "nsPlugin"                214             "requires": "nsPlugin"
215         },                                        215         },
216         "setup": [                                216         "setup": [
217             "$TC qdisc add dev $DUMMY handle 1    217             "$TC qdisc add dev $DUMMY handle 1: root prio"
218         ],                                        218         ],
219         "cmdUnderTest": "$TC qdisc add dev $DU    219         "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root prio",
220         "expExitCode": "2",                       220         "expExitCode": "2",
221         "verifyCmd": "$TC qdisc show dev $DUMM    221         "verifyCmd": "$TC qdisc show dev $DUMMY",
222         "matchPattern": "qdisc prio 1: root",     222         "matchPattern": "qdisc prio 1: root",
223         "matchCount": "1",                        223         "matchCount": "1",
224         "teardown": [                             224         "teardown": [
225             "$TC qdisc del dev $DUMMY handle 1    225             "$TC qdisc del dev $DUMMY handle 1: root prio"
226         ]                                         226         ]
227     },                                            227     },
228     {                                             228     {
229         "id": "5948",                             229         "id": "5948",
230         "name": "Delete nonexistent prio qdisc    230         "name": "Delete nonexistent prio qdisc",
231         "category": [                             231         "category": [
232             "qdisc",                              232             "qdisc",
233             "prio"                                233             "prio"
234         ],                                        234         ],
235         "plugins": {                              235         "plugins": {
236             "requires": "nsPlugin"                236             "requires": "nsPlugin"
237         },                                        237         },
238         "setup": [                                238         "setup": [
239         ],                                        239         ],
240         "cmdUnderTest": "$TC qdisc del dev $DU    240         "cmdUnderTest": "$TC qdisc del dev $DUMMY root handle 1: prio",
241         "expExitCode": "2",                       241         "expExitCode": "2",
242         "verifyCmd": "$TC qdisc show dev $DUMM    242         "verifyCmd": "$TC qdisc show dev $DUMMY",
243         "matchPattern": "qdisc prio 1: root",     243         "matchPattern": "qdisc prio 1: root",
244         "matchCount": "0",                        244         "matchCount": "0",
245         "teardown": [                             245         "teardown": [
246         ]                                         246         ]
247     },                                            247     },
248     {                                             248     {
249         "id": "6c0a",                             249         "id": "6c0a",
250         "name": "Add prio qdisc on egress with    250         "name": "Add prio qdisc on egress with invalid format for handles",
251         "category": [                             251         "category": [
252             "qdisc",                              252             "qdisc",
253             "prio"                                253             "prio"
254         ],                                        254         ],
255         "plugins": {                              255         "plugins": {
256             "requires": "nsPlugin"                256             "requires": "nsPlugin"
257         },                                        257         },
258         "setup": [                                258         "setup": [
259         ],                                        259         ],
260         "cmdUnderTest": "$TC qdisc add dev $DU    260         "cmdUnderTest": "$TC qdisc add dev $DUMMY root handle 123^ prio",
261         "expExitCode": "255",                     261         "expExitCode": "255",
262         "verifyCmd": "$TC qdisc show dev $DUMM    262         "verifyCmd": "$TC qdisc show dev $DUMMY",
263         "matchPattern": "qdisc prio 123 root",    263         "matchPattern": "qdisc prio 123 root",
264         "matchCount": "0",                        264         "matchCount": "0",
265         "teardown": [                             265         "teardown": [
266         ]                                         266         ]
267     },                                            267     },
268     {                                             268     {
269         "id": "0175",                             269         "id": "0175",
270         "name": "Delete prio qdisc twice",        270         "name": "Delete prio qdisc twice",
271         "category": [                             271         "category": [
272             "qdisc",                              272             "qdisc",
273             "prio"                                273             "prio"
274         ],                                        274         ],
275         "plugins": {                              275         "plugins": {
276             "requires": "nsPlugin"                276             "requires": "nsPlugin"
277         },                                        277         },
278         "setup": [                                278         "setup": [
279             "$TC qdisc add dev $DUMMY root han    279             "$TC qdisc add dev $DUMMY root handle 1: prio",
280             "$TC qdisc del dev $DUMMY root han    280             "$TC qdisc del dev $DUMMY root handle 1: prio"
281         ],                                        281         ],
282         "cmdUnderTest": "$TC qdisc del dev $DU    282         "cmdUnderTest": "$TC qdisc del dev $DUMMY handle 1: root prio",
283         "expExitCode": "2",                       283         "expExitCode": "2",
284         "verifyCmd": "$TC qdisc show dev $DUMM    284         "verifyCmd": "$TC qdisc show dev $DUMMY",
285         "matchPattern": "qdisc ingress ffff:",    285         "matchPattern": "qdisc ingress ffff:",
286         "matchCount": "0",                        286         "matchCount": "0",
287         "teardown": [                             287         "teardown": [
288         ]                                         288         ]
289     },                                            289     },
290     {                                             290     {
291         "id": "2410",                             291         "id": "2410",
292         "name": "Show prio class",                292         "name": "Show prio class",
293         "category": [                             293         "category": [
294             "qdisc",                              294             "qdisc",
295             "prio"                                295             "prio"
296         ],                                        296         ],
297         "plugins": {                              297         "plugins": {
298             "requires": "nsPlugin"                298             "requires": "nsPlugin"
299         },                                        299         },
300         "setup": [                                300         "setup": [
301         ],                                        301         ],
302         "cmdUnderTest": "$TC qdisc add dev $DU    302         "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root prio",
303         "expExitCode": "0",                       303         "expExitCode": "0",
304         "verifyCmd": "$TC class show dev $DUMM    304         "verifyCmd": "$TC class show dev $DUMMY",
305         "matchPattern": "class prio 1:[0-9]+ p    305         "matchPattern": "class prio 1:[0-9]+ parent 1:",
306         "matchCount": "3",                        306         "matchCount": "3",
307         "teardown": [                             307         "teardown": [
308             "$TC qdisc del dev $DUMMY handle 1    308             "$TC qdisc del dev $DUMMY handle 1: root prio"
309         ]                                         309         ]
310     }                                             310     }
311 ]                                                 311 ]
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php