1 [ 1 [ 2 { 2 { 3 "id": "7482", 3 "id": "7482", 4 "name": "Create SFQ with default setti 4 "name": "Create SFQ with default setting", 5 "category": [ 5 "category": [ 6 "qdisc", 6 "qdisc", 7 "sfq" 7 "sfq" 8 ], 8 ], 9 "plugins": { 9 "plugins": { 10 "requires": "nsPlugin" 10 "requires": "nsPlugin" 11 }, 11 }, 12 "setup": [ 12 "setup": [ 13 ], 13 ], 14 "cmdUnderTest": "$TC qdisc add dev $DU 14 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfq", 15 "expExitCode": "0", 15 "expExitCode": "0", 16 "verifyCmd": "$TC qdisc show dev $DUMM 16 "verifyCmd": "$TC qdisc show dev $DUMMY", 17 "matchPattern": "qdisc sfq 1: root ref 17 "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum.*depth 127 divisor 1024", 18 "matchCount": "1", 18 "matchCount": "1", 19 "teardown": [ 19 "teardown": [ 20 "$TC qdisc del dev $DUMMY handle 1 20 "$TC qdisc del dev $DUMMY handle 1: root" 21 ] 21 ] 22 }, 22 }, 23 { 23 { 24 "id": "c186", 24 "id": "c186", 25 "name": "Create SFQ with limit setting 25 "name": "Create SFQ with limit setting", 26 "category": [ 26 "category": [ 27 "qdisc", 27 "qdisc", 28 "sfq" 28 "sfq" 29 ], 29 ], 30 "plugins": { 30 "plugins": { 31 "requires": "nsPlugin" 31 "requires": "nsPlugin" 32 }, 32 }, 33 "setup": [ 33 "setup": [ 34 ], 34 ], 35 "cmdUnderTest": "$TC qdisc add dev $DU 35 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfq limit 8", 36 "expExitCode": "0", 36 "expExitCode": "0", 37 "verifyCmd": "$TC qdisc show dev $DUMM 37 "verifyCmd": "$TC qdisc show dev $DUMMY", 38 "matchPattern": "qdisc sfq 1: root ref 38 "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 8p", 39 "matchCount": "1", 39 "matchCount": "1", 40 "teardown": [ 40 "teardown": [ 41 "$TC qdisc del dev $DUMMY handle 1 41 "$TC qdisc del dev $DUMMY handle 1: root" 42 ] 42 ] 43 }, 43 }, 44 { 44 { 45 "id": "ae23", 45 "id": "ae23", 46 "name": "Create SFQ with perturb setti 46 "name": "Create SFQ with perturb setting", 47 "category": [ 47 "category": [ 48 "qdisc", 48 "qdisc", 49 "sfq" 49 "sfq" 50 ], 50 ], 51 "plugins": { 51 "plugins": { 52 "requires": "nsPlugin" 52 "requires": "nsPlugin" 53 }, 53 }, 54 "setup": [ 54 "setup": [ 55 ], 55 ], 56 "cmdUnderTest": "$TC qdisc add dev $DU 56 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfq perturb 10", 57 "expExitCode": "0", 57 "expExitCode": "0", 58 "verifyCmd": "$TC qdisc show dev $DUMM 58 "verifyCmd": "$TC qdisc show dev $DUMMY", 59 "matchPattern": "depth 127 divisor 102 59 "matchPattern": "depth 127 divisor 1024 perturb 10sec", 60 "matchCount": "1", 60 "matchCount": "1", 61 "teardown": [ 61 "teardown": [ 62 "$TC qdisc del dev $DUMMY handle 1 62 "$TC qdisc del dev $DUMMY handle 1: root" 63 ] 63 ] 64 }, 64 }, 65 { 65 { 66 "id": "a430", 66 "id": "a430", 67 "name": "Create SFQ with quantum setti 67 "name": "Create SFQ with quantum setting", 68 "category": [ 68 "category": [ 69 "qdisc", 69 "qdisc", 70 "sfq" 70 "sfq" 71 ], 71 ], 72 "plugins": { 72 "plugins": { 73 "requires": "nsPlugin" 73 "requires": "nsPlugin" 74 }, 74 }, 75 "setup": [ 75 "setup": [ 76 ], 76 ], 77 "cmdUnderTest": "$TC qdisc add dev $DU 77 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfq quantum 9000", 78 "expExitCode": "0", 78 "expExitCode": "0", 79 "verifyCmd": "$TC qdisc show dev $DUMM 79 "verifyCmd": "$TC qdisc show dev $DUMMY", 80 "matchPattern": "qdisc sfq 1: root ref 80 "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 9000b depth 127 divisor 1024", 81 "matchCount": "1", 81 "matchCount": "1", 82 "teardown": [ 82 "teardown": [ 83 "$TC qdisc del dev $DUMMY handle 1 83 "$TC qdisc del dev $DUMMY handle 1: root" 84 ] 84 ] 85 }, 85 }, 86 { 86 { 87 "id": "4539", 87 "id": "4539", 88 "name": "Create SFQ with divisor setti 88 "name": "Create SFQ with divisor setting", 89 "category": [ 89 "category": [ 90 "qdisc", 90 "qdisc", 91 "sfq" 91 "sfq" 92 ], 92 ], 93 "plugins": { 93 "plugins": { 94 "requires": "nsPlugin" 94 "requires": "nsPlugin" 95 }, 95 }, 96 "setup": [ 96 "setup": [ 97 ], 97 ], 98 "cmdUnderTest": "$TC qdisc add dev $DU 98 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfq divisor 512", 99 "expExitCode": "0", 99 "expExitCode": "0", 100 "verifyCmd": "$TC qdisc show dev $DUMM 100 "verifyCmd": "$TC qdisc show dev $DUMMY", 101 "matchPattern": "qdisc sfq 1: root ref 101 "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 divisor 512", 102 "matchCount": "1", 102 "matchCount": "1", 103 "teardown": [ 103 "teardown": [ 104 "$TC qdisc del dev $DUMMY handle 1 104 "$TC qdisc del dev $DUMMY handle 1: root" 105 ] 105 ] 106 }, 106 }, 107 { 107 { 108 "id": "b089", 108 "id": "b089", 109 "name": "Create SFQ with flows setting 109 "name": "Create SFQ with flows setting", 110 "category": [ 110 "category": [ 111 "qdisc", 111 "qdisc", 112 "sfq" 112 "sfq" 113 ], 113 ], 114 "plugins": { 114 "plugins": { 115 "requires": "nsPlugin" 115 "requires": "nsPlugin" 116 }, 116 }, 117 "setup": [ 117 "setup": [ 118 ], 118 ], 119 "cmdUnderTest": "$TC qdisc add dev $DU 119 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfq flows 20", 120 "expExitCode": "0", 120 "expExitCode": "0", 121 "verifyCmd": "$TC qdisc show dev $DUMM 121 "verifyCmd": "$TC qdisc show dev $DUMMY", 122 "matchPattern": "qdisc sfq 1: root ref 122 "matchPattern": "qdisc sfq 1: root refcnt", 123 "matchCount": "1", 123 "matchCount": "1", 124 "teardown": [ 124 "teardown": [ 125 "$TC qdisc del dev $DUMMY handle 1 125 "$TC qdisc del dev $DUMMY handle 1: root" 126 ] 126 ] 127 }, 127 }, 128 { 128 { 129 "id": "99a0", 129 "id": "99a0", 130 "name": "Create SFQ with depth setting 130 "name": "Create SFQ with depth setting", 131 "category": [ 131 "category": [ 132 "qdisc", 132 "qdisc", 133 "sfq" 133 "sfq" 134 ], 134 ], 135 "plugins": { 135 "plugins": { 136 "requires": "nsPlugin" 136 "requires": "nsPlugin" 137 }, 137 }, 138 "setup": [ 138 "setup": [ 139 ], 139 ], 140 "cmdUnderTest": "$TC qdisc add dev $DU 140 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfq depth 64", 141 "expExitCode": "0", 141 "expExitCode": "0", 142 "verifyCmd": "$TC qdisc show dev $DUMM 142 "verifyCmd": "$TC qdisc show dev $DUMMY", 143 "matchPattern": "qdisc sfq 1: root ref 143 "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 64 divisor 1024", 144 "matchCount": "1", 144 "matchCount": "1", 145 "teardown": [ 145 "teardown": [ 146 "$TC qdisc del dev $DUMMY handle 1 146 "$TC qdisc del dev $DUMMY handle 1: root" 147 ] 147 ] 148 }, 148 }, 149 { 149 { 150 "id": "7389", 150 "id": "7389", 151 "name": "Create SFQ with headdrop sett 151 "name": "Create SFQ with headdrop setting", 152 "category": [ 152 "category": [ 153 "qdisc", 153 "qdisc", 154 "sfq" 154 "sfq" 155 ], 155 ], 156 "plugins": { 156 "plugins": { 157 "requires": "nsPlugin" 157 "requires": "nsPlugin" 158 }, 158 }, 159 "setup": [ 159 "setup": [ 160 ], 160 ], 161 "cmdUnderTest": "$TC qdisc add dev $DU 161 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfq headdrop", 162 "expExitCode": "0", 162 "expExitCode": "0", 163 "verifyCmd": "$TC qdisc show dev $DUMM 163 "verifyCmd": "$TC qdisc show dev $DUMMY", 164 "matchPattern": "qdisc sfq 1: root ref 164 "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 headdrop divisor 1024", 165 "matchCount": "1", 165 "matchCount": "1", 166 "teardown": [ 166 "teardown": [ 167 "$TC qdisc del dev $DUMMY handle 1 167 "$TC qdisc del dev $DUMMY handle 1: root" 168 ] 168 ] 169 }, 169 }, 170 { 170 { 171 "id": "6472", 171 "id": "6472", 172 "name": "Create SFQ with redflowlimit 172 "name": "Create SFQ with redflowlimit setting", 173 "category": [ 173 "category": [ 174 "qdisc", 174 "qdisc", 175 "sfq" 175 "sfq" 176 ], 176 ], 177 "plugins": { 177 "plugins": { 178 "requires": "nsPlugin" 178 "requires": "nsPlugin" 179 }, 179 }, 180 "setup": [ 180 "setup": [ 181 ], 181 ], 182 "cmdUnderTest": "$TC qdisc add dev $DU 182 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfq redflowlimit 100000 min 8000 max 60000 probability 0.20 ecn headdrop", 183 "expExitCode": "0", 183 "expExitCode": "0", 184 "verifyCmd": "$TC qdisc show dev $DUMM 184 "verifyCmd": "$TC qdisc show dev $DUMMY", 185 "matchPattern": "qdisc sfq 1: root ref 185 "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 headdrop divisor 1024 ewma 6 min 8000b max 60000b probability 0.2 ecn", 186 "matchCount": "1", 186 "matchCount": "1", 187 "teardown": [ 187 "teardown": [ 188 "$TC qdisc del dev $DUMMY handle 1 188 "$TC qdisc del dev $DUMMY handle 1: root" 189 ] 189 ] 190 }, 190 }, 191 { 191 { 192 "id": "8929", 192 "id": "8929", 193 "name": "Show SFQ class", 193 "name": "Show SFQ class", 194 "category": [ 194 "category": [ 195 "qdisc", 195 "qdisc", 196 "sfq" 196 "sfq" 197 ], 197 ], 198 "plugins": { 198 "plugins": { 199 "requires": "nsPlugin" 199 "requires": "nsPlugin" 200 }, 200 }, 201 "setup": [ 201 "setup": [ 202 ], 202 ], 203 "cmdUnderTest": "$TC qdisc add dev $DU 203 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfq", 204 "expExitCode": "0", 204 "expExitCode": "0", 205 "verifyCmd": "$TC class show dev $DUMM 205 "verifyCmd": "$TC class show dev $DUMMY", 206 "matchPattern": "class sfq 1:", 206 "matchPattern": "class sfq 1:", 207 "matchCount": "0", 207 "matchCount": "0", 208 "teardown": [ 208 "teardown": [ 209 "$TC qdisc del dev $DUMMY handle 1 209 "$TC qdisc del dev $DUMMY handle 1: root" 210 ] 210 ] 211 } 211 } 212 ] 212 ]
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.