Carmelo Cascone | f1d0a42 | 2017-09-07 17:21:46 +0200 | [diff] [blame] | 1 | +---------------------------------------------------------------------+ |
| 2 | | Log file: mau.characterize.log | |
| 3 | | Compiler version: 5.1.0 (fca32d1) | |
| 4 | | Created on: Thu Sep 7 14:48:49 2017 | |
| 5 | +---------------------------------------------------------------------+ |
| 6 | |
| 7 | Match+Action Resource Usage |
| 8 | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 9 | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | |
| 10 | | Table | Dir | Stage | P4 | Mem | Total | Total | Table | Match | TCAM | SRAM | Match | Imm. | TCAM | SRAM | P4 | Action | Ideal | Actual | TCAM | SRAM | SRAM | |
| 11 | | Name | | | Lookup | Type | SRAMs | TCAMs | Entries | Bits | Over- | Over- | Overhead | Action | Bits | Bits | Action | Bits | Match | Match | Match | Match | Action | |
| 12 | | | | | Type(s) | | TOT(M/A/S/MT/I) | | Requested | Per | head | head | Structure | Data | Per | Per | Bits | Per | Entries- | Entries- | Packing | Packing | Packing | |
| 13 | | | | | | | (legend | | / | Entry | Bits | Bits | NT/AI/AD/M/S/SL/V/I | in | Entry | Entry | | Entry | Number | Number | Eff. | Eff. | Eff. | |
| 14 | | | | | | | below) | | Allocated | R/A(diff) | Per | Per | (legend | Overhead | R/A(diff) | R/A(diff) | | R/A(diff) | Per | Per | Ideal/ | Ideal/ | Ideal/ | |
| 15 | | | | | | | | | (diff) | | Entry | Entry | below) | R/A(diff) | | | | | Memory | Memory | Actual | Actual | Actual | |
| 16 | | | | | | | | | | | ver/vld | | | | | | | | Units | Units | | | | |
| 17 | | | | | | | | | | | | | | | | | | | (bits) | (bits) | | | | |
| 18 | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 19 | | ingress_pkt | ingress | 0 | | - | 0 (0/0/0/0/0) | 0 | 1024 / 1 (-1023) | 0 / 0 (0) | 0 | 0 | 0/0/0/0/0/0/0/0 | 0 / 0 (0) | 0 / 0 (0) | 0 / 0 (0) | 0 | 0 / 0 (0) | 0 in 0 (0) | 1 in 0 (0) | - / - | - / - | - / - | |
| 20 | | egress_pkt | egress | 0 | | - | 0 (0/0/0/0/0) | 0 | 1024 / 1 (-1023) | 0 / 0 (0) | 0 | 0 | 0/0/0/0/0/0/0/0 | 0 / 0 (0) | 0 / 0 (0) | 0 / 0 (0) | 0 | 0 / 0 (0) | 0 in 0 (0) | 1 in 0 (0) | - / - | - / - | - / - | |
| 21 | | stage 0 totals | - | - | - | - | 0 (0/0/0/0/0) | 0 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 22 | | | | | | | | | | | | | | | | | | | | | | | | |
| 23 | | table0 | ingress | 1 | ternary | tcam | 4 (0/1/2/0/1) | 3 | 512 / 512 (0) | 121 / 121 (0) | 4 | 5 | 1/4/0/0/0/0/0/0 | 0 / 0 (0) | 125 / 132 (7) | 5 / 8 (3) | 16 | 16 / 16 (0) | 1 in 3 (132) | 1 in 3 (132) | 91.7% / 91.7% | - / - | 100.0% / 100.0% | |
| 24 | | stage 1 totals | - | - | - | - | 4 (0/1/2/0/1) | 3 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 25 | | | | | | | | | | | | | | | | | | | | | | | | |
| 26 | | ecmp_group_table | ingress | 2 | exact | sram | 5 (3/0/2/0/0) | 0 | 1024 / 3072 (2048) | 32 / 22 (-10) | 0 | 20 | 0/0/0/0/0/0/4/16 | 9 / 16 (7) | 0 / 0 (0) | 52 / 42 (-10) | 9 | 0 / 0 (0) | 3 in 1 (128) | 1 in 1 (128) | - / - | 96.1% / 29.7% | - / - | |
| 27 | | stage 2 totals | - | - | - | - | 5 (3/0/2/0/0) | 0 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 28 | | | | | | | | | | | | | | | | | | | | | | | | |
| 29 | | ingress_port_count_table | ingress | 3 | | - | 2 (0/0/2/0/0) | 0 | 1024 / 1 (-1023) | 0 / 0 (0) | 0 | 0 | 0/0/0/0/0/0/0/0 | 0 / 0 (0) | 0 / 0 (0) | 0 / 0 (0) | 0 | 0 / 0 (0) | 0 in 0 (0) | 1 in 0 (0) | - / - | - / - | - / - | |
| 30 | | egress_port_count_table | ingress | 3 | | - | 2 (0/0/2/0/0) | 0 | 1024 / 1 (-1023) | 0 / 0 (0) | 0 | 0 | 0/0/0/0/0/0/0/0 | 0 / 0 (0) | 0 / 0 (0) | 0 / 0 (0) | 0 | 0 / 0 (0) | 0 in 0 (0) | 1 in 0 (0) | - / - | - / - | - / - | |
| 31 | | stage 3 totals | - | - | - | - | 4 (0/0/4/0/0) | 0 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 32 | | | | | | | | | | | | | | | | | | | | | | | | |
| 33 | | overall totals | - | - | - | - | 13 (3/1/8/0/1) | 3 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 34 | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 35 | |
| 36 | Total SRAMs Legend: |
| 37 | TOT (M/A/S/MT/I) |
| 38 | TOT = Total |
| 39 | M = Match |
| 40 | A = Action |
| 41 | S = Statistics |
| 42 | MT = Meter / Stateful / Selection |
| 43 | I = Ternary Indirection |
| 44 | |
| 45 | Match Overhead Structure Legend: |
| 46 | NT/AI/AD/M/S/SL/V/I |
| 47 | NT = Next Table Pointer |
| 48 | AI = Action Instruction Pointer |
| 49 | AD = Action Data Pointer |
| 50 | M = Meter/Selection/Stateful Pointer |
| 51 | S = Statistics Pointer |
| 52 | SL = Selection Length |
| 53 | V = Entry Version |
| 54 | I = Immediate Action Data |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | +----------------------------------------------------------------+ |
| 61 | OVERHEAD STRUCTURES |
| 62 | +----------------------------------------------------------------+ |
| 63 | |
| 64 | +----------------------------------------------------------------+ |
| 65 | ingress_port_count_table |
| 66 | +----------------------------------------------------------------+ |
| 67 | Match Overhead: |
| 68 | Field --instruction_address-- [1:0] (2 bits) |
| 69 | Field --statistics_pointer-- [19:0] (20 bits) |
| 70 | |
| 71 | Total bits: 22 |
| 72 | +----------------------------------------------------------------+ |
| 73 | egress_port_count_table |
| 74 | +----------------------------------------------------------------+ |
| 75 | Match Overhead: |
| 76 | Field --statistics_pointer-- [19:0] (20 bits) |
| 77 | |
| 78 | Total bits: 20 |
| 79 | +----------------------------------------------------------------+ |
| 80 | ingress_pkt |
| 81 | +----------------------------------------------------------------+ |
| 82 | Match Overhead: |
| 83 | Field --instruction_address-- [1:0] (2 bits) |
| 84 | |
| 85 | Total bits: 2 |
| 86 | +----------------------------------------------------------------+ |
| 87 | egress_pkt |
| 88 | +----------------------------------------------------------------+ |
| 89 | Match Overhead: |
| 90 | Field --instruction_address-- [1:0] (2 bits) |
| 91 | |
| 92 | Total bits: 2 |
| 93 | +----------------------------------------------------------------+ |
| 94 | table0 |
| 95 | +----------------------------------------------------------------+ |
| 96 | Match Overhead: |
| 97 | Field --next_table-- [0:0] (1 bits) |
| 98 | Field --instruction_address-- [3:0] (4 bits) |
| 99 | |
| 100 | Total bits: 5 |
| 101 | +----------------------------------------------------------------+ |
| 102 | ecmp_group_table |
| 103 | +----------------------------------------------------------------+ |
| 104 | Match Overhead: |
| 105 | Field --version_valid-- [3:0] (4 bits) |
| 106 | Field --immediate-- [15:0] (16 bits) |
| 107 | |
| 108 | Total bits: 20 |
| 109 | |
| 110 | |
| 111 | |
| 112 | |
| 113 | |
| 114 | +----------------------------------------------------------------+ |
| 115 | ingress_port_count_table__action__: |
| 116 | +----------------------------------------------------------------+ |
| 117 | |
| 118 | Action count_ingress: |
| 119 | --------------------------- |
| 120 | Pack Format: |
| 121 | table_word_width: 128 |
| 122 | memory_word_width: 128 |
| 123 | entries_per_table_word: 1 |
| 124 | number_memory_units_per_table_word: 1 |
| 125 | entry_list: [ |
| 126 | entry_number : 0 |
| 127 | field_list : [ |
| 128 | ] |
| 129 | Field --padding-- is 0 bits : in bits [127:0] |
| 130 | ] |
| 131 | |
| 132 | +----------------------------------------------------------------+ |
| 133 | egress_port_count_table__action__: |
| 134 | +----------------------------------------------------------------+ |
| 135 | |
| 136 | Action count_egress: |
| 137 | --------------------------- |
| 138 | Pack Format: |
| 139 | table_word_width: 128 |
| 140 | memory_word_width: 128 |
| 141 | entries_per_table_word: 1 |
| 142 | number_memory_units_per_table_word: 1 |
| 143 | entry_list: [ |
| 144 | entry_number : 0 |
| 145 | field_list : [ |
| 146 | ] |
| 147 | Field --padding-- is 0 bits : in bits [127:0] |
| 148 | ] |
| 149 | |
| 150 | +----------------------------------------------------------------+ |
| 151 | ingress_pkt__action__: |
| 152 | +----------------------------------------------------------------+ |
| 153 | |
| 154 | Action _packet_out: |
| 155 | --------------------------- |
| 156 | Pack Format: |
| 157 | table_word_width: 128 |
| 158 | memory_word_width: 128 |
| 159 | entries_per_table_word: 1 |
| 160 | number_memory_units_per_table_word: 1 |
| 161 | entry_list: [ |
| 162 | entry_number : 0 |
| 163 | field_list : [ |
| 164 | ] |
| 165 | Field --padding-- is 0 bits : in bits [127:0] |
| 166 | ] |
| 167 | |
| 168 | +----------------------------------------------------------------+ |
| 169 | egress_pkt__action__: |
| 170 | +----------------------------------------------------------------+ |
| 171 | |
| 172 | Action add_packet_in_hdr: |
| 173 | --------------------------- |
| 174 | Pack Format: |
| 175 | table_word_width: 128 |
| 176 | memory_word_width: 128 |
| 177 | entries_per_table_word: 1 |
| 178 | number_memory_units_per_table_word: 1 |
| 179 | entry_list: [ |
| 180 | entry_number : 0 |
| 181 | field_list : [ |
| 182 | ] |
| 183 | Field --padding-- is 0 bits : in bits [127:0] |
| 184 | ] |
| 185 | |
| 186 | +----------------------------------------------------------------+ |
| 187 | table0__action__: |
| 188 | +----------------------------------------------------------------+ |
| 189 | |
| 190 | Action set_egress_port: |
| 191 | --------------------------- |
| 192 | Pack Format: |
| 193 | table_word_width: 128 |
| 194 | memory_word_width: 128 |
| 195 | entries_per_table_word: 8 |
| 196 | number_memory_units_per_table_word: 1 |
| 197 | entry_list: [ |
| 198 | entry_number : 7 |
| 199 | field_list : [ |
| 200 | ] |
| 201 | Field --padding-- [6:0] : in bits [127:121] |
| 202 | Field port [8:0] : in bits [120:112] |
| 203 | entry_number : 6 |
| 204 | field_list : [ |
| 205 | ] |
| 206 | Field --padding-- [6:0] : in bits [111:105] |
| 207 | Field port [8:0] : in bits [104:96] |
| 208 | entry_number : 5 |
| 209 | field_list : [ |
| 210 | ] |
| 211 | Field --padding-- [6:0] : in bits [95:89] |
| 212 | Field port [8:0] : in bits [88:80] |
| 213 | entry_number : 4 |
| 214 | field_list : [ |
| 215 | ] |
| 216 | Field --padding-- [6:0] : in bits [79:73] |
| 217 | Field port [8:0] : in bits [72:64] |
| 218 | entry_number : 3 |
| 219 | field_list : [ |
| 220 | ] |
| 221 | Field --padding-- [6:0] : in bits [63:57] |
| 222 | Field port [8:0] : in bits [56:48] |
| 223 | entry_number : 2 |
| 224 | field_list : [ |
| 225 | ] |
| 226 | Field --padding-- [6:0] : in bits [47:41] |
| 227 | Field port [8:0] : in bits [40:32] |
| 228 | entry_number : 1 |
| 229 | field_list : [ |
| 230 | ] |
| 231 | Field --padding-- [6:0] : in bits [31:25] |
| 232 | Field port [8:0] : in bits [24:16] |
| 233 | entry_number : 0 |
| 234 | field_list : [ |
| 235 | ] |
| 236 | Field --padding-- [6:0] : in bits [15:9] |
| 237 | Field port [8:0] : in bits [8:0] |
| 238 | ] |
| 239 | |
| 240 | |
| 241 | Action ecmp_group: |
| 242 | --------------------------- |
| 243 | Pack Format: |
| 244 | table_word_width: 128 |
| 245 | memory_word_width: 128 |
| 246 | entries_per_table_word: 8 |
| 247 | number_memory_units_per_table_word: 1 |
| 248 | entry_list: [ |
| 249 | entry_number : 7 |
| 250 | field_list : [ |
| 251 | ] |
| 252 | Field groupId [15:0] : in bits [127:112] |
| 253 | entry_number : 6 |
| 254 | field_list : [ |
| 255 | ] |
| 256 | Field groupId [15:0] : in bits [111:96] |
| 257 | entry_number : 5 |
| 258 | field_list : [ |
| 259 | ] |
| 260 | Field groupId [15:0] : in bits [95:80] |
| 261 | entry_number : 4 |
| 262 | field_list : [ |
| 263 | ] |
| 264 | Field groupId [15:0] : in bits [79:64] |
| 265 | entry_number : 3 |
| 266 | field_list : [ |
| 267 | ] |
| 268 | Field groupId [15:0] : in bits [63:48] |
| 269 | entry_number : 2 |
| 270 | field_list : [ |
| 271 | ] |
| 272 | Field groupId [15:0] : in bits [47:32] |
| 273 | entry_number : 1 |
| 274 | field_list : [ |
| 275 | ] |
| 276 | Field groupId [15:0] : in bits [31:16] |
| 277 | entry_number : 0 |
| 278 | field_list : [ |
| 279 | ] |
| 280 | Field groupId [15:0] : in bits [15:0] |
| 281 | ] |
| 282 | |
| 283 | |
| 284 | Action send_to_cpu: |
| 285 | --------------------------- |
| 286 | Pack Format: |
| 287 | table_word_width: 128 |
| 288 | memory_word_width: 128 |
| 289 | entries_per_table_word: 8 |
| 290 | number_memory_units_per_table_word: 1 |
| 291 | entry_list: [ |
| 292 | entry_number : 7 |
| 293 | field_list : [ |
| 294 | ] |
| 295 | Field --padding-- [15:0] : in bits [127:112] |
| 296 | entry_number : 6 |
| 297 | field_list : [ |
| 298 | ] |
| 299 | Field --padding-- [15:0] : in bits [111:96] |
| 300 | entry_number : 5 |
| 301 | field_list : [ |
| 302 | ] |
| 303 | Field --padding-- [15:0] : in bits [95:80] |
| 304 | entry_number : 4 |
| 305 | field_list : [ |
| 306 | ] |
| 307 | Field --padding-- [15:0] : in bits [79:64] |
| 308 | entry_number : 3 |
| 309 | field_list : [ |
| 310 | ] |
| 311 | Field --padding-- [15:0] : in bits [63:48] |
| 312 | entry_number : 2 |
| 313 | field_list : [ |
| 314 | ] |
| 315 | Field --padding-- [15:0] : in bits [47:32] |
| 316 | entry_number : 1 |
| 317 | field_list : [ |
| 318 | ] |
| 319 | Field --padding-- [15:0] : in bits [31:16] |
| 320 | entry_number : 0 |
| 321 | field_list : [ |
| 322 | ] |
| 323 | Field --padding-- [15:0] : in bits [15:0] |
| 324 | ] |
| 325 | |
| 326 | |
| 327 | Action _drop: |
| 328 | --------------------------- |
| 329 | Pack Format: |
| 330 | table_word_width: 128 |
| 331 | memory_word_width: 128 |
| 332 | entries_per_table_word: 8 |
| 333 | number_memory_units_per_table_word: 1 |
| 334 | entry_list: [ |
| 335 | entry_number : 7 |
| 336 | field_list : [ |
| 337 | ] |
| 338 | Field --padding-- [15:0] : in bits [127:112] |
| 339 | entry_number : 6 |
| 340 | field_list : [ |
| 341 | ] |
| 342 | Field --padding-- [15:0] : in bits [111:96] |
| 343 | entry_number : 5 |
| 344 | field_list : [ |
| 345 | ] |
| 346 | Field --padding-- [15:0] : in bits [95:80] |
| 347 | entry_number : 4 |
| 348 | field_list : [ |
| 349 | ] |
| 350 | Field --padding-- [15:0] : in bits [79:64] |
| 351 | entry_number : 3 |
| 352 | field_list : [ |
| 353 | ] |
| 354 | Field --padding-- [15:0] : in bits [63:48] |
| 355 | entry_number : 2 |
| 356 | field_list : [ |
| 357 | ] |
| 358 | Field --padding-- [15:0] : in bits [47:32] |
| 359 | entry_number : 1 |
| 360 | field_list : [ |
| 361 | ] |
| 362 | Field --padding-- [15:0] : in bits [31:16] |
| 363 | entry_number : 0 |
| 364 | field_list : [ |
| 365 | ] |
| 366 | Field --padding-- [15:0] : in bits [15:0] |
| 367 | ] |
| 368 | |
| 369 | +----------------------------------------------------------------+ |
| 370 | ecmp_group_table__action__: |
| 371 | +----------------------------------------------------------------+ |
| 372 | |
| 373 | Action set_egress_port: |
| 374 | --------------------------- |
| 375 | Pack Format: |
| 376 | table_word_width: 128 |
| 377 | memory_word_width: 128 |
| 378 | entries_per_table_word: 1 |
| 379 | number_memory_units_per_table_word: 1 |
| 380 | entry_list: [ |
| 381 | entry_number : 0 |
| 382 | field_list : [ |
| 383 | ] |
| 384 | Field --padding-- is 0 bits : in bits [127:0] |
| 385 | ] |
| 386 | |
| 387 | |