blob: 0a05cb379dfc596fce964383f8a41a7b77b8d33a [file] [log] [blame]
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001+---------------------------------------------------------------------+
2| Log file: mau.log |
3| Compiler version: 5.1.0 (fca32d1) |
Carmelo Cascone133c7b12017-09-13 15:36:08 +02004| Created on: Wed Sep 13 12:57:41 2017 |
Carmelo Casconef1d0a422017-09-07 17:21:46 +02005+---------------------------------------------------------------------+
6
7Match Table table0 did not specify the number of entries required. A default value (512) will be used.
8Match Table ecmp_group_table did not specify the number of entries required. A default value (1024) will be used.
9Match Entry Table table0 has already been associated with stat Table table0_counter.
10Match Entry Table ecmp_group_table has already been associated with stat Table ecmp_group_table_counter.
Brian O'Connora6862e02017-09-08 01:17:39 -070011Cannot implement table0 in phase 0 resources because table uses side effect tables.
Carmelo Casconef1d0a422017-09-07 17:21:46 +020012Match Table table0 did not specify the number of entries required. A default value (512) will be used.
13Match Table ecmp_group_table did not specify the number of entries required. A default value (1024) will be used.
14Match Entry Table table0 has already been associated with stat Table table0_counter.
15Match Entry Table ecmp_group_table has already been associated with stat Table ecmp_group_table_counter.
Brian O'Connora6862e02017-09-08 01:17:39 -070016Cannot implement table0 in phase 0 resources because table uses side effect tables.
Carmelo Casconef1d0a422017-09-07 17:21:46 +020017Match Table table0 did not specify the number of entries required. A default value (512) will be used.
18Match Table ecmp_group_table did not specify the number of entries required. A default value (1024) will be used.
Brian O'Connora6862e02017-09-08 01:17:39 -070019POV/metadata bridge containers added between ingress/egress: [0]
Carmelo Casconef1d0a422017-09-07 17:21:46 +020020Metadata bridge_ingress_intrinsic containers added between ingress/egress: [128]
21Match Entry Table table0 has already been associated with stat Table table0_counter.
22Match Entry Table ecmp_group_table has already been associated with stat Table ecmp_group_table_counter.
23Match table ingress_port_count_table has no match key fields
Carmelo Casconef1d0a422017-09-07 17:21:46 +020024Match table egress_port_count_table has no match key fields
Carmelo Casconef1d0a422017-09-07 17:21:46 +020025
26##########################################
Brian O'Connora6862e02017-09-08 01:17:39 -070027 Call to decide_action_data_placement(stage=0, table=process_packet_out_table)
Carmelo Casconef1d0a422017-09-07 17:21:46 +020028##########################################
29
30
31Max immediate bits used in any action is 0 bits.
Brian O'Connora6862e02017-09-08 01:17:39 -070032Overhead bit width for table process_packet_out_table is 0 bits.
Carmelo Casconef1d0a422017-09-07 17:21:46 +020033Bits available in overhead for non-essential immediate data is 32 bits.
34~~~~~~~~~~~~~~~~~~~~~
35 Examining placing 0 bits in match overhead
Brian O'Connora6862e02017-09-08 01:17:39 -070036Overhead bit width for table process_packet_out_table is 0 bits.
Carmelo Casconef1d0a422017-09-07 17:21:46 +020037Overhead SRAMs to use = 97
38 Entries requested = 1024 and match entries get = 0
39ram_size_matrix =
40 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
41 0 0 0 0 0 0 0 0 # 0
42
43immediate_size_matrix =
44 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
45 0 0 0 0 0 0 0 0 # 0
46
47hash_to_phv_matrix =
48 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
49 0 0 0 0 0 0 0 0 # 0
50
51total action ram packing size = [0, 0, 0]
52action_ram_packing:
Brian O'Connora6862e02017-09-08 01:17:39 -070053 action _process_packet_out has []
Carmelo Casconef1d0a422017-09-07 17:21:46 +020054total action ram packing size = [0, 0, 0]
55action_ram_packing:
Brian O'Connora6862e02017-09-08 01:17:39 -070056 action _process_packet_out has []
Carmelo Casconef1d0a422017-09-07 17:21:46 +020057total action ram packing size = [0, 0, 0]
58action_ram_packing:
Brian O'Connora6862e02017-09-08 01:17:39 -070059 action _process_packet_out has []
Carmelo Casconef1d0a422017-09-07 17:21:46 +020060byte_enables = []
61After allocation of 32s, available_slots is []
62final packing is []
63byte_enables = []
64After allocation of 32s, available_slots is []
65final packing is []
66byte_enables = []
67After allocation of 32s, available_slots is []
68final packing is []
69Action Data SRAMs to use = 0
70TODO: Total RAMs use when put 0 bits in match overhead: 97
71TODO: Total RAMs use when put 0 bits in match overhead: 97
72~~~~~~~~~~~~~~~~~~~~~
73 Examining placing 8 bits in match overhead
74~~~~~~~~~~~~~~~~~~~~~
75 Examining placing 16 bits in match overhead
76~~~~~~~~~~~~~~~~~~~~~
77 Examining placing 24 bits in match overhead
78~~~~~~~~~~~~~~~~~~~~~
79 Examining placing 32 bits in match overhead
80
81##########################################
82
83Best Ram Usage is 97 rams
84Best Immediate placement is 0 bits
85Cannot use hash-action for table ecmp_group_table because it has more than one side-effect table
86
87##########################################
88 Call to decide_action_data_placement(stage=0, table=ecmp_group_table)
89##########################################
90
91
92Max immediate bits used in any action is 0 bits.
93Overhead bit width for table ecmp_group_table is 0 bits.
94Bits available in overhead for non-essential immediate data is 32 bits.
95~~~~~~~~~~~~~~~~~~~~~
96 Examining placing 0 bits in match overhead
97Overhead bit width for table ecmp_group_table is 0 bits.
98Allocating: Byte 0 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[7:0]}.
99Allocating: Byte 1 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[15:8]}.
Carmelo Cascone8aa05482017-09-12 13:21:59 +0200100Allocating: Byte 2 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[7:0]}.
101Allocating: Byte 3 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[15:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200102
103---------------------------------------------
104Call to can_any_match_key_fields_be_shared(stage=0, table=ecmp_group_table)
105---------------------------------------------
106Decided way to allocate for table ecmp_group_table in stage 0 WAS non_shared
107Allocating: Byte 0 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[7:0]}.
108Allocating: Byte 1 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[15:8]}.
Carmelo Cascone8aa05482017-09-12 13:21:59 +0200109Allocating: Byte 2 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[7:0]}.
110Allocating: Byte 3 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[15:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200111Overhead SRAMs to use = 3
112 Entries requested = 1024 and match entries get = 3072
113ram_size_matrix =
114 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
115 0 0 0 1 0 0 0 0 # 0
116
117immediate_size_matrix =
118 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
119 0 0 0 0 0 0 0 0 # 0
120
121hash_to_phv_matrix =
122 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
123 0 0 0 0 0 0 0 0 # 0
124
125total action ram packing size = [16, 0, 0]
126action_ram_packing:
127 action set_egress_port has [(16, 16, False)]
128total action ram packing size = [16, 0, 0]
129action_ram_packing:
130 action set_egress_port has []
131total action ram packing size = [16, 0, 0]
132action_ram_packing:
133 action set_egress_port has []
134byte_enables = [1, 1]
135Allocating Action Parameter Bus Byte 32 in stage 0 for Byte 0 of 16-bit constant
136Allocating Action Parameter Bus Byte 33 in stage 0 for Byte 1 of 16-bit constant
137Allocating Action Parameter Bus Byte 34 in stage 0 for Byte 0 of 16-bit constant
138Allocating Action Parameter Bus Byte 35 in stage 0 for Byte 1 of 16-bit constant
139After allocation of 32s, available_slots is [(16, 0, 0), (32, 8, 0), (16, 1, 16)]
140final packing is [(16, 16, False)]
141byte_enables = []
142After allocation of 32s, available_slots is []
143final packing is []
144byte_enables = []
145After allocation of 32s, available_slots is []
146final packing is []
147Action Data SRAMs to use = 1
148TODO: Total RAMs use when put 0 bits in match overhead: 4
149TODO: Total RAMs use when put 0 bits in match overhead: 4
150~~~~~~~~~~~~~~~~~~~~~
151 Examining placing 8 bits in match overhead
152~~~~~~~~~~~~~~~~~~~~~
153 Examining placing 16 bits in match overhead
154Overhead bit width for table ecmp_group_table is 0 bits.
155Allocating: Byte 0 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[7:0]}.
156Allocating: Byte 1 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[15:8]}.
Carmelo Cascone8aa05482017-09-12 13:21:59 +0200157Allocating: Byte 2 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[7:0]}.
158Allocating: Byte 3 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[15:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200159
160---------------------------------------------
161Call to can_any_match_key_fields_be_shared(stage=0, table=ecmp_group_table)
162---------------------------------------------
163Decided way to allocate for table ecmp_group_table in stage 0 WAS non_shared
164Allocating: Byte 0 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[7:0]}.
165Allocating: Byte 1 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[15:8]}.
Carmelo Cascone8aa05482017-09-12 13:21:59 +0200166Allocating: Byte 2 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[7:0]}.
167Allocating: Byte 3 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[15:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200168Overhead SRAMs to use = 3
169 Entries requested = 1024 and match entries get = 3072
170ram_size_matrix =
171 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
172 0 0 0 0 0 0 0 0 # 0
173
174immediate_size_matrix =
175 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
176 0 0 0 1 0 0 0 0 # 0
177
178hash_to_phv_matrix =
179 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
180 0 0 0 0 0 0 0 0 # 0
181
182total action ram packing size = [0, 0, 0]
183action_ram_packing:
184 action set_egress_port has []
185total action ram packing size = [0, 16, 0]
186action_ram_packing:
187 action set_egress_port has [(16, 16, False)]
188total action ram packing size = [0, 16, 0]
189action_ram_packing:
190 action set_egress_port has []
191byte_enables = []
192After allocation of 32s, available_slots is []
193final packing is []
194byte_enables = [1, 1]
195Allocating Action Parameter Bus Byte 32 in stage 0 for Byte 0 of 16-bit constant
196Allocating Action Parameter Bus Byte 33 in stage 0 for Byte 1 of 16-bit constant
197Allocating Action Parameter Bus Byte 34 in stage 0 for Byte 0 of 16-bit constant
198Allocating Action Parameter Bus Byte 35 in stage 0 for Byte 1 of 16-bit constant
199After allocation of 32s, available_slots is [(16, 0, 0), (32, 8, 0), (16, 1, 16)]
200final packing is [(16, 16, False)]
201byte_enables = []
202After allocation of 32s, available_slots is []
203final packing is []
204Action Data SRAMs to use = 0
205TODO: Total RAMs use when put 16 bits in match overhead: 3
206TODO: Total RAMs use when put 16 bits in match overhead: 3
207~~~~~~~~~~~~~~~~~~~~~
208 Examining placing 24 bits in match overhead
209Overhead bit width for table ecmp_group_table is 0 bits.
210Allocating: Byte 0 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[7:0]}.
211Allocating: Byte 1 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[15:8]}.
Carmelo Cascone8aa05482017-09-12 13:21:59 +0200212Allocating: Byte 2 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[7:0]}.
213Allocating: Byte 3 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[15:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200214
215---------------------------------------------
216Call to can_any_match_key_fields_be_shared(stage=0, table=ecmp_group_table)
217---------------------------------------------
218Decided way to allocate for table ecmp_group_table in stage 0 WAS non_shared
219Allocating: Byte 0 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[7:0]}.
220Allocating: Byte 1 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[15:8]}.
Carmelo Cascone8aa05482017-09-12 13:21:59 +0200221Allocating: Byte 2 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[7:0]}.
222Allocating: Byte 3 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[15:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200223Overhead SRAMs to use = 3
224 Entries requested = 1024 and match entries get = 3072
225ram_size_matrix =
226 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
227 0 0 0 0 0 0 0 0 # 0
228
229immediate_size_matrix =
230 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
231 0 0 0 1 0 0 0 0 # 0
232
233hash_to_phv_matrix =
234 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
235 0 0 0 0 0 0 0 0 # 0
236
237total action ram packing size = [0, 0, 0]
238action_ram_packing:
239 action set_egress_port has []
240total action ram packing size = [0, 16, 0]
241action_ram_packing:
242 action set_egress_port has [(16, 16, False)]
243total action ram packing size = [0, 16, 0]
244action_ram_packing:
245 action set_egress_port has []
246byte_enables = []
247After allocation of 32s, available_slots is []
248final packing is []
249byte_enables = [1, 1]
250Allocating Action Parameter Bus Byte 32 in stage 0 for Byte 0 of 16-bit constant
251Allocating Action Parameter Bus Byte 33 in stage 0 for Byte 1 of 16-bit constant
252Allocating Action Parameter Bus Byte 34 in stage 0 for Byte 0 of 16-bit constant
253Allocating Action Parameter Bus Byte 35 in stage 0 for Byte 1 of 16-bit constant
254After allocation of 32s, available_slots is [(16, 0, 0), (32, 8, 0), (16, 1, 16)]
255final packing is [(16, 16, False)]
256byte_enables = []
257After allocation of 32s, available_slots is []
258final packing is []
259Action Data SRAMs to use = 0
260TODO: Total RAMs use when put 24 bits in match overhead: 3
261TODO: Total RAMs use when put 24 bits in match overhead: 3
262~~~~~~~~~~~~~~~~~~~~~
263 Examining placing 32 bits in match overhead
264Overhead bit width for table ecmp_group_table is 0 bits.
265Allocating: Byte 0 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[7:0]}.
266Allocating: Byte 1 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[15:8]}.
Carmelo Cascone8aa05482017-09-12 13:21:59 +0200267Allocating: Byte 2 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[7:0]}.
268Allocating: Byte 3 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[15:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200269
270---------------------------------------------
271Call to can_any_match_key_fields_be_shared(stage=0, table=ecmp_group_table)
272---------------------------------------------
273Decided way to allocate for table ecmp_group_table in stage 0 WAS non_shared
274Allocating: Byte 0 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[7:0]}.
275Allocating: Byte 1 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[15:8]}.
Carmelo Cascone8aa05482017-09-12 13:21:59 +0200276Allocating: Byte 2 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[7:0]}.
277Allocating: Byte 3 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[15:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200278Overhead SRAMs to use = 3
279 Entries requested = 1024 and match entries get = 3072
280ram_size_matrix =
281 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
282 0 0 0 0 0 0 0 0 # 0
283
284immediate_size_matrix =
285 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
286 0 0 0 1 0 0 0 0 # 0
287
288hash_to_phv_matrix =
289 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
290 0 0 0 0 0 0 0 0 # 0
291
292total action ram packing size = [0, 0, 0]
293action_ram_packing:
294 action set_egress_port has []
295total action ram packing size = [0, 16, 0]
296action_ram_packing:
297 action set_egress_port has [(16, 16, False)]
298total action ram packing size = [0, 16, 0]
299action_ram_packing:
300 action set_egress_port has []
301byte_enables = []
302After allocation of 32s, available_slots is []
303final packing is []
304byte_enables = [1, 1]
305Allocating Action Parameter Bus Byte 32 in stage 0 for Byte 0 of 16-bit constant
306Allocating Action Parameter Bus Byte 33 in stage 0 for Byte 1 of 16-bit constant
307Allocating Action Parameter Bus Byte 34 in stage 0 for Byte 0 of 16-bit constant
308Allocating Action Parameter Bus Byte 35 in stage 0 for Byte 1 of 16-bit constant
309After allocation of 32s, available_slots is [(16, 0, 0), (32, 8, 0), (16, 1, 16)]
310final packing is [(16, 16, False)]
311byte_enables = []
312After allocation of 32s, available_slots is []
313final packing is []
314Action Data SRAMs to use = 0
315TODO: Total RAMs use when put 32 bits in match overhead: 3
316TODO: Total RAMs use when put 32 bits in match overhead: 3
317
318##########################################
319
320Best Ram Usage is 3 rams
321Best Immediate placement is 16 bits
Brian O'Connora6862e02017-09-08 01:17:39 -0700322Cannot implement table0 in phase 0 resources because table uses side effect tables.
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200323
324----------------------------------------------
325Call to Allocate P4 Table with table table0__action__, number_entries = 512, table id = None, and match type = exact
Brian O'Connora6862e02017-09-08 01:17:39 -0700326 Allocating in stage 0
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200327----------------------------------------------
328
329ram_size_matrix =
330 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
331 0 0 0 1 0 0 0 0 # 0
332 0 0 0 1 0 0 0 0 # 1
Brian O'Connora6862e02017-09-08 01:17:39 -0700333 0 0 0 1 0 0 0 0 # 2
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200334 0 0 0 0 0 0 0 0 # 3
335
336immediate_size_matrix =
337 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
338 0 0 0 0 0 0 0 0 # 0
339 0 0 0 0 0 0 0 0 # 1
340 0 0 0 0 0 0 0 0 # 2
341 0 0 0 0 0 0 0 0 # 3
342
343hash_to_phv_matrix =
344 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
345 0 0 0 0 0 0 0 0 # 0
346 0 0 0 1 0 0 0 0 # 1
347 0 0 0 0 0 0 0 0 # 2
348 0 0 0 0 0 0 0 0 # 3
349
350total action ram packing size = [16, 0, 0]
351action_ram_packing:
352 action set_egress_port has [(16, 16, False)]
353 action ecmp_group has [(16, 16, False)]
Brian O'Connora6862e02017-09-08 01:17:39 -0700354 action send_to_cpu has [(16, 16, False)]
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200355 action _drop has []
356total action ram packing size = [16, 0, 0]
357action_ram_packing:
358 action set_egress_port has []
359 action ecmp_group has []
360 action send_to_cpu has []
361 action _drop has []
362total action ram packing size = [16, 0, 16]
363action_ram_packing:
364 action set_egress_port has [(16, 0, False)]
365 action ecmp_group has [(16, 16, False)]
366 action send_to_cpu has [(16, 0, False)]
367 action _drop has [(16, 0, False)]
368byte_enables = [1, 1]
Brian O'Connora6862e02017-09-08 01:17:39 -0700369Allocating Action Parameter Bus Byte 32 in stage 0 for Byte 0 of 16-bit constant
370Allocating Action Parameter Bus Byte 33 in stage 0 for Byte 1 of 16-bit constant
371Allocating Action Parameter Bus Byte 34 in stage 0 for Byte 0 of 16-bit constant
372Allocating Action Parameter Bus Byte 35 in stage 0 for Byte 1 of 16-bit constant
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200373After allocation of 32s, available_slots is [(16, 0, 0), (32, 8, 0), (16, 1, 16)]
374final packing is [(16, 16, False)]
375final packing is [(16, 16, False)]
Brian O'Connora6862e02017-09-08 01:17:39 -0700376final packing is [(16, 16, False)]
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200377final packing is []
378byte_enables = []
379After allocation of 32s, available_slots is []
380final packing is []
381final packing is []
382final packing is []
383final packing is []
384byte_enables = [1, 1]
Brian O'Connora6862e02017-09-08 01:17:39 -0700385Allocating Action Parameter Bus Byte 36 in stage 0 for Byte 0 of 16-bit constant
386Allocating Action Parameter Bus Byte 37 in stage 0 for Byte 1 of 16-bit constant
387Allocating Action Parameter Bus Byte 38 in stage 0 for Byte 0 of 16-bit constant
388Allocating Action Parameter Bus Byte 39 in stage 0 for Byte 1 of 16-bit constant
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200389After allocation of 32s, available_slots is [(16, 2, 0), (32, 9, 0), (16, 3, 16)]
390final packing is [(16, 0, False)]
391final packing is [(16, 16, False)]
392final packing is [(16, 0, False)]
393final packing is [(16, 0, False)]
394----------------------------------------------
395 Call to allocate_hash_distribution_units with
Carmelo Cascone6230a612017-09-13 03:25:41 +0200396 hash_algorithm = crc16
397 hash_output_width = 16
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200398 hash_bits_need = 1
399 output_hash_bit_start = 0
400 immediate_bit_positions = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
401 used_for = Immediate
402----------------------------------------------
403available_tuples_sorted_by_parity_bytes_available = [(0, 3, 0), (1, 3, 0)]
404available_tuples_split_sorted_by_parity_bytes_available = []
405Allocate fresh exact match group / hash group
Carmelo Cascone6230a612017-09-13 03:25:41 +0200406Allocating: Byte 0 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ipv4.dstAddr[7:0]}.
407Allocating: Byte 1 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ipv4.dstAddr[15:8]}.
408Allocating: Byte 2 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ipv4.dstAddr[23:16]}.
409Allocating: Byte 3 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {tcp.dstPort[7:0]}.
410Allocating: Byte 4 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ipv4.srcAddr[31:24]}.
411Allocating: Byte 5 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {tcp.srcPort[7:0]}.
412Allocating: Byte 6 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {tcp.dstPort[15:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200413Allocating: Byte 7 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ipv4.dstAddr[31:24]}.
Carmelo Cascone6230a612017-09-13 03:25:41 +0200414Allocating: Byte 8 is of type exact and member of group 0 (parity group 1) with 16 bytes. for {ipv4.srcAddr[7:0]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200415Allocating: Byte 9 is of type exact and member of group 0 (parity group 1) with 16 bytes. for {ipv4.srcAddr[15:8]}.
Carmelo Cascone6230a612017-09-13 03:25:41 +0200416Allocating: Byte 10 is of type exact and member of group 0 (parity group 1) with 16 bytes. for {tcp.srcPort[15:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200417Allocating: Byte 11 is of type exact and member of group 0 (parity group 1) with 16 bytes. for {ipv4.srcAddr[23:16]}.
418-------------------
419Call to _allocate_hash_distribution_and_hash_bits
420 p4_table = table0__action__
421 used_for = Immediate
422 hash_distribution_hash_id = 0
423 hash_group_id = 0
424 hash_bits_in_units = OrderedDict([(0, [0])])
425 address_left_shift = 0
426-------------------
Brian O'Connora6862e02017-09-08 01:17:39 -0700427Allocating Hash Distribution Group 0/0 for table table0__action__ in stage 0.
428Allocating Hash Bit 0 in hash match group 0 for table table0__action__ in stage 0.
Carmelo Cascone6230a612017-09-13 03:25:41 +0200429total_hash_result_bits = 16
430polynomial_as_hex_int = 0x18005
431seed = 0x0
432set the seed to be [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, 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]
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200433Hash Function 0
Carmelo Cascone6230a612017-09-13 03:25:41 +0200434hash_bit_0 = ipv4.dstAddr[0] ^ ipv4.dstAddr[1] ^ ipv4.dstAddr[2] ^ ipv4.dstAddr[3] ^ ipv4.dstAddr[4] ^ ipv4.dstAddr[5] ^ ipv4.dstAddr[6] ^ ipv4.dstAddr[7] ^ ipv4.dstAddr[8] ^ ipv4.dstAddr[9] ^ ipv4.dstAddr[10] ^ ipv4.dstAddr[11] ^ ipv4.dstAddr[13] ^ ipv4.dstAddr[15] ^ ipv4.dstAddr[17] ^ ipv4.dstAddr[18] ^ ipv4.dstAddr[19] ^ ipv4.dstAddr[20] ^ ipv4.dstAddr[21] ^ ipv4.dstAddr[22] ^ ipv4.dstAddr[23] ^ tcp.dstPort[0] ^ tcp.dstPort[1] ^ tcp.dstPort[2] ^ tcp.dstPort[3] ^ tcp.dstPort[4] ^ tcp.dstPort[5] ^ tcp.dstPort[6] ^ tcp.dstPort[7] ^ ipv4.srcAddr[24] ^ ipv4.srcAddr[25] ^ ipv4.srcAddr[26] ^ ipv4.srcAddr[27] ^ ipv4.srcAddr[28] ^ ipv4.srcAddr[29] ^ ipv4.srcAddr[30] ^ tcp.srcPort[0] ^ tcp.srcPort[1] ^ tcp.srcPort[2] ^ tcp.srcPort[3] ^ tcp.srcPort[4] ^ tcp.srcPort[5] ^ tcp.srcPort[6] ^ tcp.srcPort[7] ^ tcp.dstPort[8] ^ tcp.dstPort[9] ^ tcp.dstPort[11] ^ tcp.dstPort[12] ^ tcp.dstPort[13] ^ tcp.dstPort[14] ^ tcp.dstPort[15] ^ ipv4.dstAddr[24] ^ ipv4.dstAddr[25] ^ ipv4.dstAddr[26] ^ ipv4.dstAddr[27] ^ ipv4.dstAddr[28] ^ ipv4.srcAddr[0] ^ ipv4.srcAddr[1] ^ ipv4.srcAddr[3] ^ ipv4.srcAddr[4] ^ ipv4.srcAddr[5] ^ ipv4.srcAddr[6] ^ ipv4.srcAddr[7] ^ ipv4.srcAddr[8] ^ ipv4.srcAddr[9] ^ ipv4.srcAddr[10] ^ ipv4.srcAddr[11] ^ ipv4.srcAddr[12] ^ ipv4.srcAddr[13] ^ ipv4.srcAddr[15] ^ tcp.srcPort[8] ^ tcp.srcPort[9] ^ tcp.srcPort[10] ^ tcp.srcPort[13] ^ tcp.srcPort[14] ^ tcp.srcPort[15] ^ ipv4.srcAddr[17] ^ ipv4.srcAddr[18] ^ ipv4.srcAddr[21] ^ ipv4.srcAddr[22] ^ ipv4.srcAddr[23] ^ 0
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200435hash_bit_1 = 0
436hash_bit_2 = 0
437hash_bit_3 = 0
438hash_bit_4 = 0
439hash_bit_5 = 0
440hash_bit_6 = 0
441hash_bit_7 = 0
442hash_bit_8 = 0
443hash_bit_9 = 0
444hash_bit_10 = 0
445hash_bit_11 = 0
446hash_bit_12 = 0
447hash_bit_13 = 0
448hash_bit_14 = 0
449hash_bit_15 = 0
450hash_bit_16 = 0
451hash_bit_17 = 0
452hash_bit_18 = 0
453hash_bit_19 = 0
454hash_bit_20 = 0
455hash_bit_21 = 0
456hash_bit_22 = 0
457hash_bit_23 = 0
458hash_bit_24 = 0
459hash_bit_25 = 0
460hash_bit_26 = 0
461hash_bit_27 = 0
462hash_bit_28 = 0
463hash_bit_29 = 0
464hash_bit_30 = 0
465hash_bit_31 = 0
466hash_bit_32 = 0
467hash_bit_33 = 0
468hash_bit_34 = 0
469hash_bit_35 = 0
470hash_bit_36 = 0
471hash_bit_37 = 0
472hash_bit_38 = 0
473hash_bit_39 = 0
474hash_bit_40 = 0
475hash_bit_41 = 0
476hash_bit_42 = 0
477hash_bit_43 = 0
478hash_bit_44 = 0
479hash_bit_45 = 0
480hash_bit_46 = 0
481hash_bit_47 = 0
482hash_bit_48 = 0
483hash_bit_49 = 0
484hash_bit_50 = 0
485hash_bit_51 = 0
486
Brian O'Connora6862e02017-09-08 01:17:39 -0700487Allocating Action Logical Table ID 0 in stage 0
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200488
489----------------------------------------------
490Call to Allocate P4 Table with table table0_counter, number_entries = 512, table id = None, and match type = exact
Brian O'Connora6862e02017-09-08 01:17:39 -0700491 Allocating in stage 0
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200492----------------------------------------------
493
494stat_stage_table referenced: direct
495stat Table Resource Request is:
496SRAM Resource Request for table table0_counter (of type statistics), with 1 ways wants 2 rams.
Brian O'Connora6862e02017-09-08 01:17:39 -0700497Sram Resource Request for P4 table table0_counter with handle 67108867 of type statistics in stage 0
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200498 table_type : statistics
499 rams_for_width : 1
500 use_stash : False
501 number_ways : 1
502 way #0
503 SRAM Request Group 0
504 rams_for_depth : 2
505 map_rams : 0
506 way_number : 0
507 ram_word_select_bits : 0
508 ram_enable_select_bits : 0
509
510
511----------------------------------------------
512Call to Allocate P4 Table with table table0, number_entries = 512, table id = None, and match type = ternary
Brian O'Connora6862e02017-09-08 01:17:39 -0700513 Allocating in stage 0
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200514----------------------------------------------
515
Brian O'Connora6862e02017-09-08 01:17:39 -0700516Logical Table ID in stage 0 was not supplied by table placement for table table0.
517Allocating Logical Table ID 0 in stage 0
518Allocating Table Type ID 0 of type ternary in stage 0
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200519
520-----------------------------------------
521 Call to allocate_ternary_match_key_2
522-----------------------------------------
523Total crossbar bytes to allocate = 16
524Minimum key bytes required by this match key = 16
525Allocating: Byte 133 is of type ternary and member of group 0 with 1 bytes
526 version/valid in nibble 1 for table table0. for version/valid
527{unused[6:0], ig_intr_md.ingress_port[8:8]}.
528Allocating: Byte 128 is of type ternary and member of group 0 with 5 bytes. for {ethernet.srcAddr[7:0]}.
529Allocating: Byte 129 is of type ternary and member of group 0 with 5 bytes. for {ethernet.srcAddr[15:8]}.
530Allocating: Byte 130 is of type ternary and member of group 0 with 5 bytes. for {ethernet.srcAddr[23:16]}.
531Allocating: Byte 131 is of type ternary and member of group 0 with 5 bytes. for {ethernet.srcAddr[31:24]}.
532Allocating: Byte 132 is of type ternary and member of group 0 with 5 bytes. for {ethernet.dstAddr[15:8]}.
533Allocating: Byte 134 is of type ternary and member of group 1 with 5 bytes. for {ethernet.dstAddr[31:24]}.
534Allocating: Byte 135 is of type ternary and member of group 1 with 5 bytes. for {ethernet.dstAddr[39:32]}.
535Allocating: Byte 136 is of type ternary and member of group 1 with 5 bytes. for {ethernet.etherType[7:0]}.
536Allocating: Byte 137 is of type ternary and member of group 1 with 5 bytes. for {ethernet.dstAddr[23:16]}.
537Allocating: Byte 138 is of type ternary and member of group 1 with 5 bytes. for {ethernet.srcAddr[47:40]}.
538Allocating: Byte 139 is of type ternary and member of group 2 with 5 bytes. for {ethernet.etherType[15:8]}.
539Allocating: Byte 140 is of type ternary and member of group 2 with 5 bytes. for {ig_intr_md.ingress_port[7:0]}.
540Allocating: Byte 141 is of type ternary and member of group 2 with 5 bytes. for {ethernet.dstAddr[7:0]}.
541Allocating: Byte 142 is of type ternary and member of group 2 with 5 bytes. for {ethernet.srcAddr[39:32]}.
542Allocating: Byte 143 is of type ternary and member of group 2 with 5 bytes. for {ethernet.dstAddr[47:40]}.
543Formed Ternary Match Key:
544{--unused--[3:0], ethernet.dstAddr[47:40], ethernet.srcAddr[39:32], ethernet.dstAddr[7:0], ig_intr_md.ingress_port[7:0], ethernet.etherType[15:8], --version--[1:0], --unused--[1:0], ethernet.srcAddr[47:40], ethernet.dstAddr[23:16], ethernet.etherType[7:0], ethernet.dstAddr[39:24], --unused--[2:0], ig_intr_md.ingress_port[8:8], ethernet.dstAddr[15:8], ethernet.srcAddr[31:0]}
545
546---------------------------------------------
Brian O'Connora6862e02017-09-08 01:17:39 -0700547Call to can_any_match_key_fields_be_shared(stage=0, table=table0)
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200548---------------------------------------------
Brian O'Connora6862e02017-09-08 01:17:39 -0700549Decided way to allocate for table table0 in stage 0 WAS non_shared
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200550
551-----------------------------------------
552 Call to allocate_ternary_match_key_2
553-----------------------------------------
554Total crossbar bytes to allocate = 16
555Minimum key bytes required by this match key = 16
556Allocating: Byte 133 is of type ternary and member of group 0 with 1 bytes
557 version/valid in nibble 1 for table table0. for version/valid
558{unused[6:0], ig_intr_md.ingress_port[8:8]}.
559Allocating: Byte 128 is of type ternary and member of group 0 with 5 bytes. for {ethernet.srcAddr[7:0]}.
560Allocating: Byte 129 is of type ternary and member of group 0 with 5 bytes. for {ethernet.srcAddr[15:8]}.
561Allocating: Byte 130 is of type ternary and member of group 0 with 5 bytes. for {ethernet.srcAddr[23:16]}.
562Allocating: Byte 131 is of type ternary and member of group 0 with 5 bytes. for {ethernet.srcAddr[31:24]}.
563Allocating: Byte 132 is of type ternary and member of group 0 with 5 bytes. for {ethernet.dstAddr[15:8]}.
564Allocating: Byte 134 is of type ternary and member of group 1 with 5 bytes. for {ethernet.dstAddr[31:24]}.
565Allocating: Byte 135 is of type ternary and member of group 1 with 5 bytes. for {ethernet.dstAddr[39:32]}.
566Allocating: Byte 136 is of type ternary and member of group 1 with 5 bytes. for {ethernet.etherType[7:0]}.
567Allocating: Byte 137 is of type ternary and member of group 1 with 5 bytes. for {ethernet.dstAddr[23:16]}.
568Allocating: Byte 138 is of type ternary and member of group 1 with 5 bytes. for {ethernet.srcAddr[47:40]}.
569Allocating: Byte 139 is of type ternary and member of group 2 with 5 bytes. for {ethernet.etherType[15:8]}.
570Allocating: Byte 140 is of type ternary and member of group 2 with 5 bytes. for {ig_intr_md.ingress_port[7:0]}.
571Allocating: Byte 141 is of type ternary and member of group 2 with 5 bytes. for {ethernet.dstAddr[7:0]}.
572Allocating: Byte 142 is of type ternary and member of group 2 with 5 bytes. for {ethernet.srcAddr[39:32]}.
573Allocating: Byte 143 is of type ternary and member of group 2 with 5 bytes. for {ethernet.dstAddr[47:40]}.
574Formed Ternary Match Key:
575{--unused--[3:0], ethernet.dstAddr[47:40], ethernet.srcAddr[39:32], ethernet.dstAddr[7:0], ig_intr_md.ingress_port[7:0], ethernet.etherType[15:8], --version--[1:0], --unused--[1:0], ethernet.srcAddr[47:40], ethernet.dstAddr[23:16], ethernet.etherType[7:0], ethernet.dstAddr[39:24], --unused--[2:0], ig_intr_md.ingress_port[8:8], ethernet.dstAddr[15:8], ethernet.srcAddr[31:0]}
576Skipping p4_primitive StageModifyFieldFromHashBitsPrimitive from overhead calculation.
577Allocating: Byte 12 is of type exact and member of group 0 (parity group 1) with 16 bytes. for {unused[5:0], --validity_check--packet_out_hdr[0:0], unused[0:0]}.
578Allocating: Byte 12 is of type exact and member of group 0 (parity group 1) with 16 bytes. for {unused[5:0], --validity_check--packet_out_hdr[0:0], unused[0:0]}.
579For action set_egress_port, formed micro_instruction:
580Micro Instruction deposit-field for PHV Container 130 has bit width 23
581 Field Src2 [3:0] : 0x2 (4 bits in instruction bits [3:0])
582 Field Src1 [4:0] : 0x0 (5 bits in instruction bits [8:4])
583 Field Src1i [0:0] : 0x1 (1 bits in instruction bits [9:9])
584 Field opcode [0:0] : 0x1 (1 bits in instruction bits [10:10])
585 Field high_bit [3:0] : 0x8 (4 bits in instruction bits [14:11])
586 Field low_bit_lo [0:0] : 0x0 (1 bits in instruction bits [15:15])
587 Field right_rotate [3:0] : 0x0 (4 bits in instruction bits [19:16])
588 Field low_bit_hi [2:0] : 0x0 (3 bits in instruction bits [22:20])
589
Brian O'Connora6862e02017-09-08 01:17:39 -0700590Allocating Action ALU 2 (16 bits) in stage 0 for match table table0's action set_egress_port
591Allocating VLIW Instruction : 0 in stage 0 for match table table0's action set_egress_port
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200592For action ecmp_group, formed micro_instruction:
Carmelo Cascone6230a612017-09-13 03:25:41 +0200593Micro Instruction alu_a for PHV Container 135 has bit width 23
594 Field Src2 [3:0] : 0x7 (4 bits in instruction bits [3:0])
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200595 Field Src1 [4:0] : 0x0 (5 bits in instruction bits [8:4])
596 Field Src1i [0:0] : 0x1 (1 bits in instruction bits [9:9])
597 Field opcode [9:0] : 0x31e (10 bits in instruction bits [19:10])
598 Field unused [2:0] : 0x0 (3 bits in instruction bits [22:20])
599
600For action ecmp_group, formed micro_instruction:
Carmelo Cascone6230a612017-09-13 03:25:41 +0200601Micro Instruction alu_a for PHV Container 136 has bit width 23
602 Field Src2 [3:0] : 0x8 (4 bits in instruction bits [3:0])
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200603 Field Src1 [4:0] : 0x2 (5 bits in instruction bits [8:4])
604 Field Src1i [0:0] : 0x1 (1 bits in instruction bits [9:9])
605 Field opcode [9:0] : 0x31e (10 bits in instruction bits [19:10])
606 Field unused [2:0] : 0x0 (3 bits in instruction bits [22:20])
607
Brian O'Connora6862e02017-09-08 01:17:39 -0700608Allocating Action ALU 7 (16 bits) in stage 0 for match table table0's action ecmp_group
Carmelo Cascone6230a612017-09-13 03:25:41 +0200609Allocating Action ALU 8 (16 bits) in stage 0 for match table table0's action ecmp_group
Brian O'Connora6862e02017-09-08 01:17:39 -0700610Allocating VLIW Instruction : 1 in stage 0 for match table table0's action ecmp_group
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200611For action send_to_cpu, formed micro_instruction:
Brian O'Connora6862e02017-09-08 01:17:39 -0700612Micro Instruction deposit-field for PHV Container 130 has bit width 23
613 Field Src2 [3:0] : 0x2 (4 bits in instruction bits [3:0])
614 Field Src1 [4:0] : 0x0 (5 bits in instruction bits [8:4])
615 Field Src1i [0:0] : 0x1 (1 bits in instruction bits [9:9])
616 Field opcode [0:0] : 0x1 (1 bits in instruction bits [10:10])
617 Field high_bit [3:0] : 0x8 (4 bits in instruction bits [14:11])
618 Field low_bit_lo [0:0] : 0x0 (1 bits in instruction bits [15:15])
619 Field right_rotate [3:0] : 0x0 (4 bits in instruction bits [19:16])
620 Field low_bit_hi [2:0] : 0x0 (3 bits in instruction bits [22:20])
621
622For action send_to_cpu, formed micro_instruction:
Carmelo Cascone6230a612017-09-13 03:25:41 +0200623Micro Instruction deposit-field for PHV Container 68 has bit width 20
624 Field Src2 [3:0] : 0x4 (4 bits in instruction bits [3:0])
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200625 Field Src1 [4:0] : 0x19 (5 bits in instruction bits [8:4])
626 Field Src1i [0:0] : 0x0 (1 bits in instruction bits [9:9])
627 Field opcode [0:0] : 0x1 (1 bits in instruction bits [10:10])
628 Field high_bit [2:0] : 0x0 (3 bits in instruction bits [13:11])
629 Field low_bit_lo [1:0] : 0x0 (2 bits in instruction bits [15:14])
630 Field right_rotate [2:0] : 0x0 (3 bits in instruction bits [18:16])
631 Field low_bit_hi [0:0] : 0x0 (1 bits in instruction bits [19:19])
632
Brian O'Connora6862e02017-09-08 01:17:39 -0700633For action send_to_cpu, formed micro_instruction:
634Micro Instruction deposit-field for PHV Container 129 has bit width 23
635 Field Src2 [3:0] : 0x1 (4 bits in instruction bits [3:0])
636 Field Src1 [4:0] : 0x0 (5 bits in instruction bits [8:4])
637 Field Src1i [0:0] : 0x0 (1 bits in instruction bits [9:9])
638 Field opcode [0:0] : 0x1 (1 bits in instruction bits [10:10])
639 Field high_bit [3:0] : 0xf (4 bits in instruction bits [14:11])
640 Field low_bit_lo [0:0] : 0x1 (1 bits in instruction bits [15:15])
641 Field right_rotate [3:0] : 0x9 (4 bits in instruction bits [19:16])
642 Field low_bit_hi [2:0] : 0x3 (3 bits in instruction bits [22:20])
643
644Allocating Action ALU 2 (16 bits) in stage 0 for match table table0's action send_to_cpu
Carmelo Cascone6230a612017-09-13 03:25:41 +0200645Allocating Action ALU 4 (8 bits) in stage 0 for match table table0's action send_to_cpu
Brian O'Connora6862e02017-09-08 01:17:39 -0700646Allocating Action ALU 1 (16 bits) in stage 0 for match table table0's action send_to_cpu
647Allocating VLIW Instruction : 1 in stage 0 for match table table0's action send_to_cpu
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200648For action _drop, formed micro_instruction:
Carmelo Cascone6230a612017-09-13 03:25:41 +0200649Micro Instruction deposit-field for PHV Container 69 has bit width 20
650 Field Src2 [3:0] : 0x5 (4 bits in instruction bits [3:0])
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200651 Field Src1 [4:0] : 0x19 (5 bits in instruction bits [8:4])
652 Field Src1i [0:0] : 0x0 (1 bits in instruction bits [9:9])
653 Field opcode [0:0] : 0x1 (1 bits in instruction bits [10:10])
654 Field high_bit [2:0] : 0x7 (3 bits in instruction bits [13:11])
655 Field low_bit_lo [1:0] : 0x1 (2 bits in instruction bits [15:14])
656 Field right_rotate [2:0] : 0x3 (3 bits in instruction bits [18:16])
657 Field low_bit_hi [0:0] : 0x1 (1 bits in instruction bits [19:19])
658
Carmelo Cascone6230a612017-09-13 03:25:41 +0200659Allocating Action ALU 5 (8 bits) in stage 0 for match table table0's action _drop
Brian O'Connora6862e02017-09-08 01:17:39 -0700660Allocating VLIW Instruction : 2 in stage 0 for match table table0's action _drop
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200661Ternary table Pack Format =
662Pack Format:
663 table_word_width: 141
664 memory_word_width: 47
665 entries_per_table_word: 1
666 number_memory_units_per_table_word: 3
667 entry_list: [
668 entry_number : 0
669 field_list : [
670 ]
671 Field --tcam_parity_2-- [1:0] : in bits [140:139]
672 Field --unused-- [3:0] : in bits [138:135]
673 Field ethernet.dstAddr [47:40] : in bits [134:127]
674 Field ethernet.srcAddr [39:32] : in bits [126:119]
675 Field ethernet.dstAddr [7:0] : in bits [118:111]
676 Field ig_intr_md.ingress_port [7:0] : in bits [110:103]
677 Field ethernet.etherType [15:8] : in bits [102:95]
678 Field --tcam_payload_2-- [0:0] : in bits [94:94]
679 Field --tcam_parity_1-- [1:0] : in bits [93:92]
680 Field --version-- [1:0] : in bits [91:90]
681 Field --unused-- [1:0] : in bits [89:88]
682 Field ethernet.srcAddr [47:40] : in bits [87:80]
683 Field ethernet.dstAddr [23:16] : in bits [79:72]
684 Field ethernet.etherType [7:0] : in bits [71:64]
685 Field ethernet.dstAddr [39:24] : in bits [63:48]
686 Field --tcam_payload_1-- [0:0] : in bits [47:47]
687 Field --tcam_parity_0-- [1:0] : in bits [46:45]
688 Field --unused-- [2:0] : in bits [44:42]
689 Field ig_intr_md.ingress_port [8:8] : in bits [41:41]
690 Field ethernet.dstAddr [15:8] : in bits [40:33]
691 Field ethernet.srcAddr [31:0] : in bits [32:1]
692 Field --tcam_payload_0-- [0:0] : in bits [0:0]
693]
694
695
696----------------------------------------------
Brian O'Connora6862e02017-09-08 01:17:39 -0700697Call to Allocate P4 Table with table process_packet_out_table__action__, number_entries = 1024, table id = None, and match type = exact
698 Allocating in stage 0
699----------------------------------------------
700
701ram_size_matrix =
702 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
703 0 0 0 0 0 0 0 0 # 0
704
705immediate_size_matrix =
706 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
707 0 0 0 0 0 0 0 0 # 0
708
709hash_to_phv_matrix =
710 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
711 0 0 0 0 0 0 0 0 # 0
712
713total action ram packing size = [0, 0, 0]
714action_ram_packing:
715 action _process_packet_out has []
716total action ram packing size = [0, 0, 0]
717action_ram_packing:
718 action _process_packet_out has []
719total action ram packing size = [0, 0, 0]
720action_ram_packing:
721 action _process_packet_out has []
722byte_enables = []
723After allocation of 32s, available_slots is []
724final packing is []
725byte_enables = []
726After allocation of 32s, available_slots is []
727final packing is []
728byte_enables = []
729After allocation of 32s, available_slots is []
730final packing is []
731Allocating Action Logical Table ID 1 in stage 0
732
733----------------------------------------------
734Call to Allocate P4 Table with table process_packet_out_table, number_entries = 1024, table id = None, and match type = exact
735 Allocating in stage 0
736----------------------------------------------
737
738Logical Table ID in stage 0 was not supplied by table placement for table process_packet_out_table.
739Allocating Logical Table ID 1 in stage 0
740Allocating Table Type ID 0 of type exact in stage 0
741Match Overhead:
742 Field --version_valid-- [3:0] (4 bits)
743
744Logical Table ID in stage 0 was not supplied by table placement for table process_packet_out_table.
745Allocating Logical Table ID 1 in stage 0
746Allocating Table Type ID 0 of type exact in stage 0
747Allocating: Byte 12 is of type exact and member of group 0 (parity group 1) with 16 bytes. for {unused[5:0], --validity_check--packet_out_hdr[0:0], unused[0:0]}.
748Match Table Resource Request is:
749SRAM Resource Request for table process_packet_out_table (of type match), with 0 ways wants 0 rams.
750Allocating: Byte 12 is of type exact and member of group 0 (parity group 1) with 16 bytes. for {unused[5:0], --validity_check--packet_out_hdr[0:0], unused[0:0]}.
751For action _process_packet_out, formed micro_instruction:
752Micro Instruction deposit-field for PHV Container 130 has bit width 23
753 Field Src2 [3:0] : 0x2 (4 bits in instruction bits [3:0])
754 Field Src1 [4:0] : 0x1 (5 bits in instruction bits [8:4])
755 Field Src1i [0:0] : 0x0 (1 bits in instruction bits [9:9])
756 Field opcode [0:0] : 0x1 (1 bits in instruction bits [10:10])
757 Field high_bit [3:0] : 0x8 (4 bits in instruction bits [14:11])
758 Field low_bit_lo [0:0] : 0x0 (1 bits in instruction bits [15:15])
759 Field right_rotate [3:0] : 0x7 (4 bits in instruction bits [19:16])
760 Field low_bit_hi [2:0] : 0x0 (3 bits in instruction bits [22:20])
761
762For action _process_packet_out, formed micro_instruction:
Carmelo Cascone6230a612017-09-13 03:25:41 +0200763Micro Instruction deposit-field for PHV Container 68 has bit width 20
764 Field Src2 [3:0] : 0x4 (4 bits in instruction bits [3:0])
Brian O'Connora6862e02017-09-08 01:17:39 -0700765 Field Src1 [4:0] : 0x18 (5 bits in instruction bits [8:4])
766 Field Src1i [0:0] : 0x0 (1 bits in instruction bits [9:9])
767 Field opcode [0:0] : 0x1 (1 bits in instruction bits [10:10])
768 Field high_bit [2:0] : 0x1 (3 bits in instruction bits [13:11])
769 Field low_bit_lo [1:0] : 0x1 (2 bits in instruction bits [15:14])
770 Field right_rotate [2:0] : 0x7 (3 bits in instruction bits [18:16])
771 Field low_bit_hi [0:0] : 0x0 (1 bits in instruction bits [19:19])
772
773Allocating Action ALU 2 (16 bits) in stage 0 for match table process_packet_out_table's action _process_packet_out
Carmelo Cascone6230a612017-09-13 03:25:41 +0200774Allocating Action ALU 4 (8 bits) in stage 0 for match table process_packet_out_table's action _process_packet_out
Brian O'Connora6862e02017-09-08 01:17:39 -0700775Allocating VLIW Instruction : 2 in stage 0 for match table process_packet_out_table's action _process_packet_out
776
777----------------------------------------------
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200778Call to Allocate P4 Table with table ecmp_group_table__action__, number_entries = 1024, table id = None, and match type = exact
Brian O'Connora6862e02017-09-08 01:17:39 -0700779 Allocating in stage 1
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200780----------------------------------------------
781
782ram_size_matrix =
783 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
784 0 0 0 0 0 0 0 0 # 0
785
786immediate_size_matrix =
787 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
788 0 0 0 1 0 0 0 0 # 0
789
790hash_to_phv_matrix =
791 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
792 0 0 0 0 0 0 0 0 # 0
793
794total action ram packing size = [0, 0, 0]
795action_ram_packing:
796 action set_egress_port has []
797total action ram packing size = [0, 16, 0]
798action_ram_packing:
799 action set_egress_port has [(16, 16, False)]
800total action ram packing size = [0, 16, 0]
801action_ram_packing:
802 action set_egress_port has []
803byte_enables = []
804After allocation of 32s, available_slots is []
805final packing is []
806byte_enables = [1, 1]
Brian O'Connora6862e02017-09-08 01:17:39 -0700807Allocating Action Parameter Bus Byte 32 in stage 1 for Byte 0 of 16-bit constant
808Allocating Action Parameter Bus Byte 33 in stage 1 for Byte 1 of 16-bit constant
809Allocating Action Parameter Bus Byte 34 in stage 1 for Byte 0 of 16-bit constant
810Allocating Action Parameter Bus Byte 35 in stage 1 for Byte 1 of 16-bit constant
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200811After allocation of 32s, available_slots is [(16, 0, 0), (32, 8, 0), (16, 1, 16)]
812final packing is [(16, 16, False)]
813byte_enables = []
814After allocation of 32s, available_slots is []
815final packing is []
Brian O'Connora6862e02017-09-08 01:17:39 -0700816Allocating Action Logical Table ID 0 in stage 1
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200817
818----------------------------------------------
819Call to Allocate P4 Table with table ecmp_group_table_counter, number_entries = 1024, table id = None, and match type = exact
Brian O'Connora6862e02017-09-08 01:17:39 -0700820 Allocating in stage 1
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200821----------------------------------------------
822
823stat_stage_table referenced: direct
824stat Table Resource Request is:
825SRAM Resource Request for table ecmp_group_table_counter (of type statistics), with 1 ways wants 2 rams.
Brian O'Connora6862e02017-09-08 01:17:39 -0700826Sram Resource Request for P4 table ecmp_group_table_counter with handle 67108868 of type statistics in stage 1
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200827 table_type : statistics
828 rams_for_width : 1
829 use_stash : False
830 number_ways : 1
831 way #0
832 SRAM Request Group 0
833 rams_for_depth : 2
834 map_rams : 0
835 way_number : 0
836 ram_word_select_bits : 0
837 ram_enable_select_bits : 0
838
839
840----------------------------------------------
841Call to Allocate P4 Table with table ecmp_group_table, number_entries = 1024, table id = None, and match type = exact
Brian O'Connora6862e02017-09-08 01:17:39 -0700842 Allocating in stage 1
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200843----------------------------------------------
844
Brian O'Connora6862e02017-09-08 01:17:39 -0700845Logical Table ID in stage 1 was not supplied by table placement for table ecmp_group_table.
846Allocating Logical Table ID 0 in stage 1
847Allocating Table Type ID 0 of type exact in stage 1
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200848Match Overhead:
849 Field --version_valid-- [3:0] (4 bits)
850 Field --immediate-- [15:0] (16 bits)
851
852Allocating: Byte 0 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[7:0]}.
853Allocating: Byte 1 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[15:8]}.
Carmelo Cascone8aa05482017-09-12 13:21:59 +0200854Allocating: Byte 2 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[7:0]}.
855Allocating: Byte 3 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[15:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200856
857---------------------------------------------
Brian O'Connora6862e02017-09-08 01:17:39 -0700858Call to can_any_match_key_fields_be_shared(stage=1, table=ecmp_group_table)
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200859---------------------------------------------
Brian O'Connora6862e02017-09-08 01:17:39 -0700860Decided way to allocate for table ecmp_group_table in stage 1 WAS non_shared
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200861Allocating: Byte 0 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[7:0]}.
862Allocating: Byte 1 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.selector[15:8]}.
Carmelo Cascone8aa05482017-09-12 13:21:59 +0200863Allocating: Byte 2 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[7:0]}.
864Allocating: Byte 3 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ecmp_metadata.group_id[15:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200865Packing choices are:
866Choice 0
867 entries_per_table_word : 1
868 rams_for_width : 1
869 total_rams_need : 1
870 utilization : 0.328125
871 total_logical_entries_get : 1024
872 total_logical_entries_want : 1024
873Choice 1
874 entries_per_table_word : 2
875 rams_for_width : 1
876 total_rams_need : 1
877 utilization : 0.656250
878 total_logical_entries_get : 2048
879 total_logical_entries_want : 1024
880Choice 2
881 entries_per_table_word : 3
882 rams_for_width : 2
883 total_rams_need : 2
884 utilization : 0.492188
885 total_logical_entries_get : 3072
886 total_logical_entries_want : 1024
887Choice 3
888 entries_per_table_word : 4
889 rams_for_width : 2
890 total_rams_need : 2
891 utilization : 0.656250
892 total_logical_entries_get : 4096
893 total_logical_entries_want : 1024
894Choice 4
895 entries_per_table_word : 5
896 rams_for_width : 2
897 total_rams_need : 2
898 utilization : 0.820312
899 total_logical_entries_get : 5120
900 total_logical_entries_want : 1024
901Choice 5
902 entries_per_table_word : 6
903 rams_for_width : 3
904 total_rams_need : 3
905 utilization : 0.656250
906 total_logical_entries_get : 6144
907 total_logical_entries_want : 1024
908Choice 6
909 entries_per_table_word : 7
910 rams_for_width : 3
911 total_rams_need : 3
912 utilization : 0.765625
913 total_logical_entries_get : 7168
914 total_logical_entries_want : 1024
915Choice 7
916 entries_per_table_word : 8
917 rams_for_width : 3
918 total_rams_need : 3
919 utilization : 0.875000
920 total_logical_entries_get : 8192
921 total_logical_entries_want : 1024
922Choice 8
923 entries_per_table_word : 9
924 rams_for_width : 4
925 total_rams_need : 4
926 utilization : 0.738281
927 total_logical_entries_get : 9216
928 total_logical_entries_want : 1024
929First choice is to pack 1 entries per table word (1 rams)
930--------------------------------------
931Attempting packing (attempt #1):
932--------------------------------------
933 number entries per table word: 1
934 rams_for_width: 1
935 total_rams: 1
936 utilization: 0.328125
937 total_ram_blocks_need_for_depth: 1
938This will be split into a 3-way table distributed as [1, 1, 1].
939Total number of hash functions need is 1.
940Allocating Hash Bit 0 in hash match group 0 for match table ecmp_group_table's hash way 0.
941Allocating Hash Bit 1 in hash match group 0 for match table ecmp_group_table's hash way 0.
942Allocating Hash Bit 2 in hash match group 0 for match table ecmp_group_table's hash way 0.
943Allocating Hash Bit 3 in hash match group 0 for match table ecmp_group_table's hash way 0.
944Allocating Hash Bit 4 in hash match group 0 for match table ecmp_group_table's hash way 0.
945Allocating Hash Bit 5 in hash match group 0 for match table ecmp_group_table's hash way 0.
946Allocating Hash Bit 6 in hash match group 0 for match table ecmp_group_table's hash way 0.
947Allocating Hash Bit 7 in hash match group 0 for match table ecmp_group_table's hash way 0.
948Allocating Hash Bit 8 in hash match group 0 for match table ecmp_group_table's hash way 0.
949Allocating Hash Bit 9 in hash match group 0 for match table ecmp_group_table's hash way 0.
950Allocating Hash Bit 10 in hash match group 0 for match table ecmp_group_table's hash way 1.
951Allocating Hash Bit 11 in hash match group 0 for match table ecmp_group_table's hash way 1.
952Allocating Hash Bit 12 in hash match group 0 for match table ecmp_group_table's hash way 1.
953Allocating Hash Bit 13 in hash match group 0 for match table ecmp_group_table's hash way 1.
954Allocating Hash Bit 14 in hash match group 0 for match table ecmp_group_table's hash way 1.
955Allocating Hash Bit 15 in hash match group 0 for match table ecmp_group_table's hash way 1.
956Allocating Hash Bit 16 in hash match group 0 for match table ecmp_group_table's hash way 1.
957Allocating Hash Bit 17 in hash match group 0 for match table ecmp_group_table's hash way 1.
958Allocating Hash Bit 18 in hash match group 0 for match table ecmp_group_table's hash way 1.
959Allocating Hash Bit 19 in hash match group 0 for match table ecmp_group_table's hash way 1.
960Allocating Hash Bit 20 in hash match group 0 for match table ecmp_group_table's hash way 2.
961Allocating Hash Bit 21 in hash match group 0 for match table ecmp_group_table's hash way 2.
962Allocating Hash Bit 22 in hash match group 0 for match table ecmp_group_table's hash way 2.
963Allocating Hash Bit 23 in hash match group 0 for match table ecmp_group_table's hash way 2.
964Allocating Hash Bit 24 in hash match group 0 for match table ecmp_group_table's hash way 2.
965Allocating Hash Bit 25 in hash match group 0 for match table ecmp_group_table's hash way 2.
966Allocating Hash Bit 26 in hash match group 0 for match table ecmp_group_table's hash way 2.
967Allocating Hash Bit 27 in hash match group 0 for match table ecmp_group_table's hash way 2.
968Allocating Hash Bit 28 in hash match group 0 for match table ecmp_group_table's hash way 2.
969Allocating Hash Bit 29 in hash match group 0 for match table ecmp_group_table's hash way 2.
970Match Table Resource Request is:
971SRAM Resource Request for table ecmp_group_table (of type match), with 3 ways wants 3 rams.
972--------
973set the seed to be [0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
974For action set_egress_port, formed micro_instruction:
975Micro Instruction deposit-field for PHV Container 130 has bit width 23
976 Field Src2 [3:0] : 0x2 (4 bits in instruction bits [3:0])
977 Field Src1 [4:0] : 0x0 (5 bits in instruction bits [8:4])
978 Field Src1i [0:0] : 0x1 (1 bits in instruction bits [9:9])
979 Field opcode [0:0] : 0x1 (1 bits in instruction bits [10:10])
980 Field high_bit [3:0] : 0x8 (4 bits in instruction bits [14:11])
981 Field low_bit_lo [0:0] : 0x0 (1 bits in instruction bits [15:15])
982 Field right_rotate [3:0] : 0x0 (4 bits in instruction bits [19:16])
983 Field low_bit_hi [2:0] : 0x0 (3 bits in instruction bits [22:20])
984
Brian O'Connora6862e02017-09-08 01:17:39 -0700985Allocating Action ALU 2 (16 bits) in stage 1 for match table ecmp_group_table's action set_egress_port
986Allocating VLIW Instruction : 0 in stage 1 for match table ecmp_group_table's action set_egress_port
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200987
988----------------------------------------------
989Call to Allocate P4 Table with table ingress_port_count_table__action__, number_entries = 1024, table id = None, and match type = exact
Brian O'Connora6862e02017-09-08 01:17:39 -0700990 Allocating in stage 2
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200991----------------------------------------------
992
993ram_size_matrix =
994 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
995 0 0 0 0 0 0 0 0 # 0
996
997immediate_size_matrix =
998 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
999 0 0 0 0 0 0 0 0 # 0
1000
1001hash_to_phv_matrix =
1002 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
1003 0 0 0 0 0 0 0 0 # 0
1004
1005total action ram packing size = [0, 0, 0]
1006action_ram_packing:
1007 action count_ingress has []
1008total action ram packing size = [0, 0, 0]
1009action_ram_packing:
1010 action count_ingress has []
1011total action ram packing size = [0, 0, 0]
1012action_ram_packing:
1013 action count_ingress has []
1014byte_enables = []
1015After allocation of 32s, available_slots is []
1016final packing is []
1017byte_enables = []
1018After allocation of 32s, available_slots is []
1019final packing is []
1020byte_enables = []
1021After allocation of 32s, available_slots is []
1022final packing is []
Brian O'Connora6862e02017-09-08 01:17:39 -07001023Allocating Action Logical Table ID 0 in stage 2
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001024
1025----------------------------------------------
Carmelo Cascone6230a612017-09-13 03:25:41 +02001026Call to Allocate P4 Table with table ingress_port_counter, number_entries = 512, table id = None, and match type = exact
Brian O'Connora6862e02017-09-08 01:17:39 -07001027 Allocating in stage 2
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001028----------------------------------------------
1029
1030stat_stage_table referenced: indirect
1031stat Table Resource Request is:
1032SRAM Resource Request for table ingress_port_counter (of type statistics), with 1 ways wants 2 rams.
Brian O'Connora6862e02017-09-08 01:17:39 -07001033Sram Resource Request for P4 table ingress_port_counter with handle 67108865 of type statistics in stage 2
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001034 table_type : statistics
1035 rams_for_width : 1
1036 use_stash : False
1037 number_ways : 1
1038 way #0
1039 SRAM Request Group 0
1040 rams_for_depth : 2
1041 map_rams : 0
1042 way_number : 0
1043 ram_word_select_bits : 0
1044 ram_enable_select_bits : 0
1045
1046
1047----------------------------------------------
1048Call to Allocate P4 Table with table ingress_port_count_table, number_entries = 1024, table id = None, and match type = exact
Brian O'Connora6862e02017-09-08 01:17:39 -07001049 Allocating in stage 2
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001050----------------------------------------------
1051
Brian O'Connora6862e02017-09-08 01:17:39 -07001052Logical Table ID in stage 2 was not supplied by table placement for table ingress_port_count_table.
1053Allocating Logical Table ID 0 in stage 2
1054Allocating Table Type ID 0 of type exact in stage 2
Carmelo Cascone6230a612017-09-13 03:25:41 +02001055Too few bits (9) specified to address ingress_port_counter from table ingress_port_count_table. 10 are needed.
1056The most significant 1 bit will be padded with zeros.
1057----------------------------------------------
1058 Call to allocate_hash_distribution_units with
1059 hash_algorithm = identity
1060 hash_output_width = 10
1061 hash_bits_need = 10
1062 output_hash_bit_start = 0
1063 immediate_bit_positions = None
1064 used_for = Statistics Address
1065----------------------------------------------
1066available_tuples_sorted_by_parity_bytes_available = [(0, 3, 0), (1, 3, 0)]
1067available_tuples_split_sorted_by_parity_bytes_available = []
1068Allocate fresh exact match group / hash group
1069Allocating: Byte 0 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ig_intr_md.ingress_port[7:0]}.
1070Allocating: Byte 1 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {unused[6:0], ig_intr_md.ingress_port[8:8]}.
1071-------------------
1072Call to _allocate_hash_distribution_and_hash_bits
1073 p4_table = ingress_port_count_table
1074 used_for = Statistics Address
1075 hash_distribution_hash_id = 0
1076 hash_group_id = 0
1077 hash_bits_in_units = OrderedDict([(0, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9])])
Carmelo Cascone133c7b12017-09-13 15:36:08 +02001078 address_left_shift = 2
Carmelo Cascone6230a612017-09-13 03:25:41 +02001079-------------------
1080Allocating Hash Distribution Group 0/0 for table ingress_port_count_table in stage 2.
1081Allocating Hash Bit 0 in hash match group 0 for table ingress_port_count_table in stage 2.
1082Allocating Hash Bit 1 in hash match group 0 for table ingress_port_count_table in stage 2.
1083Allocating Hash Bit 2 in hash match group 0 for table ingress_port_count_table in stage 2.
1084Allocating Hash Bit 3 in hash match group 0 for table ingress_port_count_table in stage 2.
1085Allocating Hash Bit 4 in hash match group 0 for table ingress_port_count_table in stage 2.
1086Allocating Hash Bit 5 in hash match group 0 for table ingress_port_count_table in stage 2.
1087Allocating Hash Bit 6 in hash match group 0 for table ingress_port_count_table in stage 2.
1088Allocating Hash Bit 7 in hash match group 0 for table ingress_port_count_table in stage 2.
1089Allocating Hash Bit 8 in hash match group 0 for table ingress_port_count_table in stage 2.
1090Allocating Hash Bit 9 in hash match group 0 for table ingress_port_count_table in stage 2.
1091seed = 0x0
1092set the seed to be [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, 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]
1093Hash Function 0
1094hash_bit_0 = ig_intr_md.ingress_port[0] ^ 0
1095hash_bit_1 = ig_intr_md.ingress_port[1] ^ 0
1096hash_bit_2 = ig_intr_md.ingress_port[2] ^ 0
1097hash_bit_3 = ig_intr_md.ingress_port[3] ^ 0
1098hash_bit_4 = ig_intr_md.ingress_port[4] ^ 0
1099hash_bit_5 = ig_intr_md.ingress_port[5] ^ 0
1100hash_bit_6 = ig_intr_md.ingress_port[6] ^ 0
1101hash_bit_7 = ig_intr_md.ingress_port[7] ^ 0
1102hash_bit_8 = ig_intr_md.ingress_port[8] ^ 0
1103hash_bit_9 = 0
1104hash_bit_10 = 0
1105hash_bit_11 = 0
1106hash_bit_12 = 0
1107hash_bit_13 = 0
1108hash_bit_14 = 0
1109hash_bit_15 = 0
1110hash_bit_16 = 0
1111hash_bit_17 = 0
1112hash_bit_18 = 0
1113hash_bit_19 = 0
1114hash_bit_20 = 0
1115hash_bit_21 = 0
1116hash_bit_22 = 0
1117hash_bit_23 = 0
1118hash_bit_24 = 0
1119hash_bit_25 = 0
1120hash_bit_26 = 0
1121hash_bit_27 = 0
1122hash_bit_28 = 0
1123hash_bit_29 = 0
1124hash_bit_30 = 0
1125hash_bit_31 = 0
1126hash_bit_32 = 0
1127hash_bit_33 = 0
1128hash_bit_34 = 0
1129hash_bit_35 = 0
1130hash_bit_36 = 0
1131hash_bit_37 = 0
1132hash_bit_38 = 0
1133hash_bit_39 = 0
1134hash_bit_40 = 0
1135hash_bit_41 = 0
1136hash_bit_42 = 0
1137hash_bit_43 = 0
1138hash_bit_44 = 0
1139hash_bit_45 = 0
1140hash_bit_46 = 0
1141hash_bit_47 = 0
1142hash_bit_48 = 0
1143hash_bit_49 = 0
1144hash_bit_50 = 0
1145hash_bit_51 = 0
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001146
Carmelo Cascone6230a612017-09-13 03:25:41 +02001147Allocating: Byte 2 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ig_intr_md_for_tm.ucast_egress_port[7:0]}.
1148Allocating: Byte 3 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {unused[6:0], ig_intr_md_for_tm.ucast_egress_port[8:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001149Match Table Resource Request is:
1150SRAM Resource Request for table ingress_port_count_table (of type match), with 0 ways wants 0 rams.
Carmelo Cascone6230a612017-09-13 03:25:41 +02001151Allocating: Byte 2 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ig_intr_md_for_tm.ucast_egress_port[7:0]}.
1152Allocating: Byte 3 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {unused[6:0], ig_intr_md_for_tm.ucast_egress_port[8:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001153No micro instructions needed for action count_ingress executed from table ingress_port_count_table.
Brian O'Connora6862e02017-09-08 01:17:39 -07001154Allocating Action ALU 0 (32 bits) in stage 2 for match table ingress_port_count_table's action count_ingress
1155Allocating VLIW Instruction : 0 in stage 2 for match table ingress_port_count_table's action count_ingress
Carmelo Cascone6230a612017-09-13 03:25:41 +02001156My hash-action stage table is
1157StageHashActionTable
1158 stage_number: 2
1159 number_entries 1024
1160 pack_format:
1161 Pack Format:
1162 table_word_width: 0
1163 memory_word_width: 0
1164 entries_per_table_word: 0
1165 number_memory_units_per_table_word: 0
1166 entry_list: [
1167]
1168
1169 p4_table: 'ingress_port_count_table'
1170 stage_table_handle: 0
1171 stage_table_type_handle: 0
1172 stage_gateway_table: StageGatewayTable
1173 stage_number: 2
1174 number_entries 0
1175 memory_resource_allocation GatewayMemoryResourceAllocation:
1176 memory_type: gateway
1177 memory_units: [[15]]
1178 home_row: -1
1179 stateful_action_bus_output: None
1180
1181 p4_table: '_condition_2'
1182
1183 match_group_resource_allocation:
1184 vliw_resource_allocation:
1185 action handle 536870914 maps to:
1186VliwResourceAllocation:
1187 match_table_name: ingress_port_count_table
1188 p4_action: count_ingress
1189 address_to_use: 1
1190 full_address: 64
1191 vliw_instruction_number: 0
1192 color: 0
1193 direction: ingress
1194 micro_instructions:
1195
1196 action_to_vliw_mapping:
1197 action handle 536870914 maps to vliw instruction 0, color 0, and direction ingress and is found in instruction address 1
1198 hash_distribution_usages:
1199 MAU Hash Distribution Resource Usage for P4 table ingress_port_count_table
1200 exact_match_group_resource_allocation : HashMatchGroupResourceAllocation:
1201 match_groups: [(0, 16)]
1202 match_group_key_bit_width: 9
1203 match_group_phv_bit_scrambling: OrderedDict([(('ig_intr_md.ingress_port', 0), 0), (('ig_intr_md.ingress_port', 1), 1), (('ig_intr_md.ingress_port', 2), 2), (('ig_intr_md.ingress_port', 3), 3), (('ig_intr_md.ingress_port', 4), 4), (('ig_intr_md.ingress_port', 5), 5), (('ig_intr_md.ingress_port', 6), 6), (('ig_intr_md.ingress_port', 7), 7), (('ig_intr_md.ingress_port', 8), 8)])
1204 ('ig_intr_md.ingress_port', 0) -> 0
1205 ('ig_intr_md.ingress_port', 1) -> 1
1206 ('ig_intr_md.ingress_port', 2) -> 2
1207 ('ig_intr_md.ingress_port', 3) -> 3
1208 ('ig_intr_md.ingress_port', 4) -> 4
1209 ('ig_intr_md.ingress_port', 5) -> 5
1210 ('ig_intr_md.ingress_port', 6) -> 6
1211 ('ig_intr_md.ingress_port', 7) -> 7
1212 ('ig_intr_md.ingress_port', 8) -> 8
Carmelo Cascone133c7b12017-09-13 15:36:08 +02001213 hash_function_dictionary: OrderedDict([(0, <p4c_tofino.target.tofino.llir.mau.stage.resources.hash_function.HashFunction object at 0x7fe01e5e5650>)])
Carmelo Cascone6230a612017-09-13 03:25:41 +02001214 hash_group_id: 0
1215 seed: [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, 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]
1216 table_direction: ingress
1217
1218 hash_distribution_resource_allocations :
1219Hash Distribution:
1220 source_hash_group : 0
1221 hash_distribution_hash_id : 0
1222 hash_distribution_group_id : 0
1223 hash_distribution_used_for : Statistics Address
1224 table_direction : ingress
1225 bits_to_use : [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
Carmelo Cascone133c7b12017-09-13 15:36:08 +02001226 left_shift : 2
Carmelo Cascone6230a612017-09-13 03:25:41 +02001227 expanded_lo : False
1228 expanded_hi : False
1229 expanded_bit_width : 0
1230 immediate_position : unused
1231
1232
1233
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001234
1235----------------------------------------------
1236Call to Allocate P4 Table with table egress_port_count_table__action__, number_entries = 1024, table id = None, and match type = exact
Brian O'Connora6862e02017-09-08 01:17:39 -07001237 Allocating in stage 2
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001238----------------------------------------------
1239
1240ram_size_matrix =
1241 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
1242 0 0 0 0 0 0 0 0 # 0
1243
1244immediate_size_matrix =
1245 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
1246 0 0 0 0 0 0 0 0 # 0
1247
1248hash_to_phv_matrix =
1249 (8, 8, False) (8, 8, True) (8, 32, False) (16, 16, False) (16, 16, True) (16, 32, False) (32, 32, False) (32, 32, True)
1250 0 0 0 0 0 0 0 0 # 0
1251
1252total action ram packing size = [0, 0, 0]
1253action_ram_packing:
1254 action count_egress has []
1255total action ram packing size = [0, 0, 0]
1256action_ram_packing:
1257 action count_egress has []
1258total action ram packing size = [0, 0, 0]
1259action_ram_packing:
1260 action count_egress has []
1261byte_enables = []
1262After allocation of 32s, available_slots is []
1263final packing is []
1264byte_enables = []
1265After allocation of 32s, available_slots is []
1266final packing is []
1267byte_enables = []
1268After allocation of 32s, available_slots is []
1269final packing is []
Brian O'Connora6862e02017-09-08 01:17:39 -07001270Allocating Action Logical Table ID 1 in stage 2
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001271
1272----------------------------------------------
Carmelo Cascone6230a612017-09-13 03:25:41 +02001273Call to Allocate P4 Table with table egress_port_counter, number_entries = 512, table id = None, and match type = exact
Brian O'Connora6862e02017-09-08 01:17:39 -07001274 Allocating in stage 2
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001275----------------------------------------------
1276
1277stat_stage_table referenced: indirect
1278stat Table Resource Request is:
1279SRAM Resource Request for table egress_port_counter (of type statistics), with 1 ways wants 2 rams.
Brian O'Connora6862e02017-09-08 01:17:39 -07001280Sram Resource Request for P4 table egress_port_counter with handle 67108866 of type statistics in stage 2
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001281 table_type : statistics
1282 rams_for_width : 1
1283 use_stash : False
1284 number_ways : 1
1285 way #0
1286 SRAM Request Group 0
1287 rams_for_depth : 2
1288 map_rams : 0
1289 way_number : 0
1290 ram_word_select_bits : 0
1291 ram_enable_select_bits : 0
1292
Carmelo Cascone6230a612017-09-13 03:25:41 +02001293Allocating: Byte 2 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ig_intr_md_for_tm.ucast_egress_port[7:0]}.
1294Allocating: Byte 3 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {unused[6:0], ig_intr_md_for_tm.ucast_egress_port[8:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001295
1296----------------------------------------------
1297Call to Allocate P4 Table with table egress_port_count_table, number_entries = 1024, table id = None, and match type = exact
Brian O'Connora6862e02017-09-08 01:17:39 -07001298 Allocating in stage 2
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001299----------------------------------------------
1300
Brian O'Connora6862e02017-09-08 01:17:39 -07001301Logical Table ID in stage 2 was not supplied by table placement for table egress_port_count_table.
1302Allocating Logical Table ID 1 in stage 2
1303Allocating Table Type ID 1 of type exact in stage 2
Carmelo Cascone6230a612017-09-13 03:25:41 +02001304Too few bits (9) specified to address egress_port_counter from table egress_port_count_table. 10 are needed.
1305The most significant 1 bit will be padded with zeros.
1306----------------------------------------------
1307 Call to allocate_hash_distribution_units with
1308 hash_algorithm = identity
1309 hash_output_width = 10
1310 hash_bits_need = 10
1311 output_hash_bit_start = 0
1312 immediate_bit_positions = None
1313 used_for = Statistics Address
1314----------------------------------------------
1315available_tuples_sorted_by_parity_bytes_available = [(1, 3, 0), (0, 2, 4)]
1316available_tuples_split_sorted_by_parity_bytes_available = []
1317Allocate fresh exact match group / hash group
1318Allocating: Byte 8 is of type exact and member of group 0 (parity group 1) with 16 bytes. for {ig_intr_md_for_tm.ucast_egress_port[7:0]}.
1319Allocating: Byte 9 is of type exact and member of group 0 (parity group 1) with 16 bytes. for {unused[6:0], ig_intr_md_for_tm.ucast_egress_port[8:8]}.
1320-------------------
1321Call to _allocate_hash_distribution_and_hash_bits
1322 p4_table = egress_port_count_table
1323 used_for = Statistics Address
1324 hash_distribution_hash_id = 1
1325 hash_group_id = 1
1326 hash_bits_in_units = OrderedDict([(0, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9])])
Carmelo Cascone133c7b12017-09-13 15:36:08 +02001327 address_left_shift = 2
Carmelo Cascone6230a612017-09-13 03:25:41 +02001328-------------------
1329Allocating Hash Distribution Group 1/0 for table egress_port_count_table in stage 2.
1330Allocating Hash Bit 0 in hash match group 1 for table egress_port_count_table in stage 2.
1331Allocating Hash Bit 1 in hash match group 1 for table egress_port_count_table in stage 2.
1332Allocating Hash Bit 2 in hash match group 1 for table egress_port_count_table in stage 2.
1333Allocating Hash Bit 3 in hash match group 1 for table egress_port_count_table in stage 2.
1334Allocating Hash Bit 4 in hash match group 1 for table egress_port_count_table in stage 2.
1335Allocating Hash Bit 5 in hash match group 1 for table egress_port_count_table in stage 2.
1336Allocating Hash Bit 6 in hash match group 1 for table egress_port_count_table in stage 2.
1337Allocating Hash Bit 7 in hash match group 1 for table egress_port_count_table in stage 2.
1338Allocating Hash Bit 8 in hash match group 1 for table egress_port_count_table in stage 2.
1339Allocating Hash Bit 9 in hash match group 1 for table egress_port_count_table in stage 2.
1340seed = 0x0
1341set the seed to be [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, 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]
1342Hash Function 0
1343hash_bit_0 = ig_intr_md_for_tm.ucast_egress_port[0] ^ 0
1344hash_bit_1 = ig_intr_md_for_tm.ucast_egress_port[1] ^ 0
1345hash_bit_2 = ig_intr_md_for_tm.ucast_egress_port[2] ^ 0
1346hash_bit_3 = ig_intr_md_for_tm.ucast_egress_port[3] ^ 0
1347hash_bit_4 = ig_intr_md_for_tm.ucast_egress_port[4] ^ 0
1348hash_bit_5 = ig_intr_md_for_tm.ucast_egress_port[5] ^ 0
1349hash_bit_6 = ig_intr_md_for_tm.ucast_egress_port[6] ^ 0
1350hash_bit_7 = ig_intr_md_for_tm.ucast_egress_port[7] ^ 0
1351hash_bit_8 = ig_intr_md_for_tm.ucast_egress_port[8] ^ 0
1352hash_bit_9 = 0
1353hash_bit_10 = 0
1354hash_bit_11 = 0
1355hash_bit_12 = 0
1356hash_bit_13 = 0
1357hash_bit_14 = 0
1358hash_bit_15 = 0
1359hash_bit_16 = 0
1360hash_bit_17 = 0
1361hash_bit_18 = 0
1362hash_bit_19 = 0
1363hash_bit_20 = 0
1364hash_bit_21 = 0
1365hash_bit_22 = 0
1366hash_bit_23 = 0
1367hash_bit_24 = 0
1368hash_bit_25 = 0
1369hash_bit_26 = 0
1370hash_bit_27 = 0
1371hash_bit_28 = 0
1372hash_bit_29 = 0
1373hash_bit_30 = 0
1374hash_bit_31 = 0
1375hash_bit_32 = 0
1376hash_bit_33 = 0
1377hash_bit_34 = 0
1378hash_bit_35 = 0
1379hash_bit_36 = 0
1380hash_bit_37 = 0
1381hash_bit_38 = 0
1382hash_bit_39 = 0
1383hash_bit_40 = 0
1384hash_bit_41 = 0
1385hash_bit_42 = 0
1386hash_bit_43 = 0
1387hash_bit_44 = 0
1388hash_bit_45 = 0
1389hash_bit_46 = 0
1390hash_bit_47 = 0
1391hash_bit_48 = 0
1392hash_bit_49 = 0
1393hash_bit_50 = 0
1394hash_bit_51 = 0
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001395
Carmelo Cascone6230a612017-09-13 03:25:41 +02001396Allocating: Byte 2 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ig_intr_md_for_tm.ucast_egress_port[7:0]}.
1397Allocating: Byte 3 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {unused[6:0], ig_intr_md_for_tm.ucast_egress_port[8:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001398Match Table Resource Request is:
1399SRAM Resource Request for table egress_port_count_table (of type match), with 0 ways wants 0 rams.
Carmelo Cascone6230a612017-09-13 03:25:41 +02001400Allocating: Byte 2 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {ig_intr_md_for_tm.ucast_egress_port[7:0]}.
1401Allocating: Byte 3 is of type exact and member of group 0 (parity group 0) with 16 bytes. for {unused[6:0], ig_intr_md_for_tm.ucast_egress_port[8:8]}.
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001402No micro instructions needed for action count_egress executed from table egress_port_count_table.
Brian O'Connora6862e02017-09-08 01:17:39 -07001403Allocating Action ALU 0 (32 bits) in stage 2 for match table egress_port_count_table's action count_egress
1404Allocating VLIW Instruction : 0 in stage 2 for match table egress_port_count_table's action count_egress
Carmelo Cascone6230a612017-09-13 03:25:41 +02001405My hash-action stage table is
1406StageHashActionTable
1407 stage_number: 2
1408 number_entries 1024
1409 pack_format:
1410 Pack Format:
1411 table_word_width: 0
1412 memory_word_width: 0
1413 entries_per_table_word: 0
1414 number_memory_units_per_table_word: 0
1415 entry_list: [
1416]
1417
1418 p4_table: 'egress_port_count_table'
1419 stage_table_handle: 1
1420 stage_table_type_handle: 1
1421 stage_gateway_table: StageGatewayTable
1422 stage_number: 2
1423 number_entries 0
1424 memory_resource_allocation GatewayMemoryResourceAllocation:
1425 memory_type: gateway
1426 memory_units: [[14]]
1427 home_row: -1
1428 stateful_action_bus_output: None
1429
1430 p4_table: 'egress_port_count_table_always_true_condition'
1431
1432 match_group_resource_allocation:
1433 vliw_resource_allocation:
1434 action handle 536870916 maps to:
1435VliwResourceAllocation:
1436 match_table_name: egress_port_count_table
1437 p4_action: count_egress
1438 address_to_use: 0
1439 full_address: 64
1440 vliw_instruction_number: 0
1441 color: 0
1442 direction: ingress
1443 micro_instructions:
1444
1445 action_to_vliw_mapping:
1446 action handle 536870916 maps to vliw instruction 0, color 0, and direction ingress and is found in instruction address 0
1447 hash_distribution_usages:
1448 MAU Hash Distribution Resource Usage for P4 table egress_port_count_table
1449 exact_match_group_resource_allocation : HashMatchGroupResourceAllocation:
1450 match_groups: [(0, 16)]
1451 match_group_key_bit_width: 73
1452 match_group_phv_bit_scrambling: OrderedDict([(('ig_intr_md_for_tm.ucast_egress_port', 0), 64), (('ig_intr_md_for_tm.ucast_egress_port', 1), 65), (('ig_intr_md_for_tm.ucast_egress_port', 2), 66), (('ig_intr_md_for_tm.ucast_egress_port', 3), 67), (('ig_intr_md_for_tm.ucast_egress_port', 4), 68), (('ig_intr_md_for_tm.ucast_egress_port', 5), 69), (('ig_intr_md_for_tm.ucast_egress_port', 6), 70), (('ig_intr_md_for_tm.ucast_egress_port', 7), 71), (('ig_intr_md_for_tm.ucast_egress_port', 8), 72)])
1453 ('ig_intr_md_for_tm.ucast_egress_port', 0) -> 64
1454 ('ig_intr_md_for_tm.ucast_egress_port', 1) -> 65
1455 ('ig_intr_md_for_tm.ucast_egress_port', 2) -> 66
1456 ('ig_intr_md_for_tm.ucast_egress_port', 3) -> 67
1457 ('ig_intr_md_for_tm.ucast_egress_port', 4) -> 68
1458 ('ig_intr_md_for_tm.ucast_egress_port', 5) -> 69
1459 ('ig_intr_md_for_tm.ucast_egress_port', 6) -> 70
1460 ('ig_intr_md_for_tm.ucast_egress_port', 7) -> 71
1461 ('ig_intr_md_for_tm.ucast_egress_port', 8) -> 72
Carmelo Cascone133c7b12017-09-13 15:36:08 +02001462 hash_function_dictionary: OrderedDict([(0, <p4c_tofino.target.tofino.llir.mau.stage.resources.hash_function.HashFunction object at 0x7fe01e5e5ed0>)])
Carmelo Cascone6230a612017-09-13 03:25:41 +02001463 hash_group_id: 1
1464 seed: [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, 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]
1465 table_direction: ingress
1466
1467 hash_distribution_resource_allocations :
1468Hash Distribution:
1469 source_hash_group : 1
1470 hash_distribution_hash_id : 1
1471 hash_distribution_group_id : 0
1472 hash_distribution_used_for : Statistics Address
1473 table_direction : ingress
1474 bits_to_use : [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
Carmelo Cascone133c7b12017-09-13 15:36:08 +02001475 left_shift : 2
Carmelo Cascone6230a612017-09-13 03:25:41 +02001476 expanded_lo : False
1477 expanded_hi : False
1478 expanded_bit_width : 0
1479 immediate_position : unused
1480
1481
1482
Brian O'Connora6862e02017-09-08 01:17:39 -07001483Cannot find table object for 'process_packet_out_table_always_true_condition'.
1484Cannot find table object for 'process_packet_out_table_always_true_condition'.
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001485Cannot find table object for 'egress_port_count_table_always_true_condition'.
Brian O'Connora6862e02017-09-08 01:17:39 -07001486Cannot find table object for 'process_packet_out_table_always_true_condition'.
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001487Cannot find table object for 'egress_port_count_table_always_true_condition'.
Brian O'Connora6862e02017-09-08 01:17:39 -07001488Cannot find table object for 'process_packet_out_table_always_true_condition'.
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001489Cannot find table object for 'egress_port_count_table_always_true_condition'.
Brian O'Connora6862e02017-09-08 01:17:39 -07001490Cannot find table object for 'process_packet_out_table_always_true_condition'.
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001491Cannot find table object for 'egress_port_count_table_always_true_condition'.
Brian O'Connora6862e02017-09-08 01:17:39 -07001492Cannot find table object for 'process_packet_out_table_always_true_condition'.
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001493Cannot find table object for 'egress_port_count_table_always_true_condition'.
Brian O'Connora6862e02017-09-08 01:17:39 -07001494Cannot find table object for 'process_packet_out_table_always_true_condition'.
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001495Cannot find table object for 'egress_port_count_table_always_true_condition'.
Brian O'Connora6862e02017-09-08 01:17:39 -07001496Cannot find table object for 'process_packet_out_table_always_true_condition'.
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001497Cannot find table object for 'egress_port_count_table_always_true_condition'.
Brian O'Connora6862e02017-09-08 01:17:39 -07001498Cannot find table object for 'process_packet_out_table_always_true_condition'.
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001499Cannot find table object for 'egress_port_count_table_always_true_condition'.
Brian O'Connora6862e02017-09-08 01:17:39 -07001500Cannot find table object for 'process_packet_out_table_always_true_condition'.
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001501Cannot find table object for 'egress_port_count_table_always_true_condition'.
Brian O'Connora6862e02017-09-08 01:17:39 -07001502Cannot find table object for 'process_packet_out_table_always_true_condition'.
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001503Cannot find table object for 'egress_port_count_table_always_true_condition'.
Brian O'Connora6862e02017-09-08 01:17:39 -07001504Cannot find table object for 'process_packet_out_table_always_true_condition'.
1505Cannot find table object for 'egress_port_count_table_always_true_condition'.
1506Cannot find table object for 'process_packet_out_table_always_true_condition'.
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001507Skipping p4_primitive StageModifyFieldFromHashBitsPrimitive from overhead calculation.
1508Action ecmp_group for table table0 cannot be used as a default action (table miss action). The action requires the use of hash distribution, which is not available when a table misses.
1509Field ig_intr_md_for_tm.ucast_egress_port not contiguous on gateway input
1510Field ig_intr_md_for_tm.ucast_egress_port not contiguous on gateway input
1511Writing configuration registers: regs.match_action_stage.00
1512Writing configuration registers: regs.match_action_stage.01
1513Writing configuration registers: regs.match_action_stage.02
1514Writing configuration registers: regs.match_action_stage.03
1515Writing configuration registers: regs.match_action_stage.04
1516Writing configuration registers: regs.match_action_stage.05
1517Writing configuration registers: regs.match_action_stage.06
1518Writing configuration registers: regs.match_action_stage.07
1519Writing configuration registers: regs.match_action_stage.08
1520Writing configuration registers: regs.match_action_stage.09
1521Writing configuration registers: regs.match_action_stage.0a
1522Writing configuration registers: regs.match_action_stage.0b