tools/testing/selftests/tc-testing/tc-tests/qdiscs/prio.json

Source file repositories/reference/linux-study-clean/tools/testing/selftests/tc-testing/tc-tests/qdiscs/prio.json

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/tc-testing/tc-tests/qdiscs/prio.json
Extension
.json
Size
9155 bytes
Lines
312
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

[
    {
        "id": "ddd9",
        "name": "Add prio qdisc on egress",
        "category": [
            "qdisc",
            "prio"
        ],
        "plugins": {
            "requires": "nsPlugin"
        },
        "setup": [
        ],
        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root prio",
        "expExitCode": "0",
        "verifyCmd": "$TC qdisc show dev $DUMMY",
        "matchPattern": "qdisc prio 1: root",
        "matchCount": "1",
        "teardown": [
            "$TC qdisc del dev $DUMMY handle 1: root prio"
        ]
    },
    {
        "id": "aa71",
        "name": "Add prio qdisc on egress with handle of maximum value",
        "category": [
            "qdisc",
            "prio"
        ],
        "plugins": {
            "requires": "nsPlugin"
        },
        "setup": [
        ],
        "cmdUnderTest": "$TC qdisc add dev $DUMMY root handle ffff: prio",
        "expExitCode": "0",
        "verifyCmd": "$TC qdisc show dev $DUMMY",
        "matchPattern": "qdisc prio ffff: root",
        "matchCount": "1",
        "teardown": [
        ]
    },
    {
        "id": "db37",
        "name": "Add prio qdisc on egress with invalid handle exceeding maximum value",
        "category": [
            "qdisc",
            "prio"
        ],
        "plugins": {
            "requires": "nsPlugin"
        },
        "setup": [
        ],
        "cmdUnderTest": "$TC qdisc add dev $DUMMY root handle 10000: prio",
        "expExitCode": "255",
        "verifyCmd": "$TC qdisc show dev $DUMMY",
        "matchPattern": "qdisc prio 10000: root",
        "matchCount": "0",
        "teardown": [
        ]
    },
    {
        "id": "39d8",
        "name": "Add prio qdisc on egress with unsupported argument",
        "category": [
            "qdisc",
            "prio"
        ],
        "plugins": {

Annotation

Implementation Notes