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

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