19e274718SZhengchao Shao[ 29e274718SZhengchao Shao { 39e274718SZhengchao Shao "id": "983b", 49e274718SZhengchao Shao "name": "Create FQ with default setting", 59e274718SZhengchao Shao "category": [ 69e274718SZhengchao Shao "qdisc", 79e274718SZhengchao Shao "fq" 89e274718SZhengchao Shao ], 99e274718SZhengchao Shao "plugins": { 109e274718SZhengchao Shao "requires": "nsPlugin" 119e274718SZhengchao Shao }, 129e274718SZhengchao Shao "setup": [ 139e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 149e274718SZhengchao Shao ], 159e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq", 169e274718SZhengchao Shao "expExitCode": "0", 179e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 189e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit", 199e274718SZhengchao Shao "matchCount": "1", 209e274718SZhengchao Shao "teardown": [ 219e274718SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 229e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 239e274718SZhengchao Shao ] 249e274718SZhengchao Shao }, 259e274718SZhengchao Shao { 269e274718SZhengchao Shao "id": "38a1", 279e274718SZhengchao Shao "name": "Create FQ with limit packet setting", 289e274718SZhengchao Shao "category": [ 299e274718SZhengchao Shao "qdisc", 309e274718SZhengchao Shao "fq" 319e274718SZhengchao Shao ], 329e274718SZhengchao Shao "plugins": { 339e274718SZhengchao Shao "requires": "nsPlugin" 349e274718SZhengchao Shao }, 359e274718SZhengchao Shao "setup": [ 369e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 379e274718SZhengchao Shao ], 389e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq limit 3000", 399e274718SZhengchao Shao "expExitCode": "0", 409e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 419e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 3000p", 429e274718SZhengchao Shao "matchCount": "1", 439e274718SZhengchao Shao "teardown": [ 449e274718SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 459e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 469e274718SZhengchao Shao ] 479e274718SZhengchao Shao }, 489e274718SZhengchao Shao { 499e274718SZhengchao Shao "id": "0a18", 509e274718SZhengchao Shao "name": "Create FQ with flow_limit setting", 519e274718SZhengchao Shao "category": [ 529e274718SZhengchao Shao "qdisc", 539e274718SZhengchao Shao "fq" 549e274718SZhengchao Shao ], 559e274718SZhengchao Shao "plugins": { 569e274718SZhengchao Shao "requires": "nsPlugin" 579e274718SZhengchao Shao }, 589e274718SZhengchao Shao "setup": [ 599e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 609e274718SZhengchao Shao ], 619e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq flow_limit 300", 629e274718SZhengchao Shao "expExitCode": "0", 639e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 649e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 300p", 659e274718SZhengchao Shao "matchCount": "1", 669e274718SZhengchao Shao "teardown": [ 679e274718SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 689e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 699e274718SZhengchao Shao ] 709e274718SZhengchao Shao }, 719e274718SZhengchao Shao { 729e274718SZhengchao Shao "id": "2390", 739e274718SZhengchao Shao "name": "Create FQ with quantum setting", 749e274718SZhengchao Shao "category": [ 759e274718SZhengchao Shao "qdisc", 769e274718SZhengchao Shao "fq" 779e274718SZhengchao Shao ], 789e274718SZhengchao Shao "plugins": { 799e274718SZhengchao Shao "requires": "nsPlugin" 809e274718SZhengchao Shao }, 819e274718SZhengchao Shao "setup": [ 829e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 839e274718SZhengchao Shao ], 849e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq quantum 9000", 859e274718SZhengchao Shao "expExitCode": "0", 869e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 879e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p buckets.*orphan_mask 1023 quantum 9000b", 889e274718SZhengchao Shao "matchCount": "1", 899e274718SZhengchao Shao "teardown": [ 909e274718SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 919e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 929e274718SZhengchao Shao ] 939e274718SZhengchao Shao }, 949e274718SZhengchao Shao { 959e274718SZhengchao Shao "id": "845b", 969e274718SZhengchao Shao "name": "Create FQ with initial_quantum setting", 979e274718SZhengchao Shao "category": [ 989e274718SZhengchao Shao "qdisc", 999e274718SZhengchao Shao "fq" 1009e274718SZhengchao Shao ], 1019e274718SZhengchao Shao "plugins": { 1029e274718SZhengchao Shao "requires": "nsPlugin" 1039e274718SZhengchao Shao }, 1049e274718SZhengchao Shao "setup": [ 1059e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 1069e274718SZhengchao Shao ], 1079e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq initial_quantum 900000", 1089e274718SZhengchao Shao "expExitCode": "0", 1099e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 1109e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p buckets.*initial_quantum 900000b", 1119e274718SZhengchao Shao "matchCount": "1", 1129e274718SZhengchao Shao "teardown": [ 1139e274718SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 1149e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 1159e274718SZhengchao Shao ] 1169e274718SZhengchao Shao }, 1179e274718SZhengchao Shao { 118*7041101fSDavide Caratti "id": "10f7", 119*7041101fSDavide Caratti "name": "Create FQ with invalid initial_quantum setting", 120*7041101fSDavide Caratti "category": [ 121*7041101fSDavide Caratti "qdisc", 122*7041101fSDavide Caratti "fq" 123*7041101fSDavide Caratti ], 124*7041101fSDavide Caratti "plugins": { 125*7041101fSDavide Caratti "requires": "nsPlugin" 126*7041101fSDavide Caratti }, 127*7041101fSDavide Caratti "setup": [ 128*7041101fSDavide Caratti "$IP link add dev $DUMMY type dummy || /bin/true" 129*7041101fSDavide Caratti ], 130*7041101fSDavide Caratti "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq initial_quantum 0x80000000", 131*7041101fSDavide Caratti "expExitCode": "2", 132*7041101fSDavide Caratti "verifyCmd": "$TC qdisc show dev $DUMMY", 133*7041101fSDavide Caratti "matchPattern": "qdisc fq 1: root.*initial_quantum 2048Mb", 134*7041101fSDavide Caratti "matchCount": "0", 135*7041101fSDavide Caratti "teardown": [ 136*7041101fSDavide Caratti "$IP link del dev $DUMMY type dummy" 137*7041101fSDavide Caratti ] 138*7041101fSDavide Caratti }, 139*7041101fSDavide Caratti { 1409e274718SZhengchao Shao "id": "9398", 1419e274718SZhengchao Shao "name": "Create FQ with maxrate setting", 1429e274718SZhengchao Shao "category": [ 1439e274718SZhengchao Shao "qdisc", 1449e274718SZhengchao Shao "fq" 1459e274718SZhengchao Shao ], 1469e274718SZhengchao Shao "plugins": { 1479e274718SZhengchao Shao "requires": "nsPlugin" 1489e274718SZhengchao Shao }, 1499e274718SZhengchao Shao "setup": [ 1509e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 1519e274718SZhengchao Shao ], 1529e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq maxrate 100000", 1539e274718SZhengchao Shao "expExitCode": "0", 1549e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 1559e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p buckets.*maxrate 100Kbit", 1569e274718SZhengchao Shao "matchCount": "1", 1579e274718SZhengchao Shao "teardown": [ 1589e274718SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 1599e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 1609e274718SZhengchao Shao ] 1619e274718SZhengchao Shao }, 1629e274718SZhengchao Shao { 1639e274718SZhengchao Shao "id": "342c", 1649e274718SZhengchao Shao "name": "Create FQ with nopacing setting", 1659e274718SZhengchao Shao "category": [ 1669e274718SZhengchao Shao "qdisc", 1679e274718SZhengchao Shao "fq" 1689e274718SZhengchao Shao ], 1699e274718SZhengchao Shao "plugins": { 1709e274718SZhengchao Shao "requires": "nsPlugin" 1719e274718SZhengchao Shao }, 1729e274718SZhengchao Shao "setup": [ 1739e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 1749e274718SZhengchao Shao ], 1759e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq nopacing", 1769e274718SZhengchao Shao "expExitCode": "0", 1779e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 1789e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p.*nopacing", 1799e274718SZhengchao Shao "matchCount": "1", 1809e274718SZhengchao Shao "teardown": [ 1819e274718SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 1829e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 1839e274718SZhengchao Shao ] 1849e274718SZhengchao Shao }, 1859e274718SZhengchao Shao { 1869e274718SZhengchao Shao "id": "6391", 1879e274718SZhengchao Shao "name": "Create FQ with refill_delay setting", 1889e274718SZhengchao Shao "category": [ 1899e274718SZhengchao Shao "qdisc", 1909e274718SZhengchao Shao "fq" 1919e274718SZhengchao Shao ], 1929e274718SZhengchao Shao "plugins": { 1939e274718SZhengchao Shao "requires": "nsPlugin" 1949e274718SZhengchao Shao }, 1959e274718SZhengchao Shao "setup": [ 1969e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 1979e274718SZhengchao Shao ], 1989e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq refill_delay 100ms", 1999e274718SZhengchao Shao "expExitCode": "0", 2009e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 2019e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p.*refill_delay 100ms", 2029e274718SZhengchao Shao "matchCount": "1", 2039e274718SZhengchao Shao "teardown": [ 2049e274718SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 2059e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 2069e274718SZhengchao Shao ] 2079e274718SZhengchao Shao }, 2089e274718SZhengchao Shao { 2099e274718SZhengchao Shao "id": "238b", 2109e274718SZhengchao Shao "name": "Create FQ with low_rate_threshold setting", 2119e274718SZhengchao Shao "category": [ 2129e274718SZhengchao Shao "qdisc", 2139e274718SZhengchao Shao "fq" 2149e274718SZhengchao Shao ], 2159e274718SZhengchao Shao "plugins": { 2169e274718SZhengchao Shao "requires": "nsPlugin" 2179e274718SZhengchao Shao }, 2189e274718SZhengchao Shao "setup": [ 2199e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 2209e274718SZhengchao Shao ], 2219e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq low_rate_threshold 10000", 2229e274718SZhengchao Shao "expExitCode": "0", 2239e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 2249e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p.*low_rate_threshold 10Kbit", 2259e274718SZhengchao Shao "matchCount": "1", 2269e274718SZhengchao Shao "teardown": [ 2279e274718SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 2289e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 2299e274718SZhengchao Shao ] 2309e274718SZhengchao Shao }, 2319e274718SZhengchao Shao { 2329e274718SZhengchao Shao "id": "7582", 2339e274718SZhengchao Shao "name": "Create FQ with orphan_mask setting", 2349e274718SZhengchao Shao "category": [ 2359e274718SZhengchao Shao "qdisc", 2369e274718SZhengchao Shao "fq" 2379e274718SZhengchao Shao ], 2389e274718SZhengchao Shao "plugins": { 2399e274718SZhengchao Shao "requires": "nsPlugin" 2409e274718SZhengchao Shao }, 2419e274718SZhengchao Shao "setup": [ 2429e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 2439e274718SZhengchao Shao ], 2449e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq orphan_mask 255", 2459e274718SZhengchao Shao "expExitCode": "0", 2469e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 2479e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p.*orphan_mask 255", 2489e274718SZhengchao Shao "matchCount": "1", 2499e274718SZhengchao Shao "teardown": [ 2509e274718SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 2519e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 2529e274718SZhengchao Shao ] 2539e274718SZhengchao Shao }, 2549e274718SZhengchao Shao { 2559e274718SZhengchao Shao "id": "4894", 2569e274718SZhengchao Shao "name": "Create FQ with timer_slack setting", 2579e274718SZhengchao Shao "category": [ 2589e274718SZhengchao Shao "qdisc", 2599e274718SZhengchao Shao "fq" 2609e274718SZhengchao Shao ], 2619e274718SZhengchao Shao "plugins": { 2629e274718SZhengchao Shao "requires": "nsPlugin" 2639e274718SZhengchao Shao }, 2649e274718SZhengchao Shao "setup": [ 2659e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 2669e274718SZhengchao Shao ], 2679e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq timer_slack 100", 2689e274718SZhengchao Shao "expExitCode": "0", 2699e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 2709e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p.*timer_slack 100ns", 2719e274718SZhengchao Shao "matchCount": "1", 2729e274718SZhengchao Shao "teardown": [ 2739e274718SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 2749e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 2759e274718SZhengchao Shao ] 2769e274718SZhengchao Shao }, 2779e274718SZhengchao Shao { 2789e274718SZhengchao Shao "id": "324c", 2799e274718SZhengchao Shao "name": "Create FQ with ce_threshold setting", 2809e274718SZhengchao Shao "category": [ 2819e274718SZhengchao Shao "qdisc", 2829e274718SZhengchao Shao "fq" 2839e274718SZhengchao Shao ], 2849e274718SZhengchao Shao "plugins": { 2859e274718SZhengchao Shao "requires": "nsPlugin" 2869e274718SZhengchao Shao }, 2879e274718SZhengchao Shao "setup": [ 2889e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 2899e274718SZhengchao Shao ], 2909e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq ce_threshold 100", 2919e274718SZhengchao Shao "expExitCode": "0", 2929e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 2939e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p", 2949e274718SZhengchao Shao "matchCount": "1", 2959e274718SZhengchao Shao "teardown": [ 2969e274718SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 2979e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 2989e274718SZhengchao Shao ] 2999e274718SZhengchao Shao }, 3009e274718SZhengchao Shao { 3019e274718SZhengchao Shao "id": "424a", 3029e274718SZhengchao Shao "name": "Create FQ with horizon time setting", 3039e274718SZhengchao Shao "category": [ 3049e274718SZhengchao Shao "qdisc", 3059e274718SZhengchao Shao "fq" 3069e274718SZhengchao Shao ], 3079e274718SZhengchao Shao "plugins": { 3089e274718SZhengchao Shao "requires": "nsPlugin" 3099e274718SZhengchao Shao }, 3109e274718SZhengchao Shao "setup": [ 3119e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 3129e274718SZhengchao Shao ], 3139e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq horizon 100", 3149e274718SZhengchao Shao "expExitCode": "0", 3159e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 3169e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p.*horizon 100us", 3179e274718SZhengchao Shao "matchCount": "1", 3189e274718SZhengchao Shao "teardown": [ 3199e274718SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 3209e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 3219e274718SZhengchao Shao ] 3229e274718SZhengchao Shao }, 3239e274718SZhengchao Shao { 3249e274718SZhengchao Shao "id": "89e1", 3259e274718SZhengchao Shao "name": "Create FQ with horizon_cap setting", 3269e274718SZhengchao Shao "category": [ 3279e274718SZhengchao Shao "qdisc", 3289e274718SZhengchao Shao "fq" 3299e274718SZhengchao Shao ], 3309e274718SZhengchao Shao "plugins": { 3319e274718SZhengchao Shao "requires": "nsPlugin" 3329e274718SZhengchao Shao }, 3339e274718SZhengchao Shao "setup": [ 3349e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true" 3359e274718SZhengchao Shao ], 3369e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq horizon_cap", 3379e274718SZhengchao Shao "expExitCode": "0", 3389e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 3399e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p.*horizon_cap", 3409e274718SZhengchao Shao "matchCount": "1", 3419e274718SZhengchao Shao "teardown": [ 3429e274718SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 3439e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 3449e274718SZhengchao Shao ] 3459e274718SZhengchao Shao }, 3469e274718SZhengchao Shao { 3479e274718SZhengchao Shao "id": "32e1", 3489e274718SZhengchao Shao "name": "Delete FQ with valid handle", 3499e274718SZhengchao Shao "category": [ 3509e274718SZhengchao Shao "qdisc", 3519e274718SZhengchao Shao "fq" 3529e274718SZhengchao Shao ], 3539e274718SZhengchao Shao "plugins": { 3549e274718SZhengchao Shao "requires": "nsPlugin" 3559e274718SZhengchao Shao }, 3569e274718SZhengchao Shao "setup": [ 3579e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true", 3589e274718SZhengchao Shao "$TC qdisc add dev $DUMMY handle 1: root fq" 3599e274718SZhengchao Shao ], 3609e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc del dev $DUMMY handle 1: root", 3619e274718SZhengchao Shao "expExitCode": "0", 3629e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 3639e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p", 3649e274718SZhengchao Shao "matchCount": "0", 3659e274718SZhengchao Shao "teardown": [ 3669e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 3679e274718SZhengchao Shao ] 3689e274718SZhengchao Shao }, 3699e274718SZhengchao Shao { 3709e274718SZhengchao Shao "id": "49b0", 3719e274718SZhengchao Shao "name": "Replace FQ with limit setting", 3729e274718SZhengchao Shao "category": [ 3739e274718SZhengchao Shao "qdisc", 3749e274718SZhengchao Shao "fq" 3759e274718SZhengchao Shao ], 3769e274718SZhengchao Shao "plugins": { 3779e274718SZhengchao Shao "requires": "nsPlugin" 3789e274718SZhengchao Shao }, 3799e274718SZhengchao Shao "setup": [ 3809e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true", 3819e274718SZhengchao Shao "$TC qdisc add dev $DUMMY handle 1: root fq" 3829e274718SZhengchao Shao ], 3839e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc replace dev $DUMMY handle 1: root fq limit 5000", 3849e274718SZhengchao Shao "expExitCode": "0", 3859e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 3869e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 5000p", 3879e274718SZhengchao Shao "matchCount": "1", 3889e274718SZhengchao Shao "teardown": [ 3899e274718SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 3909e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 3919e274718SZhengchao Shao ] 3929e274718SZhengchao Shao }, 3939e274718SZhengchao Shao { 3949e274718SZhengchao Shao "id": "9478", 3959e274718SZhengchao Shao "name": "Change FQ with limit setting", 3969e274718SZhengchao Shao "category": [ 3979e274718SZhengchao Shao "qdisc", 3989e274718SZhengchao Shao "fq" 3999e274718SZhengchao Shao ], 4009e274718SZhengchao Shao "plugins": { 4019e274718SZhengchao Shao "requires": "nsPlugin" 4029e274718SZhengchao Shao }, 4039e274718SZhengchao Shao "setup": [ 4049e274718SZhengchao Shao "$IP link add dev $DUMMY type dummy || /bin/true", 4059e274718SZhengchao Shao "$TC qdisc add dev $DUMMY handle 1: root fq" 4069e274718SZhengchao Shao ], 4079e274718SZhengchao Shao "cmdUnderTest": "$TC qdisc change dev $DUMMY handle 1: root fq limit 100", 4089e274718SZhengchao Shao "expExitCode": "0", 4099e274718SZhengchao Shao "verifyCmd": "$TC qdisc show dev $DUMMY", 4109e274718SZhengchao Shao "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 100p", 4119e274718SZhengchao Shao "matchCount": "1", 4129e274718SZhengchao Shao "teardown": [ 4139e274718SZhengchao Shao "$TC qdisc del dev $DUMMY handle 1: root", 4149e274718SZhengchao Shao "$IP link del dev $DUMMY type dummy" 4159e274718SZhengchao Shao ] 4169e274718SZhengchao Shao } 4179e274718SZhengchao Shao] 418