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

TOMOYO Linux Cross Reference
Linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/pfifo_fast.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": "900c",
  4         "name": "Create pfifo_fast with default setting",
  5         "category": [
  6             "qdisc",
  7             "pfifo_fast"
  8         ],
  9         "plugins": {
 10             "requires": "nsPlugin"
 11         },
 12         "setup": [
 13         ],
 14         "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root pfifo_fast",
 15         "expExitCode": "0",
 16         "verifyCmd": "$TC qdisc show dev $DUMMY",
 17         "matchPattern": "qdisc pfifo_fast 1: root refcnt [0-9]+ bands 3 priomap",
 18         "matchCount": "1",
 19         "teardown": [
 20             "$TC qdisc del dev $DUMMY handle 1: root"
 21         ]
 22     },
 23     {
 24         "id": "7470",
 25         "name": "Dump pfifo_fast stats",
 26         "category": [
 27             "qdisc",
 28             "pfifo_fast"
 29         ],
 30         "plugins": {
 31             "requires": "nsPlugin"
 32         },
 33         "setup": [
 34         ],
 35         "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root pfifo_fast",
 36         "expExitCode": "0",
 37         "verifyCmd": "$TC -s qdisc show dev $DUMMY",
 38         "matchPattern": "Sent.*bytes.*pkt \\(dropped.*overlimits.*requeues .*\\)",
 39         "matchCount": "1",
 40         "teardown": [
 41             "$TC qdisc del dev $DUMMY handle 1: root"
 42         ]
 43     },
 44     {
 45         "id": "b974",
 46         "name": "Replace pfifo_fast with different handle",
 47         "category": [
 48             "qdisc",
 49             "pfifo_fast"
 50         ],
 51         "plugins": {
 52             "requires": "nsPlugin"
 53         },
 54         "setup": [
 55             "$TC qdisc add dev $DUMMY handle 1: root pfifo_fast"
 56         ],
 57         "cmdUnderTest": "$TC qdisc replace dev $DUMMY handle 2: root pfifo_fast",
 58         "expExitCode": "0",
 59         "verifyCmd": "$TC qdisc show dev $DUMMY",
 60         "matchPattern": "qdisc pfifo_fast 2: root refcnt [0-9]+ bands 3 priomap",
 61         "matchCount": "1",
 62         "teardown": [
 63             "$TC qdisc del dev $DUMMY handle 2: root"
 64         ]
 65     },
 66     {
 67         "id": "3240",
 68         "name": "Delete pfifo_fast with valid handle",
 69         "category": [
 70             "qdisc",
 71             "pfifo_fast"
 72         ],
 73         "plugins": {
 74             "requires": "nsPlugin"
 75         },
 76         "setup": [
 77             "$TC qdisc add dev $DUMMY handle 1: root pfifo_fast"
 78         ],
 79         "cmdUnderTest": "$TC qdisc del dev $DUMMY handle 1: root",
 80         "expExitCode": "0",
 81         "verifyCmd": "$TC qdisc show dev $DUMMY",
 82         "matchPattern": "qdisc pfifo_fast 1: root refcnt [0-9]+ bands 3 priomap",
 83         "matchCount": "0",
 84         "teardown": [
 85         ]
 86     },
 87     {
 88         "id": "4385",
 89         "name": "Delete pfifo_fast with invalid handle",
 90         "category": [
 91             "qdisc",
 92             "pfifo_fast"
 93         ],
 94         "plugins": {
 95             "requires": "nsPlugin"
 96         },
 97         "setup": [
 98             "$TC qdisc add dev $DUMMY handle 1: root pfifo_fast"
 99         ],
100         "cmdUnderTest": "$TC qdisc del dev $DUMMY handle 2: root",
101         "expExitCode": "2",
102         "verifyCmd": "$TC qdisc show dev $DUMMY",
103         "matchPattern": "qdisc pfifo_fast 1: root refcnt [0-9]+ bands 3 priomap",
104         "matchCount": "1",
105         "teardown": [
106             "$TC qdisc del dev $DUMMY handle 1: root"
107         ]
108     }
109 ]

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