Carmelo Cascone | 5db3968 | 2017-09-07 16:36:42 +0200 | [diff] [blame^] | 1 | +---------------------------------------------------------------------+ |
| 2 | | Log file: mau.characterize.log | |
| 3 | | Compiler version: 5.1.0 (fca32d1) | |
| 4 | | Created on: Thu Sep 7 13:56:53 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 | 3 (0/0/2/0/1) | 3 | 512 / 512 (0) | 121 / 121 (0) | 4 | 19 | 0/3/0/0/0/0/0/16 | 9 / 16 (7) | 125 / 132 (7) | 19 / 32 (13) | 9 | 0 / 0 (0) | 1 in 3 (132) | 1 in 3 (132) | 91.7% / 91.7% | 98.4% / 28.1% | - / - | |
| 24 | | stage 1 totals | - | - | - | - | 3 (0/0/2/0/1) | 3 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 25 | | | | | | | | | | | | | | | | | | | | | | | | |
| 26 | | ingress_port_count_table | ingress | 2 | | - | 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) | - / - | - / - | - / - | |
| 27 | | egress_port_count_table | ingress | 2 | | - | 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) | - / - | - / - | - / - | |
| 28 | | stage 2 totals | - | - | - | - | 4 (0/0/4/0/0) | 0 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 29 | | | | | | | | | | | | | | | | | | | | | | | | |
| 30 | | overall totals | - | - | - | - | 7 (0/0/6/0/1) | 3 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 31 | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 32 | |
| 33 | Total SRAMs Legend: |
| 34 | TOT (M/A/S/MT/I) |
| 35 | TOT = Total |
| 36 | M = Match |
| 37 | A = Action |
| 38 | S = Statistics |
| 39 | MT = Meter / Stateful / Selection |
| 40 | I = Ternary Indirection |
| 41 | |
| 42 | Match Overhead Structure Legend: |
| 43 | NT/AI/AD/M/S/SL/V/I |
| 44 | NT = Next Table Pointer |
| 45 | AI = Action Instruction Pointer |
| 46 | AD = Action Data Pointer |
| 47 | M = Meter/Selection/Stateful Pointer |
| 48 | S = Statistics Pointer |
| 49 | SL = Selection Length |
| 50 | V = Entry Version |
| 51 | I = Immediate Action Data |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | +----------------------------------------------------------------+ |
| 58 | OVERHEAD STRUCTURES |
| 59 | +----------------------------------------------------------------+ |
| 60 | |
| 61 | +----------------------------------------------------------------+ |
| 62 | ingress_port_count_table |
| 63 | +----------------------------------------------------------------+ |
| 64 | Match Overhead: |
| 65 | Field --instruction_address-- [1:0] (2 bits) |
| 66 | Field --statistics_pointer-- [19:0] (20 bits) |
| 67 | |
| 68 | Total bits: 22 |
| 69 | +----------------------------------------------------------------+ |
| 70 | egress_port_count_table |
| 71 | +----------------------------------------------------------------+ |
| 72 | Match Overhead: |
| 73 | Field --statistics_pointer-- [19:0] (20 bits) |
| 74 | |
| 75 | Total bits: 20 |
| 76 | +----------------------------------------------------------------+ |
| 77 | ingress_pkt |
| 78 | +----------------------------------------------------------------+ |
| 79 | Match Overhead: |
| 80 | Field --instruction_address-- [1:0] (2 bits) |
| 81 | |
| 82 | Total bits: 2 |
| 83 | +----------------------------------------------------------------+ |
| 84 | egress_pkt |
| 85 | +----------------------------------------------------------------+ |
| 86 | Match Overhead: |
| 87 | Field --instruction_address-- [1:0] (2 bits) |
| 88 | |
| 89 | Total bits: 2 |
| 90 | +----------------------------------------------------------------+ |
| 91 | table0 |
| 92 | +----------------------------------------------------------------+ |
| 93 | Match Overhead: |
| 94 | Field --instruction_address-- [2:0] (3 bits) |
| 95 | Field --immediate-- [15:0] (16 bits) |
| 96 | |
| 97 | Total bits: 19 |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
| 102 | |
| 103 | +----------------------------------------------------------------+ |
| 104 | ingress_port_count_table__action__: |
| 105 | +----------------------------------------------------------------+ |
| 106 | |
| 107 | Action count_ingress: |
| 108 | --------------------------- |
| 109 | Pack Format: |
| 110 | table_word_width: 128 |
| 111 | memory_word_width: 128 |
| 112 | entries_per_table_word: 1 |
| 113 | number_memory_units_per_table_word: 1 |
| 114 | entry_list: [ |
| 115 | entry_number : 0 |
| 116 | field_list : [ |
| 117 | ] |
| 118 | Field --padding-- is 0 bits : in bits [127:0] |
| 119 | ] |
| 120 | |
| 121 | +----------------------------------------------------------------+ |
| 122 | egress_port_count_table__action__: |
| 123 | +----------------------------------------------------------------+ |
| 124 | |
| 125 | Action count_egress: |
| 126 | --------------------------- |
| 127 | Pack Format: |
| 128 | table_word_width: 128 |
| 129 | memory_word_width: 128 |
| 130 | entries_per_table_word: 1 |
| 131 | number_memory_units_per_table_word: 1 |
| 132 | entry_list: [ |
| 133 | entry_number : 0 |
| 134 | field_list : [ |
| 135 | ] |
| 136 | Field --padding-- is 0 bits : in bits [127:0] |
| 137 | ] |
| 138 | |
| 139 | +----------------------------------------------------------------+ |
| 140 | ingress_pkt__action__: |
| 141 | +----------------------------------------------------------------+ |
| 142 | |
| 143 | Action _packet_out: |
| 144 | --------------------------- |
| 145 | Pack Format: |
| 146 | table_word_width: 128 |
| 147 | memory_word_width: 128 |
| 148 | entries_per_table_word: 1 |
| 149 | number_memory_units_per_table_word: 1 |
| 150 | entry_list: [ |
| 151 | entry_number : 0 |
| 152 | field_list : [ |
| 153 | ] |
| 154 | Field --padding-- is 0 bits : in bits [127:0] |
| 155 | ] |
| 156 | |
| 157 | +----------------------------------------------------------------+ |
| 158 | egress_pkt__action__: |
| 159 | +----------------------------------------------------------------+ |
| 160 | |
| 161 | Action add_packet_in_hdr: |
| 162 | --------------------------- |
| 163 | Pack Format: |
| 164 | table_word_width: 128 |
| 165 | memory_word_width: 128 |
| 166 | entries_per_table_word: 1 |
| 167 | number_memory_units_per_table_word: 1 |
| 168 | entry_list: [ |
| 169 | entry_number : 0 |
| 170 | field_list : [ |
| 171 | ] |
| 172 | Field --padding-- is 0 bits : in bits [127:0] |
| 173 | ] |
| 174 | |
| 175 | +----------------------------------------------------------------+ |
| 176 | table0__action__: |
| 177 | +----------------------------------------------------------------+ |
| 178 | |
| 179 | Action set_egress_port: |
| 180 | --------------------------- |
| 181 | Pack Format: |
| 182 | table_word_width: 128 |
| 183 | memory_word_width: 128 |
| 184 | entries_per_table_word: 1 |
| 185 | number_memory_units_per_table_word: 1 |
| 186 | entry_list: [ |
| 187 | entry_number : 0 |
| 188 | field_list : [ |
| 189 | ] |
| 190 | Field --padding-- is 0 bits : in bits [127:0] |
| 191 | ] |
| 192 | |
| 193 | |
| 194 | Action send_to_cpu: |
| 195 | --------------------------- |
| 196 | Pack Format: |
| 197 | table_word_width: 128 |
| 198 | memory_word_width: 128 |
| 199 | entries_per_table_word: 1 |
| 200 | number_memory_units_per_table_word: 1 |
| 201 | entry_list: [ |
| 202 | entry_number : 0 |
| 203 | field_list : [ |
| 204 | ] |
| 205 | Field --padding-- is 0 bits : in bits [127:0] |
| 206 | ] |
| 207 | |
| 208 | |
| 209 | Action _drop: |
| 210 | --------------------------- |
| 211 | Pack Format: |
| 212 | table_word_width: 128 |
| 213 | memory_word_width: 128 |
| 214 | entries_per_table_word: 1 |
| 215 | number_memory_units_per_table_word: 1 |
| 216 | entry_list: [ |
| 217 | entry_number : 0 |
| 218 | field_list : [ |
| 219 | ] |
| 220 | Field --padding-- is 0 bits : in bits [127:0] |
| 221 | ] |
| 222 | |
| 223 | |