1common: 2 platform_allow: 3 - native_sim 4 - native_sim/native/64 5 integration_platforms: 6 - native_sim/native/64 7 tags: 8 - net 9 - traffic_class 10tests: 11 net.traffic_class.1: 12 extra_configs: 13 - CONFIG_NET_TC_TX_COUNT=1 14 - CONFIG_NET_TC_RX_COUNT=1 15 net.traffic_class.2: 16 extra_configs: 17 - CONFIG_NET_TC_TX_COUNT=2 18 - CONFIG_NET_TC_RX_COUNT=2 19 net.traffic_class.3: 20 extra_configs: 21 - CONFIG_NET_TC_TX_COUNT=3 22 - CONFIG_NET_TC_RX_COUNT=3 23 net.traffic_class.4: 24 extra_configs: 25 - CONFIG_NET_TC_TX_COUNT=4 26 - CONFIG_NET_TC_RX_COUNT=4 27 net.traffic_class.5: 28 extra_configs: 29 - CONFIG_NET_TC_TX_COUNT=5 30 - CONFIG_NET_TC_RX_COUNT=5 31 net.traffic_class.6: 32 extra_configs: 33 - CONFIG_NET_TC_TX_COUNT=6 34 - CONFIG_NET_TC_RX_COUNT=6 35 net.traffic_class.7: 36 extra_configs: 37 - CONFIG_NET_TC_TX_COUNT=7 38 - CONFIG_NET_TC_RX_COUNT=7 39 net.traffic_class.8: 40 extra_configs: 41 - CONFIG_NET_TC_TX_COUNT=8 42 - CONFIG_NET_TC_RX_COUNT=8 43 # TX multi queue, RX one queue 44 net.traffic_class.2_no_rx: 45 extra_configs: 46 - CONFIG_NET_TC_TX_COUNT=2 47 - CONFIG_NET_TC_RX_COUNT=1 48 net.traffic_class.3_no_rx: 49 extra_configs: 50 - CONFIG_NET_TC_TX_COUNT=3 51 - CONFIG_NET_TC_RX_COUNT=1 52 net.traffic_class.4_no_rx: 53 extra_configs: 54 - CONFIG_NET_TC_TX_COUNT=4 55 - CONFIG_NET_TC_RX_COUNT=1 56 net.traffic_class.5_no_rx: 57 extra_configs: 58 - CONFIG_NET_TC_TX_COUNT=5 59 - CONFIG_NET_TC_RX_COUNT=1 60 net.traffic_class.6_no_rx: 61 extra_configs: 62 - CONFIG_NET_TC_TX_COUNT=6 63 - CONFIG_NET_TC_RX_COUNT=1 64 net.traffic_class.7_no_rx: 65 extra_configs: 66 - CONFIG_NET_TC_TX_COUNT=7 67 - CONFIG_NET_TC_RX_COUNT=1 68 net.traffic_class.8_no_rx: 69 extra_configs: 70 - CONFIG_NET_TC_TX_COUNT=8 71 - CONFIG_NET_TC_RX_COUNT=1 72 # TX one queue, RX multi queue 73 net.traffic_class.2_no_tx: 74 extra_configs: 75 - CONFIG_NET_TC_RX_COUNT=2 76 - CONFIG_NET_TC_TX_COUNT=1 77 net.traffic_class.3_no_tx: 78 extra_configs: 79 - CONFIG_NET_TC_RX_COUNT=3 80 - CONFIG_NET_TC_TX_COUNT=1 81 net.traffic_class.4_no_tx: 82 extra_configs: 83 - CONFIG_NET_TC_RX_COUNT=4 84 - CONFIG_NET_TC_TX_COUNT=1 85 net.traffic_class.5_no_tx: 86 extra_configs: 87 - CONFIG_NET_TC_RX_COUNT=5 88 - CONFIG_NET_TC_TX_COUNT=1 89 net.traffic_class.6_no_tx: 90 extra_configs: 91 - CONFIG_NET_TC_RX_COUNT=6 92 - CONFIG_NET_TC_TX_COUNT=1 93 net.traffic_class.7_no_tx: 94 extra_configs: 95 - CONFIG_NET_TC_RX_COUNT=7 96 - CONFIG_NET_TC_TX_COUNT=1 97 net.traffic_class.8_no_tx: 98 extra_configs: 99 - CONFIG_NET_TC_RX_COUNT=8 100 - CONFIG_NET_TC_TX_COUNT=1 101 # Then test some hybrid combinations. 102 net.traffic_class.tx_2_rx_3: 103 extra_configs: 104 - CONFIG_NET_TC_RX_COUNT=3 105 - CONFIG_NET_TC_TX_COUNT=2 106 net.traffic_class.tx_3_rx_8: 107 extra_configs: 108 - CONFIG_NET_TC_RX_COUNT=8 109 - CONFIG_NET_TC_TX_COUNT=3 110 net.traffic_class.rx_4_tx_8: 111 extra_configs: 112 - CONFIG_NET_TC_RX_COUNT=4 113 - CONFIG_NET_TC_TX_COUNT=8 114 net.traffic_class.rx_5_tx_7: 115 extra_configs: 116 - CONFIG_NET_TC_RX_COUNT=5 117 - CONFIG_NET_TC_TX_COUNT=7 118 net.traffic_class.tx_6_rx_2: 119 extra_configs: 120 - CONFIG_NET_TC_RX_COUNT=2 121 - CONFIG_NET_TC_TX_COUNT=6 122 net.traffic_class.tx_7_rx_5: 123 extra_configs: 124 - CONFIG_NET_TC_RX_COUNT=5 125 - CONFIG_NET_TC_TX_COUNT=7 126 net.traffic_class.tx_8_rx_7: 127 extra_configs: 128 - CONFIG_NET_TC_RX_COUNT=7 129 - CONFIG_NET_TC_TX_COUNT=8 130 net.traffic_class.2_sr_ab: 131 extra_configs: 132 - CONFIG_NET_TC_MAPPING_SR_CLASS_A_AND_B=y 133 - CONFIG_NET_TC_TX_COUNT=2 134 - CONFIG_NET_TC_RX_COUNT=2 135 net.traffic_class.3_sr_ab: 136 extra_configs: 137 - CONFIG_NET_TC_MAPPING_SR_CLASS_A_AND_B=y 138 - CONFIG_NET_TC_TX_COUNT=3 139 - CONFIG_NET_TC_RX_COUNT=3 140 net.traffic_class.4_sr_ab: 141 extra_configs: 142 - CONFIG_NET_TC_MAPPING_SR_CLASS_A_AND_B=y 143 - CONFIG_NET_TC_TX_COUNT=4 144 - CONFIG_NET_TC_RX_COUNT=4 145 net.traffic_class.5_sr_ab: 146 extra_configs: 147 - CONFIG_NET_TC_MAPPING_SR_CLASS_A_AND_B=y 148 - CONFIG_NET_TC_TX_COUNT=5 149 - CONFIG_NET_TC_RX_COUNT=5 150 net.traffic_class.6_sr_ab: 151 extra_configs: 152 - CONFIG_NET_TC_MAPPING_SR_CLASS_A_AND_B=y 153 - CONFIG_NET_TC_TX_COUNT=6 154 - CONFIG_NET_TC_RX_COUNT=6 155 net.traffic_class.7_sr_ab: 156 extra_configs: 157 - CONFIG_NET_TC_MAPPING_SR_CLASS_A_AND_B=y 158 - CONFIG_NET_TC_TX_COUNT=7 159 - CONFIG_NET_TC_RX_COUNT=7 160 net.traffic_class.8_sr_ab: 161 extra_configs: 162 - CONFIG_NET_TC_MAPPING_SR_CLASS_A_AND_B=y 163 - CONFIG_NET_TC_TX_COUNT=8 164 - CONFIG_NET_TC_RX_COUNT=8 165 net.traffic_class.tx_2_rx_3_sr_ab: 166 extra_configs: 167 - CONFIG_NET_TC_MAPPING_SR_CLASS_A_AND_B=y 168 - CONFIG_NET_TC_RX_COUNT=3 169 - CONFIG_NET_TC_TX_COUNT=2 170 net.traffic_class.tx_3_rx_8_sr_ab: 171 extra_configs: 172 - CONFIG_NET_TC_MAPPING_SR_CLASS_A_AND_B=y 173 - CONFIG_NET_TC_RX_COUNT=8 174 - CONFIG_NET_TC_TX_COUNT=3 175 net.traffic_class.rx_4_tx_8_sr_ab: 176 extra_configs: 177 - CONFIG_NET_TC_MAPPING_SR_CLASS_A_AND_B=y 178 - CONFIG_NET_TC_RX_COUNT=4 179 - CONFIG_NET_TC_TX_COUNT=8 180 net.traffic_class.rx_5_tx_7_sr_ab: 181 extra_configs: 182 - CONFIG_NET_TC_MAPPING_SR_CLASS_A_AND_B=y 183 - CONFIG_NET_TC_RX_COUNT=5 184 - CONFIG_NET_TC_TX_COUNT=7 185 net.traffic_class.tx_6_rx_2_sr_ab: 186 extra_configs: 187 - CONFIG_NET_TC_MAPPING_SR_CLASS_A_AND_B=y 188 - CONFIG_NET_TC_RX_COUNT=2 189 - CONFIG_NET_TC_TX_COUNT=6 190 net.traffic_class.tx_7_rx_5_sr_ab: 191 extra_configs: 192 - CONFIG_NET_TC_MAPPING_SR_CLASS_A_AND_B=y 193 - CONFIG_NET_TC_RX_COUNT=5 194 - CONFIG_NET_TC_TX_COUNT=7 195 net.traffic_class.tx_8_rx_7_sr_ab: 196 extra_configs: 197 - CONFIG_NET_TC_MAPPING_SR_CLASS_A_AND_B=y 198 - CONFIG_NET_TC_RX_COUNT=7 199 - CONFIG_NET_TC_TX_COUNT=8 200 net.traffic_class.2_sr_b: 201 extra_configs: 202 - CONFIG_NET_TC_MAPPING_SR_CLASS_B_ONLY=y 203 - CONFIG_NET_TC_TX_COUNT=2 204 - CONFIG_NET_TC_RX_COUNT=2 205 net.traffic_class.3_sr_b: 206 extra_configs: 207 - CONFIG_NET_TC_MAPPING_SR_CLASS_B_ONLY=y 208 - CONFIG_NET_TC_TX_COUNT=3 209 - CONFIG_NET_TC_RX_COUNT=3 210 net.traffic_class.4_sr_b: 211 extra_configs: 212 - CONFIG_NET_TC_MAPPING_SR_CLASS_B_ONLY=y 213 - CONFIG_NET_TC_TX_COUNT=4 214 - CONFIG_NET_TC_RX_COUNT=4 215 net.traffic_class.5_sr_b: 216 extra_configs: 217 - CONFIG_NET_TC_MAPPING_SR_CLASS_B_ONLY=y 218 - CONFIG_NET_TC_TX_COUNT=5 219 - CONFIG_NET_TC_RX_COUNT=5 220 net.traffic_class.6_sr_b: 221 extra_configs: 222 - CONFIG_NET_TC_MAPPING_SR_CLASS_B_ONLY=y 223 - CONFIG_NET_TC_TX_COUNT=6 224 - CONFIG_NET_TC_RX_COUNT=6 225 net.traffic_class.7_sr_b: 226 extra_configs: 227 - CONFIG_NET_TC_MAPPING_SR_CLASS_B_ONLY=y 228 - CONFIG_NET_TC_TX_COUNT=7 229 - CONFIG_NET_TC_RX_COUNT=7 230 net.traffic_class.8_sr_b: 231 extra_configs: 232 - CONFIG_NET_TC_MAPPING_SR_CLASS_B_ONLY=y 233 - CONFIG_NET_TC_TX_COUNT=8 234 - CONFIG_NET_TC_RX_COUNT=8 235 net.traffic_class.tx_2_rx_3_sr_b: 236 extra_configs: 237 - CONFIG_NET_TC_MAPPING_SR_CLASS_B_ONLY=y 238 - CONFIG_NET_TC_RX_COUNT=3 239 - CONFIG_NET_TC_TX_COUNT=2 240 net.traffic_class.tx_3_rx_8_sr_b: 241 extra_configs: 242 - CONFIG_NET_TC_MAPPING_SR_CLASS_B_ONLY=y 243 - CONFIG_NET_TC_RX_COUNT=8 244 - CONFIG_NET_TC_TX_COUNT=3 245 net.traffic_class.rx_4_tx_8_sr_b: 246 extra_configs: 247 - CONFIG_NET_TC_MAPPING_SR_CLASS_B_ONLY=y 248 - CONFIG_NET_TC_RX_COUNT=4 249 - CONFIG_NET_TC_TX_COUNT=8 250 net.traffic_class.rx_5_tx_7_sr_b: 251 extra_configs: 252 - CONFIG_NET_TC_MAPPING_SR_CLASS_B_ONLY=y 253 - CONFIG_NET_TC_RX_COUNT=5 254 - CONFIG_NET_TC_TX_COUNT=7 255 net.traffic_class.tx_6_rx_2_sr_b: 256 extra_configs: 257 - CONFIG_NET_TC_MAPPING_SR_CLASS_B_ONLY=y 258 - CONFIG_NET_TC_RX_COUNT=2 259 - CONFIG_NET_TC_TX_COUNT=6 260 net.traffic_class.tx_7_rx_5_sr_b: 261 extra_configs: 262 - CONFIG_NET_TC_MAPPING_SR_CLASS_B_ONLY=y 263 - CONFIG_NET_TC_RX_COUNT=5 264 - CONFIG_NET_TC_TX_COUNT=7 265 net.traffic_class.tx_8_rx_7_sr_b: 266 extra_configs: 267 - CONFIG_NET_TC_MAPPING_SR_CLASS_B_ONLY=y 268 - CONFIG_NET_TC_RX_COUNT=7 269 - CONFIG_NET_TC_TX_COUNT=8 270