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

TOMOYO Linux Cross Reference
Linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/mq.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/mq.json (Architecture i386) and /tools/testing/selftests/tc-testing/tc-tests/qdiscs/mq.json (Architecture sparc)


  1 [                                                   1 [
  2         {                                           2         {
  3             "id": "ce7d",                           3             "id": "ce7d",
  4             "name": "Add mq Qdisc to multi-que      4             "name": "Add mq Qdisc to multi-queue device (4 queues)",
  5             "category": [                           5             "category": [
  6             "qdisc",                                6             "qdisc",
  7             "mq"                                    7             "mq"
  8             ],                                      8             ],
  9         "plugins": {                                9         "plugins": {
 10             "requires": "nsPlugin"                 10             "requires": "nsPlugin"
 11         },                                         11         },
 12             "setup": [                             12             "setup": [
 13             "echo \"1 1 4\" > /sys/bus/netdevs     13             "echo \"1 1 4\" > /sys/bus/netdevsim/new_device"
 14             ],                                     14             ],
 15             "cmdUnderTest": "$TC qdisc add dev     15             "cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: mq",
 16             "expExitCode": "0",                    16             "expExitCode": "0",
 17             "verifyCmd": "$TC qdisc show dev $     17             "verifyCmd": "$TC qdisc show dev $ETH",
 18             "matchPattern": "qdisc [a-zA-Z0-9_     18             "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-4]",
 19             "matchCount": "4",                     19             "matchCount": "4",
 20             "teardown": [                          20             "teardown": [
 21                     "echo \"1\" > /sys/bus/net     21                     "echo \"1\" > /sys/bus/netdevsim/del_device"
 22             ]                                      22             ]
 23         },                                         23         },
 24         {                                          24         {
 25             "id": "2f82",                          25             "id": "2f82",
 26             "name": "Add mq Qdisc to multi-que     26             "name": "Add mq Qdisc to multi-queue device (256 queues)",
 27             "category": [                          27             "category": [
 28             "qdisc",                               28             "qdisc",
 29             "mq"                                   29             "mq"
 30             ],                                     30             ],
 31         "plugins": {                               31         "plugins": {
 32             "requires": "nsPlugin"                 32             "requires": "nsPlugin"
 33         },                                         33         },
 34             "setup": [                             34             "setup": [
 35             "echo \"1 1 256\" > /sys/bus/netde     35             "echo \"1 1 256\" > /sys/bus/netdevsim/new_device"
 36             ],                                     36             ],
 37             "cmdUnderTest": "$TC qdisc add dev     37             "cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: mq",
 38             "expExitCode": "0",                    38             "expExitCode": "0",
 39             "verifyCmd": "$TC qdisc show dev $     39             "verifyCmd": "$TC qdisc show dev $ETH",
 40             "matchPattern": "qdisc [a-zA-Z0-9_     40             "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-9,a-f][0-9,a-f]{0,2}",
 41             "matchCount": "256",                   41             "matchCount": "256",
 42             "teardown": [                          42             "teardown": [
 43                     "echo \"1\" > /sys/bus/net     43                     "echo \"1\" > /sys/bus/netdevsim/del_device"
 44             ]                                      44             ]
 45         },                                         45         },
 46         {                                          46         {
 47             "id": "c525",                          47             "id": "c525",
 48             "name": "Add duplicate mq Qdisc",      48             "name": "Add duplicate mq Qdisc",
 49             "category": [                          49             "category": [
 50             "qdisc",                               50             "qdisc",
 51             "mq"                                   51             "mq"
 52             ],                                     52             ],
 53         "plugins": {                               53         "plugins": {
 54             "requires": "nsPlugin"                 54             "requires": "nsPlugin"
 55         },                                         55         },
 56             "setup": [                             56             "setup": [
 57             "echo \"1 1 4\" > /sys/bus/netdevs     57             "echo \"1 1 4\" > /sys/bus/netdevsim/new_device",
 58             "$TC qdisc add dev $ETH root handl     58             "$TC qdisc add dev $ETH root handle 1: mq"
 59             ],                                     59             ],
 60             "cmdUnderTest": "$TC qdisc add dev     60             "cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: mq",
 61             "expExitCode": "2",                    61             "expExitCode": "2",
 62             "verifyCmd": "$TC qdisc show dev $     62             "verifyCmd": "$TC qdisc show dev $ETH",
 63             "matchPattern": "qdisc [a-zA-Z0-9_     63             "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-4]",
 64             "matchCount": "4",                     64             "matchCount": "4",
 65             "teardown": [                          65             "teardown": [
 66                     "echo \"1\" > /sys/bus/net     66                     "echo \"1\" > /sys/bus/netdevsim/del_device"
 67             ]                                      67             ]
 68         },                                         68         },
 69         {                                          69         {
 70             "id": "128a",                          70             "id": "128a",
 71             "name": "Delete nonexistent mq Qdi     71             "name": "Delete nonexistent mq Qdisc",
 72             "category": [                          72             "category": [
 73             "qdisc",                               73             "qdisc",
 74             "mq"                                   74             "mq"
 75             ],                                     75             ],
 76         "plugins": {                               76         "plugins": {
 77             "requires": "nsPlugin"                 77             "requires": "nsPlugin"
 78         },                                         78         },
 79             "setup": [                             79             "setup": [
 80             "echo \"1 1 4\" > /sys/bus/netdevs     80             "echo \"1 1 4\" > /sys/bus/netdevsim/new_device"
 81             ],                                     81             ],
 82             "cmdUnderTest": "$TC qdisc del dev     82             "cmdUnderTest": "$TC qdisc del dev $ETH root handle 1: mq",
 83             "expExitCode": "2",                    83             "expExitCode": "2",
 84             "verifyCmd": "$TC qdisc show dev $     84             "verifyCmd": "$TC qdisc show dev $ETH",
 85             "matchPattern": "qdisc [a-zA-Z0-9_     85             "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-4]",
 86             "matchCount": "0",                     86             "matchCount": "0",
 87             "teardown": [                          87             "teardown": [
 88                     "echo \"1\" > /sys/bus/net     88                     "echo \"1\" > /sys/bus/netdevsim/del_device"
 89             ]                                      89             ]
 90         },                                         90         },
 91         {                                          91         {
 92             "id": "03a9",                          92             "id": "03a9",
 93             "name": "Delete mq Qdisc twice",       93             "name": "Delete mq Qdisc twice",
 94             "category": [                          94             "category": [
 95             "qdisc",                               95             "qdisc",
 96             "mq"                                   96             "mq"
 97             ],                                     97             ],
 98         "plugins": {                               98         "plugins": {
 99             "requires": "nsPlugin"                 99             "requires": "nsPlugin"
100         },                                        100         },
101             "setup": [                            101             "setup": [
102             "echo \"1 1 4\" > /sys/bus/netdevs    102             "echo \"1 1 4\" > /sys/bus/netdevsim/new_device",
103             "$TC qdisc add dev $ETH root handl    103             "$TC qdisc add dev $ETH root handle 1: mq",
104             "$TC qdisc del dev $ETH root handl    104             "$TC qdisc del dev $ETH root handle 1: mq"
105             ],                                    105             ],
106             "cmdUnderTest": "$TC qdisc del dev    106             "cmdUnderTest": "$TC qdisc del dev $ETH root handle 1: mq",
107             "expExitCode": "2",                   107             "expExitCode": "2",
108             "verifyCmd": "$TC qdisc show dev $    108             "verifyCmd": "$TC qdisc show dev $ETH",
109             "matchPattern": "qdisc [a-zA-Z0-9_    109             "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-4]",
110             "matchCount": "0",                    110             "matchCount": "0",
111             "teardown": [                         111             "teardown": [
112                     "echo \"1\" > /sys/bus/net    112                     "echo \"1\" > /sys/bus/netdevsim/del_device"
113             ]                                     113             ]
114         },                                        114         },
115     {                                             115     {
116             "id": "be0f",                         116             "id": "be0f",
117             "name": "Add mq Qdisc to single-qu    117             "name": "Add mq Qdisc to single-queue device",
118             "category": [                         118             "category": [
119             "qdisc",                              119             "qdisc",
120             "mq"                                  120             "mq"
121             ],                                    121             ],
122         "plugins": {                              122         "plugins": {
123             "requires": "nsPlugin"                123             "requires": "nsPlugin"
124         },                                        124         },
125             "setup": [                            125             "setup": [
126             "echo \"1 1\" > /sys/bus/netdevsim    126             "echo \"1 1\" > /sys/bus/netdevsim/new_device"
127             ],                                    127             ],
128             "cmdUnderTest": "$TC qdisc add dev    128             "cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: mq",
129             "expExitCode": "2",                   129             "expExitCode": "2",
130             "verifyCmd": "$TC qdisc show dev $    130             "verifyCmd": "$TC qdisc show dev $ETH",
131             "matchPattern": "qdisc [a-zA-Z0-9_    131             "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-4]",
132             "matchCount": "0",                    132             "matchCount": "0",
133             "teardown": [                         133             "teardown": [
134                     "echo \"1\" > /sys/bus/net    134                     "echo \"1\" > /sys/bus/netdevsim/del_device"
135             ]                                     135             ]
136         },                                        136         },
137         {                                         137         {
138             "id": "1023",                         138             "id": "1023",
139             "name": "Show mq class",              139             "name": "Show mq class",
140             "category": [                         140             "category": [
141                 "qdisc",                          141                 "qdisc",
142                 "mq"                              142                 "mq"
143             ],                                    143             ],
144             "plugins": {                          144             "plugins": {
145                 "requires": "nsPlugin"            145                 "requires": "nsPlugin"
146             },                                    146             },
147             "setup": [                            147             "setup": [
148                 "echo \"1 1 4\" > /sys/bus/net    148                 "echo \"1 1 4\" > /sys/bus/netdevsim/new_device"
149             ],                                    149             ],
150             "cmdUnderTest": "$TC qdisc add dev    150             "cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: mq",
151             "expExitCode": "0",                   151             "expExitCode": "0",
152             "verifyCmd": "$TC class show dev $    152             "verifyCmd": "$TC class show dev $ETH",
153             "matchPattern": "class mq 1:[0-9]+    153             "matchPattern": "class mq 1:[0-9]+ root",
154             "matchCount": "4",                    154             "matchCount": "4",
155             "teardown": [                         155             "teardown": [
156                 "echo \"1\" > /sys/bus/netdevs    156                 "echo \"1\" > /sys/bus/netdevsim/del_device"
157             ]                                     157             ]
158         },                                        158         },
159         {                                         159         {
160                 "id": "0531",                     160                 "id": "0531",
161                 "name": "Replace mq with inval    161                 "name": "Replace mq with invalid parent ID",
162                 "category": [                     162                 "category": [
163                         "qdisc",                  163                         "qdisc",
164                         "mq"                      164                         "mq"
165                 ],                                165                 ],
166                 "plugins": {                      166                 "plugins": {
167                         "requires": "nsPlugin"    167                         "requires": "nsPlugin"
168                 },                                168                 },
169                 "setup": [                        169                 "setup": [
170                         "echo \"1 1 16\" > /sy    170                         "echo \"1 1 16\" > /sys/bus/netdevsim/new_device",
171                         "$TC qdisc add dev $ET    171                         "$TC qdisc add dev $ETH root handle ffff: mq"
172                 ],                                172                 ],
173                 "cmdUnderTest": "$TC qdisc rep    173                 "cmdUnderTest": "$TC qdisc replace dev $ETH parent ffff:fff1 handle ffff: mq",
174                 "expExitCode": "2",               174                 "expExitCode": "2",
175                 "verifyCmd": "$TC qdisc show d    175                 "verifyCmd": "$TC qdisc show dev $ETH",
176                 "matchPattern": "qdisc [a-zA-Z    176                 "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent ffff",
177                 "matchCount": "16",               177                 "matchCount": "16",
178                 "teardown": [                     178                 "teardown": [
179                         "echo \"1\" > /sys/bus    179                         "echo \"1\" > /sys/bus/netdevsim/del_device"
180                 ]                                 180                 ]
181         }                                         181         }
182 ]                                                 182 ]
                                                      

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