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

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

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/tc-testing/tc-tests/qdiscs/fq_pie.json
Extension
.json
Size
1416 bytes
Lines
45
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": "83be",
        "name": "Create FQ-PIE with invalid number of flows",
        "category": [
            "qdisc",
            "fq_pie"
        ],
        "plugins": {
            "requires": "nsPlugin"
        },
        "setup": [
        ],
        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_pie flows 65536",
        "expExitCode": "0",
        "verifyCmd": "$TC qdisc show dev $DUMMY",
        "matchPattern": "qdisc fq_pie 1: root refcnt 2 limit 10240p flows 65536",
        "matchCount": "1",
        "teardown": [
        ]
    },
    {
        "id": "83bf",
        "name": "FQ_PIE test qdisc limit trimming",
        "category": ["qdisc", "fq_pie"],
        "plugins": {"requires": ["nsPlugin", "scapyPlugin"]},
        "setup": [
            "$TC qdisc add dev $DEV1 handle 1: root fq_pie limit 10"
        ],
        "scapy": [
            {
                "iface": "$DEV0",
                "count": 10,
                "packet": "Ether(type=0x800)/IP(src='10.0.0.10',dst='10.0.0.20')/TCP(sport=5000,dport=10)"
            }
        ],
        "cmdUnderTest": "$TC qdisc change dev $DEV1 handle 1: root fq_pie limit 1",
        "expExitCode": "0",
        "verifyCmd": "$TC qdisc show dev $DEV1",
        "matchPattern": "qdisc fq_pie 1: root refcnt [0-9]+ limit 1p",
        "matchCount": "1",
        "teardown": ["$TC qdisc del dev $DEV1 handle 1: root"]
    }
]

Annotation

Implementation Notes