1[ 2 { 3 "id": "283e", 4 "name": "Create skbprio with default setting", 5 "category": [ 6 "qdisc", 7 "skbprio" 8 ], 9 "plugins": { 10 "requires": "nsPlugin" 11 }, 12 "setup": [ 13 "$IP link add dev $DUMMY type dummy || /bin/true" 14 ], 15 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root skbprio", 16 "expExitCode": "0", 17 "verifyCmd": "$TC qdisc show dev $DUMMY", 18 "matchPattern": "qdisc skbprio 1: root refcnt [0-9]+ limit 64", 19 "matchCount": "1", 20 "teardown": [ 21 "$TC qdisc del dev $DUMMY handle 1: root", 22 "$IP link del dev $DUMMY type dummy" 23 ] 24 }, 25 { 26 "id": "c086", 27 "name": "Create skbprio with limit setting", 28 "category": [ 29 "qdisc", 30 "skbprio" 31 ], 32 "plugins": { 33 "requires": "nsPlugin" 34 }, 35 "setup": [ 36 "$IP link add dev $DUMMY type dummy || /bin/true" 37 ], 38 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root skbprio limit 1", 39 "expExitCode": "0", 40 "verifyCmd": "$TC qdisc show dev $DUMMY", 41 "matchPattern": "qdisc skbprio 1: root refcnt [0-9]+ limit 1", 42 "matchCount": "1", 43 "teardown": [ 44 "$TC qdisc del dev $DUMMY handle 1: root", 45 "$IP link del dev $DUMMY type dummy" 46 ] 47 }, 48 { 49 "id": "6733", 50 "name": "Change skbprio with limit setting", 51 "category": [ 52 "qdisc", 53 "skbprio" 54 ], 55 "plugins": { 56 "requires": "nsPlugin" 57 }, 58 "setup": [ 59 "$IP link add dev $DUMMY type dummy || /bin/true", 60 "$TC qdisc add dev $DUMMY handle 1: root skbprio" 61 ], 62 "cmdUnderTest": "$TC qdisc change dev $DUMMY handle 1: root skbprio limit 32", 63 "expExitCode": "0", 64 "verifyCmd": "$TC qdisc show dev $DUMMY", 65 "matchPattern": "qdisc skbprio 1: root refcnt [0-9]+ limit 32", 66 "matchCount": "1", 67 "teardown": [ 68 "$TC qdisc del dev $DUMMY handle 1: root", 69 "$IP link del dev $DUMMY type dummy" 70 ] 71 }, 72 { 73 "id": "2958", 74 "name": "Show skbprio class", 75 "category": [ 76 "qdisc", 77 "skbprio" 78 ], 79 "plugins": { 80 "requires": "nsPlugin" 81 }, 82 "setup": [ 83 "$IP link add dev $DUMMY type dummy || /bin/true" 84 ], 85 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root skbprio", 86 "expExitCode": "0", 87 "verifyCmd": "$TC class show dev $DUMMY", 88 "matchPattern": "class skbprio 1:", 89 "matchCount": "64", 90 "teardown": [ 91 "$TC qdisc del dev $DUMMY handle 1: root", 92 "$IP link del dev $DUMMY type dummy" 93 ] 94 } 95] 96