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

TOMOYO Linux Cross Reference
Linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/multiq.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": "20ba",
  4         "name": "Add multiq Qdisc to multi-queue device (8 queues)",
  5         "category": [
  6             "qdisc",
  7             "multiq"
  8         ],
  9         "plugins": {
 10             "requires": "nsPlugin"
 11         },
 12         "setup": [
 13             "echo \"1 1 8\" > /sys/bus/netdevsim/new_device"
 14         ],
 15         "cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: multiq",
 16         "expExitCode": "0",
 17         "verifyCmd": "$TC qdisc show dev $ETH",
 18         "matchPattern": "qdisc multiq 1: root refcnt [0-9]+ bands 8",
 19         "matchCount": "1",
 20         "teardown": [
 21             "echo \"1\" > /sys/bus/netdevsim/del_device"
 22         ]
 23     },
 24     {
 25         "id": "4301",
 26         "name": "List multiq Class",
 27         "category": [
 28             "qdisc",
 29             "multiq"
 30         ],
 31         "plugins": {
 32             "requires": "nsPlugin"
 33         },
 34         "setup": [
 35             "echo \"1 1 8\" > /sys/bus/netdevsim/new_device"
 36         ],
 37         "cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: multiq",
 38         "expExitCode": "0",
 39         "verifyCmd": "$TC class show dev $ETH",
 40         "matchPattern": "class multiq 1:[0-9]+ parent 1:",
 41         "matchCount": "8",
 42         "teardown": [
 43             "echo \"1\" > /sys/bus/netdevsim/del_device"
 44         ]
 45     },
 46     {
 47         "id": "7832",
 48         "name": "Delete nonexistent multiq Qdisc",
 49         "category": [
 50             "qdisc",
 51             "multiq"
 52         ],
 53         "plugins": {
 54             "requires": "nsPlugin"
 55         },
 56         "setup": [
 57             "echo \"1 1 4\" > /sys/bus/netdevsim/new_device"
 58         ],
 59         "cmdUnderTest": "$TC qdisc del dev $ETH root handle 1: multiq",
 60         "expExitCode": "2",
 61         "verifyCmd": "$TC qdisc show dev $ETH",
 62         "matchPattern": "qdisc multiq 1: root",
 63         "matchCount": "0",
 64         "teardown": [
 65             "echo \"1\" > /sys/bus/netdevsim/del_device"
 66         ]
 67     },
 68     {
 69         "id": "2891",
 70         "name": "Delete multiq Qdisc twice",
 71         "category": [
 72             "qdisc",
 73             "multiq"
 74         ],
 75         "plugins": {
 76             "requires": "nsPlugin"
 77         },
 78         "setup": [
 79             "echo \"1 1 8\" > /sys/bus/netdevsim/new_device",
 80             "$TC qdisc add dev $ETH root handle 1: multiq",
 81             "$TC qdisc del dev $ETH root handle 1:"
 82         ],
 83         "cmdUnderTest": "$TC qdisc del dev $ETH root handle 1:",
 84         "expExitCode": "2",
 85         "verifyCmd": "$TC qdisc show dev $ETH",
 86         "matchPattern": "qdisc mqprio 1: root",
 87         "matchCount": "0",
 88         "teardown": [
 89             "echo \"1\" > /sys/bus/netdevsim/del_device"
 90         ]
 91     },
 92     {
 93         "id": "1329",
 94         "name": "Add multiq Qdisc to single-queue device",
 95         "category": [
 96             "qdisc",
 97             "multiq"
 98         ],
 99         "plugins": {
100             "requires": "nsPlugin"
101         },
102         "setup": [
103             "echo \"1 1\" > /sys/bus/netdevsim/new_device"
104         ],
105         "cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: multiq",
106         "expExitCode": "2",
107         "verifyCmd": "$TC qdisc show dev $ETH",
108         "matchPattern": "qdisc multiq 1: root",
109         "matchCount": "0",
110         "teardown": [
111             "echo \"1\" > /sys/bus/netdevsim/del_device"
112         ]
113     }
114 ]

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