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

TOMOYO Linux Cross Reference
Linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/fifo.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 ] ~

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

~ [ 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