blob: ee0c37f714a4c77382b274186ad37641eaf71795 [file] [log] [blame]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001{
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002 "header_types" : [
3 {
4 "name" : "scalars_0",
5 "id" : 0,
6 "fields" : [
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007 ["tmp", 32, false],
8 ["tmp_0", 32, false],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009 ["tmp_1", 32, false],
Jonghwan Hyun8be03392017-12-04 15:48:44 -080010 ["tmp_2", 32, false],
Carmelo Casconea4dc3c12019-02-12 17:30:00 -080011 ["process_int_transit_hasReturned", 1, false],
12 ["local_metadata_t._l4_src_port0", 16, false],
13 ["local_metadata_t._l4_dst_port1", 16, false],
14 ["local_metadata_t._next_hop_id2", 16, false],
15 ["local_metadata_t._selector3", 16, false],
16 ["local_metadata_t._int_meta_switch_id4", 32, false],
17 ["local_metadata_t._int_meta_new_bytes5", 16, false],
18 ["local_metadata_t._int_meta_new_words6", 8, false],
19 ["local_metadata_t._int_meta_source7", 1, false],
20 ["local_metadata_t._int_meta_sink8", 1, false],
21 ["local_metadata_t._int_meta_transit9", 1, false],
22 ["local_metadata_t._int_meta_intl4_shim_len10", 8, false],
23 ["local_metadata_t._compute_checksum11", 1, false],
24 ["_padding_1", 3, false]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080025 ]
26 },
27 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080028 "name" : "standard_metadata",
Carmelo Cascone6af4e172018-06-15 16:01:30 +020029 "id" : 1,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080030 "fields" : [
31 ["ingress_port", 9, false],
32 ["egress_spec", 9, false],
33 ["egress_port", 9, false],
34 ["clone_spec", 32, false],
35 ["instance_type", 32, false],
36 ["drop", 1, false],
37 ["recirculate_port", 16, false],
38 ["packet_length", 32, false],
39 ["enq_timestamp", 32, false],
40 ["enq_qdepth", 19, false],
41 ["deq_timedelta", 32, false],
42 ["deq_qdepth", 19, false],
43 ["ingress_global_timestamp", 48, false],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070044 ["egress_global_timestamp", 48, false],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080045 ["lf_field_list", 32, false],
46 ["mcast_grp", 16, false],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070047 ["resubmit_flag", 32, false],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080048 ["egress_rid", 16, false],
49 ["checksum_error", 1, false],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070050 ["recirculate_flag", 32, false],
Carmelo Cascone03ae0ac2018-10-11 08:31:59 -070051 ["parser_error", 32, false],
Carmelo Cascone6af4e172018-06-15 16:01:30 +020052 ["_padding_0", 5, false]
53 ]
54 },
55 {
56 "name" : "packet_out_header_t",
57 "id" : 2,
58 "fields" : [
59 ["egress_port", 9, false],
60 ["_padding", 7, false]
61 ]
62 },
63 {
64 "name" : "packet_in_header_t",
65 "id" : 3,
66 "fields" : [
67 ["ingress_port", 9, false],
68 ["_padding", 7, false]
69 ]
70 },
71 {
72 "name" : "ethernet_t",
73 "id" : 4,
74 "fields" : [
75 ["dst_addr", 48, false],
76 ["src_addr", 48, false],
77 ["ether_type", 16, false]
78 ]
79 },
80 {
81 "name" : "ipv4_t",
82 "id" : 5,
83 "fields" : [
84 ["version", 4, false],
85 ["ihl", 4, false],
86 ["dscp", 6, false],
87 ["ecn", 2, false],
88 ["len", 16, false],
89 ["identification", 16, false],
90 ["flags", 3, false],
91 ["frag_offset", 13, false],
92 ["ttl", 8, false],
93 ["protocol", 8, false],
94 ["hdr_checksum", 16, false],
95 ["src_addr", 32, false],
96 ["dst_addr", 32, false]
97 ]
98 },
99 {
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900100 "name" : "udp_t",
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200101 "id" : 6,
102 "fields" : [
103 ["src_port", 16, false],
104 ["dst_port", 16, false],
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900105 ["length_", 16, false],
106 ["checksum", 16, false]
107 ]
108 },
109 {
110 "name" : "report_fixed_header_t",
111 "id" : 7,
112 "fields" : [
113 ["ver", 4, false],
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900114 ["len", 4, false],
115 ["nproto", 3, false],
116 ["rep_md_bits", 6, false],
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900117 ["d", 1, false],
118 ["q", 1, false],
119 ["f", 1, false],
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900120 ["rsvd", 6, false],
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900121 ["hw_id", 6, false],
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900122 ["sw_id", 32, false],
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900123 ["seq_no", 32, false],
124 ["ingress_tstamp", 32, false]
125 ]
126 },
127 {
128 "name" : "drop_report_header_t",
129 "id" : 8,
130 "fields" : [
131 ["switch_id", 32, false],
132 ["ingress_port_id", 16, false],
133 ["egress_port_id", 16, false],
134 ["queue_id", 8, false],
135 ["drop_reason", 8, false],
136 ["pad", 16, false]
137 ]
138 },
139 {
140 "name" : "local_report_header_t",
141 "id" : 9,
142 "fields" : [
143 ["switch_id", 32, false],
144 ["ingress_port_id", 16, false],
145 ["egress_port_id", 16, false],
146 ["queue_id", 8, false],
147 ["queue_occupancy", 24, false],
148 ["egress_tstamp", 32, false]
149 ]
150 },
151 {
152 "name" : "tcp_t",
153 "id" : 10,
154 "fields" : [
155 ["src_port", 16, false],
156 ["dst_port", 16, false],
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200157 ["seq_no", 32, false],
158 ["ack_no", 32, false],
159 ["data_offset", 4, false],
160 ["res", 3, false],
161 ["ecn", 3, false],
162 ["ctrl", 6, false],
163 ["window", 16, false],
164 ["checksum", 16, false],
165 ["urgent_ptr", 16, false]
166 ]
167 },
168 {
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200169 "name" : "intl4_shim_t",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900170 "id" : 11,
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200171 "fields" : [
172 ["int_type", 8, false],
173 ["rsvd1", 8, false],
174 ["len", 8, false],
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900175 ["dscp", 6, false],
176 ["rsvd2", 2, false]
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200177 ]
178 },
179 {
180 "name" : "int_header_t",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900181 "id" : 12,
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200182 "fields" : [
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900183 ["ver", 4, false],
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200184 ["rep", 2, false],
185 ["c", 1, false],
186 ["e", 1, false],
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900187 ["m", 1, false],
188 ["rsvd1", 7, false],
189 ["rsvd2", 3, false],
190 ["hop_metadata_len", 5, false],
191 ["remaining_hop_cnt", 8, false],
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200192 ["instruction_mask_0003", 4, false],
193 ["instruction_mask_0407", 4, false],
194 ["instruction_mask_0811", 4, false],
195 ["instruction_mask_1215", 4, false],
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900196 ["rsvd3", 16, false]
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200197 ]
198 },
199 {
200 "name" : "int_data_t",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900201 "id" : 13,
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200202 "fields" : [
203 ["data", "*"]
204 ],
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900205 "max_length" : 240
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200206 },
207 {
208 "name" : "int_switch_id_t",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900209 "id" : 14,
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200210 "fields" : [
211 ["switch_id", 32, false]
212 ]
213 },
214 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900215 "name" : "int_level1_port_ids_t",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900216 "id" : 15,
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200217 "fields" : [
218 ["ingress_port_id", 16, false],
219 ["egress_port_id", 16, false]
220 ]
221 },
222 {
223 "name" : "int_hop_latency_t",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900224 "id" : 16,
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200225 "fields" : [
226 ["hop_latency", 32, false]
227 ]
228 },
229 {
230 "name" : "int_q_occupancy_t",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900231 "id" : 17,
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200232 "fields" : [
233 ["q_id", 8, false],
234 ["q_occupancy", 24, false]
235 ]
236 },
237 {
238 "name" : "int_ingress_tstamp_t",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900239 "id" : 18,
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200240 "fields" : [
241 ["ingress_tstamp", 32, false]
242 ]
243 },
244 {
245 "name" : "int_egress_tstamp_t",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900246 "id" : 19,
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200247 "fields" : [
248 ["egress_tstamp", 32, false]
249 ]
250 },
251 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900252 "name" : "int_level2_port_ids_t",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900253 "id" : 20,
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200254 "fields" : [
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900255 ["ingress_port_id", 32, false],
256 ["egress_port_id", 32, false]
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200257 ]
258 },
259 {
260 "name" : "int_egress_port_tx_util_t",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900261 "id" : 21,
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200262 "fields" : [
263 ["egress_port_tx_util", 32, false]
264 ]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800265 }
266 ],
267 "headers" : [
268 {
269 "name" : "scalars",
270 "id" : 0,
271 "header_type" : "scalars_0",
272 "metadata" : true,
273 "pi_omit" : true
274 },
275 {
276 "name" : "standard_metadata",
277 "id" : 1,
278 "header_type" : "standard_metadata",
279 "metadata" : true,
280 "pi_omit" : true
281 },
282 {
283 "name" : "packet_out",
284 "id" : 2,
285 "header_type" : "packet_out_header_t",
286 "metadata" : false,
287 "pi_omit" : true
288 },
289 {
290 "name" : "packet_in",
291 "id" : 3,
292 "header_type" : "packet_in_header_t",
293 "metadata" : false,
294 "pi_omit" : true
295 },
296 {
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900297 "name" : "report_ethernet",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800298 "id" : 4,
299 "header_type" : "ethernet_t",
300 "metadata" : false,
301 "pi_omit" : true
302 },
303 {
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900304 "name" : "report_ipv4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800305 "id" : 5,
306 "header_type" : "ipv4_t",
307 "metadata" : false,
308 "pi_omit" : true
309 },
310 {
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900311 "name" : "report_udp",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800312 "id" : 6,
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900313 "header_type" : "udp_t",
314 "metadata" : false,
315 "pi_omit" : true
316 },
317 {
318 "name" : "report_fixed_header",
319 "id" : 7,
320 "header_type" : "report_fixed_header_t",
321 "metadata" : false,
322 "pi_omit" : true
323 },
324 {
325 "name" : "report_local.drop_report_header",
326 "id" : 8,
327 "header_type" : "drop_report_header_t",
328 "metadata" : false,
329 "pi_omit" : true
330 },
331 {
332 "name" : "report_local.local_report_header",
333 "id" : 9,
334 "header_type" : "local_report_header_t",
335 "metadata" : false,
336 "pi_omit" : true
337 },
338 {
339 "name" : "ethernet",
340 "id" : 10,
341 "header_type" : "ethernet_t",
342 "metadata" : false,
343 "pi_omit" : true
344 },
345 {
346 "name" : "ipv4",
347 "id" : 11,
348 "header_type" : "ipv4_t",
349 "metadata" : false,
350 "pi_omit" : true
351 },
352 {
353 "name" : "tcp",
354 "id" : 12,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800355 "header_type" : "tcp_t",
356 "metadata" : false,
357 "pi_omit" : true
358 },
359 {
360 "name" : "udp",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900361 "id" : 13,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800362 "header_type" : "udp_t",
363 "metadata" : false,
364 "pi_omit" : true
365 },
366 {
367 "name" : "intl4_shim",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900368 "id" : 14,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800369 "header_type" : "intl4_shim_t",
370 "metadata" : false,
371 "pi_omit" : true
372 },
373 {
374 "name" : "int_header",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900375 "id" : 15,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800376 "header_type" : "int_header_t",
377 "metadata" : false,
378 "pi_omit" : true
379 },
380 {
381 "name" : "int_data",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900382 "id" : 16,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800383 "header_type" : "int_data_t",
384 "metadata" : false,
385 "pi_omit" : true
386 },
387 {
388 "name" : "int_switch_id",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900389 "id" : 17,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800390 "header_type" : "int_switch_id_t",
391 "metadata" : false,
392 "pi_omit" : true
393 },
394 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900395 "name" : "int_level1_port_ids",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900396 "id" : 18,
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900397 "header_type" : "int_level1_port_ids_t",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800398 "metadata" : false,
399 "pi_omit" : true
400 },
401 {
402 "name" : "int_hop_latency",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900403 "id" : 19,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800404 "header_type" : "int_hop_latency_t",
405 "metadata" : false,
406 "pi_omit" : true
407 },
408 {
409 "name" : "int_q_occupancy",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900410 "id" : 20,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800411 "header_type" : "int_q_occupancy_t",
412 "metadata" : false,
413 "pi_omit" : true
414 },
415 {
416 "name" : "int_ingress_tstamp",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900417 "id" : 21,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800418 "header_type" : "int_ingress_tstamp_t",
419 "metadata" : false,
420 "pi_omit" : true
421 },
422 {
423 "name" : "int_egress_tstamp",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900424 "id" : 22,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800425 "header_type" : "int_egress_tstamp_t",
426 "metadata" : false,
427 "pi_omit" : true
428 },
429 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900430 "name" : "int_level2_port_ids",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900431 "id" : 23,
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900432 "header_type" : "int_level2_port_ids_t",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800433 "metadata" : false,
434 "pi_omit" : true
435 },
436 {
437 "name" : "int_egress_tx_util",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900438 "id" : 24,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800439 "header_type" : "int_egress_port_tx_util_t",
440 "metadata" : false,
441 "pi_omit" : true
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800442 }
443 ],
444 "header_stacks" : [],
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900445 "header_union_types" : [
446 {
447 "name" : "local_report_t",
448 "id" : 0,
449 "headers" : [
450 ["drop_report_header", "drop_report_header_t"],
451 ["local_report_header", "local_report_header_t"]
452 ]
453 }
454 ],
455 "header_unions" : [
456 {
457 "name" : "report_local",
458 "id" : 0,
459 "union_type" : "local_report_t",
460 "header_ids" : [8, 9],
461 "pi_omit" : true
462 }
463 ],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800464 "header_union_stacks" : [],
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900465 "field_lists" : [
466 {
467 "id" : 1,
468 "name" : "fl",
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900469 "source_info" : {
470 "filename" : "int.p4",
471 "line" : 56,
472 "column" : 60,
473 "source_fragment" : "standard_metadata"
474 },
475 "elements" : [
476 {
477 "type" : "field",
478 "value" : ["standard_metadata", "ingress_port"]
479 },
480 {
481 "type" : "field",
482 "value" : ["standard_metadata", "egress_spec"]
483 },
484 {
485 "type" : "field",
486 "value" : ["standard_metadata", "egress_port"]
487 },
488 {
489 "type" : "field",
490 "value" : ["standard_metadata", "clone_spec"]
491 },
492 {
493 "type" : "field",
494 "value" : ["standard_metadata", "instance_type"]
495 },
496 {
497 "type" : "field",
498 "value" : ["standard_metadata", "drop"]
499 },
500 {
501 "type" : "field",
502 "value" : ["standard_metadata", "recirculate_port"]
503 },
504 {
505 "type" : "field",
506 "value" : ["standard_metadata", "packet_length"]
507 },
508 {
509 "type" : "field",
510 "value" : ["standard_metadata", "enq_timestamp"]
511 },
512 {
513 "type" : "field",
514 "value" : ["standard_metadata", "enq_qdepth"]
515 },
516 {
517 "type" : "field",
518 "value" : ["standard_metadata", "deq_timedelta"]
519 },
520 {
521 "type" : "field",
522 "value" : ["standard_metadata", "deq_qdepth"]
523 },
524 {
525 "type" : "field",
526 "value" : ["standard_metadata", "ingress_global_timestamp"]
527 },
528 {
529 "type" : "field",
530 "value" : ["standard_metadata", "egress_global_timestamp"]
531 },
532 {
533 "type" : "field",
534 "value" : ["standard_metadata", "lf_field_list"]
535 },
536 {
537 "type" : "field",
538 "value" : ["standard_metadata", "mcast_grp"]
539 },
540 {
541 "type" : "field",
542 "value" : ["standard_metadata", "resubmit_flag"]
543 },
544 {
545 "type" : "field",
546 "value" : ["standard_metadata", "egress_rid"]
547 },
548 {
549 "type" : "field",
550 "value" : ["standard_metadata", "checksum_error"]
551 },
552 {
553 "type" : "field",
554 "value" : ["standard_metadata", "recirculate_flag"]
555 },
556 {
557 "type" : "field",
558 "value" : ["standard_metadata", "parser_error"]
559 }
560 ]
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900561 }
562 ],
Carmelo Cascone03ae0ac2018-10-11 08:31:59 -0700563 "errors" : [
Carmelo Casconea4dc3c12019-02-12 17:30:00 -0800564 ["NoError", 1],
565 ["PacketTooShort", 2],
566 ["NoMatch", 3],
567 ["StackOutOfBounds", 4],
568 ["HeaderTooShort", 5],
569 ["ParserTimeout", 6]
Carmelo Cascone03ae0ac2018-10-11 08:31:59 -0700570 ],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800571 "enums" : [],
572 "parsers" : [
573 {
574 "name" : "parser",
575 "id" : 0,
576 "init_state" : "start",
577 "parse_states" : [
578 {
579 "name" : "start",
580 "id" : 0,
581 "parser_ops" : [],
582 "transitions" : [
583 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700584 "type" : "hexstr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800585 "value" : "0x00ff",
586 "mask" : null,
587 "next_state" : "parse_packet_out"
588 },
589 {
590 "value" : "default",
591 "mask" : null,
592 "next_state" : "parse_ethernet"
593 }
594 ],
595 "transition_key" : [
596 {
597 "type" : "field",
598 "value" : ["standard_metadata", "ingress_port"]
599 }
600 ]
601 },
602 {
603 "name" : "parse_packet_out",
604 "id" : 1,
605 "parser_ops" : [
606 {
607 "parameters" : [
608 {
609 "type" : "regular",
610 "value" : "packet_out"
611 }
612 ],
613 "op" : "extract"
614 }
615 ],
616 "transitions" : [
617 {
618 "value" : "default",
619 "mask" : null,
620 "next_state" : "parse_ethernet"
621 }
622 ],
623 "transition_key" : []
624 },
625 {
626 "name" : "parse_ethernet",
627 "id" : 2,
628 "parser_ops" : [
629 {
630 "parameters" : [
631 {
632 "type" : "regular",
633 "value" : "ethernet"
634 }
635 ],
636 "op" : "extract"
637 }
638 ],
639 "transitions" : [
640 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700641 "type" : "hexstr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800642 "value" : "0x0800",
643 "mask" : null,
644 "next_state" : "parse_ipv4"
645 },
646 {
647 "value" : "default",
648 "mask" : null,
649 "next_state" : null
650 }
651 ],
652 "transition_key" : [
653 {
654 "type" : "field",
655 "value" : ["ethernet", "ether_type"]
656 }
657 ]
658 },
659 {
660 "name" : "parse_ipv4",
661 "id" : 3,
662 "parser_ops" : [
663 {
664 "parameters" : [
665 {
666 "type" : "regular",
667 "value" : "ipv4"
668 }
669 ],
670 "op" : "extract"
671 }
672 ],
673 "transitions" : [
674 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700675 "type" : "hexstr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800676 "value" : "0x06",
677 "mask" : null,
678 "next_state" : "parse_tcp"
679 },
680 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700681 "type" : "hexstr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800682 "value" : "0x11",
683 "mask" : null,
684 "next_state" : "parse_udp"
685 },
686 {
687 "value" : "default",
688 "mask" : null,
689 "next_state" : null
690 }
691 ],
692 "transition_key" : [
693 {
694 "type" : "field",
695 "value" : ["ipv4", "protocol"]
696 }
697 ]
698 },
699 {
700 "name" : "parse_tcp",
701 "id" : 4,
702 "parser_ops" : [
703 {
704 "parameters" : [
705 {
706 "type" : "regular",
707 "value" : "tcp"
708 }
709 ],
710 "op" : "extract"
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800711 },
712 {
713 "parameters" : [
714 {
715 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -0800716 "value" : ["scalars", "local_metadata_t._l4_src_port0"]
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800717 },
718 {
719 "type" : "field",
720 "value" : ["tcp", "src_port"]
721 }
722 ],
723 "op" : "set"
724 },
725 {
726 "parameters" : [
727 {
728 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -0800729 "value" : ["scalars", "local_metadata_t._l4_dst_port1"]
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800730 },
731 {
732 "type" : "field",
733 "value" : ["tcp", "dst_port"]
734 }
735 ],
736 "op" : "set"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800737 }
738 ],
739 "transitions" : [
740 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700741 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900742 "value" : "0x17",
743 "mask" : "0x3f",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800744 "next_state" : "parse_intl4_shim"
745 },
746 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800747 "value" : "default",
748 "mask" : null,
749 "next_state" : null
750 }
751 ],
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800752 "transition_key" : [
753 {
754 "type" : "field",
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900755 "value" : ["ipv4", "dscp"]
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800756 }
757 ]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800758 },
759 {
760 "name" : "parse_udp",
761 "id" : 5,
762 "parser_ops" : [
763 {
764 "parameters" : [
765 {
766 "type" : "regular",
767 "value" : "udp"
768 }
769 ],
770 "op" : "extract"
771 },
772 {
773 "parameters" : [
774 {
775 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -0800776 "value" : ["scalars", "local_metadata_t._l4_src_port0"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800777 },
778 {
779 "type" : "field",
780 "value" : ["udp", "src_port"]
781 }
782 ],
783 "op" : "set"
784 },
785 {
786 "parameters" : [
787 {
788 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -0800789 "value" : ["scalars", "local_metadata_t._l4_dst_port1"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800790 },
791 {
792 "type" : "field",
793 "value" : ["udp", "dst_port"]
794 }
795 ],
796 "op" : "set"
797 }
798 ],
799 "transitions" : [
800 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700801 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900802 "value" : "0x17",
803 "mask" : "0x3f",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800804 "next_state" : "parse_intl4_shim"
805 },
806 {
807 "value" : "default",
808 "mask" : null,
809 "next_state" : null
810 }
811 ],
812 "transition_key" : [
813 {
814 "type" : "field",
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900815 "value" : ["ipv4", "dscp"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800816 }
817 ]
818 },
819 {
820 "name" : "parse_intl4_shim",
821 "id" : 6,
822 "parser_ops" : [
823 {
824 "parameters" : [
825 {
826 "type" : "regular",
827 "value" : "intl4_shim"
828 }
829 ],
830 "op" : "extract"
831 },
832 {
833 "parameters" : [
834 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900835 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -0800836 "value" : ["scalars", "local_metadata_t._int_meta_intl4_shim_len10"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900837 },
838 {
839 "type" : "field",
840 "value" : ["intl4_shim", "len"]
841 }
842 ],
843 "op" : "set"
844 },
845 {
846 "parameters" : [
847 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800848 "type" : "regular",
849 "value" : "int_header"
850 }
851 ],
852 "op" : "extract"
853 },
854 {
855 "parameters" : [
856 {
857 "type" : "field",
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900858 "value" : ["scalars", "tmp"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800859 },
860 {
861 "type" : "expression",
862 "value" : {
863 "type" : "expression",
864 "value" : {
865 "op" : "&",
866 "left" : {
867 "type" : "expression",
868 "value" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900869 "op" : "<<",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800870 "left" : {
871 "type" : "expression",
872 "value" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900873 "op" : "&",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800874 "left" : {
875 "type" : "expression",
876 "value" : {
877 "op" : "&",
878 "left" : {
879 "type" : "expression",
880 "value" : {
881 "op" : "+",
882 "left" : {
883 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -0800884 "value" : ["intl4_shim", "len"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800885 },
886 "right" : {
887 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900888 "value" : "0xfd"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800889 }
890 }
891 },
892 "right" : {
893 "type" : "hexstr",
894 "value" : "0xff"
895 }
896 }
897 },
898 "right" : {
899 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900900 "value" : "0xffffffff"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800901 }
902 }
903 },
904 "right" : {
905 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900906 "value" : "0x5"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800907 }
908 }
909 },
910 "right" : {
911 "type" : "hexstr",
912 "value" : "0xffffffff"
913 }
914 }
915 }
916 }
917 ],
918 "op" : "set"
919 },
920 {
921 "parameters" : [
922 {
923 "type" : "regular",
924 "value" : "int_data"
925 },
926 {
927 "type" : "expression",
928 "value" : {
929 "type" : "field",
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900930 "value" : ["scalars", "tmp"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800931 }
932 }
933 ],
934 "op" : "extract_VL"
935 }
936 ],
937 "transitions" : [
938 {
939 "value" : "default",
940 "mask" : null,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800941 "next_state" : null
942 }
943 ],
944 "transition_key" : []
945 }
946 ]
947 }
948 ],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700949 "parse_vsets" : [],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800950 "deparsers" : [
951 {
952 "name" : "deparser",
953 "id" : 0,
954 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700955 "filename" : "include/int_parser.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900956 "line" : 93,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800957 "column" : 8,
958 "source_fragment" : "int_deparser"
959 },
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900960 "order" : ["packet_in", "report_ethernet", "report_ipv4", "report_udp", "report_fixed_header", "ethernet", "ipv4", "tcp", "udp", "intl4_shim", "int_header", "int_switch_id", "int_level1_port_ids", "int_hop_latency", "int_q_occupancy", "int_ingress_tstamp", "int_egress_tstamp", "int_level2_port_ids", "int_egress_tx_util", "int_data"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800961 }
962 ],
963 "meter_arrays" : [],
964 "counter_arrays" : [
965 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700966 "name" : "ingress.port_counters_ingress.ingress_port_counter",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800967 "id" : 0,
968 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700969 "filename" : "include/port_counters.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800970 "line" : 26,
971 "column" : 38,
972 "source_fragment" : "ingress_port_counter"
973 },
974 "size" : 511,
975 "is_direct" : false
976 },
977 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700978 "name" : "ingress.table0_control.table0_counter",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800979 "id" : 1,
980 "is_direct" : true,
Carmelo Cascone03ae0ac2018-10-11 08:31:59 -0700981 "binding" : "ingress.table0_control.table0",
982 "source_info" : {
983 "filename" : "include/table0.p4",
984 "line" : 27,
985 "column" : 50,
986 "source_fragment" : "table0_counter"
987 }
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800988 },
989 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900990 "name" : "ingress.process_int_source_sink.counter_set_source",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800991 "id" : 2,
992 "is_direct" : true,
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900993 "binding" : "ingress.process_int_source_sink.tb_set_source",
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900994 "source_info" : {
995 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +0900996 "line" : 88,
Jonghwan Hyun6777d532018-11-18 20:50:16 +0900997 "column" : 50,
998 "source_fragment" : "counter_set_source"
999 }
1000 },
1001 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001002 "name" : "ingress.process_int_source_sink.counter_set_sink",
Jonghwan Hyun6777d532018-11-18 20:50:16 +09001003 "id" : 3,
1004 "is_direct" : true,
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001005 "binding" : "ingress.process_int_source_sink.tb_set_sink",
Jonghwan Hyun6777d532018-11-18 20:50:16 +09001006 "source_info" : {
1007 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001008 "line" : 89,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09001009 "column" : 50,
1010 "source_fragment" : "counter_set_sink"
1011 }
1012 },
1013 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001014 "name" : "ingress.process_int_source.counter_int_source",
Jonghwan Hyun6777d532018-11-18 20:50:16 +09001015 "id" : 4,
1016 "is_direct" : true,
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001017 "binding" : "ingress.process_int_source.tb_int_source",
Carmelo Cascone03ae0ac2018-10-11 08:31:59 -07001018 "source_info" : {
1019 "filename" : "include/int_source.p4",
1020 "line" : 27,
1021 "column" : 50,
1022 "source_fragment" : "counter_int_source"
1023 }
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001024 },
1025 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001026 "name" : "egress.port_counters_egress.egress_port_counter",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001027 "id" : 5,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001028 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001029 "filename" : "include/port_counters.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001030 "line" : 36,
1031 "column" : 38,
1032 "source_fragment" : "egress_port_counter"
1033 },
1034 "size" : 511,
1035 "is_direct" : false
1036 }
1037 ],
1038 "register_arrays" : [],
Jonghwan Hyun6777d532018-11-18 20:50:16 +09001039 "calculations" : [
1040 {
1041 "name" : "calc",
1042 "id" : 0,
1043 "source_info" : {
1044 "filename" : "include/checksums.p4",
1045 "line" : 32,
1046 "column" : 8,
1047 "source_fragment" : "update_checksum(hdr.ipv4.isValid(), ..."
1048 },
1049 "algo" : "csum16",
1050 "input" : [
1051 {
1052 "type" : "field",
1053 "value" : ["ipv4", "version"]
1054 },
1055 {
1056 "type" : "field",
1057 "value" : ["ipv4", "ihl"]
1058 },
1059 {
1060 "type" : "field",
1061 "value" : ["ipv4", "dscp"]
1062 },
1063 {
1064 "type" : "field",
1065 "value" : ["ipv4", "ecn"]
1066 },
1067 {
1068 "type" : "field",
1069 "value" : ["ipv4", "len"]
1070 },
1071 {
1072 "type" : "field",
1073 "value" : ["ipv4", "identification"]
1074 },
1075 {
1076 "type" : "field",
1077 "value" : ["ipv4", "flags"]
1078 },
1079 {
1080 "type" : "field",
1081 "value" : ["ipv4", "frag_offset"]
1082 },
1083 {
1084 "type" : "field",
1085 "value" : ["ipv4", "ttl"]
1086 },
1087 {
1088 "type" : "field",
1089 "value" : ["ipv4", "protocol"]
1090 },
1091 {
1092 "type" : "field",
1093 "value" : ["ipv4", "src_addr"]
1094 },
1095 {
1096 "type" : "field",
1097 "value" : ["ipv4", "dst_addr"]
1098 }
1099 ]
1100 },
1101 {
1102 "name" : "calc_0",
1103 "id" : 1,
1104 "source_info" : {
1105 "filename" : "include/checksums.p4",
1106 "line" : 54,
1107 "column" : 8,
1108 "source_fragment" : "update_checksum(hdr.report_ipv4.isValid(), ..."
1109 },
1110 "algo" : "csum16",
1111 "input" : [
1112 {
1113 "type" : "field",
1114 "value" : ["report_ipv4", "version"]
1115 },
1116 {
1117 "type" : "field",
1118 "value" : ["report_ipv4", "ihl"]
1119 },
1120 {
1121 "type" : "field",
1122 "value" : ["report_ipv4", "dscp"]
1123 },
1124 {
1125 "type" : "field",
1126 "value" : ["report_ipv4", "ecn"]
1127 },
1128 {
1129 "type" : "field",
1130 "value" : ["report_ipv4", "len"]
1131 },
1132 {
1133 "type" : "field",
1134 "value" : ["report_ipv4", "identification"]
1135 },
1136 {
1137 "type" : "field",
1138 "value" : ["report_ipv4", "flags"]
1139 },
1140 {
1141 "type" : "field",
1142 "value" : ["report_ipv4", "frag_offset"]
1143 },
1144 {
1145 "type" : "field",
1146 "value" : ["report_ipv4", "ttl"]
1147 },
1148 {
1149 "type" : "field",
1150 "value" : ["report_ipv4", "protocol"]
1151 },
1152 {
1153 "type" : "field",
1154 "value" : ["report_ipv4", "src_addr"]
1155 },
1156 {
1157 "type" : "field",
1158 "value" : ["report_ipv4", "dst_addr"]
1159 }
1160 ]
1161 }
1162 ],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001163 "learn_lists" : [],
1164 "actions" : [
1165 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001166 "name" : "_drop",
Keesjan Karsten23368892018-05-22 10:46:01 +00001167 "id" : 0,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001168 "runtime_data" : [],
1169 "primitives" : [
1170 {
1171 "op" : "drop",
1172 "parameters" : [],
1173 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001174 "filename" : "include/actions.p4",
Keesjan Karsten23368892018-05-22 10:46:01 +00001175 "line" : 24,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001176 "column" : 4,
1177 "source_fragment" : "mark_to_drop()"
1178 }
1179 }
1180 ]
1181 },
1182 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001183 "name" : "nop",
Keesjan Karsten23368892018-05-22 10:46:01 +00001184 "id" : 1,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09001185 "runtime_data" : [],
1186 "primitives" : []
1187 },
1188 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001189 "name" : "nop",
Jonghwan Hyun6777d532018-11-18 20:50:16 +09001190 "id" : 2,
1191 "runtime_data" : [],
1192 "primitives" : []
1193 },
1194 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001195 "name" : "nop",
Jonghwan Hyun6777d532018-11-18 20:50:16 +09001196 "id" : 3,
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001197 "runtime_data" : [],
1198 "primitives" : []
1199 },
1200 {
1201 "name" : "ingress.table0_control.set_next_hop_id",
1202 "id" : 4,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001203 "runtime_data" : [
1204 {
1205 "name" : "next_hop_id",
1206 "bitwidth" : 16
1207 }
1208 ],
1209 "primitives" : [
1210 {
1211 "op" : "assign",
1212 "parameters" : [
1213 {
1214 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08001215 "value" : ["scalars", "local_metadata_t._next_hop_id2"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001216 },
1217 {
1218 "type" : "runtime_data",
1219 "value" : 0
1220 }
1221 ],
1222 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001223 "filename" : "include/table0.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001224 "line" : 30,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08001225 "column" : 35,
1226 "source_fragment" : "= next_hop_id; ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001227 }
1228 }
1229 ]
1230 },
1231 {
Keesjan Karsten23368892018-05-22 10:46:01 +00001232 "name" : "ingress.table0_control.send_to_cpu",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001233 "id" : 5,
Keesjan Karsten23368892018-05-22 10:46:01 +00001234 "runtime_data" : [],
1235 "primitives" : [
1236 {
1237 "op" : "assign",
1238 "parameters" : [
1239 {
1240 "type" : "field",
1241 "value" : ["standard_metadata", "egress_spec"]
1242 },
1243 {
1244 "type" : "hexstr",
1245 "value" : "0x00ff"
1246 }
1247 ],
1248 "source_info" : {
1249 "filename" : "include/defines.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001250 "line" : 43,
Keesjan Karsten23368892018-05-22 10:46:01 +00001251 "column" : 24,
1252 "source_fragment" : "255; ..."
1253 }
1254 }
1255 ]
1256 },
1257 {
1258 "name" : "ingress.table0_control.set_egress_port",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001259 "id" : 6,
Keesjan Karsten23368892018-05-22 10:46:01 +00001260 "runtime_data" : [
1261 {
1262 "name" : "port",
1263 "bitwidth" : 9
1264 }
1265 ],
1266 "primitives" : [
1267 {
1268 "op" : "assign",
1269 "parameters" : [
1270 {
1271 "type" : "field",
1272 "value" : ["standard_metadata", "egress_spec"]
1273 },
1274 {
1275 "type" : "runtime_data",
1276 "value" : 0
1277 }
1278 ],
1279 "source_info" : {
1280 "filename" : "include/table0.p4",
1281 "line" : 38,
1282 "column" : 8,
1283 "source_fragment" : "standard_metadata.egress_spec = port"
1284 }
1285 }
1286 ]
1287 },
1288 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001289 "name" : "ingress.process_int_source_sink.int_set_source",
Jonghwan Hyun6777d532018-11-18 20:50:16 +09001290 "id" : 7,
1291 "runtime_data" : [],
1292 "primitives" : [
1293 {
1294 "op" : "assign",
1295 "parameters" : [
1296 {
1297 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08001298 "value" : ["scalars", "local_metadata_t._int_meta_source7"]
Jonghwan Hyun6777d532018-11-18 20:50:16 +09001299 },
1300 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001301 "type" : "expression",
1302 "value" : {
1303 "type" : "expression",
1304 "value" : {
1305 "op" : "b2d",
1306 "left" : null,
1307 "right" : {
1308 "type" : "bool",
1309 "value" : true
1310 }
1311 }
1312 }
Jonghwan Hyun6777d532018-11-18 20:50:16 +09001313 }
1314 ],
1315 "source_info" : {
1316 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001317 "line" : 92,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08001318 "column" : 39,
1319 "source_fragment" : "= true; ..."
Jonghwan Hyun6777d532018-11-18 20:50:16 +09001320 }
1321 }
1322 ]
1323 },
1324 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001325 "name" : "ingress.process_int_source_sink.int_set_sink",
Jonghwan Hyun6777d532018-11-18 20:50:16 +09001326 "id" : 8,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001327 "runtime_data" : [],
1328 "primitives" : [
1329 {
1330 "op" : "assign",
1331 "parameters" : [
1332 {
1333 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08001334 "value" : ["scalars", "local_metadata_t._int_meta_sink8"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001335 },
1336 {
1337 "type" : "expression",
1338 "value" : {
1339 "type" : "expression",
1340 "value" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001341 "op" : "b2d",
1342 "left" : null,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001343 "right" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001344 "type" : "bool",
1345 "value" : true
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001346 }
1347 }
1348 }
1349 }
Carmelo Cascone6af4e172018-06-15 16:01:30 +02001350 ],
1351 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001352 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001353 "line" : 97,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08001354 "column" : 37,
1355 "source_fragment" : "= true; ..."
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001356 }
1357 }
1358 ]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001359 },
1360 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001361 "name" : "ingress.process_int_source.int_source_dscp",
1362 "id" : 9,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001363 "runtime_data" : [
1364 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001365 "name" : "hop_metadata_len",
1366 "bitwidth" : 5
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001367 },
1368 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001369 "name" : "remaining_hop_cnt",
1370 "bitwidth" : 8
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001371 },
1372 {
1373 "name" : "ins_mask0003",
1374 "bitwidth" : 4
1375 },
1376 {
1377 "name" : "ins_mask0407",
1378 "bitwidth" : 4
1379 }
1380 ],
1381 "primitives" : [
1382 {
1383 "op" : "add_header",
1384 "parameters" : [
1385 {
1386 "type" : "header",
1387 "value" : "intl4_shim"
1388 }
1389 ],
1390 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001391 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001392 "line" : 31,
1393 "column" : 8,
1394 "source_fragment" : "hdr.intl4_shim.setValid()"
1395 }
1396 },
1397 {
1398 "op" : "assign",
1399 "parameters" : [
1400 {
1401 "type" : "field",
1402 "value" : ["intl4_shim", "int_type"]
1403 },
1404 {
1405 "type" : "hexstr",
1406 "value" : "0x01"
1407 }
1408 ],
1409 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001410 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001411 "line" : 33,
1412 "column" : 8,
1413 "source_fragment" : "hdr.intl4_shim.int_type = 1"
1414 }
1415 },
1416 {
1417 "op" : "assign",
1418 "parameters" : [
1419 {
1420 "type" : "field",
1421 "value" : ["intl4_shim", "len"]
1422 },
1423 {
1424 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001425 "value" : "0x03"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001426 }
1427 ],
1428 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001429 "filename" : "include/int_definitions.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001430 "line" : 30,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001431 "column" : 35,
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001432 "source_fragment" : "3; ..."
1433 }
1434 },
1435 {
1436 "op" : "assign",
1437 "parameters" : [
1438 {
1439 "type" : "field",
1440 "value" : ["intl4_shim", "dscp"]
1441 },
1442 {
1443 "type" : "field",
1444 "value" : ["ipv4", "dscp"]
1445 }
1446 ],
1447 "source_info" : {
1448 "filename" : "include/int_source.p4",
1449 "line" : 35,
1450 "column" : 8,
1451 "source_fragment" : "hdr.intl4_shim.dscp = hdr.ipv4.dscp"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001452 }
1453 },
1454 {
1455 "op" : "add_header",
1456 "parameters" : [
1457 {
1458 "type" : "header",
1459 "value" : "int_header"
1460 }
1461 ],
1462 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001463 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001464 "line" : 38,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001465 "column" : 8,
1466 "source_fragment" : "hdr.int_header.setValid()"
1467 }
1468 },
1469 {
1470 "op" : "assign",
1471 "parameters" : [
1472 {
1473 "type" : "field",
1474 "value" : ["int_header", "ver"]
1475 },
1476 {
1477 "type" : "hexstr",
1478 "value" : "0x00"
1479 }
1480 ],
1481 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001482 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001483 "line" : 39,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001484 "column" : 8,
1485 "source_fragment" : "hdr.int_header.ver = 0"
1486 }
1487 },
1488 {
1489 "op" : "assign",
1490 "parameters" : [
1491 {
1492 "type" : "field",
1493 "value" : ["int_header", "rep"]
1494 },
1495 {
1496 "type" : "hexstr",
1497 "value" : "0x00"
1498 }
1499 ],
1500 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001501 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001502 "line" : 40,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001503 "column" : 8,
1504 "source_fragment" : "hdr.int_header.rep = 0"
1505 }
1506 },
1507 {
1508 "op" : "assign",
1509 "parameters" : [
1510 {
1511 "type" : "field",
1512 "value" : ["int_header", "c"]
1513 },
1514 {
1515 "type" : "hexstr",
1516 "value" : "0x00"
1517 }
1518 ],
1519 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001520 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001521 "line" : 41,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001522 "column" : 8,
1523 "source_fragment" : "hdr.int_header.c = 0"
1524 }
1525 },
1526 {
1527 "op" : "assign",
1528 "parameters" : [
1529 {
1530 "type" : "field",
1531 "value" : ["int_header", "e"]
1532 },
1533 {
1534 "type" : "hexstr",
1535 "value" : "0x00"
1536 }
1537 ],
1538 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001539 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001540 "line" : 42,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001541 "column" : 8,
1542 "source_fragment" : "hdr.int_header.e = 0"
1543 }
1544 },
1545 {
1546 "op" : "assign",
1547 "parameters" : [
1548 {
1549 "type" : "field",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001550 "value" : ["int_header", "m"]
1551 },
1552 {
1553 "type" : "hexstr",
1554 "value" : "0x00"
1555 }
1556 ],
1557 "source_info" : {
1558 "filename" : "include/int_source.p4",
1559 "line" : 43,
1560 "column" : 8,
1561 "source_fragment" : "hdr.int_header.m = 0"
1562 }
1563 },
1564 {
1565 "op" : "assign",
1566 "parameters" : [
1567 {
1568 "type" : "field",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001569 "value" : ["int_header", "rsvd1"]
1570 },
1571 {
1572 "type" : "hexstr",
1573 "value" : "0x00"
1574 }
1575 ],
1576 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001577 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001578 "line" : 44,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001579 "column" : 8,
1580 "source_fragment" : "hdr.int_header.rsvd1 = 0"
1581 }
1582 },
1583 {
1584 "op" : "assign",
1585 "parameters" : [
1586 {
1587 "type" : "field",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001588 "value" : ["int_header", "rsvd2"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001589 },
1590 {
1591 "type" : "hexstr",
1592 "value" : "0x00"
1593 }
1594 ],
1595 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001596 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001597 "line" : 45,
1598 "column" : 8,
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001599 "source_fragment" : "hdr.int_header.rsvd2 = 0"
1600 }
1601 },
1602 {
1603 "op" : "assign",
1604 "parameters" : [
1605 {
1606 "type" : "field",
1607 "value" : ["int_header", "hop_metadata_len"]
1608 },
1609 {
1610 "type" : "runtime_data",
1611 "value" : 0
1612 }
1613 ],
1614 "source_info" : {
1615 "filename" : "include/int_source.p4",
1616 "line" : 46,
1617 "column" : 8,
1618 "source_fragment" : "hdr.int_header.hop_metadata_len = hop_metadata_len; ..."
1619 }
1620 },
1621 {
1622 "op" : "assign",
1623 "parameters" : [
1624 {
1625 "type" : "field",
1626 "value" : ["int_header", "remaining_hop_cnt"]
1627 },
1628 {
1629 "type" : "runtime_data",
1630 "value" : 1
1631 }
1632 ],
1633 "source_info" : {
1634 "filename" : "include/int_source.p4",
1635 "line" : 47,
1636 "column" : 8,
1637 "source_fragment" : "hdr.int_header.remaining_hop_cnt = remaining_hop_cnt; ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001638 }
1639 },
1640 {
1641 "op" : "assign",
1642 "parameters" : [
1643 {
1644 "type" : "field",
1645 "value" : ["int_header", "instruction_mask_0003"]
1646 },
1647 {
1648 "type" : "runtime_data",
1649 "value" : 2
1650 }
1651 ],
1652 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001653 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001654 "line" : 48,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001655 "column" : 8,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001656 "source_fragment" : "hdr.int_header.instruction_mask_0003 = ins_mask0003; ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001657 }
1658 },
1659 {
1660 "op" : "assign",
1661 "parameters" : [
1662 {
1663 "type" : "field",
1664 "value" : ["int_header", "instruction_mask_0407"]
1665 },
1666 {
1667 "type" : "runtime_data",
1668 "value" : 3
1669 }
1670 ],
1671 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001672 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001673 "line" : 49,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001674 "column" : 8,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001675 "source_fragment" : "hdr.int_header.instruction_mask_0407 = ins_mask0407; ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001676 }
1677 },
1678 {
1679 "op" : "assign",
1680 "parameters" : [
1681 {
1682 "type" : "field",
1683 "value" : ["int_header", "instruction_mask_0811"]
1684 },
1685 {
1686 "type" : "hexstr",
1687 "value" : "0x00"
1688 }
1689 ],
1690 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001691 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001692 "line" : 50,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001693 "column" : 8,
1694 "source_fragment" : "hdr.int_header.instruction_mask_0811 = 0"
1695 }
1696 },
1697 {
1698 "op" : "assign",
1699 "parameters" : [
1700 {
1701 "type" : "field",
1702 "value" : ["int_header", "instruction_mask_1215"]
1703 },
1704 {
1705 "type" : "hexstr",
1706 "value" : "0x00"
1707 }
1708 ],
1709 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001710 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001711 "line" : 51,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001712 "column" : 8,
1713 "source_fragment" : "hdr.int_header.instruction_mask_1215 = 0"
1714 }
1715 },
1716 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001717 "op" : "assign",
1718 "parameters" : [
1719 {
1720 "type" : "field",
1721 "value" : ["ipv4", "len"]
1722 },
1723 {
1724 "type" : "expression",
1725 "value" : {
1726 "type" : "expression",
1727 "value" : {
1728 "op" : "&",
1729 "left" : {
1730 "type" : "expression",
1731 "value" : {
1732 "op" : "+",
1733 "left" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001734 "type" : "expression",
1735 "value" : {
1736 "op" : "&",
1737 "left" : {
1738 "type" : "expression",
1739 "value" : {
1740 "op" : "+",
1741 "left" : {
1742 "type" : "field",
1743 "value" : ["ipv4", "len"]
1744 },
1745 "right" : {
1746 "type" : "hexstr",
1747 "value" : "0x0008"
1748 }
1749 }
1750 },
1751 "right" : {
1752 "type" : "hexstr",
1753 "value" : "0xffff"
1754 }
1755 }
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001756 },
1757 "right" : {
1758 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001759 "value" : "0x0004"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001760 }
1761 }
1762 },
1763 "right" : {
1764 "type" : "hexstr",
1765 "value" : "0xffff"
1766 }
1767 }
1768 }
1769 }
1770 ],
1771 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001772 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001773 "line" : 54,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001774 "column" : 8,
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001775 "source_fragment" : "hdr.ipv4.len = hdr.ipv4.len + INT_HEADER_SIZE + INT_SHIM_HEADER_SIZE"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001776 }
1777 },
1778 {
1779 "op" : "assign",
1780 "parameters" : [
1781 {
1782 "type" : "field",
1783 "value" : ["udp", "length_"]
1784 },
1785 {
1786 "type" : "expression",
1787 "value" : {
1788 "type" : "expression",
1789 "value" : {
1790 "op" : "&",
1791 "left" : {
1792 "type" : "expression",
1793 "value" : {
1794 "op" : "+",
1795 "left" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001796 "type" : "expression",
1797 "value" : {
1798 "op" : "&",
1799 "left" : {
1800 "type" : "expression",
1801 "value" : {
1802 "op" : "+",
1803 "left" : {
1804 "type" : "field",
1805 "value" : ["udp", "length_"]
1806 },
1807 "right" : {
1808 "type" : "hexstr",
1809 "value" : "0x0008"
1810 }
1811 }
1812 },
1813 "right" : {
1814 "type" : "hexstr",
1815 "value" : "0xffff"
1816 }
1817 }
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001818 },
1819 "right" : {
1820 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001821 "value" : "0x0004"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001822 }
1823 }
1824 },
1825 "right" : {
1826 "type" : "hexstr",
1827 "value" : "0xffff"
1828 }
1829 }
1830 }
1831 }
1832 ],
1833 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001834 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001835 "line" : 55,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001836 "column" : 8,
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001837 "source_fragment" : "hdr.udp.length_ = hdr.udp.length_ + INT_HEADER_SIZE + INT_SHIM_HEADER_SIZE"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001838 }
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001839 },
1840 {
1841 "op" : "assign",
1842 "parameters" : [
1843 {
1844 "type" : "field",
1845 "value" : ["ipv4", "dscp"]
1846 },
1847 {
1848 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001849 "value" : "0x17"
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001850 }
1851 ],
1852 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001853 "filename" : "include/int_definitions.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001854 "line" : 24,
1855 "column" : 24,
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001856 "source_fragment" : "0x17; ..."
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001857 }
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001858 }
1859 ]
1860 },
1861 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001862 "name" : "act",
1863 "id" : 10,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001864 "runtime_data" : [],
1865 "primitives" : [
1866 {
1867 "op" : "assign",
1868 "parameters" : [
1869 {
1870 "type" : "field",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09001871 "value" : ["standard_metadata", "egress_spec"]
1872 },
1873 {
1874 "type" : "field",
1875 "value" : ["packet_out", "egress_port"]
1876 }
1877 ],
1878 "source_info" : {
1879 "filename" : "include/packet_io.p4",
1880 "line" : 27,
1881 "column" : 12,
1882 "source_fragment" : "standard_metadata.egress_spec = hdr.packet_out.egress_port"
1883 }
1884 },
1885 {
1886 "op" : "remove_header",
1887 "parameters" : [
1888 {
1889 "type" : "header",
1890 "value" : "packet_out"
1891 }
1892 ],
1893 "source_info" : {
1894 "filename" : "include/packet_io.p4",
1895 "line" : 28,
1896 "column" : 12,
1897 "source_fragment" : "hdr.packet_out.setInvalid()"
1898 }
1899 }
1900 ]
1901 },
1902 {
1903 "name" : "act_0",
1904 "id" : 11,
1905 "runtime_data" : [],
1906 "primitives" : [
1907 {
1908 "op" : "assign",
1909 "parameters" : [
1910 {
1911 "type" : "field",
1912 "value" : ["scalars", "tmp_0"]
1913 },
1914 {
1915 "type" : "expression",
1916 "value" : {
1917 "type" : "expression",
1918 "value" : {
1919 "op" : "&",
1920 "left" : {
1921 "type" : "field",
1922 "value" : ["standard_metadata", "ingress_port"]
1923 },
1924 "right" : {
1925 "type" : "hexstr",
1926 "value" : "0xffffffff"
1927 }
1928 }
1929 }
1930 }
1931 ],
1932 "source_info" : {
1933 "filename" : "include/port_counters.p4",
1934 "line" : 29,
1935 "column" : 35,
1936 "source_fragment" : "(bit<32>) standard_metadata.ingress_port"
1937 }
1938 },
1939 {
1940 "op" : "count",
1941 "parameters" : [
1942 {
1943 "type" : "counter_array",
1944 "value" : "ingress.port_counters_ingress.ingress_port_counter"
1945 },
1946 {
1947 "type" : "field",
1948 "value" : ["scalars", "tmp_0"]
1949 }
1950 ],
1951 "source_info" : {
1952 "filename" : "include/port_counters.p4",
1953 "line" : 29,
1954 "column" : 8,
1955 "source_fragment" : "ingress_port_counter.count((bit<32>) standard_metadata.ingress_port)"
1956 }
1957 }
1958 ]
1959 },
1960 {
1961 "name" : "act_1",
1962 "id" : 12,
1963 "runtime_data" : [],
1964 "primitives" : [
1965 {
1966 "op" : "clone_ingress_pkt_to_egress",
1967 "parameters" : [
1968 {
1969 "type" : "hexstr",
1970 "value" : "0x000001f4"
1971 },
1972 {
1973 "type" : "hexstr",
1974 "value" : "0x1"
1975 }
1976 ],
1977 "source_info" : {
1978 "filename" : "int.p4",
1979 "line" : 56,
1980 "column" : 12,
1981 "source_fragment" : "clone3(CloneType.I2E, REPORT_MIRROR_SESSION_ID, standard_metadata)"
1982 }
1983 }
1984 ]
1985 },
1986 {
1987 "name" : "nop",
1988 "id" : 13,
1989 "runtime_data" : [],
1990 "primitives" : []
1991 },
1992 {
1993 "name" : "nop",
1994 "id" : 14,
1995 "runtime_data" : [],
1996 "primitives" : []
1997 },
1998 {
1999 "name" : "NoAction",
2000 "id" : 15,
2001 "runtime_data" : [],
2002 "primitives" : []
2003 },
2004 {
2005 "name" : "NoAction",
2006 "id" : 16,
2007 "runtime_data" : [],
2008 "primitives" : []
2009 },
2010 {
2011 "name" : "egress.process_int_transit.init_metadata",
2012 "id" : 17,
2013 "runtime_data" : [
2014 {
2015 "name" : "switch_id",
2016 "bitwidth" : 32
2017 }
2018 ],
2019 "primitives" : [
2020 {
2021 "op" : "assign",
2022 "parameters" : [
2023 {
2024 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002025 "value" : ["scalars", "local_metadata_t._int_meta_transit9"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002026 },
2027 {
2028 "type" : "expression",
2029 "value" : {
2030 "type" : "expression",
2031 "value" : {
2032 "op" : "b2d",
2033 "left" : null,
2034 "right" : {
2035 "type" : "bool",
2036 "value" : true
2037 }
2038 }
2039 }
2040 }
2041 ],
2042 "source_info" : {
2043 "filename" : "include/int_transit.p4",
2044 "line" : 26,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002045 "column" : 40,
2046 "source_fragment" : "= true; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002047 }
2048 },
2049 {
2050 "op" : "assign",
2051 "parameters" : [
2052 {
2053 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002054 "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002055 },
2056 {
2057 "type" : "runtime_data",
2058 "value" : 0
2059 }
2060 ],
2061 "source_info" : {
2062 "filename" : "include/int_transit.p4",
2063 "line" : 27,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002064 "column" : 42,
2065 "source_fragment" : "= switch_id; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002066 }
2067 }
2068 ]
2069 },
2070 {
2071 "name" : "egress.process_int_transit.int_set_header_0003_i0",
2072 "id" : 18,
2073 "runtime_data" : [],
2074 "primitives" : []
2075 },
2076 {
2077 "name" : "egress.process_int_transit.int_set_header_0003_i1",
2078 "id" : 19,
2079 "runtime_data" : [],
2080 "primitives" : [
2081 {
2082 "op" : "add_header",
2083 "parameters" : [
2084 {
2085 "type" : "header",
2086 "value" : "int_q_occupancy"
2087 }
2088 ],
2089 "source_info" : {
2090 "filename" : "include/int_transit.p4",
2091 "line" : 49,
2092 "column" : 8,
2093 "source_fragment" : "hdr.int_q_occupancy.setValid()"
2094 }
2095 },
2096 {
2097 "op" : "assign",
2098 "parameters" : [
2099 {
2100 "type" : "field",
2101 "value" : ["int_q_occupancy", "q_id"]
2102 },
2103 {
2104 "type" : "hexstr",
2105 "value" : "0x00"
2106 }
2107 ],
2108 "source_info" : {
2109 "filename" : "include/int_transit.p4",
2110 "line" : 50,
2111 "column" : 8,
2112 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
2113 }
2114 },
2115 {
2116 "op" : "assign",
2117 "parameters" : [
2118 {
2119 "type" : "field",
2120 "value" : ["int_q_occupancy", "q_occupancy"]
2121 },
2122 {
2123 "type" : "expression",
2124 "value" : {
2125 "type" : "expression",
2126 "value" : {
2127 "op" : "&",
2128 "left" : {
2129 "type" : "field",
2130 "value" : ["standard_metadata", "deq_qdepth"]
2131 },
2132 "right" : {
2133 "type" : "hexstr",
2134 "value" : "0xffffff"
2135 }
2136 }
2137 }
2138 }
2139 ],
2140 "source_info" : {
2141 "filename" : "include/int_transit.p4",
2142 "line" : 53,
2143 "column" : 8,
2144 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
2145 }
2146 },
2147 {
2148 "op" : "assign",
2149 "parameters" : [
2150 {
2151 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002152 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002153 },
2154 {
2155 "type" : "expression",
2156 "value" : {
2157 "type" : "expression",
2158 "value" : {
2159 "op" : "&",
2160 "left" : {
2161 "type" : "expression",
2162 "value" : {
2163 "op" : "+",
2164 "left" : {
2165 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002166 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002167 },
2168 "right" : {
2169 "type" : "hexstr",
2170 "value" : "0x01"
2171 }
2172 }
2173 },
2174 "right" : {
2175 "type" : "hexstr",
2176 "value" : "0xff"
2177 }
2178 }
2179 }
2180 }
2181 ],
2182 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002183 "filename" : "include/int_transit.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002184 "line" : 87,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002185 "column" : 42,
2186 "source_fragment" : "= local_metadata.int_meta.new_words + 1; ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002187 }
2188 },
2189 {
2190 "op" : "assign",
2191 "parameters" : [
2192 {
2193 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002194 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002195 },
2196 {
2197 "type" : "expression",
2198 "value" : {
2199 "type" : "expression",
2200 "value" : {
2201 "op" : "&",
2202 "left" : {
2203 "type" : "expression",
2204 "value" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002205 "op" : "+",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002206 "left" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002207 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002208 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002209 },
2210 "right" : {
2211 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002212 "value" : "0x0004"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002213 }
2214 }
2215 },
2216 "right" : {
2217 "type" : "hexstr",
2218 "value" : "0xffff"
2219 }
2220 }
2221 }
2222 }
2223 ],
2224 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002225 "filename" : "include/int_transit.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002226 "line" : 88,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002227 "column" : 42,
2228 "source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002229 }
2230 }
2231 ]
2232 },
2233 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002234 "name" : "egress.process_int_transit.int_set_header_0003_i2",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002235 "id" : 20,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002236 "runtime_data" : [],
2237 "primitives" : [
2238 {
2239 "op" : "add_header",
2240 "parameters" : [
2241 {
2242 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002243 "value" : "int_hop_latency"
2244 }
2245 ],
2246 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002247 "filename" : "include/int_transit.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002248 "line" : 43,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002249 "column" : 8,
2250 "source_fragment" : "hdr.int_hop_latency.setValid()"
2251 }
2252 },
2253 {
2254 "op" : "assign",
2255 "parameters" : [
2256 {
2257 "type" : "field",
2258 "value" : ["int_hop_latency", "hop_latency"]
2259 },
2260 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002261 "type" : "expression",
2262 "value" : {
2263 "type" : "expression",
2264 "value" : {
2265 "op" : "&",
2266 "left" : {
2267 "type" : "expression",
2268 "value" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002269 "op" : "-",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002270 "left" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002271 "type" : "expression",
2272 "value" : {
2273 "op" : "&",
2274 "left" : {
2275 "type" : "field",
2276 "value" : ["standard_metadata", "egress_global_timestamp"]
2277 },
2278 "right" : {
2279 "type" : "hexstr",
2280 "value" : "0xffffffff"
2281 }
2282 }
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002283 },
2284 "right" : {
2285 "type" : "expression",
2286 "value" : {
2287 "op" : "&",
2288 "left" : {
2289 "type" : "field",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002290 "value" : ["standard_metadata", "ingress_global_timestamp"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002291 },
2292 "right" : {
2293 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002294 "value" : "0xffffffff"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002295 }
2296 }
2297 }
2298 }
2299 },
2300 "right" : {
2301 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002302 "value" : "0xffffffff"
2303 }
2304 }
2305 }
2306 }
2307 ],
2308 "source_info" : {
2309 "filename" : "include/int_transit.p4",
2310 "line" : 44,
2311 "column" : 8,
2312 "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp"
2313 }
2314 },
2315 {
2316 "op" : "assign",
2317 "parameters" : [
2318 {
2319 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002320 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002321 },
2322 {
2323 "type" : "expression",
2324 "value" : {
2325 "type" : "expression",
2326 "value" : {
2327 "op" : "&",
2328 "left" : {
2329 "type" : "expression",
2330 "value" : {
2331 "op" : "+",
2332 "left" : {
2333 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002334 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002335 },
2336 "right" : {
2337 "type" : "hexstr",
2338 "value" : "0x01"
2339 }
2340 }
2341 },
2342 "right" : {
2343 "type" : "hexstr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002344 "value" : "0xff"
2345 }
2346 }
2347 }
2348 }
2349 ],
2350 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002351 "filename" : "include/int_transit.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002352 "line" : 87,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002353 "column" : 42,
2354 "source_fragment" : "= local_metadata.int_meta.new_words + 1; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002355 }
2356 },
2357 {
2358 "op" : "assign",
2359 "parameters" : [
2360 {
2361 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002362 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002363 },
2364 {
2365 "type" : "expression",
2366 "value" : {
2367 "type" : "expression",
2368 "value" : {
2369 "op" : "&",
2370 "left" : {
2371 "type" : "expression",
2372 "value" : {
2373 "op" : "+",
2374 "left" : {
2375 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002376 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002377 },
2378 "right" : {
2379 "type" : "hexstr",
2380 "value" : "0x0004"
2381 }
2382 }
2383 },
2384 "right" : {
2385 "type" : "hexstr",
2386 "value" : "0xffff"
2387 }
2388 }
2389 }
2390 }
2391 ],
2392 "source_info" : {
2393 "filename" : "include/int_transit.p4",
2394 "line" : 88,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002395 "column" : 42,
2396 "source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002397 }
2398 }
2399 ]
2400 },
2401 {
2402 "name" : "egress.process_int_transit.int_set_header_0003_i3",
2403 "id" : 21,
2404 "runtime_data" : [],
2405 "primitives" : [
2406 {
2407 "op" : "add_header",
2408 "parameters" : [
2409 {
2410 "type" : "header",
2411 "value" : "int_q_occupancy"
2412 }
2413 ],
2414 "source_info" : {
2415 "filename" : "include/int_transit.p4",
2416 "line" : 49,
2417 "column" : 8,
2418 "source_fragment" : "hdr.int_q_occupancy.setValid()"
2419 }
2420 },
2421 {
2422 "op" : "assign",
2423 "parameters" : [
2424 {
2425 "type" : "field",
2426 "value" : ["int_q_occupancy", "q_id"]
2427 },
2428 {
2429 "type" : "hexstr",
2430 "value" : "0x00"
2431 }
2432 ],
2433 "source_info" : {
2434 "filename" : "include/int_transit.p4",
2435 "line" : 50,
2436 "column" : 8,
2437 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
2438 }
2439 },
2440 {
2441 "op" : "assign",
2442 "parameters" : [
2443 {
2444 "type" : "field",
2445 "value" : ["int_q_occupancy", "q_occupancy"]
2446 },
2447 {
2448 "type" : "expression",
2449 "value" : {
2450 "type" : "expression",
2451 "value" : {
2452 "op" : "&",
2453 "left" : {
2454 "type" : "field",
2455 "value" : ["standard_metadata", "deq_qdepth"]
2456 },
2457 "right" : {
2458 "type" : "hexstr",
2459 "value" : "0xffffff"
2460 }
2461 }
2462 }
2463 }
2464 ],
2465 "source_info" : {
2466 "filename" : "include/int_transit.p4",
2467 "line" : 53,
2468 "column" : 8,
2469 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
2470 }
2471 },
2472 {
2473 "op" : "add_header",
2474 "parameters" : [
2475 {
2476 "type" : "header",
2477 "value" : "int_hop_latency"
2478 }
2479 ],
2480 "source_info" : {
2481 "filename" : "include/int_transit.p4",
2482 "line" : 43,
2483 "column" : 8,
2484 "source_fragment" : "hdr.int_hop_latency.setValid()"
2485 }
2486 },
2487 {
2488 "op" : "assign",
2489 "parameters" : [
2490 {
2491 "type" : "field",
2492 "value" : ["int_hop_latency", "hop_latency"]
2493 },
2494 {
2495 "type" : "expression",
2496 "value" : {
2497 "type" : "expression",
2498 "value" : {
2499 "op" : "&",
2500 "left" : {
2501 "type" : "expression",
2502 "value" : {
2503 "op" : "-",
2504 "left" : {
2505 "type" : "expression",
2506 "value" : {
2507 "op" : "&",
2508 "left" : {
2509 "type" : "field",
2510 "value" : ["standard_metadata", "egress_global_timestamp"]
2511 },
2512 "right" : {
2513 "type" : "hexstr",
2514 "value" : "0xffffffff"
2515 }
2516 }
2517 },
2518 "right" : {
2519 "type" : "expression",
2520 "value" : {
2521 "op" : "&",
2522 "left" : {
2523 "type" : "field",
2524 "value" : ["standard_metadata", "ingress_global_timestamp"]
2525 },
2526 "right" : {
2527 "type" : "hexstr",
2528 "value" : "0xffffffff"
2529 }
2530 }
2531 }
2532 }
2533 },
2534 "right" : {
2535 "type" : "hexstr",
2536 "value" : "0xffffffff"
2537 }
2538 }
2539 }
2540 }
2541 ],
2542 "source_info" : {
2543 "filename" : "include/int_transit.p4",
2544 "line" : 44,
2545 "column" : 8,
2546 "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp"
2547 }
2548 },
2549 {
2550 "op" : "assign",
2551 "parameters" : [
2552 {
2553 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002554 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002555 },
2556 {
2557 "type" : "expression",
2558 "value" : {
2559 "type" : "expression",
2560 "value" : {
2561 "op" : "&",
2562 "left" : {
2563 "type" : "expression",
2564 "value" : {
2565 "op" : "+",
2566 "left" : {
2567 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002568 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002569 },
2570 "right" : {
2571 "type" : "hexstr",
2572 "value" : "0x02"
2573 }
2574 }
2575 },
2576 "right" : {
2577 "type" : "hexstr",
2578 "value" : "0xff"
2579 }
2580 }
2581 }
2582 }
2583 ],
2584 "source_info" : {
2585 "filename" : "include/int_transit.p4",
2586 "line" : 93,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002587 "column" : 42,
2588 "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002589 }
2590 },
2591 {
2592 "op" : "assign",
2593 "parameters" : [
2594 {
2595 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002596 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002597 },
2598 {
2599 "type" : "expression",
2600 "value" : {
2601 "type" : "expression",
2602 "value" : {
2603 "op" : "&",
2604 "left" : {
2605 "type" : "expression",
2606 "value" : {
2607 "op" : "+",
2608 "left" : {
2609 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002610 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002611 },
2612 "right" : {
2613 "type" : "hexstr",
2614 "value" : "0x0008"
2615 }
2616 }
2617 },
2618 "right" : {
2619 "type" : "hexstr",
2620 "value" : "0xffff"
2621 }
2622 }
2623 }
2624 }
2625 ],
2626 "source_info" : {
2627 "filename" : "include/int_transit.p4",
2628 "line" : 94,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002629 "column" : 42,
2630 "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002631 }
2632 }
2633 ]
2634 },
2635 {
2636 "name" : "egress.process_int_transit.int_set_header_0003_i4",
2637 "id" : 22,
2638 "runtime_data" : [],
2639 "primitives" : [
2640 {
2641 "op" : "add_header",
2642 "parameters" : [
2643 {
2644 "type" : "header",
2645 "value" : "int_level1_port_ids"
2646 }
2647 ],
2648 "source_info" : {
2649 "filename" : "include/int_transit.p4",
2650 "line" : 37,
2651 "column" : 8,
2652 "source_fragment" : "hdr.int_level1_port_ids.setValid()"
2653 }
2654 },
2655 {
2656 "op" : "assign",
2657 "parameters" : [
2658 {
2659 "type" : "field",
2660 "value" : ["int_level1_port_ids", "ingress_port_id"]
2661 },
2662 {
2663 "type" : "expression",
2664 "value" : {
2665 "type" : "expression",
2666 "value" : {
2667 "op" : "&",
2668 "left" : {
2669 "type" : "field",
2670 "value" : ["standard_metadata", "ingress_port"]
2671 },
2672 "right" : {
2673 "type" : "hexstr",
2674 "value" : "0xffff"
2675 }
2676 }
2677 }
2678 }
2679 ],
2680 "source_info" : {
2681 "filename" : "include/int_transit.p4",
2682 "line" : 38,
2683 "column" : 8,
2684 "source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port"
2685 }
2686 },
2687 {
2688 "op" : "assign",
2689 "parameters" : [
2690 {
2691 "type" : "field",
2692 "value" : ["int_level1_port_ids", "egress_port_id"]
2693 },
2694 {
2695 "type" : "expression",
2696 "value" : {
2697 "type" : "expression",
2698 "value" : {
2699 "op" : "&",
2700 "left" : {
2701 "type" : "field",
2702 "value" : ["standard_metadata", "egress_port"]
2703 },
2704 "right" : {
2705 "type" : "hexstr",
2706 "value" : "0xffff"
2707 }
2708 }
2709 }
2710 }
2711 ],
2712 "source_info" : {
2713 "filename" : "include/int_transit.p4",
2714 "line" : 39,
2715 "column" : 8,
2716 "source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port"
2717 }
2718 },
2719 {
2720 "op" : "assign",
2721 "parameters" : [
2722 {
2723 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002724 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002725 },
2726 {
2727 "type" : "expression",
2728 "value" : {
2729 "type" : "expression",
2730 "value" : {
2731 "op" : "&",
2732 "left" : {
2733 "type" : "expression",
2734 "value" : {
2735 "op" : "+",
2736 "left" : {
2737 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002738 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002739 },
2740 "right" : {
2741 "type" : "hexstr",
2742 "value" : "0x01"
2743 }
2744 }
2745 },
2746 "right" : {
2747 "type" : "hexstr",
2748 "value" : "0xff"
2749 }
2750 }
2751 }
2752 }
2753 ],
2754 "source_info" : {
2755 "filename" : "include/int_transit.p4",
2756 "line" : 87,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002757 "column" : 42,
2758 "source_fragment" : "= local_metadata.int_meta.new_words + 1; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002759 }
2760 },
2761 {
2762 "op" : "assign",
2763 "parameters" : [
2764 {
2765 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002766 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002767 },
2768 {
2769 "type" : "expression",
2770 "value" : {
2771 "type" : "expression",
2772 "value" : {
2773 "op" : "&",
2774 "left" : {
2775 "type" : "expression",
2776 "value" : {
2777 "op" : "+",
2778 "left" : {
2779 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002780 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002781 },
2782 "right" : {
2783 "type" : "hexstr",
2784 "value" : "0x0004"
2785 }
2786 }
2787 },
2788 "right" : {
2789 "type" : "hexstr",
2790 "value" : "0xffff"
2791 }
2792 }
2793 }
2794 }
2795 ],
2796 "source_info" : {
2797 "filename" : "include/int_transit.p4",
2798 "line" : 88,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002799 "column" : 42,
2800 "source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002801 }
2802 }
2803 ]
2804 },
2805 {
2806 "name" : "egress.process_int_transit.int_set_header_0003_i5",
2807 "id" : 23,
2808 "runtime_data" : [],
2809 "primitives" : [
2810 {
2811 "op" : "add_header",
2812 "parameters" : [
2813 {
2814 "type" : "header",
2815 "value" : "int_q_occupancy"
2816 }
2817 ],
2818 "source_info" : {
2819 "filename" : "include/int_transit.p4",
2820 "line" : 49,
2821 "column" : 8,
2822 "source_fragment" : "hdr.int_q_occupancy.setValid()"
2823 }
2824 },
2825 {
2826 "op" : "assign",
2827 "parameters" : [
2828 {
2829 "type" : "field",
2830 "value" : ["int_q_occupancy", "q_id"]
2831 },
2832 {
2833 "type" : "hexstr",
2834 "value" : "0x00"
2835 }
2836 ],
2837 "source_info" : {
2838 "filename" : "include/int_transit.p4",
2839 "line" : 50,
2840 "column" : 8,
2841 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
2842 }
2843 },
2844 {
2845 "op" : "assign",
2846 "parameters" : [
2847 {
2848 "type" : "field",
2849 "value" : ["int_q_occupancy", "q_occupancy"]
2850 },
2851 {
2852 "type" : "expression",
2853 "value" : {
2854 "type" : "expression",
2855 "value" : {
2856 "op" : "&",
2857 "left" : {
2858 "type" : "field",
2859 "value" : ["standard_metadata", "deq_qdepth"]
2860 },
2861 "right" : {
2862 "type" : "hexstr",
2863 "value" : "0xffffff"
2864 }
2865 }
2866 }
2867 }
2868 ],
2869 "source_info" : {
2870 "filename" : "include/int_transit.p4",
2871 "line" : 53,
2872 "column" : 8,
2873 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
2874 }
2875 },
2876 {
2877 "op" : "add_header",
2878 "parameters" : [
2879 {
2880 "type" : "header",
2881 "value" : "int_level1_port_ids"
2882 }
2883 ],
2884 "source_info" : {
2885 "filename" : "include/int_transit.p4",
2886 "line" : 37,
2887 "column" : 8,
2888 "source_fragment" : "hdr.int_level1_port_ids.setValid()"
2889 }
2890 },
2891 {
2892 "op" : "assign",
2893 "parameters" : [
2894 {
2895 "type" : "field",
2896 "value" : ["int_level1_port_ids", "ingress_port_id"]
2897 },
2898 {
2899 "type" : "expression",
2900 "value" : {
2901 "type" : "expression",
2902 "value" : {
2903 "op" : "&",
2904 "left" : {
2905 "type" : "field",
2906 "value" : ["standard_metadata", "ingress_port"]
2907 },
2908 "right" : {
2909 "type" : "hexstr",
2910 "value" : "0xffff"
2911 }
2912 }
2913 }
2914 }
2915 ],
2916 "source_info" : {
2917 "filename" : "include/int_transit.p4",
2918 "line" : 38,
2919 "column" : 8,
2920 "source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port"
2921 }
2922 },
2923 {
2924 "op" : "assign",
2925 "parameters" : [
2926 {
2927 "type" : "field",
2928 "value" : ["int_level1_port_ids", "egress_port_id"]
2929 },
2930 {
2931 "type" : "expression",
2932 "value" : {
2933 "type" : "expression",
2934 "value" : {
2935 "op" : "&",
2936 "left" : {
2937 "type" : "field",
2938 "value" : ["standard_metadata", "egress_port"]
2939 },
2940 "right" : {
2941 "type" : "hexstr",
2942 "value" : "0xffff"
2943 }
2944 }
2945 }
2946 }
2947 ],
2948 "source_info" : {
2949 "filename" : "include/int_transit.p4",
2950 "line" : 39,
2951 "column" : 8,
2952 "source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port"
2953 }
2954 },
2955 {
2956 "op" : "assign",
2957 "parameters" : [
2958 {
2959 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002960 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002961 },
2962 {
2963 "type" : "expression",
2964 "value" : {
2965 "type" : "expression",
2966 "value" : {
2967 "op" : "&",
2968 "left" : {
2969 "type" : "expression",
2970 "value" : {
2971 "op" : "+",
2972 "left" : {
2973 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002974 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002975 },
2976 "right" : {
2977 "type" : "hexstr",
2978 "value" : "0x02"
2979 }
2980 }
2981 },
2982 "right" : {
2983 "type" : "hexstr",
2984 "value" : "0xff"
2985 }
2986 }
2987 }
2988 }
2989 ],
2990 "source_info" : {
2991 "filename" : "include/int_transit.p4",
2992 "line" : 93,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08002993 "column" : 42,
2994 "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09002995 }
2996 },
2997 {
2998 "op" : "assign",
2999 "parameters" : [
3000 {
3001 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003002 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003003 },
3004 {
3005 "type" : "expression",
3006 "value" : {
3007 "type" : "expression",
3008 "value" : {
3009 "op" : "&",
3010 "left" : {
3011 "type" : "expression",
3012 "value" : {
3013 "op" : "+",
3014 "left" : {
3015 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003016 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003017 },
3018 "right" : {
3019 "type" : "hexstr",
3020 "value" : "0x0008"
3021 }
3022 }
3023 },
3024 "right" : {
3025 "type" : "hexstr",
3026 "value" : "0xffff"
3027 }
3028 }
3029 }
3030 }
3031 ],
3032 "source_info" : {
3033 "filename" : "include/int_transit.p4",
3034 "line" : 94,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003035 "column" : 42,
3036 "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003037 }
3038 }
3039 ]
3040 },
3041 {
3042 "name" : "egress.process_int_transit.int_set_header_0003_i6",
3043 "id" : 24,
3044 "runtime_data" : [],
3045 "primitives" : [
3046 {
3047 "op" : "add_header",
3048 "parameters" : [
3049 {
3050 "type" : "header",
3051 "value" : "int_hop_latency"
3052 }
3053 ],
3054 "source_info" : {
3055 "filename" : "include/int_transit.p4",
3056 "line" : 43,
3057 "column" : 8,
3058 "source_fragment" : "hdr.int_hop_latency.setValid()"
3059 }
3060 },
3061 {
3062 "op" : "assign",
3063 "parameters" : [
3064 {
3065 "type" : "field",
3066 "value" : ["int_hop_latency", "hop_latency"]
3067 },
3068 {
3069 "type" : "expression",
3070 "value" : {
3071 "type" : "expression",
3072 "value" : {
3073 "op" : "&",
3074 "left" : {
3075 "type" : "expression",
3076 "value" : {
3077 "op" : "-",
3078 "left" : {
3079 "type" : "expression",
3080 "value" : {
3081 "op" : "&",
3082 "left" : {
3083 "type" : "field",
3084 "value" : ["standard_metadata", "egress_global_timestamp"]
3085 },
3086 "right" : {
3087 "type" : "hexstr",
3088 "value" : "0xffffffff"
3089 }
3090 }
3091 },
3092 "right" : {
3093 "type" : "expression",
3094 "value" : {
3095 "op" : "&",
3096 "left" : {
3097 "type" : "field",
3098 "value" : ["standard_metadata", "ingress_global_timestamp"]
3099 },
3100 "right" : {
3101 "type" : "hexstr",
3102 "value" : "0xffffffff"
3103 }
3104 }
3105 }
3106 }
3107 },
3108 "right" : {
3109 "type" : "hexstr",
3110 "value" : "0xffffffff"
3111 }
3112 }
3113 }
3114 }
3115 ],
3116 "source_info" : {
3117 "filename" : "include/int_transit.p4",
3118 "line" : 44,
3119 "column" : 8,
3120 "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp"
3121 }
3122 },
3123 {
3124 "op" : "add_header",
3125 "parameters" : [
3126 {
3127 "type" : "header",
3128 "value" : "int_level1_port_ids"
3129 }
3130 ],
3131 "source_info" : {
3132 "filename" : "include/int_transit.p4",
3133 "line" : 37,
3134 "column" : 8,
3135 "source_fragment" : "hdr.int_level1_port_ids.setValid()"
3136 }
3137 },
3138 {
3139 "op" : "assign",
3140 "parameters" : [
3141 {
3142 "type" : "field",
3143 "value" : ["int_level1_port_ids", "ingress_port_id"]
3144 },
3145 {
3146 "type" : "expression",
3147 "value" : {
3148 "type" : "expression",
3149 "value" : {
3150 "op" : "&",
3151 "left" : {
3152 "type" : "field",
3153 "value" : ["standard_metadata", "ingress_port"]
3154 },
3155 "right" : {
3156 "type" : "hexstr",
3157 "value" : "0xffff"
3158 }
3159 }
3160 }
3161 }
3162 ],
3163 "source_info" : {
3164 "filename" : "include/int_transit.p4",
3165 "line" : 38,
3166 "column" : 8,
3167 "source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port"
3168 }
3169 },
3170 {
3171 "op" : "assign",
3172 "parameters" : [
3173 {
3174 "type" : "field",
3175 "value" : ["int_level1_port_ids", "egress_port_id"]
3176 },
3177 {
3178 "type" : "expression",
3179 "value" : {
3180 "type" : "expression",
3181 "value" : {
3182 "op" : "&",
3183 "left" : {
3184 "type" : "field",
3185 "value" : ["standard_metadata", "egress_port"]
3186 },
3187 "right" : {
3188 "type" : "hexstr",
3189 "value" : "0xffff"
3190 }
3191 }
3192 }
3193 }
3194 ],
3195 "source_info" : {
3196 "filename" : "include/int_transit.p4",
3197 "line" : 39,
3198 "column" : 8,
3199 "source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port"
3200 }
3201 },
3202 {
3203 "op" : "assign",
3204 "parameters" : [
3205 {
3206 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003207 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003208 },
3209 {
3210 "type" : "expression",
3211 "value" : {
3212 "type" : "expression",
3213 "value" : {
3214 "op" : "&",
3215 "left" : {
3216 "type" : "expression",
3217 "value" : {
3218 "op" : "+",
3219 "left" : {
3220 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003221 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003222 },
3223 "right" : {
3224 "type" : "hexstr",
3225 "value" : "0x02"
3226 }
3227 }
3228 },
3229 "right" : {
3230 "type" : "hexstr",
3231 "value" : "0xff"
3232 }
3233 }
3234 }
3235 }
3236 ],
3237 "source_info" : {
3238 "filename" : "include/int_transit.p4",
3239 "line" : 93,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003240 "column" : 42,
3241 "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003242 }
3243 },
3244 {
3245 "op" : "assign",
3246 "parameters" : [
3247 {
3248 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003249 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003250 },
3251 {
3252 "type" : "expression",
3253 "value" : {
3254 "type" : "expression",
3255 "value" : {
3256 "op" : "&",
3257 "left" : {
3258 "type" : "expression",
3259 "value" : {
3260 "op" : "+",
3261 "left" : {
3262 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003263 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003264 },
3265 "right" : {
3266 "type" : "hexstr",
3267 "value" : "0x0008"
3268 }
3269 }
3270 },
3271 "right" : {
3272 "type" : "hexstr",
3273 "value" : "0xffff"
3274 }
3275 }
3276 }
3277 }
3278 ],
3279 "source_info" : {
3280 "filename" : "include/int_transit.p4",
3281 "line" : 94,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003282 "column" : 42,
3283 "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003284 }
3285 }
3286 ]
3287 },
3288 {
3289 "name" : "egress.process_int_transit.int_set_header_0003_i7",
3290 "id" : 25,
3291 "runtime_data" : [],
3292 "primitives" : [
3293 {
3294 "op" : "add_header",
3295 "parameters" : [
3296 {
3297 "type" : "header",
3298 "value" : "int_q_occupancy"
3299 }
3300 ],
3301 "source_info" : {
3302 "filename" : "include/int_transit.p4",
3303 "line" : 49,
3304 "column" : 8,
3305 "source_fragment" : "hdr.int_q_occupancy.setValid()"
3306 }
3307 },
3308 {
3309 "op" : "assign",
3310 "parameters" : [
3311 {
3312 "type" : "field",
3313 "value" : ["int_q_occupancy", "q_id"]
3314 },
3315 {
3316 "type" : "hexstr",
3317 "value" : "0x00"
3318 }
3319 ],
3320 "source_info" : {
3321 "filename" : "include/int_transit.p4",
3322 "line" : 50,
3323 "column" : 8,
3324 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
3325 }
3326 },
3327 {
3328 "op" : "assign",
3329 "parameters" : [
3330 {
3331 "type" : "field",
3332 "value" : ["int_q_occupancy", "q_occupancy"]
3333 },
3334 {
3335 "type" : "expression",
3336 "value" : {
3337 "type" : "expression",
3338 "value" : {
3339 "op" : "&",
3340 "left" : {
3341 "type" : "field",
3342 "value" : ["standard_metadata", "deq_qdepth"]
3343 },
3344 "right" : {
3345 "type" : "hexstr",
3346 "value" : "0xffffff"
3347 }
3348 }
3349 }
3350 }
3351 ],
3352 "source_info" : {
3353 "filename" : "include/int_transit.p4",
3354 "line" : 53,
3355 "column" : 8,
3356 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
3357 }
3358 },
3359 {
3360 "op" : "add_header",
3361 "parameters" : [
3362 {
3363 "type" : "header",
3364 "value" : "int_hop_latency"
3365 }
3366 ],
3367 "source_info" : {
3368 "filename" : "include/int_transit.p4",
3369 "line" : 43,
3370 "column" : 8,
3371 "source_fragment" : "hdr.int_hop_latency.setValid()"
3372 }
3373 },
3374 {
3375 "op" : "assign",
3376 "parameters" : [
3377 {
3378 "type" : "field",
3379 "value" : ["int_hop_latency", "hop_latency"]
3380 },
3381 {
3382 "type" : "expression",
3383 "value" : {
3384 "type" : "expression",
3385 "value" : {
3386 "op" : "&",
3387 "left" : {
3388 "type" : "expression",
3389 "value" : {
3390 "op" : "-",
3391 "left" : {
3392 "type" : "expression",
3393 "value" : {
3394 "op" : "&",
3395 "left" : {
3396 "type" : "field",
3397 "value" : ["standard_metadata", "egress_global_timestamp"]
3398 },
3399 "right" : {
3400 "type" : "hexstr",
3401 "value" : "0xffffffff"
3402 }
3403 }
3404 },
3405 "right" : {
3406 "type" : "expression",
3407 "value" : {
3408 "op" : "&",
3409 "left" : {
3410 "type" : "field",
3411 "value" : ["standard_metadata", "ingress_global_timestamp"]
3412 },
3413 "right" : {
3414 "type" : "hexstr",
3415 "value" : "0xffffffff"
3416 }
3417 }
3418 }
3419 }
3420 },
3421 "right" : {
3422 "type" : "hexstr",
3423 "value" : "0xffffffff"
3424 }
3425 }
3426 }
3427 }
3428 ],
3429 "source_info" : {
3430 "filename" : "include/int_transit.p4",
3431 "line" : 44,
3432 "column" : 8,
3433 "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp"
3434 }
3435 },
3436 {
3437 "op" : "add_header",
3438 "parameters" : [
3439 {
3440 "type" : "header",
3441 "value" : "int_level1_port_ids"
3442 }
3443 ],
3444 "source_info" : {
3445 "filename" : "include/int_transit.p4",
3446 "line" : 37,
3447 "column" : 8,
3448 "source_fragment" : "hdr.int_level1_port_ids.setValid()"
3449 }
3450 },
3451 {
3452 "op" : "assign",
3453 "parameters" : [
3454 {
3455 "type" : "field",
3456 "value" : ["int_level1_port_ids", "ingress_port_id"]
3457 },
3458 {
3459 "type" : "expression",
3460 "value" : {
3461 "type" : "expression",
3462 "value" : {
3463 "op" : "&",
3464 "left" : {
3465 "type" : "field",
3466 "value" : ["standard_metadata", "ingress_port"]
3467 },
3468 "right" : {
3469 "type" : "hexstr",
3470 "value" : "0xffff"
3471 }
3472 }
3473 }
3474 }
3475 ],
3476 "source_info" : {
3477 "filename" : "include/int_transit.p4",
3478 "line" : 38,
3479 "column" : 8,
3480 "source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port"
3481 }
3482 },
3483 {
3484 "op" : "assign",
3485 "parameters" : [
3486 {
3487 "type" : "field",
3488 "value" : ["int_level1_port_ids", "egress_port_id"]
3489 },
3490 {
3491 "type" : "expression",
3492 "value" : {
3493 "type" : "expression",
3494 "value" : {
3495 "op" : "&",
3496 "left" : {
3497 "type" : "field",
3498 "value" : ["standard_metadata", "egress_port"]
3499 },
3500 "right" : {
3501 "type" : "hexstr",
3502 "value" : "0xffff"
3503 }
3504 }
3505 }
3506 }
3507 ],
3508 "source_info" : {
3509 "filename" : "include/int_transit.p4",
3510 "line" : 39,
3511 "column" : 8,
3512 "source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port"
3513 }
3514 },
3515 {
3516 "op" : "assign",
3517 "parameters" : [
3518 {
3519 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003520 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003521 },
3522 {
3523 "type" : "expression",
3524 "value" : {
3525 "type" : "expression",
3526 "value" : {
3527 "op" : "&",
3528 "left" : {
3529 "type" : "expression",
3530 "value" : {
3531 "op" : "+",
3532 "left" : {
3533 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003534 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003535 },
3536 "right" : {
3537 "type" : "hexstr",
3538 "value" : "0x03"
3539 }
3540 }
3541 },
3542 "right" : {
3543 "type" : "hexstr",
3544 "value" : "0xff"
3545 }
3546 }
3547 }
3548 }
3549 ],
3550 "source_info" : {
3551 "filename" : "include/int_transit.p4",
3552 "line" : 99,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003553 "column" : 42,
3554 "source_fragment" : "= local_metadata.int_meta.new_words + 3; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003555 }
3556 },
3557 {
3558 "op" : "assign",
3559 "parameters" : [
3560 {
3561 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003562 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003563 },
3564 {
3565 "type" : "expression",
3566 "value" : {
3567 "type" : "expression",
3568 "value" : {
3569 "op" : "&",
3570 "left" : {
3571 "type" : "expression",
3572 "value" : {
3573 "op" : "+",
3574 "left" : {
3575 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003576 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003577 },
3578 "right" : {
3579 "type" : "hexstr",
3580 "value" : "0x000c"
3581 }
3582 }
3583 },
3584 "right" : {
3585 "type" : "hexstr",
3586 "value" : "0xffff"
3587 }
3588 }
3589 }
3590 }
3591 ],
3592 "source_info" : {
3593 "filename" : "include/int_transit.p4",
3594 "line" : 100,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003595 "column" : 42,
3596 "source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003597 }
3598 }
3599 ]
3600 },
3601 {
3602 "name" : "egress.process_int_transit.int_set_header_0003_i8",
3603 "id" : 26,
3604 "runtime_data" : [],
3605 "primitives" : [
3606 {
3607 "op" : "add_header",
3608 "parameters" : [
3609 {
3610 "type" : "header",
3611 "value" : "int_switch_id"
3612 }
3613 ],
3614 "source_info" : {
3615 "filename" : "include/int_transit.p4",
3616 "line" : 32,
3617 "column" : 8,
3618 "source_fragment" : "hdr.int_switch_id.setValid()"
3619 }
3620 },
3621 {
3622 "op" : "assign",
3623 "parameters" : [
3624 {
3625 "type" : "field",
3626 "value" : ["int_switch_id", "switch_id"]
3627 },
3628 {
3629 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003630 "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003631 }
3632 ],
3633 "source_info" : {
3634 "filename" : "include/int_transit.p4",
3635 "line" : 33,
3636 "column" : 8,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003637 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003638 }
3639 },
3640 {
3641 "op" : "assign",
3642 "parameters" : [
3643 {
3644 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003645 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003646 },
3647 {
3648 "type" : "expression",
3649 "value" : {
3650 "type" : "expression",
3651 "value" : {
3652 "op" : "&",
3653 "left" : {
3654 "type" : "expression",
3655 "value" : {
3656 "op" : "+",
3657 "left" : {
3658 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003659 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003660 },
3661 "right" : {
3662 "type" : "hexstr",
3663 "value" : "0x01"
3664 }
3665 }
3666 },
3667 "right" : {
3668 "type" : "hexstr",
3669 "value" : "0xff"
3670 }
3671 }
3672 }
3673 }
3674 ],
3675 "source_info" : {
3676 "filename" : "include/int_transit.p4",
3677 "line" : 87,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003678 "column" : 42,
3679 "source_fragment" : "= local_metadata.int_meta.new_words + 1; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003680 }
3681 },
3682 {
3683 "op" : "assign",
3684 "parameters" : [
3685 {
3686 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003687 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003688 },
3689 {
3690 "type" : "expression",
3691 "value" : {
3692 "type" : "expression",
3693 "value" : {
3694 "op" : "&",
3695 "left" : {
3696 "type" : "expression",
3697 "value" : {
3698 "op" : "+",
3699 "left" : {
3700 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003701 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003702 },
3703 "right" : {
3704 "type" : "hexstr",
3705 "value" : "0x0004"
3706 }
3707 }
3708 },
3709 "right" : {
3710 "type" : "hexstr",
3711 "value" : "0xffff"
3712 }
3713 }
3714 }
3715 }
3716 ],
3717 "source_info" : {
3718 "filename" : "include/int_transit.p4",
3719 "line" : 88,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003720 "column" : 42,
3721 "source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003722 }
3723 }
3724 ]
3725 },
3726 {
3727 "name" : "egress.process_int_transit.int_set_header_0003_i9",
3728 "id" : 27,
3729 "runtime_data" : [],
3730 "primitives" : [
3731 {
3732 "op" : "add_header",
3733 "parameters" : [
3734 {
3735 "type" : "header",
3736 "value" : "int_q_occupancy"
3737 }
3738 ],
3739 "source_info" : {
3740 "filename" : "include/int_transit.p4",
3741 "line" : 49,
3742 "column" : 8,
3743 "source_fragment" : "hdr.int_q_occupancy.setValid()"
3744 }
3745 },
3746 {
3747 "op" : "assign",
3748 "parameters" : [
3749 {
3750 "type" : "field",
3751 "value" : ["int_q_occupancy", "q_id"]
3752 },
3753 {
3754 "type" : "hexstr",
3755 "value" : "0x00"
3756 }
3757 ],
3758 "source_info" : {
3759 "filename" : "include/int_transit.p4",
3760 "line" : 50,
3761 "column" : 8,
3762 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
3763 }
3764 },
3765 {
3766 "op" : "assign",
3767 "parameters" : [
3768 {
3769 "type" : "field",
3770 "value" : ["int_q_occupancy", "q_occupancy"]
3771 },
3772 {
3773 "type" : "expression",
3774 "value" : {
3775 "type" : "expression",
3776 "value" : {
3777 "op" : "&",
3778 "left" : {
3779 "type" : "field",
3780 "value" : ["standard_metadata", "deq_qdepth"]
3781 },
3782 "right" : {
3783 "type" : "hexstr",
3784 "value" : "0xffffff"
3785 }
3786 }
3787 }
3788 }
3789 ],
3790 "source_info" : {
3791 "filename" : "include/int_transit.p4",
3792 "line" : 53,
3793 "column" : 8,
3794 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
3795 }
3796 },
3797 {
3798 "op" : "add_header",
3799 "parameters" : [
3800 {
3801 "type" : "header",
3802 "value" : "int_switch_id"
3803 }
3804 ],
3805 "source_info" : {
3806 "filename" : "include/int_transit.p4",
3807 "line" : 32,
3808 "column" : 8,
3809 "source_fragment" : "hdr.int_switch_id.setValid()"
3810 }
3811 },
3812 {
3813 "op" : "assign",
3814 "parameters" : [
3815 {
3816 "type" : "field",
3817 "value" : ["int_switch_id", "switch_id"]
3818 },
3819 {
3820 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003821 "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003822 }
3823 ],
3824 "source_info" : {
3825 "filename" : "include/int_transit.p4",
3826 "line" : 33,
3827 "column" : 8,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003828 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003829 }
3830 },
3831 {
3832 "op" : "assign",
3833 "parameters" : [
3834 {
3835 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003836 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003837 },
3838 {
3839 "type" : "expression",
3840 "value" : {
3841 "type" : "expression",
3842 "value" : {
3843 "op" : "&",
3844 "left" : {
3845 "type" : "expression",
3846 "value" : {
3847 "op" : "+",
3848 "left" : {
3849 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003850 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003851 },
3852 "right" : {
3853 "type" : "hexstr",
3854 "value" : "0x02"
3855 }
3856 }
3857 },
3858 "right" : {
3859 "type" : "hexstr",
3860 "value" : "0xff"
3861 }
3862 }
3863 }
3864 }
3865 ],
3866 "source_info" : {
3867 "filename" : "include/int_transit.p4",
3868 "line" : 93,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003869 "column" : 42,
3870 "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003871 }
3872 },
3873 {
3874 "op" : "assign",
3875 "parameters" : [
3876 {
3877 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003878 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003879 },
3880 {
3881 "type" : "expression",
3882 "value" : {
3883 "type" : "expression",
3884 "value" : {
3885 "op" : "&",
3886 "left" : {
3887 "type" : "expression",
3888 "value" : {
3889 "op" : "+",
3890 "left" : {
3891 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003892 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003893 },
3894 "right" : {
3895 "type" : "hexstr",
3896 "value" : "0x0008"
3897 }
3898 }
3899 },
3900 "right" : {
3901 "type" : "hexstr",
3902 "value" : "0xffff"
3903 }
3904 }
3905 }
3906 }
3907 ],
3908 "source_info" : {
3909 "filename" : "include/int_transit.p4",
3910 "line" : 94,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08003911 "column" : 42,
3912 "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09003913 }
3914 }
3915 ]
3916 },
3917 {
3918 "name" : "egress.process_int_transit.int_set_header_0003_i10",
3919 "id" : 28,
3920 "runtime_data" : [],
3921 "primitives" : [
3922 {
3923 "op" : "add_header",
3924 "parameters" : [
3925 {
3926 "type" : "header",
3927 "value" : "int_hop_latency"
3928 }
3929 ],
3930 "source_info" : {
3931 "filename" : "include/int_transit.p4",
3932 "line" : 43,
3933 "column" : 8,
3934 "source_fragment" : "hdr.int_hop_latency.setValid()"
3935 }
3936 },
3937 {
3938 "op" : "assign",
3939 "parameters" : [
3940 {
3941 "type" : "field",
3942 "value" : ["int_hop_latency", "hop_latency"]
3943 },
3944 {
3945 "type" : "expression",
3946 "value" : {
3947 "type" : "expression",
3948 "value" : {
3949 "op" : "&",
3950 "left" : {
3951 "type" : "expression",
3952 "value" : {
3953 "op" : "-",
3954 "left" : {
3955 "type" : "expression",
3956 "value" : {
3957 "op" : "&",
3958 "left" : {
3959 "type" : "field",
3960 "value" : ["standard_metadata", "egress_global_timestamp"]
3961 },
3962 "right" : {
3963 "type" : "hexstr",
3964 "value" : "0xffffffff"
3965 }
3966 }
3967 },
3968 "right" : {
3969 "type" : "expression",
3970 "value" : {
3971 "op" : "&",
3972 "left" : {
3973 "type" : "field",
3974 "value" : ["standard_metadata", "ingress_global_timestamp"]
3975 },
3976 "right" : {
3977 "type" : "hexstr",
3978 "value" : "0xffffffff"
3979 }
3980 }
3981 }
3982 }
3983 },
3984 "right" : {
3985 "type" : "hexstr",
3986 "value" : "0xffffffff"
3987 }
3988 }
3989 }
3990 }
3991 ],
3992 "source_info" : {
3993 "filename" : "include/int_transit.p4",
3994 "line" : 44,
3995 "column" : 8,
3996 "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp"
3997 }
3998 },
3999 {
4000 "op" : "add_header",
4001 "parameters" : [
4002 {
4003 "type" : "header",
4004 "value" : "int_switch_id"
4005 }
4006 ],
4007 "source_info" : {
4008 "filename" : "include/int_transit.p4",
4009 "line" : 32,
4010 "column" : 8,
4011 "source_fragment" : "hdr.int_switch_id.setValid()"
4012 }
4013 },
4014 {
4015 "op" : "assign",
4016 "parameters" : [
4017 {
4018 "type" : "field",
4019 "value" : ["int_switch_id", "switch_id"]
4020 },
4021 {
4022 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004023 "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004024 }
4025 ],
4026 "source_info" : {
4027 "filename" : "include/int_transit.p4",
4028 "line" : 33,
4029 "column" : 8,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004030 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004031 }
4032 },
4033 {
4034 "op" : "assign",
4035 "parameters" : [
4036 {
4037 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004038 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004039 },
4040 {
4041 "type" : "expression",
4042 "value" : {
4043 "type" : "expression",
4044 "value" : {
4045 "op" : "&",
4046 "left" : {
4047 "type" : "expression",
4048 "value" : {
4049 "op" : "+",
4050 "left" : {
4051 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004052 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004053 },
4054 "right" : {
4055 "type" : "hexstr",
4056 "value" : "0x02"
4057 }
4058 }
4059 },
4060 "right" : {
4061 "type" : "hexstr",
4062 "value" : "0xff"
4063 }
4064 }
4065 }
4066 }
4067 ],
4068 "source_info" : {
4069 "filename" : "include/int_transit.p4",
4070 "line" : 93,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004071 "column" : 42,
4072 "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004073 }
4074 },
4075 {
4076 "op" : "assign",
4077 "parameters" : [
4078 {
4079 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004080 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004081 },
4082 {
4083 "type" : "expression",
4084 "value" : {
4085 "type" : "expression",
4086 "value" : {
4087 "op" : "&",
4088 "left" : {
4089 "type" : "expression",
4090 "value" : {
4091 "op" : "+",
4092 "left" : {
4093 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004094 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004095 },
4096 "right" : {
4097 "type" : "hexstr",
4098 "value" : "0x0008"
4099 }
4100 }
4101 },
4102 "right" : {
4103 "type" : "hexstr",
4104 "value" : "0xffff"
4105 }
4106 }
4107 }
4108 }
4109 ],
4110 "source_info" : {
4111 "filename" : "include/int_transit.p4",
4112 "line" : 94,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004113 "column" : 42,
4114 "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004115 }
4116 }
4117 ]
4118 },
4119 {
4120 "name" : "egress.process_int_transit.int_set_header_0003_i11",
4121 "id" : 29,
4122 "runtime_data" : [],
4123 "primitives" : [
4124 {
4125 "op" : "add_header",
4126 "parameters" : [
4127 {
4128 "type" : "header",
4129 "value" : "int_q_occupancy"
4130 }
4131 ],
4132 "source_info" : {
4133 "filename" : "include/int_transit.p4",
4134 "line" : 49,
4135 "column" : 8,
4136 "source_fragment" : "hdr.int_q_occupancy.setValid()"
4137 }
4138 },
4139 {
4140 "op" : "assign",
4141 "parameters" : [
4142 {
4143 "type" : "field",
4144 "value" : ["int_q_occupancy", "q_id"]
4145 },
4146 {
4147 "type" : "hexstr",
4148 "value" : "0x00"
4149 }
4150 ],
4151 "source_info" : {
4152 "filename" : "include/int_transit.p4",
4153 "line" : 50,
4154 "column" : 8,
4155 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
4156 }
4157 },
4158 {
4159 "op" : "assign",
4160 "parameters" : [
4161 {
4162 "type" : "field",
4163 "value" : ["int_q_occupancy", "q_occupancy"]
4164 },
4165 {
4166 "type" : "expression",
4167 "value" : {
4168 "type" : "expression",
4169 "value" : {
4170 "op" : "&",
4171 "left" : {
4172 "type" : "field",
4173 "value" : ["standard_metadata", "deq_qdepth"]
4174 },
4175 "right" : {
4176 "type" : "hexstr",
4177 "value" : "0xffffff"
4178 }
4179 }
4180 }
4181 }
4182 ],
4183 "source_info" : {
4184 "filename" : "include/int_transit.p4",
4185 "line" : 53,
4186 "column" : 8,
4187 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
4188 }
4189 },
4190 {
4191 "op" : "add_header",
4192 "parameters" : [
4193 {
4194 "type" : "header",
4195 "value" : "int_hop_latency"
4196 }
4197 ],
4198 "source_info" : {
4199 "filename" : "include/int_transit.p4",
4200 "line" : 43,
4201 "column" : 8,
4202 "source_fragment" : "hdr.int_hop_latency.setValid()"
4203 }
4204 },
4205 {
4206 "op" : "assign",
4207 "parameters" : [
4208 {
4209 "type" : "field",
4210 "value" : ["int_hop_latency", "hop_latency"]
4211 },
4212 {
4213 "type" : "expression",
4214 "value" : {
4215 "type" : "expression",
4216 "value" : {
4217 "op" : "&",
4218 "left" : {
4219 "type" : "expression",
4220 "value" : {
4221 "op" : "-",
4222 "left" : {
4223 "type" : "expression",
4224 "value" : {
4225 "op" : "&",
4226 "left" : {
4227 "type" : "field",
4228 "value" : ["standard_metadata", "egress_global_timestamp"]
4229 },
4230 "right" : {
4231 "type" : "hexstr",
4232 "value" : "0xffffffff"
4233 }
4234 }
4235 },
4236 "right" : {
4237 "type" : "expression",
4238 "value" : {
4239 "op" : "&",
4240 "left" : {
4241 "type" : "field",
4242 "value" : ["standard_metadata", "ingress_global_timestamp"]
4243 },
4244 "right" : {
4245 "type" : "hexstr",
4246 "value" : "0xffffffff"
4247 }
4248 }
4249 }
4250 }
4251 },
4252 "right" : {
4253 "type" : "hexstr",
4254 "value" : "0xffffffff"
4255 }
4256 }
4257 }
4258 }
4259 ],
4260 "source_info" : {
4261 "filename" : "include/int_transit.p4",
4262 "line" : 44,
4263 "column" : 8,
4264 "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp"
4265 }
4266 },
4267 {
4268 "op" : "add_header",
4269 "parameters" : [
4270 {
4271 "type" : "header",
4272 "value" : "int_switch_id"
4273 }
4274 ],
4275 "source_info" : {
4276 "filename" : "include/int_transit.p4",
4277 "line" : 32,
4278 "column" : 8,
4279 "source_fragment" : "hdr.int_switch_id.setValid()"
4280 }
4281 },
4282 {
4283 "op" : "assign",
4284 "parameters" : [
4285 {
4286 "type" : "field",
4287 "value" : ["int_switch_id", "switch_id"]
4288 },
4289 {
4290 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004291 "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004292 }
4293 ],
4294 "source_info" : {
4295 "filename" : "include/int_transit.p4",
4296 "line" : 33,
4297 "column" : 8,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004298 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004299 }
4300 },
4301 {
4302 "op" : "assign",
4303 "parameters" : [
4304 {
4305 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004306 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004307 },
4308 {
4309 "type" : "expression",
4310 "value" : {
4311 "type" : "expression",
4312 "value" : {
4313 "op" : "&",
4314 "left" : {
4315 "type" : "expression",
4316 "value" : {
4317 "op" : "+",
4318 "left" : {
4319 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004320 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004321 },
4322 "right" : {
4323 "type" : "hexstr",
4324 "value" : "0x03"
4325 }
4326 }
4327 },
4328 "right" : {
4329 "type" : "hexstr",
4330 "value" : "0xff"
4331 }
4332 }
4333 }
4334 }
4335 ],
4336 "source_info" : {
4337 "filename" : "include/int_transit.p4",
4338 "line" : 99,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004339 "column" : 42,
4340 "source_fragment" : "= local_metadata.int_meta.new_words + 3; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004341 }
4342 },
4343 {
4344 "op" : "assign",
4345 "parameters" : [
4346 {
4347 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004348 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004349 },
4350 {
4351 "type" : "expression",
4352 "value" : {
4353 "type" : "expression",
4354 "value" : {
4355 "op" : "&",
4356 "left" : {
4357 "type" : "expression",
4358 "value" : {
4359 "op" : "+",
4360 "left" : {
4361 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004362 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004363 },
4364 "right" : {
4365 "type" : "hexstr",
4366 "value" : "0x000c"
4367 }
4368 }
4369 },
4370 "right" : {
4371 "type" : "hexstr",
4372 "value" : "0xffff"
4373 }
4374 }
4375 }
4376 }
4377 ],
4378 "source_info" : {
4379 "filename" : "include/int_transit.p4",
4380 "line" : 100,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004381 "column" : 42,
4382 "source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004383 }
4384 }
4385 ]
4386 },
4387 {
4388 "name" : "egress.process_int_transit.int_set_header_0003_i12",
4389 "id" : 30,
4390 "runtime_data" : [],
4391 "primitives" : [
4392 {
4393 "op" : "add_header",
4394 "parameters" : [
4395 {
4396 "type" : "header",
4397 "value" : "int_level1_port_ids"
4398 }
4399 ],
4400 "source_info" : {
4401 "filename" : "include/int_transit.p4",
4402 "line" : 37,
4403 "column" : 8,
4404 "source_fragment" : "hdr.int_level1_port_ids.setValid()"
4405 }
4406 },
4407 {
4408 "op" : "assign",
4409 "parameters" : [
4410 {
4411 "type" : "field",
4412 "value" : ["int_level1_port_ids", "ingress_port_id"]
4413 },
4414 {
4415 "type" : "expression",
4416 "value" : {
4417 "type" : "expression",
4418 "value" : {
4419 "op" : "&",
4420 "left" : {
4421 "type" : "field",
4422 "value" : ["standard_metadata", "ingress_port"]
4423 },
4424 "right" : {
4425 "type" : "hexstr",
4426 "value" : "0xffff"
4427 }
4428 }
4429 }
4430 }
4431 ],
4432 "source_info" : {
4433 "filename" : "include/int_transit.p4",
4434 "line" : 38,
4435 "column" : 8,
4436 "source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port"
4437 }
4438 },
4439 {
4440 "op" : "assign",
4441 "parameters" : [
4442 {
4443 "type" : "field",
4444 "value" : ["int_level1_port_ids", "egress_port_id"]
4445 },
4446 {
4447 "type" : "expression",
4448 "value" : {
4449 "type" : "expression",
4450 "value" : {
4451 "op" : "&",
4452 "left" : {
4453 "type" : "field",
4454 "value" : ["standard_metadata", "egress_port"]
4455 },
4456 "right" : {
4457 "type" : "hexstr",
4458 "value" : "0xffff"
4459 }
4460 }
4461 }
4462 }
4463 ],
4464 "source_info" : {
4465 "filename" : "include/int_transit.p4",
4466 "line" : 39,
4467 "column" : 8,
4468 "source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port"
4469 }
4470 },
4471 {
4472 "op" : "add_header",
4473 "parameters" : [
4474 {
4475 "type" : "header",
4476 "value" : "int_switch_id"
4477 }
4478 ],
4479 "source_info" : {
4480 "filename" : "include/int_transit.p4",
4481 "line" : 32,
4482 "column" : 8,
4483 "source_fragment" : "hdr.int_switch_id.setValid()"
4484 }
4485 },
4486 {
4487 "op" : "assign",
4488 "parameters" : [
4489 {
4490 "type" : "field",
4491 "value" : ["int_switch_id", "switch_id"]
4492 },
4493 {
4494 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004495 "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004496 }
4497 ],
4498 "source_info" : {
4499 "filename" : "include/int_transit.p4",
4500 "line" : 33,
4501 "column" : 8,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004502 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004503 }
4504 },
4505 {
4506 "op" : "assign",
4507 "parameters" : [
4508 {
4509 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004510 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004511 },
4512 {
4513 "type" : "expression",
4514 "value" : {
4515 "type" : "expression",
4516 "value" : {
4517 "op" : "&",
4518 "left" : {
4519 "type" : "expression",
4520 "value" : {
4521 "op" : "+",
4522 "left" : {
4523 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004524 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004525 },
4526 "right" : {
4527 "type" : "hexstr",
4528 "value" : "0x02"
4529 }
4530 }
4531 },
4532 "right" : {
4533 "type" : "hexstr",
4534 "value" : "0xff"
4535 }
4536 }
4537 }
4538 }
4539 ],
4540 "source_info" : {
4541 "filename" : "include/int_transit.p4",
4542 "line" : 93,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004543 "column" : 42,
4544 "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004545 }
4546 },
4547 {
4548 "op" : "assign",
4549 "parameters" : [
4550 {
4551 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004552 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004553 },
4554 {
4555 "type" : "expression",
4556 "value" : {
4557 "type" : "expression",
4558 "value" : {
4559 "op" : "&",
4560 "left" : {
4561 "type" : "expression",
4562 "value" : {
4563 "op" : "+",
4564 "left" : {
4565 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004566 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004567 },
4568 "right" : {
4569 "type" : "hexstr",
4570 "value" : "0x0008"
4571 }
4572 }
4573 },
4574 "right" : {
4575 "type" : "hexstr",
4576 "value" : "0xffff"
4577 }
4578 }
4579 }
4580 }
4581 ],
4582 "source_info" : {
4583 "filename" : "include/int_transit.p4",
4584 "line" : 94,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004585 "column" : 42,
4586 "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004587 }
4588 }
4589 ]
4590 },
4591 {
4592 "name" : "egress.process_int_transit.int_set_header_0003_i13",
4593 "id" : 31,
4594 "runtime_data" : [],
4595 "primitives" : [
4596 {
4597 "op" : "add_header",
4598 "parameters" : [
4599 {
4600 "type" : "header",
4601 "value" : "int_q_occupancy"
4602 }
4603 ],
4604 "source_info" : {
4605 "filename" : "include/int_transit.p4",
4606 "line" : 49,
4607 "column" : 8,
4608 "source_fragment" : "hdr.int_q_occupancy.setValid()"
4609 }
4610 },
4611 {
4612 "op" : "assign",
4613 "parameters" : [
4614 {
4615 "type" : "field",
4616 "value" : ["int_q_occupancy", "q_id"]
4617 },
4618 {
4619 "type" : "hexstr",
4620 "value" : "0x00"
4621 }
4622 ],
4623 "source_info" : {
4624 "filename" : "include/int_transit.p4",
4625 "line" : 50,
4626 "column" : 8,
4627 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
4628 }
4629 },
4630 {
4631 "op" : "assign",
4632 "parameters" : [
4633 {
4634 "type" : "field",
4635 "value" : ["int_q_occupancy", "q_occupancy"]
4636 },
4637 {
4638 "type" : "expression",
4639 "value" : {
4640 "type" : "expression",
4641 "value" : {
4642 "op" : "&",
4643 "left" : {
4644 "type" : "field",
4645 "value" : ["standard_metadata", "deq_qdepth"]
4646 },
4647 "right" : {
4648 "type" : "hexstr",
4649 "value" : "0xffffff"
4650 }
4651 }
4652 }
4653 }
4654 ],
4655 "source_info" : {
4656 "filename" : "include/int_transit.p4",
4657 "line" : 53,
4658 "column" : 8,
4659 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
4660 }
4661 },
4662 {
4663 "op" : "add_header",
4664 "parameters" : [
4665 {
4666 "type" : "header",
4667 "value" : "int_level1_port_ids"
4668 }
4669 ],
4670 "source_info" : {
4671 "filename" : "include/int_transit.p4",
4672 "line" : 37,
4673 "column" : 8,
4674 "source_fragment" : "hdr.int_level1_port_ids.setValid()"
4675 }
4676 },
4677 {
4678 "op" : "assign",
4679 "parameters" : [
4680 {
4681 "type" : "field",
4682 "value" : ["int_level1_port_ids", "ingress_port_id"]
4683 },
4684 {
4685 "type" : "expression",
4686 "value" : {
4687 "type" : "expression",
4688 "value" : {
4689 "op" : "&",
4690 "left" : {
4691 "type" : "field",
4692 "value" : ["standard_metadata", "ingress_port"]
4693 },
4694 "right" : {
4695 "type" : "hexstr",
4696 "value" : "0xffff"
4697 }
4698 }
4699 }
4700 }
4701 ],
4702 "source_info" : {
4703 "filename" : "include/int_transit.p4",
4704 "line" : 38,
4705 "column" : 8,
4706 "source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port"
4707 }
4708 },
4709 {
4710 "op" : "assign",
4711 "parameters" : [
4712 {
4713 "type" : "field",
4714 "value" : ["int_level1_port_ids", "egress_port_id"]
4715 },
4716 {
4717 "type" : "expression",
4718 "value" : {
4719 "type" : "expression",
4720 "value" : {
4721 "op" : "&",
4722 "left" : {
4723 "type" : "field",
4724 "value" : ["standard_metadata", "egress_port"]
4725 },
4726 "right" : {
4727 "type" : "hexstr",
4728 "value" : "0xffff"
4729 }
4730 }
4731 }
4732 }
4733 ],
4734 "source_info" : {
4735 "filename" : "include/int_transit.p4",
4736 "line" : 39,
4737 "column" : 8,
4738 "source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port"
4739 }
4740 },
4741 {
4742 "op" : "add_header",
4743 "parameters" : [
4744 {
4745 "type" : "header",
4746 "value" : "int_switch_id"
4747 }
4748 ],
4749 "source_info" : {
4750 "filename" : "include/int_transit.p4",
4751 "line" : 32,
4752 "column" : 8,
4753 "source_fragment" : "hdr.int_switch_id.setValid()"
4754 }
4755 },
4756 {
4757 "op" : "assign",
4758 "parameters" : [
4759 {
4760 "type" : "field",
4761 "value" : ["int_switch_id", "switch_id"]
4762 },
4763 {
4764 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004765 "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004766 }
4767 ],
4768 "source_info" : {
4769 "filename" : "include/int_transit.p4",
4770 "line" : 33,
4771 "column" : 8,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004772 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004773 }
4774 },
4775 {
4776 "op" : "assign",
4777 "parameters" : [
4778 {
4779 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004780 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004781 },
4782 {
4783 "type" : "expression",
4784 "value" : {
4785 "type" : "expression",
4786 "value" : {
4787 "op" : "&",
4788 "left" : {
4789 "type" : "expression",
4790 "value" : {
4791 "op" : "+",
4792 "left" : {
4793 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004794 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004795 },
4796 "right" : {
4797 "type" : "hexstr",
4798 "value" : "0x03"
4799 }
4800 }
4801 },
4802 "right" : {
4803 "type" : "hexstr",
4804 "value" : "0xff"
4805 }
4806 }
4807 }
4808 }
4809 ],
4810 "source_info" : {
4811 "filename" : "include/int_transit.p4",
4812 "line" : 99,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004813 "column" : 42,
4814 "source_fragment" : "= local_metadata.int_meta.new_words + 3; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004815 }
4816 },
4817 {
4818 "op" : "assign",
4819 "parameters" : [
4820 {
4821 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004822 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004823 },
4824 {
4825 "type" : "expression",
4826 "value" : {
4827 "type" : "expression",
4828 "value" : {
4829 "op" : "&",
4830 "left" : {
4831 "type" : "expression",
4832 "value" : {
4833 "op" : "+",
4834 "left" : {
4835 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004836 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004837 },
4838 "right" : {
4839 "type" : "hexstr",
4840 "value" : "0x000c"
4841 }
4842 }
4843 },
4844 "right" : {
4845 "type" : "hexstr",
4846 "value" : "0xffff"
4847 }
4848 }
4849 }
4850 }
4851 ],
4852 "source_info" : {
4853 "filename" : "include/int_transit.p4",
4854 "line" : 100,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08004855 "column" : 42,
4856 "source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09004857 }
4858 }
4859 ]
4860 },
4861 {
4862 "name" : "egress.process_int_transit.int_set_header_0003_i14",
4863 "id" : 32,
4864 "runtime_data" : [],
4865 "primitives" : [
4866 {
4867 "op" : "add_header",
4868 "parameters" : [
4869 {
4870 "type" : "header",
4871 "value" : "int_hop_latency"
4872 }
4873 ],
4874 "source_info" : {
4875 "filename" : "include/int_transit.p4",
4876 "line" : 43,
4877 "column" : 8,
4878 "source_fragment" : "hdr.int_hop_latency.setValid()"
4879 }
4880 },
4881 {
4882 "op" : "assign",
4883 "parameters" : [
4884 {
4885 "type" : "field",
4886 "value" : ["int_hop_latency", "hop_latency"]
4887 },
4888 {
4889 "type" : "expression",
4890 "value" : {
4891 "type" : "expression",
4892 "value" : {
4893 "op" : "&",
4894 "left" : {
4895 "type" : "expression",
4896 "value" : {
4897 "op" : "-",
4898 "left" : {
4899 "type" : "expression",
4900 "value" : {
4901 "op" : "&",
4902 "left" : {
4903 "type" : "field",
4904 "value" : ["standard_metadata", "egress_global_timestamp"]
4905 },
4906 "right" : {
4907 "type" : "hexstr",
4908 "value" : "0xffffffff"
4909 }
4910 }
4911 },
4912 "right" : {
4913 "type" : "expression",
4914 "value" : {
4915 "op" : "&",
4916 "left" : {
4917 "type" : "field",
4918 "value" : ["standard_metadata", "ingress_global_timestamp"]
4919 },
4920 "right" : {
4921 "type" : "hexstr",
4922 "value" : "0xffffffff"
4923 }
4924 }
4925 }
4926 }
4927 },
4928 "right" : {
4929 "type" : "hexstr",
4930 "value" : "0xffffffff"
4931 }
4932 }
4933 }
4934 }
4935 ],
4936 "source_info" : {
4937 "filename" : "include/int_transit.p4",
4938 "line" : 44,
4939 "column" : 8,
4940 "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp"
4941 }
4942 },
4943 {
4944 "op" : "add_header",
4945 "parameters" : [
4946 {
4947 "type" : "header",
4948 "value" : "int_level1_port_ids"
4949 }
4950 ],
4951 "source_info" : {
4952 "filename" : "include/int_transit.p4",
4953 "line" : 37,
4954 "column" : 8,
4955 "source_fragment" : "hdr.int_level1_port_ids.setValid()"
4956 }
4957 },
4958 {
4959 "op" : "assign",
4960 "parameters" : [
4961 {
4962 "type" : "field",
4963 "value" : ["int_level1_port_ids", "ingress_port_id"]
4964 },
4965 {
4966 "type" : "expression",
4967 "value" : {
4968 "type" : "expression",
4969 "value" : {
4970 "op" : "&",
4971 "left" : {
4972 "type" : "field",
4973 "value" : ["standard_metadata", "ingress_port"]
4974 },
4975 "right" : {
4976 "type" : "hexstr",
4977 "value" : "0xffff"
4978 }
4979 }
4980 }
4981 }
4982 ],
4983 "source_info" : {
4984 "filename" : "include/int_transit.p4",
4985 "line" : 38,
4986 "column" : 8,
4987 "source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port"
4988 }
4989 },
4990 {
4991 "op" : "assign",
4992 "parameters" : [
4993 {
4994 "type" : "field",
4995 "value" : ["int_level1_port_ids", "egress_port_id"]
4996 },
4997 {
4998 "type" : "expression",
4999 "value" : {
5000 "type" : "expression",
5001 "value" : {
5002 "op" : "&",
5003 "left" : {
5004 "type" : "field",
5005 "value" : ["standard_metadata", "egress_port"]
5006 },
5007 "right" : {
5008 "type" : "hexstr",
5009 "value" : "0xffff"
5010 }
5011 }
5012 }
5013 }
5014 ],
5015 "source_info" : {
5016 "filename" : "include/int_transit.p4",
5017 "line" : 39,
5018 "column" : 8,
5019 "source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port"
5020 }
5021 },
5022 {
5023 "op" : "add_header",
5024 "parameters" : [
5025 {
5026 "type" : "header",
5027 "value" : "int_switch_id"
5028 }
5029 ],
5030 "source_info" : {
5031 "filename" : "include/int_transit.p4",
5032 "line" : 32,
5033 "column" : 8,
5034 "source_fragment" : "hdr.int_switch_id.setValid()"
5035 }
5036 },
5037 {
5038 "op" : "assign",
5039 "parameters" : [
5040 {
5041 "type" : "field",
5042 "value" : ["int_switch_id", "switch_id"]
5043 },
5044 {
5045 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005046 "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005047 }
5048 ],
5049 "source_info" : {
5050 "filename" : "include/int_transit.p4",
5051 "line" : 33,
5052 "column" : 8,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005053 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005054 }
5055 },
5056 {
5057 "op" : "assign",
5058 "parameters" : [
5059 {
5060 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005061 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005062 },
5063 {
5064 "type" : "expression",
5065 "value" : {
5066 "type" : "expression",
5067 "value" : {
5068 "op" : "&",
5069 "left" : {
5070 "type" : "expression",
5071 "value" : {
5072 "op" : "+",
5073 "left" : {
5074 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005075 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005076 },
5077 "right" : {
5078 "type" : "hexstr",
5079 "value" : "0x03"
5080 }
5081 }
5082 },
5083 "right" : {
5084 "type" : "hexstr",
5085 "value" : "0xff"
5086 }
5087 }
5088 }
5089 }
5090 ],
5091 "source_info" : {
5092 "filename" : "include/int_transit.p4",
5093 "line" : 99,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005094 "column" : 42,
5095 "source_fragment" : "= local_metadata.int_meta.new_words + 3; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005096 }
5097 },
5098 {
5099 "op" : "assign",
5100 "parameters" : [
5101 {
5102 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005103 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005104 },
5105 {
5106 "type" : "expression",
5107 "value" : {
5108 "type" : "expression",
5109 "value" : {
5110 "op" : "&",
5111 "left" : {
5112 "type" : "expression",
5113 "value" : {
5114 "op" : "+",
5115 "left" : {
5116 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005117 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005118 },
5119 "right" : {
5120 "type" : "hexstr",
5121 "value" : "0x000c"
5122 }
5123 }
5124 },
5125 "right" : {
5126 "type" : "hexstr",
5127 "value" : "0xffff"
5128 }
5129 }
5130 }
5131 }
5132 ],
5133 "source_info" : {
5134 "filename" : "include/int_transit.p4",
5135 "line" : 100,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005136 "column" : 42,
5137 "source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005138 }
5139 }
5140 ]
5141 },
5142 {
5143 "name" : "egress.process_int_transit.int_set_header_0003_i15",
5144 "id" : 33,
5145 "runtime_data" : [],
5146 "primitives" : [
5147 {
5148 "op" : "add_header",
5149 "parameters" : [
5150 {
5151 "type" : "header",
5152 "value" : "int_q_occupancy"
5153 }
5154 ],
5155 "source_info" : {
5156 "filename" : "include/int_transit.p4",
5157 "line" : 49,
5158 "column" : 8,
5159 "source_fragment" : "hdr.int_q_occupancy.setValid()"
5160 }
5161 },
5162 {
5163 "op" : "assign",
5164 "parameters" : [
5165 {
5166 "type" : "field",
5167 "value" : ["int_q_occupancy", "q_id"]
5168 },
5169 {
5170 "type" : "hexstr",
5171 "value" : "0x00"
5172 }
5173 ],
5174 "source_info" : {
5175 "filename" : "include/int_transit.p4",
5176 "line" : 50,
5177 "column" : 8,
5178 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
5179 }
5180 },
5181 {
5182 "op" : "assign",
5183 "parameters" : [
5184 {
5185 "type" : "field",
5186 "value" : ["int_q_occupancy", "q_occupancy"]
5187 },
5188 {
5189 "type" : "expression",
5190 "value" : {
5191 "type" : "expression",
5192 "value" : {
5193 "op" : "&",
5194 "left" : {
5195 "type" : "field",
5196 "value" : ["standard_metadata", "deq_qdepth"]
5197 },
5198 "right" : {
5199 "type" : "hexstr",
5200 "value" : "0xffffff"
5201 }
5202 }
5203 }
5204 }
5205 ],
5206 "source_info" : {
5207 "filename" : "include/int_transit.p4",
5208 "line" : 53,
5209 "column" : 8,
5210 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
5211 }
5212 },
5213 {
5214 "op" : "add_header",
5215 "parameters" : [
5216 {
5217 "type" : "header",
5218 "value" : "int_hop_latency"
5219 }
5220 ],
5221 "source_info" : {
5222 "filename" : "include/int_transit.p4",
5223 "line" : 43,
5224 "column" : 8,
5225 "source_fragment" : "hdr.int_hop_latency.setValid()"
5226 }
5227 },
5228 {
5229 "op" : "assign",
5230 "parameters" : [
5231 {
5232 "type" : "field",
5233 "value" : ["int_hop_latency", "hop_latency"]
5234 },
5235 {
5236 "type" : "expression",
5237 "value" : {
5238 "type" : "expression",
5239 "value" : {
5240 "op" : "&",
5241 "left" : {
5242 "type" : "expression",
5243 "value" : {
5244 "op" : "-",
5245 "left" : {
5246 "type" : "expression",
5247 "value" : {
5248 "op" : "&",
5249 "left" : {
5250 "type" : "field",
5251 "value" : ["standard_metadata", "egress_global_timestamp"]
5252 },
5253 "right" : {
5254 "type" : "hexstr",
5255 "value" : "0xffffffff"
5256 }
5257 }
5258 },
5259 "right" : {
5260 "type" : "expression",
5261 "value" : {
5262 "op" : "&",
5263 "left" : {
5264 "type" : "field",
5265 "value" : ["standard_metadata", "ingress_global_timestamp"]
5266 },
5267 "right" : {
5268 "type" : "hexstr",
5269 "value" : "0xffffffff"
5270 }
5271 }
5272 }
5273 }
5274 },
5275 "right" : {
5276 "type" : "hexstr",
5277 "value" : "0xffffffff"
5278 }
5279 }
5280 }
5281 }
5282 ],
5283 "source_info" : {
5284 "filename" : "include/int_transit.p4",
5285 "line" : 44,
5286 "column" : 8,
5287 "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) standard_metadata.egress_global_timestamp - (bit<32>) standard_metadata.ingress_global_timestamp"
5288 }
5289 },
5290 {
5291 "op" : "add_header",
5292 "parameters" : [
5293 {
5294 "type" : "header",
5295 "value" : "int_level1_port_ids"
5296 }
5297 ],
5298 "source_info" : {
5299 "filename" : "include/int_transit.p4",
5300 "line" : 37,
5301 "column" : 8,
5302 "source_fragment" : "hdr.int_level1_port_ids.setValid()"
5303 }
5304 },
5305 {
5306 "op" : "assign",
5307 "parameters" : [
5308 {
5309 "type" : "field",
5310 "value" : ["int_level1_port_ids", "ingress_port_id"]
5311 },
5312 {
5313 "type" : "expression",
5314 "value" : {
5315 "type" : "expression",
5316 "value" : {
5317 "op" : "&",
5318 "left" : {
5319 "type" : "field",
5320 "value" : ["standard_metadata", "ingress_port"]
5321 },
5322 "right" : {
5323 "type" : "hexstr",
5324 "value" : "0xffff"
5325 }
5326 }
5327 }
5328 }
5329 ],
5330 "source_info" : {
5331 "filename" : "include/int_transit.p4",
5332 "line" : 38,
5333 "column" : 8,
5334 "source_fragment" : "hdr.int_level1_port_ids.ingress_port_id = (bit<16>) standard_metadata.ingress_port"
5335 }
5336 },
5337 {
5338 "op" : "assign",
5339 "parameters" : [
5340 {
5341 "type" : "field",
5342 "value" : ["int_level1_port_ids", "egress_port_id"]
5343 },
5344 {
5345 "type" : "expression",
5346 "value" : {
5347 "type" : "expression",
5348 "value" : {
5349 "op" : "&",
5350 "left" : {
5351 "type" : "field",
5352 "value" : ["standard_metadata", "egress_port"]
5353 },
5354 "right" : {
5355 "type" : "hexstr",
5356 "value" : "0xffff"
5357 }
5358 }
5359 }
5360 }
5361 ],
5362 "source_info" : {
5363 "filename" : "include/int_transit.p4",
5364 "line" : 39,
5365 "column" : 8,
5366 "source_fragment" : "hdr.int_level1_port_ids.egress_port_id = (bit<16>) standard_metadata.egress_port"
5367 }
5368 },
5369 {
5370 "op" : "add_header",
5371 "parameters" : [
5372 {
5373 "type" : "header",
5374 "value" : "int_switch_id"
5375 }
5376 ],
5377 "source_info" : {
5378 "filename" : "include/int_transit.p4",
5379 "line" : 32,
5380 "column" : 8,
5381 "source_fragment" : "hdr.int_switch_id.setValid()"
5382 }
5383 },
5384 {
5385 "op" : "assign",
5386 "parameters" : [
5387 {
5388 "type" : "field",
5389 "value" : ["int_switch_id", "switch_id"]
5390 },
5391 {
5392 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005393 "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005394 }
5395 ],
5396 "source_info" : {
5397 "filename" : "include/int_transit.p4",
5398 "line" : 33,
5399 "column" : 8,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005400 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005401 }
5402 },
5403 {
5404 "op" : "assign",
5405 "parameters" : [
5406 {
5407 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005408 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005409 },
5410 {
5411 "type" : "expression",
5412 "value" : {
5413 "type" : "expression",
5414 "value" : {
5415 "op" : "&",
5416 "left" : {
5417 "type" : "expression",
5418 "value" : {
5419 "op" : "+",
5420 "left" : {
5421 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005422 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005423 },
5424 "right" : {
5425 "type" : "hexstr",
5426 "value" : "0x04"
5427 }
5428 }
5429 },
5430 "right" : {
5431 "type" : "hexstr",
5432 "value" : "0xff"
5433 }
5434 }
5435 }
5436 }
5437 ],
5438 "source_info" : {
5439 "filename" : "include/int_transit.p4",
5440 "line" : 105,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005441 "column" : 42,
5442 "source_fragment" : "= local_metadata.int_meta.new_words + 4; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005443 }
5444 },
5445 {
5446 "op" : "assign",
5447 "parameters" : [
5448 {
5449 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005450 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005451 },
5452 {
5453 "type" : "expression",
5454 "value" : {
5455 "type" : "expression",
5456 "value" : {
5457 "op" : "&",
5458 "left" : {
5459 "type" : "expression",
5460 "value" : {
5461 "op" : "+",
5462 "left" : {
5463 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005464 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005465 },
5466 "right" : {
5467 "type" : "hexstr",
5468 "value" : "0x0010"
5469 }
5470 }
5471 },
5472 "right" : {
5473 "type" : "hexstr",
5474 "value" : "0xffff"
5475 }
5476 }
5477 }
5478 }
5479 ],
5480 "source_info" : {
5481 "filename" : "include/int_transit.p4",
5482 "line" : 106,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005483 "column" : 41,
5484 "source_fragment" : "= local_metadata.int_meta.new_bytes + 16; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005485 }
5486 }
5487 ]
5488 },
5489 {
5490 "name" : "egress.process_int_transit.int_set_header_0407_i0",
5491 "id" : 34,
5492 "runtime_data" : [],
5493 "primitives" : []
5494 },
5495 {
5496 "name" : "egress.process_int_transit.int_set_header_0407_i1",
5497 "id" : 35,
5498 "runtime_data" : [],
5499 "primitives" : [
5500 {
5501 "op" : "add_header",
5502 "parameters" : [
5503 {
5504 "type" : "header",
5505 "value" : "int_egress_tx_util"
5506 }
5507 ],
5508 "source_info" : {
5509 "filename" : "include/int_transit.p4",
5510 "line" : 78,
5511 "column" : 8,
5512 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
5513 }
5514 },
5515 {
5516 "op" : "assign",
5517 "parameters" : [
5518 {
5519 "type" : "field",
5520 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
5521 },
5522 {
5523 "type" : "hexstr",
5524 "value" : "0x00000000"
5525 }
5526 ],
5527 "source_info" : {
5528 "filename" : "include/int_transit.p4",
5529 "line" : 79,
5530 "column" : 8,
5531 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
5532 }
5533 },
5534 {
5535 "op" : "assign",
5536 "parameters" : [
5537 {
5538 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005539 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005540 },
5541 {
5542 "type" : "expression",
5543 "value" : {
5544 "type" : "expression",
5545 "value" : {
5546 "op" : "&",
5547 "left" : {
5548 "type" : "expression",
5549 "value" : {
5550 "op" : "+",
5551 "left" : {
5552 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005553 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005554 },
5555 "right" : {
5556 "type" : "hexstr",
5557 "value" : "0x01"
5558 }
5559 }
5560 },
5561 "right" : {
5562 "type" : "hexstr",
5563 "value" : "0xff"
5564 }
5565 }
5566 }
5567 }
5568 ],
5569 "source_info" : {
5570 "filename" : "include/int_transit.p4",
5571 "line" : 87,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005572 "column" : 42,
5573 "source_fragment" : "= local_metadata.int_meta.new_words + 1; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005574 }
5575 },
5576 {
5577 "op" : "assign",
5578 "parameters" : [
5579 {
5580 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005581 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005582 },
5583 {
5584 "type" : "expression",
5585 "value" : {
5586 "type" : "expression",
5587 "value" : {
5588 "op" : "&",
5589 "left" : {
5590 "type" : "expression",
5591 "value" : {
5592 "op" : "+",
5593 "left" : {
5594 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005595 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005596 },
5597 "right" : {
5598 "type" : "hexstr",
5599 "value" : "0x0004"
5600 }
5601 }
5602 },
5603 "right" : {
5604 "type" : "hexstr",
5605 "value" : "0xffff"
5606 }
5607 }
5608 }
5609 }
5610 ],
5611 "source_info" : {
5612 "filename" : "include/int_transit.p4",
5613 "line" : 88,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005614 "column" : 42,
5615 "source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005616 }
5617 }
5618 ]
5619 },
5620 {
5621 "name" : "egress.process_int_transit.int_set_header_0407_i2",
5622 "id" : 36,
5623 "runtime_data" : [],
5624 "primitives" : [
5625 {
5626 "op" : "add_header",
5627 "parameters" : [
5628 {
5629 "type" : "header",
5630 "value" : "int_level2_port_ids"
5631 }
5632 ],
5633 "source_info" : {
5634 "filename" : "include/int_transit.p4",
5635 "line" : 70,
5636 "column" : 8,
5637 "source_fragment" : "hdr.int_level2_port_ids.setValid()"
5638 }
5639 },
5640 {
5641 "op" : "assign",
5642 "parameters" : [
5643 {
5644 "type" : "field",
5645 "value" : ["int_level2_port_ids", "ingress_port_id"]
5646 },
5647 {
5648 "type" : "expression",
5649 "value" : {
5650 "type" : "expression",
5651 "value" : {
5652 "op" : "&",
5653 "left" : {
5654 "type" : "field",
5655 "value" : ["standard_metadata", "ingress_port"]
5656 },
5657 "right" : {
5658 "type" : "hexstr",
5659 "value" : "0xffffffff"
5660 }
5661 }
5662 }
5663 }
5664 ],
5665 "source_info" : {
5666 "filename" : "include/int_transit.p4",
5667 "line" : 72,
5668 "column" : 8,
5669 "source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port"
5670 }
5671 },
5672 {
5673 "op" : "assign",
5674 "parameters" : [
5675 {
5676 "type" : "field",
5677 "value" : ["int_level2_port_ids", "egress_port_id"]
5678 },
5679 {
5680 "type" : "expression",
5681 "value" : {
5682 "type" : "expression",
5683 "value" : {
5684 "op" : "&",
5685 "left" : {
5686 "type" : "field",
5687 "value" : ["standard_metadata", "egress_port"]
5688 },
5689 "right" : {
5690 "type" : "hexstr",
5691 "value" : "0xffffffff"
5692 }
5693 }
5694 }
5695 }
5696 ],
5697 "source_info" : {
5698 "filename" : "include/int_transit.p4",
5699 "line" : 73,
5700 "column" : 8,
5701 "source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port"
5702 }
5703 },
5704 {
5705 "op" : "assign",
5706 "parameters" : [
5707 {
5708 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005709 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005710 },
5711 {
5712 "type" : "expression",
5713 "value" : {
5714 "type" : "expression",
5715 "value" : {
5716 "op" : "&",
5717 "left" : {
5718 "type" : "expression",
5719 "value" : {
5720 "op" : "+",
5721 "left" : {
5722 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005723 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005724 },
5725 "right" : {
5726 "type" : "hexstr",
5727 "value" : "0x02"
5728 }
5729 }
5730 },
5731 "right" : {
5732 "type" : "hexstr",
5733 "value" : "0xff"
5734 }
5735 }
5736 }
5737 }
5738 ],
5739 "source_info" : {
5740 "filename" : "include/int_transit.p4",
5741 "line" : 93,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005742 "column" : 42,
5743 "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005744 }
5745 },
5746 {
5747 "op" : "assign",
5748 "parameters" : [
5749 {
5750 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005751 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005752 },
5753 {
5754 "type" : "expression",
5755 "value" : {
5756 "type" : "expression",
5757 "value" : {
5758 "op" : "&",
5759 "left" : {
5760 "type" : "expression",
5761 "value" : {
5762 "op" : "+",
5763 "left" : {
5764 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005765 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005766 },
5767 "right" : {
5768 "type" : "hexstr",
5769 "value" : "0x0008"
5770 }
5771 }
5772 },
5773 "right" : {
5774 "type" : "hexstr",
5775 "value" : "0xffff"
5776 }
5777 }
5778 }
5779 }
5780 ],
5781 "source_info" : {
5782 "filename" : "include/int_transit.p4",
5783 "line" : 94,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005784 "column" : 42,
5785 "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005786 }
5787 }
5788 ]
5789 },
5790 {
5791 "name" : "egress.process_int_transit.int_set_header_0407_i3",
5792 "id" : 37,
5793 "runtime_data" : [],
5794 "primitives" : [
5795 {
5796 "op" : "add_header",
5797 "parameters" : [
5798 {
5799 "type" : "header",
5800 "value" : "int_egress_tx_util"
5801 }
5802 ],
5803 "source_info" : {
5804 "filename" : "include/int_transit.p4",
5805 "line" : 78,
5806 "column" : 8,
5807 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
5808 }
5809 },
5810 {
5811 "op" : "assign",
5812 "parameters" : [
5813 {
5814 "type" : "field",
5815 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
5816 },
5817 {
5818 "type" : "hexstr",
5819 "value" : "0x00000000"
5820 }
5821 ],
5822 "source_info" : {
5823 "filename" : "include/int_transit.p4",
5824 "line" : 79,
5825 "column" : 8,
5826 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
5827 }
5828 },
5829 {
5830 "op" : "add_header",
5831 "parameters" : [
5832 {
5833 "type" : "header",
5834 "value" : "int_level2_port_ids"
5835 }
5836 ],
5837 "source_info" : {
5838 "filename" : "include/int_transit.p4",
5839 "line" : 70,
5840 "column" : 8,
5841 "source_fragment" : "hdr.int_level2_port_ids.setValid()"
5842 }
5843 },
5844 {
5845 "op" : "assign",
5846 "parameters" : [
5847 {
5848 "type" : "field",
5849 "value" : ["int_level2_port_ids", "ingress_port_id"]
5850 },
5851 {
5852 "type" : "expression",
5853 "value" : {
5854 "type" : "expression",
5855 "value" : {
5856 "op" : "&",
5857 "left" : {
5858 "type" : "field",
5859 "value" : ["standard_metadata", "ingress_port"]
5860 },
5861 "right" : {
5862 "type" : "hexstr",
5863 "value" : "0xffffffff"
5864 }
5865 }
5866 }
5867 }
5868 ],
5869 "source_info" : {
5870 "filename" : "include/int_transit.p4",
5871 "line" : 72,
5872 "column" : 8,
5873 "source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port"
5874 }
5875 },
5876 {
5877 "op" : "assign",
5878 "parameters" : [
5879 {
5880 "type" : "field",
5881 "value" : ["int_level2_port_ids", "egress_port_id"]
5882 },
5883 {
5884 "type" : "expression",
5885 "value" : {
5886 "type" : "expression",
5887 "value" : {
5888 "op" : "&",
5889 "left" : {
5890 "type" : "field",
5891 "value" : ["standard_metadata", "egress_port"]
5892 },
5893 "right" : {
5894 "type" : "hexstr",
5895 "value" : "0xffffffff"
5896 }
5897 }
5898 }
5899 }
5900 ],
5901 "source_info" : {
5902 "filename" : "include/int_transit.p4",
5903 "line" : 73,
5904 "column" : 8,
5905 "source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port"
5906 }
5907 },
5908 {
5909 "op" : "assign",
5910 "parameters" : [
5911 {
5912 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005913 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005914 },
5915 {
5916 "type" : "expression",
5917 "value" : {
5918 "type" : "expression",
5919 "value" : {
5920 "op" : "&",
5921 "left" : {
5922 "type" : "expression",
5923 "value" : {
5924 "op" : "+",
5925 "left" : {
5926 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005927 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005928 },
5929 "right" : {
5930 "type" : "hexstr",
5931 "value" : "0x03"
5932 }
5933 }
5934 },
5935 "right" : {
5936 "type" : "hexstr",
5937 "value" : "0xff"
5938 }
5939 }
5940 }
5941 }
5942 ],
5943 "source_info" : {
5944 "filename" : "include/int_transit.p4",
5945 "line" : 99,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005946 "column" : 42,
5947 "source_fragment" : "= local_metadata.int_meta.new_words + 3; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005948 }
5949 },
5950 {
5951 "op" : "assign",
5952 "parameters" : [
5953 {
5954 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005955 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005956 },
5957 {
5958 "type" : "expression",
5959 "value" : {
5960 "type" : "expression",
5961 "value" : {
5962 "op" : "&",
5963 "left" : {
5964 "type" : "expression",
5965 "value" : {
5966 "op" : "+",
5967 "left" : {
5968 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005969 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005970 },
5971 "right" : {
5972 "type" : "hexstr",
5973 "value" : "0x000c"
5974 }
5975 }
5976 },
5977 "right" : {
5978 "type" : "hexstr",
5979 "value" : "0xffff"
5980 }
5981 }
5982 }
5983 }
5984 ],
5985 "source_info" : {
5986 "filename" : "include/int_transit.p4",
5987 "line" : 100,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08005988 "column" : 42,
5989 "source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09005990 }
5991 }
5992 ]
5993 },
5994 {
5995 "name" : "egress.process_int_transit.int_set_header_0407_i4",
5996 "id" : 38,
5997 "runtime_data" : [],
5998 "primitives" : [
5999 {
6000 "op" : "add_header",
6001 "parameters" : [
6002 {
6003 "type" : "header",
6004 "value" : "int_egress_tstamp"
6005 }
6006 ],
6007 "source_info" : {
6008 "filename" : "include/int_transit.p4",
6009 "line" : 64,
6010 "column" : 8,
6011 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
6012 }
6013 },
6014 {
6015 "op" : "assign",
6016 "parameters" : [
6017 {
6018 "type" : "field",
6019 "value" : ["int_egress_tstamp", "egress_tstamp"]
6020 },
6021 {
6022 "type" : "expression",
6023 "value" : {
6024 "type" : "expression",
6025 "value" : {
6026 "op" : "&",
6027 "left" : {
6028 "type" : "field",
6029 "value" : ["standard_metadata", "egress_global_timestamp"]
6030 },
6031 "right" : {
6032 "type" : "hexstr",
6033 "value" : "0xffffffff"
6034 }
6035 }
6036 }
6037 }
6038 ],
6039 "source_info" : {
6040 "filename" : "include/int_transit.p4",
6041 "line" : 65,
6042 "column" : 8,
6043 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
6044 }
6045 },
6046 {
6047 "op" : "assign",
6048 "parameters" : [
6049 {
6050 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006051 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006052 },
6053 {
6054 "type" : "expression",
6055 "value" : {
6056 "type" : "expression",
6057 "value" : {
6058 "op" : "&",
6059 "left" : {
6060 "type" : "expression",
6061 "value" : {
6062 "op" : "+",
6063 "left" : {
6064 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006065 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006066 },
6067 "right" : {
6068 "type" : "hexstr",
6069 "value" : "0x01"
6070 }
6071 }
6072 },
6073 "right" : {
6074 "type" : "hexstr",
6075 "value" : "0xff"
6076 }
6077 }
6078 }
6079 }
6080 ],
6081 "source_info" : {
6082 "filename" : "include/int_transit.p4",
6083 "line" : 87,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006084 "column" : 42,
6085 "source_fragment" : "= local_metadata.int_meta.new_words + 1; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006086 }
6087 },
6088 {
6089 "op" : "assign",
6090 "parameters" : [
6091 {
6092 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006093 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006094 },
6095 {
6096 "type" : "expression",
6097 "value" : {
6098 "type" : "expression",
6099 "value" : {
6100 "op" : "&",
6101 "left" : {
6102 "type" : "expression",
6103 "value" : {
6104 "op" : "+",
6105 "left" : {
6106 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006107 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006108 },
6109 "right" : {
6110 "type" : "hexstr",
6111 "value" : "0x0004"
6112 }
6113 }
6114 },
6115 "right" : {
6116 "type" : "hexstr",
6117 "value" : "0xffff"
6118 }
6119 }
6120 }
6121 }
6122 ],
6123 "source_info" : {
6124 "filename" : "include/int_transit.p4",
6125 "line" : 88,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006126 "column" : 42,
6127 "source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006128 }
6129 }
6130 ]
6131 },
6132 {
6133 "name" : "egress.process_int_transit.int_set_header_0407_i5",
6134 "id" : 39,
6135 "runtime_data" : [],
6136 "primitives" : [
6137 {
6138 "op" : "add_header",
6139 "parameters" : [
6140 {
6141 "type" : "header",
6142 "value" : "int_egress_tx_util"
6143 }
6144 ],
6145 "source_info" : {
6146 "filename" : "include/int_transit.p4",
6147 "line" : 78,
6148 "column" : 8,
6149 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
6150 }
6151 },
6152 {
6153 "op" : "assign",
6154 "parameters" : [
6155 {
6156 "type" : "field",
6157 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
6158 },
6159 {
6160 "type" : "hexstr",
6161 "value" : "0x00000000"
6162 }
6163 ],
6164 "source_info" : {
6165 "filename" : "include/int_transit.p4",
6166 "line" : 79,
6167 "column" : 8,
6168 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
6169 }
6170 },
6171 {
6172 "op" : "add_header",
6173 "parameters" : [
6174 {
6175 "type" : "header",
6176 "value" : "int_egress_tstamp"
6177 }
6178 ],
6179 "source_info" : {
6180 "filename" : "include/int_transit.p4",
6181 "line" : 64,
6182 "column" : 8,
6183 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
6184 }
6185 },
6186 {
6187 "op" : "assign",
6188 "parameters" : [
6189 {
6190 "type" : "field",
6191 "value" : ["int_egress_tstamp", "egress_tstamp"]
6192 },
6193 {
6194 "type" : "expression",
6195 "value" : {
6196 "type" : "expression",
6197 "value" : {
6198 "op" : "&",
6199 "left" : {
6200 "type" : "field",
6201 "value" : ["standard_metadata", "egress_global_timestamp"]
6202 },
6203 "right" : {
6204 "type" : "hexstr",
6205 "value" : "0xffffffff"
6206 }
6207 }
6208 }
6209 }
6210 ],
6211 "source_info" : {
6212 "filename" : "include/int_transit.p4",
6213 "line" : 65,
6214 "column" : 8,
6215 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
6216 }
6217 },
6218 {
6219 "op" : "assign",
6220 "parameters" : [
6221 {
6222 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006223 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006224 },
6225 {
6226 "type" : "expression",
6227 "value" : {
6228 "type" : "expression",
6229 "value" : {
6230 "op" : "&",
6231 "left" : {
6232 "type" : "expression",
6233 "value" : {
6234 "op" : "+",
6235 "left" : {
6236 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006237 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006238 },
6239 "right" : {
6240 "type" : "hexstr",
6241 "value" : "0x02"
6242 }
6243 }
6244 },
6245 "right" : {
6246 "type" : "hexstr",
6247 "value" : "0xff"
6248 }
6249 }
6250 }
6251 }
6252 ],
6253 "source_info" : {
6254 "filename" : "include/int_transit.p4",
6255 "line" : 93,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006256 "column" : 42,
6257 "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006258 }
6259 },
6260 {
6261 "op" : "assign",
6262 "parameters" : [
6263 {
6264 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006265 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006266 },
6267 {
6268 "type" : "expression",
6269 "value" : {
6270 "type" : "expression",
6271 "value" : {
6272 "op" : "&",
6273 "left" : {
6274 "type" : "expression",
6275 "value" : {
6276 "op" : "+",
6277 "left" : {
6278 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006279 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006280 },
6281 "right" : {
6282 "type" : "hexstr",
6283 "value" : "0x0008"
6284 }
6285 }
6286 },
6287 "right" : {
6288 "type" : "hexstr",
6289 "value" : "0xffff"
6290 }
6291 }
6292 }
6293 }
6294 ],
6295 "source_info" : {
6296 "filename" : "include/int_transit.p4",
6297 "line" : 94,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006298 "column" : 42,
6299 "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006300 }
6301 }
6302 ]
6303 },
6304 {
6305 "name" : "egress.process_int_transit.int_set_header_0407_i6",
6306 "id" : 40,
6307 "runtime_data" : [],
6308 "primitives" : [
6309 {
6310 "op" : "add_header",
6311 "parameters" : [
6312 {
6313 "type" : "header",
6314 "value" : "int_level2_port_ids"
6315 }
6316 ],
6317 "source_info" : {
6318 "filename" : "include/int_transit.p4",
6319 "line" : 70,
6320 "column" : 8,
6321 "source_fragment" : "hdr.int_level2_port_ids.setValid()"
6322 }
6323 },
6324 {
6325 "op" : "assign",
6326 "parameters" : [
6327 {
6328 "type" : "field",
6329 "value" : ["int_level2_port_ids", "ingress_port_id"]
6330 },
6331 {
6332 "type" : "expression",
6333 "value" : {
6334 "type" : "expression",
6335 "value" : {
6336 "op" : "&",
6337 "left" : {
6338 "type" : "field",
6339 "value" : ["standard_metadata", "ingress_port"]
6340 },
6341 "right" : {
6342 "type" : "hexstr",
6343 "value" : "0xffffffff"
6344 }
6345 }
6346 }
6347 }
6348 ],
6349 "source_info" : {
6350 "filename" : "include/int_transit.p4",
6351 "line" : 72,
6352 "column" : 8,
6353 "source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port"
6354 }
6355 },
6356 {
6357 "op" : "assign",
6358 "parameters" : [
6359 {
6360 "type" : "field",
6361 "value" : ["int_level2_port_ids", "egress_port_id"]
6362 },
6363 {
6364 "type" : "expression",
6365 "value" : {
6366 "type" : "expression",
6367 "value" : {
6368 "op" : "&",
6369 "left" : {
6370 "type" : "field",
6371 "value" : ["standard_metadata", "egress_port"]
6372 },
6373 "right" : {
6374 "type" : "hexstr",
6375 "value" : "0xffffffff"
6376 }
6377 }
6378 }
6379 }
6380 ],
6381 "source_info" : {
6382 "filename" : "include/int_transit.p4",
6383 "line" : 73,
6384 "column" : 8,
6385 "source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port"
6386 }
6387 },
6388 {
6389 "op" : "add_header",
6390 "parameters" : [
6391 {
6392 "type" : "header",
6393 "value" : "int_egress_tstamp"
6394 }
6395 ],
6396 "source_info" : {
6397 "filename" : "include/int_transit.p4",
6398 "line" : 64,
6399 "column" : 8,
6400 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
6401 }
6402 },
6403 {
6404 "op" : "assign",
6405 "parameters" : [
6406 {
6407 "type" : "field",
6408 "value" : ["int_egress_tstamp", "egress_tstamp"]
6409 },
6410 {
6411 "type" : "expression",
6412 "value" : {
6413 "type" : "expression",
6414 "value" : {
6415 "op" : "&",
6416 "left" : {
6417 "type" : "field",
6418 "value" : ["standard_metadata", "egress_global_timestamp"]
6419 },
6420 "right" : {
6421 "type" : "hexstr",
6422 "value" : "0xffffffff"
6423 }
6424 }
6425 }
6426 }
6427 ],
6428 "source_info" : {
6429 "filename" : "include/int_transit.p4",
6430 "line" : 65,
6431 "column" : 8,
6432 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
6433 }
6434 },
6435 {
6436 "op" : "assign",
6437 "parameters" : [
6438 {
6439 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006440 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006441 },
6442 {
6443 "type" : "expression",
6444 "value" : {
6445 "type" : "expression",
6446 "value" : {
6447 "op" : "&",
6448 "left" : {
6449 "type" : "expression",
6450 "value" : {
6451 "op" : "+",
6452 "left" : {
6453 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006454 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006455 },
6456 "right" : {
6457 "type" : "hexstr",
6458 "value" : "0x03"
6459 }
6460 }
6461 },
6462 "right" : {
6463 "type" : "hexstr",
6464 "value" : "0xff"
6465 }
6466 }
6467 }
6468 }
6469 ],
6470 "source_info" : {
6471 "filename" : "include/int_transit.p4",
6472 "line" : 99,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006473 "column" : 42,
6474 "source_fragment" : "= local_metadata.int_meta.new_words + 3; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006475 }
6476 },
6477 {
6478 "op" : "assign",
6479 "parameters" : [
6480 {
6481 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006482 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006483 },
6484 {
6485 "type" : "expression",
6486 "value" : {
6487 "type" : "expression",
6488 "value" : {
6489 "op" : "&",
6490 "left" : {
6491 "type" : "expression",
6492 "value" : {
6493 "op" : "+",
6494 "left" : {
6495 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006496 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006497 },
6498 "right" : {
6499 "type" : "hexstr",
6500 "value" : "0x000c"
6501 }
6502 }
6503 },
6504 "right" : {
6505 "type" : "hexstr",
6506 "value" : "0xffff"
6507 }
6508 }
6509 }
6510 }
6511 ],
6512 "source_info" : {
6513 "filename" : "include/int_transit.p4",
6514 "line" : 100,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006515 "column" : 42,
6516 "source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006517 }
6518 }
6519 ]
6520 },
6521 {
6522 "name" : "egress.process_int_transit.int_set_header_0407_i7",
6523 "id" : 41,
6524 "runtime_data" : [],
6525 "primitives" : [
6526 {
6527 "op" : "add_header",
6528 "parameters" : [
6529 {
6530 "type" : "header",
6531 "value" : "int_egress_tx_util"
6532 }
6533 ],
6534 "source_info" : {
6535 "filename" : "include/int_transit.p4",
6536 "line" : 78,
6537 "column" : 8,
6538 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
6539 }
6540 },
6541 {
6542 "op" : "assign",
6543 "parameters" : [
6544 {
6545 "type" : "field",
6546 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
6547 },
6548 {
6549 "type" : "hexstr",
6550 "value" : "0x00000000"
6551 }
6552 ],
6553 "source_info" : {
6554 "filename" : "include/int_transit.p4",
6555 "line" : 79,
6556 "column" : 8,
6557 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
6558 }
6559 },
6560 {
6561 "op" : "add_header",
6562 "parameters" : [
6563 {
6564 "type" : "header",
6565 "value" : "int_level2_port_ids"
6566 }
6567 ],
6568 "source_info" : {
6569 "filename" : "include/int_transit.p4",
6570 "line" : 70,
6571 "column" : 8,
6572 "source_fragment" : "hdr.int_level2_port_ids.setValid()"
6573 }
6574 },
6575 {
6576 "op" : "assign",
6577 "parameters" : [
6578 {
6579 "type" : "field",
6580 "value" : ["int_level2_port_ids", "ingress_port_id"]
6581 },
6582 {
6583 "type" : "expression",
6584 "value" : {
6585 "type" : "expression",
6586 "value" : {
6587 "op" : "&",
6588 "left" : {
6589 "type" : "field",
6590 "value" : ["standard_metadata", "ingress_port"]
6591 },
6592 "right" : {
6593 "type" : "hexstr",
6594 "value" : "0xffffffff"
6595 }
6596 }
6597 }
6598 }
6599 ],
6600 "source_info" : {
6601 "filename" : "include/int_transit.p4",
6602 "line" : 72,
6603 "column" : 8,
6604 "source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port"
6605 }
6606 },
6607 {
6608 "op" : "assign",
6609 "parameters" : [
6610 {
6611 "type" : "field",
6612 "value" : ["int_level2_port_ids", "egress_port_id"]
6613 },
6614 {
6615 "type" : "expression",
6616 "value" : {
6617 "type" : "expression",
6618 "value" : {
6619 "op" : "&",
6620 "left" : {
6621 "type" : "field",
6622 "value" : ["standard_metadata", "egress_port"]
6623 },
6624 "right" : {
6625 "type" : "hexstr",
6626 "value" : "0xffffffff"
6627 }
6628 }
6629 }
6630 }
6631 ],
6632 "source_info" : {
6633 "filename" : "include/int_transit.p4",
6634 "line" : 73,
6635 "column" : 8,
6636 "source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port"
6637 }
6638 },
6639 {
6640 "op" : "add_header",
6641 "parameters" : [
6642 {
6643 "type" : "header",
6644 "value" : "int_egress_tstamp"
6645 }
6646 ],
6647 "source_info" : {
6648 "filename" : "include/int_transit.p4",
6649 "line" : 64,
6650 "column" : 8,
6651 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
6652 }
6653 },
6654 {
6655 "op" : "assign",
6656 "parameters" : [
6657 {
6658 "type" : "field",
6659 "value" : ["int_egress_tstamp", "egress_tstamp"]
6660 },
6661 {
6662 "type" : "expression",
6663 "value" : {
6664 "type" : "expression",
6665 "value" : {
6666 "op" : "&",
6667 "left" : {
6668 "type" : "field",
6669 "value" : ["standard_metadata", "egress_global_timestamp"]
6670 },
6671 "right" : {
6672 "type" : "hexstr",
6673 "value" : "0xffffffff"
6674 }
6675 }
6676 }
6677 }
6678 ],
6679 "source_info" : {
6680 "filename" : "include/int_transit.p4",
6681 "line" : 65,
6682 "column" : 8,
6683 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
6684 }
6685 },
6686 {
6687 "op" : "assign",
6688 "parameters" : [
6689 {
6690 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006691 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006692 },
6693 {
6694 "type" : "expression",
6695 "value" : {
6696 "type" : "expression",
6697 "value" : {
6698 "op" : "&",
6699 "left" : {
6700 "type" : "expression",
6701 "value" : {
6702 "op" : "+",
6703 "left" : {
6704 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006705 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006706 },
6707 "right" : {
6708 "type" : "hexstr",
6709 "value" : "0x04"
6710 }
6711 }
6712 },
6713 "right" : {
6714 "type" : "hexstr",
6715 "value" : "0xff"
6716 }
6717 }
6718 }
6719 }
6720 ],
6721 "source_info" : {
6722 "filename" : "include/int_transit.p4",
6723 "line" : 105,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006724 "column" : 42,
6725 "source_fragment" : "= local_metadata.int_meta.new_words + 4; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006726 }
6727 },
6728 {
6729 "op" : "assign",
6730 "parameters" : [
6731 {
6732 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006733 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006734 },
6735 {
6736 "type" : "expression",
6737 "value" : {
6738 "type" : "expression",
6739 "value" : {
6740 "op" : "&",
6741 "left" : {
6742 "type" : "expression",
6743 "value" : {
6744 "op" : "+",
6745 "left" : {
6746 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006747 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006748 },
6749 "right" : {
6750 "type" : "hexstr",
6751 "value" : "0x0010"
6752 }
6753 }
6754 },
6755 "right" : {
6756 "type" : "hexstr",
6757 "value" : "0xffff"
6758 }
6759 }
6760 }
6761 }
6762 ],
6763 "source_info" : {
6764 "filename" : "include/int_transit.p4",
6765 "line" : 106,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006766 "column" : 41,
6767 "source_fragment" : "= local_metadata.int_meta.new_bytes + 16; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006768 }
6769 }
6770 ]
6771 },
6772 {
6773 "name" : "egress.process_int_transit.int_set_header_0407_i8",
6774 "id" : 42,
6775 "runtime_data" : [],
6776 "primitives" : [
6777 {
6778 "op" : "add_header",
6779 "parameters" : [
6780 {
6781 "type" : "header",
6782 "value" : "int_ingress_tstamp"
6783 }
6784 ],
6785 "source_info" : {
6786 "filename" : "include/int_transit.p4",
6787 "line" : 58,
6788 "column" : 8,
6789 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
6790 }
6791 },
6792 {
6793 "op" : "assign",
6794 "parameters" : [
6795 {
6796 "type" : "field",
6797 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
6798 },
6799 {
6800 "type" : "expression",
6801 "value" : {
6802 "type" : "expression",
6803 "value" : {
6804 "op" : "&",
6805 "left" : {
6806 "type" : "field",
6807 "value" : ["standard_metadata", "ingress_global_timestamp"]
6808 },
6809 "right" : {
6810 "type" : "hexstr",
6811 "value" : "0xffffffff"
6812 }
6813 }
6814 }
6815 }
6816 ],
6817 "source_info" : {
6818 "filename" : "include/int_transit.p4",
6819 "line" : 59,
6820 "column" : 8,
6821 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
6822 }
6823 },
6824 {
6825 "op" : "assign",
6826 "parameters" : [
6827 {
6828 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006829 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006830 },
6831 {
6832 "type" : "expression",
6833 "value" : {
6834 "type" : "expression",
6835 "value" : {
6836 "op" : "&",
6837 "left" : {
6838 "type" : "expression",
6839 "value" : {
6840 "op" : "+",
6841 "left" : {
6842 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006843 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006844 },
6845 "right" : {
6846 "type" : "hexstr",
6847 "value" : "0x01"
6848 }
6849 }
6850 },
6851 "right" : {
6852 "type" : "hexstr",
6853 "value" : "0xff"
6854 }
6855 }
6856 }
6857 }
6858 ],
6859 "source_info" : {
6860 "filename" : "include/int_transit.p4",
6861 "line" : 87,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006862 "column" : 42,
6863 "source_fragment" : "= local_metadata.int_meta.new_words + 1; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006864 }
6865 },
6866 {
6867 "op" : "assign",
6868 "parameters" : [
6869 {
6870 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006871 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006872 },
6873 {
6874 "type" : "expression",
6875 "value" : {
6876 "type" : "expression",
6877 "value" : {
6878 "op" : "&",
6879 "left" : {
6880 "type" : "expression",
6881 "value" : {
6882 "op" : "+",
6883 "left" : {
6884 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006885 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006886 },
6887 "right" : {
6888 "type" : "hexstr",
6889 "value" : "0x0004"
6890 }
6891 }
6892 },
6893 "right" : {
6894 "type" : "hexstr",
6895 "value" : "0xffff"
6896 }
6897 }
6898 }
6899 }
6900 ],
6901 "source_info" : {
6902 "filename" : "include/int_transit.p4",
6903 "line" : 88,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08006904 "column" : 42,
6905 "source_fragment" : "= local_metadata.int_meta.new_bytes + 4; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09006906 }
6907 }
6908 ]
6909 },
6910 {
6911 "name" : "egress.process_int_transit.int_set_header_0407_i9",
6912 "id" : 43,
6913 "runtime_data" : [],
6914 "primitives" : [
6915 {
6916 "op" : "add_header",
6917 "parameters" : [
6918 {
6919 "type" : "header",
6920 "value" : "int_egress_tx_util"
6921 }
6922 ],
6923 "source_info" : {
6924 "filename" : "include/int_transit.p4",
6925 "line" : 78,
6926 "column" : 8,
6927 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
6928 }
6929 },
6930 {
6931 "op" : "assign",
6932 "parameters" : [
6933 {
6934 "type" : "field",
6935 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
6936 },
6937 {
6938 "type" : "hexstr",
6939 "value" : "0x00000000"
6940 }
6941 ],
6942 "source_info" : {
6943 "filename" : "include/int_transit.p4",
6944 "line" : 79,
6945 "column" : 8,
6946 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
6947 }
6948 },
6949 {
6950 "op" : "add_header",
6951 "parameters" : [
6952 {
6953 "type" : "header",
6954 "value" : "int_ingress_tstamp"
6955 }
6956 ],
6957 "source_info" : {
6958 "filename" : "include/int_transit.p4",
6959 "line" : 58,
6960 "column" : 8,
6961 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
6962 }
6963 },
6964 {
6965 "op" : "assign",
6966 "parameters" : [
6967 {
6968 "type" : "field",
6969 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
6970 },
6971 {
6972 "type" : "expression",
6973 "value" : {
6974 "type" : "expression",
6975 "value" : {
6976 "op" : "&",
6977 "left" : {
6978 "type" : "field",
6979 "value" : ["standard_metadata", "ingress_global_timestamp"]
6980 },
6981 "right" : {
6982 "type" : "hexstr",
6983 "value" : "0xffffffff"
6984 }
6985 }
6986 }
6987 }
6988 ],
6989 "source_info" : {
6990 "filename" : "include/int_transit.p4",
6991 "line" : 59,
6992 "column" : 8,
6993 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
6994 }
6995 },
6996 {
6997 "op" : "assign",
6998 "parameters" : [
6999 {
7000 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007001 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007002 },
7003 {
7004 "type" : "expression",
7005 "value" : {
7006 "type" : "expression",
7007 "value" : {
7008 "op" : "&",
7009 "left" : {
7010 "type" : "expression",
7011 "value" : {
7012 "op" : "+",
7013 "left" : {
7014 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007015 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007016 },
7017 "right" : {
7018 "type" : "hexstr",
7019 "value" : "0x02"
7020 }
7021 }
7022 },
7023 "right" : {
7024 "type" : "hexstr",
7025 "value" : "0xff"
7026 }
7027 }
7028 }
7029 }
7030 ],
7031 "source_info" : {
7032 "filename" : "include/int_transit.p4",
7033 "line" : 93,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007034 "column" : 42,
7035 "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007036 }
7037 },
7038 {
7039 "op" : "assign",
7040 "parameters" : [
7041 {
7042 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007043 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007044 },
7045 {
7046 "type" : "expression",
7047 "value" : {
7048 "type" : "expression",
7049 "value" : {
7050 "op" : "&",
7051 "left" : {
7052 "type" : "expression",
7053 "value" : {
7054 "op" : "+",
7055 "left" : {
7056 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007057 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007058 },
7059 "right" : {
7060 "type" : "hexstr",
7061 "value" : "0x0008"
7062 }
7063 }
7064 },
7065 "right" : {
7066 "type" : "hexstr",
7067 "value" : "0xffff"
7068 }
7069 }
7070 }
7071 }
7072 ],
7073 "source_info" : {
7074 "filename" : "include/int_transit.p4",
7075 "line" : 94,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007076 "column" : 42,
7077 "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007078 }
7079 }
7080 ]
7081 },
7082 {
7083 "name" : "egress.process_int_transit.int_set_header_0407_i10",
7084 "id" : 44,
7085 "runtime_data" : [],
7086 "primitives" : [
7087 {
7088 "op" : "add_header",
7089 "parameters" : [
7090 {
7091 "type" : "header",
7092 "value" : "int_level2_port_ids"
7093 }
7094 ],
7095 "source_info" : {
7096 "filename" : "include/int_transit.p4",
7097 "line" : 70,
7098 "column" : 8,
7099 "source_fragment" : "hdr.int_level2_port_ids.setValid()"
7100 }
7101 },
7102 {
7103 "op" : "assign",
7104 "parameters" : [
7105 {
7106 "type" : "field",
7107 "value" : ["int_level2_port_ids", "ingress_port_id"]
7108 },
7109 {
7110 "type" : "expression",
7111 "value" : {
7112 "type" : "expression",
7113 "value" : {
7114 "op" : "&",
7115 "left" : {
7116 "type" : "field",
7117 "value" : ["standard_metadata", "ingress_port"]
7118 },
7119 "right" : {
7120 "type" : "hexstr",
7121 "value" : "0xffffffff"
7122 }
7123 }
7124 }
7125 }
7126 ],
7127 "source_info" : {
7128 "filename" : "include/int_transit.p4",
7129 "line" : 72,
7130 "column" : 8,
7131 "source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port"
7132 }
7133 },
7134 {
7135 "op" : "assign",
7136 "parameters" : [
7137 {
7138 "type" : "field",
7139 "value" : ["int_level2_port_ids", "egress_port_id"]
7140 },
7141 {
7142 "type" : "expression",
7143 "value" : {
7144 "type" : "expression",
7145 "value" : {
7146 "op" : "&",
7147 "left" : {
7148 "type" : "field",
7149 "value" : ["standard_metadata", "egress_port"]
7150 },
7151 "right" : {
7152 "type" : "hexstr",
7153 "value" : "0xffffffff"
7154 }
7155 }
7156 }
7157 }
7158 ],
7159 "source_info" : {
7160 "filename" : "include/int_transit.p4",
7161 "line" : 73,
7162 "column" : 8,
7163 "source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port"
7164 }
7165 },
7166 {
7167 "op" : "add_header",
7168 "parameters" : [
7169 {
7170 "type" : "header",
7171 "value" : "int_ingress_tstamp"
7172 }
7173 ],
7174 "source_info" : {
7175 "filename" : "include/int_transit.p4",
7176 "line" : 58,
7177 "column" : 8,
7178 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
7179 }
7180 },
7181 {
7182 "op" : "assign",
7183 "parameters" : [
7184 {
7185 "type" : "field",
7186 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
7187 },
7188 {
7189 "type" : "expression",
7190 "value" : {
7191 "type" : "expression",
7192 "value" : {
7193 "op" : "&",
7194 "left" : {
7195 "type" : "field",
7196 "value" : ["standard_metadata", "ingress_global_timestamp"]
7197 },
7198 "right" : {
7199 "type" : "hexstr",
7200 "value" : "0xffffffff"
7201 }
7202 }
7203 }
7204 }
7205 ],
7206 "source_info" : {
7207 "filename" : "include/int_transit.p4",
7208 "line" : 59,
7209 "column" : 8,
7210 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
7211 }
7212 },
7213 {
7214 "op" : "assign",
7215 "parameters" : [
7216 {
7217 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007218 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007219 },
7220 {
7221 "type" : "expression",
7222 "value" : {
7223 "type" : "expression",
7224 "value" : {
7225 "op" : "&",
7226 "left" : {
7227 "type" : "expression",
7228 "value" : {
7229 "op" : "+",
7230 "left" : {
7231 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007232 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007233 },
7234 "right" : {
7235 "type" : "hexstr",
7236 "value" : "0x03"
7237 }
7238 }
7239 },
7240 "right" : {
7241 "type" : "hexstr",
7242 "value" : "0xff"
7243 }
7244 }
7245 }
7246 }
7247 ],
7248 "source_info" : {
7249 "filename" : "include/int_transit.p4",
7250 "line" : 99,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007251 "column" : 42,
7252 "source_fragment" : "= local_metadata.int_meta.new_words + 3; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007253 }
7254 },
7255 {
7256 "op" : "assign",
7257 "parameters" : [
7258 {
7259 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007260 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007261 },
7262 {
7263 "type" : "expression",
7264 "value" : {
7265 "type" : "expression",
7266 "value" : {
7267 "op" : "&",
7268 "left" : {
7269 "type" : "expression",
7270 "value" : {
7271 "op" : "+",
7272 "left" : {
7273 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007274 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007275 },
7276 "right" : {
7277 "type" : "hexstr",
7278 "value" : "0x000c"
7279 }
7280 }
7281 },
7282 "right" : {
7283 "type" : "hexstr",
7284 "value" : "0xffff"
7285 }
7286 }
7287 }
7288 }
7289 ],
7290 "source_info" : {
7291 "filename" : "include/int_transit.p4",
7292 "line" : 100,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007293 "column" : 42,
7294 "source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007295 }
7296 }
7297 ]
7298 },
7299 {
7300 "name" : "egress.process_int_transit.int_set_header_0407_i11",
7301 "id" : 45,
7302 "runtime_data" : [],
7303 "primitives" : [
7304 {
7305 "op" : "add_header",
7306 "parameters" : [
7307 {
7308 "type" : "header",
7309 "value" : "int_egress_tx_util"
7310 }
7311 ],
7312 "source_info" : {
7313 "filename" : "include/int_transit.p4",
7314 "line" : 78,
7315 "column" : 8,
7316 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
7317 }
7318 },
7319 {
7320 "op" : "assign",
7321 "parameters" : [
7322 {
7323 "type" : "field",
7324 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
7325 },
7326 {
7327 "type" : "hexstr",
7328 "value" : "0x00000000"
7329 }
7330 ],
7331 "source_info" : {
7332 "filename" : "include/int_transit.p4",
7333 "line" : 79,
7334 "column" : 8,
7335 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
7336 }
7337 },
7338 {
7339 "op" : "add_header",
7340 "parameters" : [
7341 {
7342 "type" : "header",
7343 "value" : "int_level2_port_ids"
7344 }
7345 ],
7346 "source_info" : {
7347 "filename" : "include/int_transit.p4",
7348 "line" : 70,
7349 "column" : 8,
7350 "source_fragment" : "hdr.int_level2_port_ids.setValid()"
7351 }
7352 },
7353 {
7354 "op" : "assign",
7355 "parameters" : [
7356 {
7357 "type" : "field",
7358 "value" : ["int_level2_port_ids", "ingress_port_id"]
7359 },
7360 {
7361 "type" : "expression",
7362 "value" : {
7363 "type" : "expression",
7364 "value" : {
7365 "op" : "&",
7366 "left" : {
7367 "type" : "field",
7368 "value" : ["standard_metadata", "ingress_port"]
7369 },
7370 "right" : {
7371 "type" : "hexstr",
7372 "value" : "0xffffffff"
7373 }
7374 }
7375 }
7376 }
7377 ],
7378 "source_info" : {
7379 "filename" : "include/int_transit.p4",
7380 "line" : 72,
7381 "column" : 8,
7382 "source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port"
7383 }
7384 },
7385 {
7386 "op" : "assign",
7387 "parameters" : [
7388 {
7389 "type" : "field",
7390 "value" : ["int_level2_port_ids", "egress_port_id"]
7391 },
7392 {
7393 "type" : "expression",
7394 "value" : {
7395 "type" : "expression",
7396 "value" : {
7397 "op" : "&",
7398 "left" : {
7399 "type" : "field",
7400 "value" : ["standard_metadata", "egress_port"]
7401 },
7402 "right" : {
7403 "type" : "hexstr",
7404 "value" : "0xffffffff"
7405 }
7406 }
7407 }
7408 }
7409 ],
7410 "source_info" : {
7411 "filename" : "include/int_transit.p4",
7412 "line" : 73,
7413 "column" : 8,
7414 "source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port"
7415 }
7416 },
7417 {
7418 "op" : "add_header",
7419 "parameters" : [
7420 {
7421 "type" : "header",
7422 "value" : "int_ingress_tstamp"
7423 }
7424 ],
7425 "source_info" : {
7426 "filename" : "include/int_transit.p4",
7427 "line" : 58,
7428 "column" : 8,
7429 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
7430 }
7431 },
7432 {
7433 "op" : "assign",
7434 "parameters" : [
7435 {
7436 "type" : "field",
7437 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
7438 },
7439 {
7440 "type" : "expression",
7441 "value" : {
7442 "type" : "expression",
7443 "value" : {
7444 "op" : "&",
7445 "left" : {
7446 "type" : "field",
7447 "value" : ["standard_metadata", "ingress_global_timestamp"]
7448 },
7449 "right" : {
7450 "type" : "hexstr",
7451 "value" : "0xffffffff"
7452 }
7453 }
7454 }
7455 }
7456 ],
7457 "source_info" : {
7458 "filename" : "include/int_transit.p4",
7459 "line" : 59,
7460 "column" : 8,
7461 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
7462 }
7463 },
7464 {
7465 "op" : "assign",
7466 "parameters" : [
7467 {
7468 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007469 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007470 },
7471 {
7472 "type" : "expression",
7473 "value" : {
7474 "type" : "expression",
7475 "value" : {
7476 "op" : "&",
7477 "left" : {
7478 "type" : "expression",
7479 "value" : {
7480 "op" : "+",
7481 "left" : {
7482 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007483 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007484 },
7485 "right" : {
7486 "type" : "hexstr",
7487 "value" : "0x04"
7488 }
7489 }
7490 },
7491 "right" : {
7492 "type" : "hexstr",
7493 "value" : "0xff"
7494 }
7495 }
7496 }
7497 }
7498 ],
7499 "source_info" : {
7500 "filename" : "include/int_transit.p4",
7501 "line" : 105,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007502 "column" : 42,
7503 "source_fragment" : "= local_metadata.int_meta.new_words + 4; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007504 }
7505 },
7506 {
7507 "op" : "assign",
7508 "parameters" : [
7509 {
7510 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007511 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007512 },
7513 {
7514 "type" : "expression",
7515 "value" : {
7516 "type" : "expression",
7517 "value" : {
7518 "op" : "&",
7519 "left" : {
7520 "type" : "expression",
7521 "value" : {
7522 "op" : "+",
7523 "left" : {
7524 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007525 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007526 },
7527 "right" : {
7528 "type" : "hexstr",
7529 "value" : "0x0010"
7530 }
7531 }
7532 },
7533 "right" : {
7534 "type" : "hexstr",
7535 "value" : "0xffff"
7536 }
7537 }
7538 }
7539 }
7540 ],
7541 "source_info" : {
7542 "filename" : "include/int_transit.p4",
7543 "line" : 106,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007544 "column" : 41,
7545 "source_fragment" : "= local_metadata.int_meta.new_bytes + 16; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007546 }
7547 }
7548 ]
7549 },
7550 {
7551 "name" : "egress.process_int_transit.int_set_header_0407_i12",
7552 "id" : 46,
7553 "runtime_data" : [],
7554 "primitives" : [
7555 {
7556 "op" : "add_header",
7557 "parameters" : [
7558 {
7559 "type" : "header",
7560 "value" : "int_egress_tstamp"
7561 }
7562 ],
7563 "source_info" : {
7564 "filename" : "include/int_transit.p4",
7565 "line" : 64,
7566 "column" : 8,
7567 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
7568 }
7569 },
7570 {
7571 "op" : "assign",
7572 "parameters" : [
7573 {
7574 "type" : "field",
7575 "value" : ["int_egress_tstamp", "egress_tstamp"]
7576 },
7577 {
7578 "type" : "expression",
7579 "value" : {
7580 "type" : "expression",
7581 "value" : {
7582 "op" : "&",
7583 "left" : {
7584 "type" : "field",
7585 "value" : ["standard_metadata", "egress_global_timestamp"]
7586 },
7587 "right" : {
7588 "type" : "hexstr",
7589 "value" : "0xffffffff"
7590 }
7591 }
7592 }
7593 }
7594 ],
7595 "source_info" : {
7596 "filename" : "include/int_transit.p4",
7597 "line" : 65,
7598 "column" : 8,
7599 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
7600 }
7601 },
7602 {
7603 "op" : "add_header",
7604 "parameters" : [
7605 {
7606 "type" : "header",
7607 "value" : "int_ingress_tstamp"
7608 }
7609 ],
7610 "source_info" : {
7611 "filename" : "include/int_transit.p4",
7612 "line" : 58,
7613 "column" : 8,
7614 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
7615 }
7616 },
7617 {
7618 "op" : "assign",
7619 "parameters" : [
7620 {
7621 "type" : "field",
7622 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
7623 },
7624 {
7625 "type" : "expression",
7626 "value" : {
7627 "type" : "expression",
7628 "value" : {
7629 "op" : "&",
7630 "left" : {
7631 "type" : "field",
7632 "value" : ["standard_metadata", "ingress_global_timestamp"]
7633 },
7634 "right" : {
7635 "type" : "hexstr",
7636 "value" : "0xffffffff"
7637 }
7638 }
7639 }
7640 }
7641 ],
7642 "source_info" : {
7643 "filename" : "include/int_transit.p4",
7644 "line" : 59,
7645 "column" : 8,
7646 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
7647 }
7648 },
7649 {
7650 "op" : "assign",
7651 "parameters" : [
7652 {
7653 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007654 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007655 },
7656 {
7657 "type" : "expression",
7658 "value" : {
7659 "type" : "expression",
7660 "value" : {
7661 "op" : "&",
7662 "left" : {
7663 "type" : "expression",
7664 "value" : {
7665 "op" : "+",
7666 "left" : {
7667 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007668 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007669 },
7670 "right" : {
7671 "type" : "hexstr",
7672 "value" : "0x02"
7673 }
7674 }
7675 },
7676 "right" : {
7677 "type" : "hexstr",
7678 "value" : "0xff"
7679 }
7680 }
7681 }
7682 }
7683 ],
7684 "source_info" : {
7685 "filename" : "include/int_transit.p4",
7686 "line" : 93,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007687 "column" : 42,
7688 "source_fragment" : "= local_metadata.int_meta.new_words + 2; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007689 }
7690 },
7691 {
7692 "op" : "assign",
7693 "parameters" : [
7694 {
7695 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007696 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007697 },
7698 {
7699 "type" : "expression",
7700 "value" : {
7701 "type" : "expression",
7702 "value" : {
7703 "op" : "&",
7704 "left" : {
7705 "type" : "expression",
7706 "value" : {
7707 "op" : "+",
7708 "left" : {
7709 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007710 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007711 },
7712 "right" : {
7713 "type" : "hexstr",
7714 "value" : "0x0008"
7715 }
7716 }
7717 },
7718 "right" : {
7719 "type" : "hexstr",
7720 "value" : "0xffff"
7721 }
7722 }
7723 }
7724 }
7725 ],
7726 "source_info" : {
7727 "filename" : "include/int_transit.p4",
7728 "line" : 94,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007729 "column" : 42,
7730 "source_fragment" : "= local_metadata.int_meta.new_bytes + 8; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007731 }
7732 }
7733 ]
7734 },
7735 {
7736 "name" : "egress.process_int_transit.int_set_header_0407_i13",
7737 "id" : 47,
7738 "runtime_data" : [],
7739 "primitives" : [
7740 {
7741 "op" : "add_header",
7742 "parameters" : [
7743 {
7744 "type" : "header",
7745 "value" : "int_egress_tx_util"
7746 }
7747 ],
7748 "source_info" : {
7749 "filename" : "include/int_transit.p4",
7750 "line" : 78,
7751 "column" : 8,
7752 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
7753 }
7754 },
7755 {
7756 "op" : "assign",
7757 "parameters" : [
7758 {
7759 "type" : "field",
7760 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
7761 },
7762 {
7763 "type" : "hexstr",
7764 "value" : "0x00000000"
7765 }
7766 ],
7767 "source_info" : {
7768 "filename" : "include/int_transit.p4",
7769 "line" : 79,
7770 "column" : 8,
7771 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
7772 }
7773 },
7774 {
7775 "op" : "add_header",
7776 "parameters" : [
7777 {
7778 "type" : "header",
7779 "value" : "int_egress_tstamp"
7780 }
7781 ],
7782 "source_info" : {
7783 "filename" : "include/int_transit.p4",
7784 "line" : 64,
7785 "column" : 8,
7786 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
7787 }
7788 },
7789 {
7790 "op" : "assign",
7791 "parameters" : [
7792 {
7793 "type" : "field",
7794 "value" : ["int_egress_tstamp", "egress_tstamp"]
7795 },
7796 {
7797 "type" : "expression",
7798 "value" : {
7799 "type" : "expression",
7800 "value" : {
7801 "op" : "&",
7802 "left" : {
7803 "type" : "field",
7804 "value" : ["standard_metadata", "egress_global_timestamp"]
7805 },
7806 "right" : {
7807 "type" : "hexstr",
7808 "value" : "0xffffffff"
7809 }
7810 }
7811 }
7812 }
7813 ],
7814 "source_info" : {
7815 "filename" : "include/int_transit.p4",
7816 "line" : 65,
7817 "column" : 8,
7818 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
7819 }
7820 },
7821 {
7822 "op" : "add_header",
7823 "parameters" : [
7824 {
7825 "type" : "header",
7826 "value" : "int_ingress_tstamp"
7827 }
7828 ],
7829 "source_info" : {
7830 "filename" : "include/int_transit.p4",
7831 "line" : 58,
7832 "column" : 8,
7833 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
7834 }
7835 },
7836 {
7837 "op" : "assign",
7838 "parameters" : [
7839 {
7840 "type" : "field",
7841 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
7842 },
7843 {
7844 "type" : "expression",
7845 "value" : {
7846 "type" : "expression",
7847 "value" : {
7848 "op" : "&",
7849 "left" : {
7850 "type" : "field",
7851 "value" : ["standard_metadata", "ingress_global_timestamp"]
7852 },
7853 "right" : {
7854 "type" : "hexstr",
7855 "value" : "0xffffffff"
7856 }
7857 }
7858 }
7859 }
7860 ],
7861 "source_info" : {
7862 "filename" : "include/int_transit.p4",
7863 "line" : 59,
7864 "column" : 8,
7865 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
7866 }
7867 },
7868 {
7869 "op" : "assign",
7870 "parameters" : [
7871 {
7872 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007873 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007874 },
7875 {
7876 "type" : "expression",
7877 "value" : {
7878 "type" : "expression",
7879 "value" : {
7880 "op" : "&",
7881 "left" : {
7882 "type" : "expression",
7883 "value" : {
7884 "op" : "+",
7885 "left" : {
7886 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007887 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007888 },
7889 "right" : {
7890 "type" : "hexstr",
7891 "value" : "0x03"
7892 }
7893 }
7894 },
7895 "right" : {
7896 "type" : "hexstr",
7897 "value" : "0xff"
7898 }
7899 }
7900 }
7901 }
7902 ],
7903 "source_info" : {
7904 "filename" : "include/int_transit.p4",
7905 "line" : 99,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007906 "column" : 42,
7907 "source_fragment" : "= local_metadata.int_meta.new_words + 3; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007908 }
7909 },
7910 {
7911 "op" : "assign",
7912 "parameters" : [
7913 {
7914 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007915 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007916 },
7917 {
7918 "type" : "expression",
7919 "value" : {
7920 "type" : "expression",
7921 "value" : {
7922 "op" : "&",
7923 "left" : {
7924 "type" : "expression",
7925 "value" : {
7926 "op" : "+",
7927 "left" : {
7928 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007929 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007930 },
7931 "right" : {
7932 "type" : "hexstr",
7933 "value" : "0x000c"
7934 }
7935 }
7936 },
7937 "right" : {
7938 "type" : "hexstr",
7939 "value" : "0xffff"
7940 }
7941 }
7942 }
7943 }
7944 ],
7945 "source_info" : {
7946 "filename" : "include/int_transit.p4",
7947 "line" : 100,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08007948 "column" : 42,
7949 "source_fragment" : "= local_metadata.int_meta.new_bytes + 12; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09007950 }
7951 }
7952 ]
7953 },
7954 {
7955 "name" : "egress.process_int_transit.int_set_header_0407_i14",
7956 "id" : 48,
7957 "runtime_data" : [],
7958 "primitives" : [
7959 {
7960 "op" : "add_header",
7961 "parameters" : [
7962 {
7963 "type" : "header",
7964 "value" : "int_level2_port_ids"
7965 }
7966 ],
7967 "source_info" : {
7968 "filename" : "include/int_transit.p4",
7969 "line" : 70,
7970 "column" : 8,
7971 "source_fragment" : "hdr.int_level2_port_ids.setValid()"
7972 }
7973 },
7974 {
7975 "op" : "assign",
7976 "parameters" : [
7977 {
7978 "type" : "field",
7979 "value" : ["int_level2_port_ids", "ingress_port_id"]
7980 },
7981 {
7982 "type" : "expression",
7983 "value" : {
7984 "type" : "expression",
7985 "value" : {
7986 "op" : "&",
7987 "left" : {
7988 "type" : "field",
7989 "value" : ["standard_metadata", "ingress_port"]
7990 },
7991 "right" : {
7992 "type" : "hexstr",
7993 "value" : "0xffffffff"
7994 }
7995 }
7996 }
7997 }
7998 ],
7999 "source_info" : {
8000 "filename" : "include/int_transit.p4",
8001 "line" : 72,
8002 "column" : 8,
8003 "source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port"
8004 }
8005 },
8006 {
8007 "op" : "assign",
8008 "parameters" : [
8009 {
8010 "type" : "field",
8011 "value" : ["int_level2_port_ids", "egress_port_id"]
8012 },
8013 {
8014 "type" : "expression",
8015 "value" : {
8016 "type" : "expression",
8017 "value" : {
8018 "op" : "&",
8019 "left" : {
8020 "type" : "field",
8021 "value" : ["standard_metadata", "egress_port"]
8022 },
8023 "right" : {
8024 "type" : "hexstr",
8025 "value" : "0xffffffff"
8026 }
8027 }
8028 }
8029 }
8030 ],
8031 "source_info" : {
8032 "filename" : "include/int_transit.p4",
8033 "line" : 73,
8034 "column" : 8,
8035 "source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port"
8036 }
8037 },
8038 {
8039 "op" : "add_header",
8040 "parameters" : [
8041 {
8042 "type" : "header",
8043 "value" : "int_egress_tstamp"
8044 }
8045 ],
8046 "source_info" : {
8047 "filename" : "include/int_transit.p4",
8048 "line" : 64,
8049 "column" : 8,
8050 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
8051 }
8052 },
8053 {
8054 "op" : "assign",
8055 "parameters" : [
8056 {
8057 "type" : "field",
8058 "value" : ["int_egress_tstamp", "egress_tstamp"]
8059 },
8060 {
8061 "type" : "expression",
8062 "value" : {
8063 "type" : "expression",
8064 "value" : {
8065 "op" : "&",
8066 "left" : {
8067 "type" : "field",
8068 "value" : ["standard_metadata", "egress_global_timestamp"]
8069 },
8070 "right" : {
8071 "type" : "hexstr",
8072 "value" : "0xffffffff"
8073 }
8074 }
8075 }
8076 }
8077 ],
8078 "source_info" : {
8079 "filename" : "include/int_transit.p4",
8080 "line" : 65,
8081 "column" : 8,
8082 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
8083 }
8084 },
8085 {
8086 "op" : "add_header",
8087 "parameters" : [
8088 {
8089 "type" : "header",
8090 "value" : "int_ingress_tstamp"
8091 }
8092 ],
8093 "source_info" : {
8094 "filename" : "include/int_transit.p4",
8095 "line" : 58,
8096 "column" : 8,
8097 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
8098 }
8099 },
8100 {
8101 "op" : "assign",
8102 "parameters" : [
8103 {
8104 "type" : "field",
8105 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
8106 },
8107 {
8108 "type" : "expression",
8109 "value" : {
8110 "type" : "expression",
8111 "value" : {
8112 "op" : "&",
8113 "left" : {
8114 "type" : "field",
8115 "value" : ["standard_metadata", "ingress_global_timestamp"]
8116 },
8117 "right" : {
8118 "type" : "hexstr",
8119 "value" : "0xffffffff"
8120 }
8121 }
8122 }
8123 }
8124 ],
8125 "source_info" : {
8126 "filename" : "include/int_transit.p4",
8127 "line" : 59,
8128 "column" : 8,
8129 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
8130 }
8131 },
8132 {
8133 "op" : "assign",
8134 "parameters" : [
8135 {
8136 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08008137 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008138 },
8139 {
8140 "type" : "expression",
8141 "value" : {
8142 "type" : "expression",
8143 "value" : {
8144 "op" : "&",
8145 "left" : {
8146 "type" : "expression",
8147 "value" : {
8148 "op" : "+",
8149 "left" : {
8150 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08008151 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008152 },
8153 "right" : {
8154 "type" : "hexstr",
8155 "value" : "0x04"
8156 }
8157 }
8158 },
8159 "right" : {
8160 "type" : "hexstr",
8161 "value" : "0xff"
8162 }
8163 }
8164 }
8165 }
8166 ],
8167 "source_info" : {
8168 "filename" : "include/int_transit.p4",
8169 "line" : 105,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08008170 "column" : 42,
8171 "source_fragment" : "= local_metadata.int_meta.new_words + 4; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008172 }
8173 },
8174 {
8175 "op" : "assign",
8176 "parameters" : [
8177 {
8178 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08008179 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008180 },
8181 {
8182 "type" : "expression",
8183 "value" : {
8184 "type" : "expression",
8185 "value" : {
8186 "op" : "&",
8187 "left" : {
8188 "type" : "expression",
8189 "value" : {
8190 "op" : "+",
8191 "left" : {
8192 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08008193 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008194 },
8195 "right" : {
8196 "type" : "hexstr",
8197 "value" : "0x0010"
8198 }
8199 }
8200 },
8201 "right" : {
8202 "type" : "hexstr",
8203 "value" : "0xffff"
8204 }
8205 }
8206 }
8207 }
8208 ],
8209 "source_info" : {
8210 "filename" : "include/int_transit.p4",
8211 "line" : 106,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08008212 "column" : 41,
8213 "source_fragment" : "= local_metadata.int_meta.new_bytes + 16; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008214 }
8215 }
8216 ]
8217 },
8218 {
8219 "name" : "egress.process_int_transit.int_set_header_0407_i15",
8220 "id" : 49,
8221 "runtime_data" : [],
8222 "primitives" : [
8223 {
8224 "op" : "add_header",
8225 "parameters" : [
8226 {
8227 "type" : "header",
8228 "value" : "int_egress_tx_util"
8229 }
8230 ],
8231 "source_info" : {
8232 "filename" : "include/int_transit.p4",
8233 "line" : 78,
8234 "column" : 8,
8235 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
8236 }
8237 },
8238 {
8239 "op" : "assign",
8240 "parameters" : [
8241 {
8242 "type" : "field",
8243 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
8244 },
8245 {
8246 "type" : "hexstr",
8247 "value" : "0x00000000"
8248 }
8249 ],
8250 "source_info" : {
8251 "filename" : "include/int_transit.p4",
8252 "line" : 79,
8253 "column" : 8,
8254 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
8255 }
8256 },
8257 {
8258 "op" : "add_header",
8259 "parameters" : [
8260 {
8261 "type" : "header",
8262 "value" : "int_level2_port_ids"
8263 }
8264 ],
8265 "source_info" : {
8266 "filename" : "include/int_transit.p4",
8267 "line" : 70,
8268 "column" : 8,
8269 "source_fragment" : "hdr.int_level2_port_ids.setValid()"
8270 }
8271 },
8272 {
8273 "op" : "assign",
8274 "parameters" : [
8275 {
8276 "type" : "field",
8277 "value" : ["int_level2_port_ids", "ingress_port_id"]
8278 },
8279 {
8280 "type" : "expression",
8281 "value" : {
8282 "type" : "expression",
8283 "value" : {
8284 "op" : "&",
8285 "left" : {
8286 "type" : "field",
8287 "value" : ["standard_metadata", "ingress_port"]
8288 },
8289 "right" : {
8290 "type" : "hexstr",
8291 "value" : "0xffffffff"
8292 }
8293 }
8294 }
8295 }
8296 ],
8297 "source_info" : {
8298 "filename" : "include/int_transit.p4",
8299 "line" : 72,
8300 "column" : 8,
8301 "source_fragment" : "hdr.int_level2_port_ids.ingress_port_id = (bit<32>) standard_metadata.ingress_port"
8302 }
8303 },
8304 {
8305 "op" : "assign",
8306 "parameters" : [
8307 {
8308 "type" : "field",
8309 "value" : ["int_level2_port_ids", "egress_port_id"]
8310 },
8311 {
8312 "type" : "expression",
8313 "value" : {
8314 "type" : "expression",
8315 "value" : {
8316 "op" : "&",
8317 "left" : {
8318 "type" : "field",
8319 "value" : ["standard_metadata", "egress_port"]
8320 },
8321 "right" : {
8322 "type" : "hexstr",
8323 "value" : "0xffffffff"
8324 }
8325 }
8326 }
8327 }
8328 ],
8329 "source_info" : {
8330 "filename" : "include/int_transit.p4",
8331 "line" : 73,
8332 "column" : 8,
8333 "source_fragment" : "hdr.int_level2_port_ids.egress_port_id = (bit<32>) standard_metadata.egress_port"
8334 }
8335 },
8336 {
8337 "op" : "add_header",
8338 "parameters" : [
8339 {
8340 "type" : "header",
8341 "value" : "int_egress_tstamp"
8342 }
8343 ],
8344 "source_info" : {
8345 "filename" : "include/int_transit.p4",
8346 "line" : 64,
8347 "column" : 8,
8348 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
8349 }
8350 },
8351 {
8352 "op" : "assign",
8353 "parameters" : [
8354 {
8355 "type" : "field",
8356 "value" : ["int_egress_tstamp", "egress_tstamp"]
8357 },
8358 {
8359 "type" : "expression",
8360 "value" : {
8361 "type" : "expression",
8362 "value" : {
8363 "op" : "&",
8364 "left" : {
8365 "type" : "field",
8366 "value" : ["standard_metadata", "egress_global_timestamp"]
8367 },
8368 "right" : {
8369 "type" : "hexstr",
8370 "value" : "0xffffffff"
8371 }
8372 }
8373 }
8374 }
8375 ],
8376 "source_info" : {
8377 "filename" : "include/int_transit.p4",
8378 "line" : 65,
8379 "column" : 8,
8380 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
8381 }
8382 },
8383 {
8384 "op" : "add_header",
8385 "parameters" : [
8386 {
8387 "type" : "header",
8388 "value" : "int_ingress_tstamp"
8389 }
8390 ],
8391 "source_info" : {
8392 "filename" : "include/int_transit.p4",
8393 "line" : 58,
8394 "column" : 8,
8395 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
8396 }
8397 },
8398 {
8399 "op" : "assign",
8400 "parameters" : [
8401 {
8402 "type" : "field",
8403 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
8404 },
8405 {
8406 "type" : "expression",
8407 "value" : {
8408 "type" : "expression",
8409 "value" : {
8410 "op" : "&",
8411 "left" : {
8412 "type" : "field",
8413 "value" : ["standard_metadata", "ingress_global_timestamp"]
8414 },
8415 "right" : {
8416 "type" : "hexstr",
8417 "value" : "0xffffffff"
8418 }
8419 }
8420 }
8421 }
8422 ],
8423 "source_info" : {
8424 "filename" : "include/int_transit.p4",
8425 "line" : 59,
8426 "column" : 8,
8427 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
8428 }
8429 },
8430 {
8431 "op" : "assign",
8432 "parameters" : [
8433 {
8434 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08008435 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008436 },
8437 {
8438 "type" : "expression",
8439 "value" : {
8440 "type" : "expression",
8441 "value" : {
8442 "op" : "&",
8443 "left" : {
8444 "type" : "expression",
8445 "value" : {
8446 "op" : "+",
8447 "left" : {
8448 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08008449 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008450 },
8451 "right" : {
8452 "type" : "hexstr",
8453 "value" : "0x05"
8454 }
8455 }
8456 },
8457 "right" : {
8458 "type" : "hexstr",
8459 "value" : "0xff"
8460 }
8461 }
8462 }
8463 }
8464 ],
8465 "source_info" : {
8466 "filename" : "include/int_transit.p4",
8467 "line" : 111,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08008468 "column" : 42,
8469 "source_fragment" : "= local_metadata.int_meta.new_words + 5; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008470 }
8471 },
8472 {
8473 "op" : "assign",
8474 "parameters" : [
8475 {
8476 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08008477 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008478 },
8479 {
8480 "type" : "expression",
8481 "value" : {
8482 "type" : "expression",
8483 "value" : {
8484 "op" : "&",
8485 "left" : {
8486 "type" : "expression",
8487 "value" : {
8488 "op" : "+",
8489 "left" : {
8490 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08008491 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008492 },
8493 "right" : {
8494 "type" : "hexstr",
8495 "value" : "0x0014"
8496 }
8497 }
8498 },
8499 "right" : {
8500 "type" : "hexstr",
8501 "value" : "0xffff"
8502 }
8503 }
8504 }
8505 }
8506 ],
8507 "source_info" : {
8508 "filename" : "include/int_transit.p4",
8509 "line" : 112,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08008510 "column" : 42,
8511 "source_fragment" : "= local_metadata.int_meta.new_bytes + 20; ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08008512 }
8513 }
8514 ]
8515 },
8516 {
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008517 "name" : "egress.process_int_report.do_report_encapsulation",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008518 "id" : 50,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008519 "runtime_data" : [
8520 {
8521 "name" : "src_mac",
8522 "bitwidth" : 48
8523 },
8524 {
8525 "name" : "mon_mac",
8526 "bitwidth" : 48
8527 },
8528 {
8529 "name" : "src_ip",
8530 "bitwidth" : 32
8531 },
8532 {
8533 "name" : "mon_ip",
8534 "bitwidth" : 32
8535 },
8536 {
8537 "name" : "mon_port",
8538 "bitwidth" : 16
8539 }
8540 ],
8541 "primitives" : [
8542 {
8543 "op" : "add_header",
8544 "parameters" : [
8545 {
8546 "type" : "header",
8547 "value" : "report_ethernet"
8548 }
8549 ],
8550 "source_info" : {
8551 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008552 "line" : 55,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008553 "column" : 8,
8554 "source_fragment" : "hdr.report_ethernet.setValid()"
8555 }
8556 },
8557 {
8558 "op" : "assign",
8559 "parameters" : [
8560 {
8561 "type" : "field",
8562 "value" : ["report_ethernet", "dst_addr"]
8563 },
8564 {
8565 "type" : "runtime_data",
8566 "value" : 1
8567 }
8568 ],
8569 "source_info" : {
8570 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008571 "line" : 56,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008572 "column" : 8,
8573 "source_fragment" : "hdr.report_ethernet.dst_addr = mon_mac"
8574 }
8575 },
8576 {
8577 "op" : "assign",
8578 "parameters" : [
8579 {
8580 "type" : "field",
8581 "value" : ["report_ethernet", "src_addr"]
8582 },
8583 {
8584 "type" : "runtime_data",
8585 "value" : 0
8586 }
8587 ],
8588 "source_info" : {
8589 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008590 "line" : 57,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008591 "column" : 8,
8592 "source_fragment" : "hdr.report_ethernet.src_addr = src_mac"
8593 }
8594 },
8595 {
8596 "op" : "assign",
8597 "parameters" : [
8598 {
8599 "type" : "field",
8600 "value" : ["report_ethernet", "ether_type"]
8601 },
8602 {
8603 "type" : "hexstr",
8604 "value" : "0x0800"
8605 }
8606 ],
8607 "source_info" : {
8608 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008609 "line" : 58,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008610 "column" : 8,
8611 "source_fragment" : "hdr.report_ethernet.ether_type = 0x0800"
8612 }
8613 },
8614 {
8615 "op" : "add_header",
8616 "parameters" : [
8617 {
8618 "type" : "header",
8619 "value" : "report_ipv4"
8620 }
8621 ],
8622 "source_info" : {
8623 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008624 "line" : 61,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008625 "column" : 8,
8626 "source_fragment" : "hdr.report_ipv4.setValid()"
8627 }
8628 },
8629 {
8630 "op" : "assign",
8631 "parameters" : [
8632 {
8633 "type" : "field",
8634 "value" : ["report_ipv4", "version"]
8635 },
8636 {
8637 "type" : "hexstr",
8638 "value" : "0x04"
8639 }
8640 ],
8641 "source_info" : {
8642 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008643 "line" : 62,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008644 "column" : 8,
8645 "source_fragment" : "hdr.report_ipv4.version = 4w4"
8646 }
8647 },
8648 {
8649 "op" : "assign",
8650 "parameters" : [
8651 {
8652 "type" : "field",
8653 "value" : ["report_ipv4", "ihl"]
8654 },
8655 {
8656 "type" : "hexstr",
8657 "value" : "0x05"
8658 }
8659 ],
8660 "source_info" : {
8661 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008662 "line" : 63,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008663 "column" : 8,
8664 "source_fragment" : "hdr.report_ipv4.ihl = 4w5"
8665 }
8666 },
8667 {
8668 "op" : "assign",
8669 "parameters" : [
8670 {
8671 "type" : "field",
8672 "value" : ["report_ipv4", "dscp"]
8673 },
8674 {
8675 "type" : "hexstr",
8676 "value" : "0x00"
8677 }
8678 ],
8679 "source_info" : {
8680 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008681 "line" : 64,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008682 "column" : 8,
8683 "source_fragment" : "hdr.report_ipv4.dscp = 6w0"
8684 }
8685 },
8686 {
8687 "op" : "assign",
8688 "parameters" : [
8689 {
8690 "type" : "field",
8691 "value" : ["report_ipv4", "ecn"]
8692 },
8693 {
8694 "type" : "hexstr",
8695 "value" : "0x00"
8696 }
8697 ],
8698 "source_info" : {
8699 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008700 "line" : 65,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008701 "column" : 8,
8702 "source_fragment" : "hdr.report_ipv4.ecn = 2w0"
8703 }
8704 },
8705 {
8706 "op" : "assign",
8707 "parameters" : [
8708 {
8709 "type" : "field",
8710 "value" : ["report_ipv4", "len"]
8711 },
8712 {
8713 "type" : "expression",
8714 "value" : {
8715 "type" : "expression",
8716 "value" : {
8717 "op" : "&",
8718 "left" : {
8719 "type" : "expression",
8720 "value" : {
8721 "op" : "+",
8722 "left" : {
8723 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008724 "value" : "0x0056"
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008725 },
8726 "right" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008727 "type" : "expression",
8728 "value" : {
8729 "op" : "&",
8730 "left" : {
8731 "type" : "expression",
8732 "value" : {
8733 "op" : "<<",
8734 "left" : {
8735 "type" : "expression",
8736 "value" : {
8737 "op" : "&",
8738 "left" : {
8739 "type" : "field",
8740 "value" : ["intl4_shim", "len"]
8741 },
8742 "right" : {
8743 "type" : "hexstr",
8744 "value" : "0xffff"
8745 }
8746 }
8747 },
8748 "right" : {
8749 "type" : "hexstr",
8750 "value" : "0x2"
8751 }
8752 }
8753 },
8754 "right" : {
8755 "type" : "hexstr",
8756 "value" : "0xffff"
8757 }
8758 }
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008759 }
8760 }
8761 },
8762 "right" : {
8763 "type" : "hexstr",
8764 "value" : "0xffff"
8765 }
8766 }
8767 }
8768 }
8769 ],
8770 "source_info" : {
8771 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008772 "line" : 67,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008773 "column" : 8,
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008774 "source_fragment" : "hdr.report_ipv4.len = (bit<16>) IPV4_MIN_HEAD_LEN + (bit<16>) UDP_HEADER_LEN + (bit<16>) REPORT_FIXED_HEADER_LEN + ..."
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008775 }
8776 },
8777 {
8778 "op" : "assign",
8779 "parameters" : [
8780 {
8781 "type" : "field",
8782 "value" : ["report_ipv4", "identification"]
8783 },
8784 {
8785 "type" : "hexstr",
8786 "value" : "0x0000"
8787 }
8788 ],
8789 "source_info" : {
8790 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008791 "line" : 70,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008792 "column" : 8,
8793 "source_fragment" : "hdr.report_ipv4.identification = 0"
8794 }
8795 },
8796 {
8797 "op" : "assign",
8798 "parameters" : [
8799 {
8800 "type" : "field",
8801 "value" : ["report_ipv4", "flags"]
8802 },
8803 {
8804 "type" : "hexstr",
8805 "value" : "0x00"
8806 }
8807 ],
8808 "source_info" : {
8809 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008810 "line" : 71,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008811 "column" : 8,
8812 "source_fragment" : "hdr.report_ipv4.flags = 0"
8813 }
8814 },
8815 {
8816 "op" : "assign",
8817 "parameters" : [
8818 {
8819 "type" : "field",
8820 "value" : ["report_ipv4", "frag_offset"]
8821 },
8822 {
8823 "type" : "hexstr",
8824 "value" : "0x0000"
8825 }
8826 ],
8827 "source_info" : {
8828 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008829 "line" : 72,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008830 "column" : 8,
8831 "source_fragment" : "hdr.report_ipv4.frag_offset = 0"
8832 }
8833 },
8834 {
8835 "op" : "assign",
8836 "parameters" : [
8837 {
8838 "type" : "field",
8839 "value" : ["report_ipv4", "ttl"]
8840 },
8841 {
8842 "type" : "hexstr",
8843 "value" : "0x40"
8844 }
8845 ],
8846 "source_info" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008847 "filename" : "include/int_definitions.p4",
8848 "line" : 37,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008849 "column" : 30,
8850 "source_fragment" : "64; ..."
8851 }
8852 },
8853 {
8854 "op" : "assign",
8855 "parameters" : [
8856 {
8857 "type" : "field",
8858 "value" : ["report_ipv4", "protocol"]
8859 },
8860 {
8861 "type" : "hexstr",
8862 "value" : "0x11"
8863 }
8864 ],
8865 "source_info" : {
8866 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008867 "line" : 74,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008868 "column" : 8,
8869 "source_fragment" : "hdr.report_ipv4.protocol = 8w17"
8870 }
8871 },
8872 {
8873 "op" : "assign",
8874 "parameters" : [
8875 {
8876 "type" : "field",
8877 "value" : ["report_ipv4", "src_addr"]
8878 },
8879 {
8880 "type" : "runtime_data",
8881 "value" : 2
8882 }
8883 ],
8884 "source_info" : {
8885 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008886 "line" : 75,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008887 "column" : 8,
8888 "source_fragment" : "hdr.report_ipv4.src_addr = src_ip"
8889 }
8890 },
8891 {
8892 "op" : "assign",
8893 "parameters" : [
8894 {
8895 "type" : "field",
8896 "value" : ["report_ipv4", "dst_addr"]
8897 },
8898 {
8899 "type" : "runtime_data",
8900 "value" : 3
8901 }
8902 ],
8903 "source_info" : {
8904 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008905 "line" : 76,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008906 "column" : 8,
8907 "source_fragment" : "hdr.report_ipv4.dst_addr = mon_ip"
8908 }
8909 },
8910 {
8911 "op" : "add_header",
8912 "parameters" : [
8913 {
8914 "type" : "header",
8915 "value" : "report_udp"
8916 }
8917 ],
8918 "source_info" : {
8919 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008920 "line" : 79,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008921 "column" : 8,
8922 "source_fragment" : "hdr.report_udp.setValid()"
8923 }
8924 },
8925 {
8926 "op" : "assign",
8927 "parameters" : [
8928 {
8929 "type" : "field",
8930 "value" : ["report_udp", "src_port"]
8931 },
8932 {
8933 "type" : "hexstr",
8934 "value" : "0x0000"
8935 }
8936 ],
8937 "source_info" : {
8938 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008939 "line" : 80,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008940 "column" : 8,
8941 "source_fragment" : "hdr.report_udp.src_port = 0"
8942 }
8943 },
8944 {
8945 "op" : "assign",
8946 "parameters" : [
8947 {
8948 "type" : "field",
8949 "value" : ["report_udp", "dst_port"]
8950 },
8951 {
8952 "type" : "runtime_data",
8953 "value" : 4
8954 }
8955 ],
8956 "source_info" : {
8957 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008958 "line" : 81,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008959 "column" : 8,
8960 "source_fragment" : "hdr.report_udp.dst_port = mon_port"
8961 }
8962 },
8963 {
8964 "op" : "assign",
8965 "parameters" : [
8966 {
8967 "type" : "field",
8968 "value" : ["report_udp", "length_"]
8969 },
8970 {
8971 "type" : "expression",
8972 "value" : {
8973 "type" : "expression",
8974 "value" : {
8975 "op" : "&",
8976 "left" : {
8977 "type" : "expression",
8978 "value" : {
8979 "op" : "+",
8980 "left" : {
8981 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008982 "value" : "0x0042"
Jonghwan Hyun6777d532018-11-18 20:50:16 +09008983 },
8984 "right" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09008985 "type" : "expression",
8986 "value" : {
8987 "op" : "&",
8988 "left" : {
8989 "type" : "expression",
8990 "value" : {
8991 "op" : "<<",
8992 "left" : {
8993 "type" : "expression",
8994 "value" : {
8995 "op" : "&",
8996 "left" : {
8997 "type" : "field",
8998 "value" : ["intl4_shim", "len"]
8999 },
9000 "right" : {
9001 "type" : "hexstr",
9002 "value" : "0xffff"
9003 }
9004 }
9005 },
9006 "right" : {
9007 "type" : "hexstr",
9008 "value" : "0x2"
9009 }
9010 }
9011 },
9012 "right" : {
9013 "type" : "hexstr",
9014 "value" : "0xffff"
9015 }
9016 }
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009017 }
9018 }
9019 },
9020 "right" : {
9021 "type" : "hexstr",
9022 "value" : "0xffff"
9023 }
9024 }
9025 }
9026 }
9027 ],
9028 "source_info" : {
9029 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009030 "line" : 82,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009031 "column" : 8,
9032 "source_fragment" : "hdr.report_udp.length_ = (bit<16>) UDP_HEADER_LEN + (bit<16>) REPORT_FIXED_HEADER_LEN + ..."
9033 }
9034 },
9035 {
9036 "op" : "assign",
9037 "parameters" : [
9038 {
9039 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08009040 "value" : ["scalars", "local_metadata_t._compute_checksum11"]
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009041 },
9042 {
9043 "type" : "expression",
9044 "value" : {
9045 "type" : "expression",
9046 "value" : {
9047 "op" : "b2d",
9048 "left" : null,
9049 "right" : {
9050 "type" : "bool",
9051 "value" : true
9052 }
9053 }
9054 }
9055 }
9056 ],
9057 "source_info" : {
9058 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009059 "line" : 86,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08009060 "column" : 40,
9061 "source_fragment" : "= true; ..."
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009062 }
9063 },
9064 {
9065 "op" : "add_header",
9066 "parameters" : [
9067 {
9068 "type" : "header",
9069 "value" : "report_fixed_header"
9070 }
9071 ],
9072 "source_info" : {
9073 "filename" : "include/int_report.p4",
9074 "line" : 32,
9075 "column" : 8,
9076 "source_fragment" : "hdr.report_fixed_header.setValid()"
9077 }
9078 },
9079 {
9080 "op" : "assign",
9081 "parameters" : [
9082 {
9083 "type" : "field",
9084 "value" : ["report_fixed_header", "ver"]
9085 },
9086 {
9087 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009088 "value" : "0x01"
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009089 }
9090 ],
9091 "source_info" : {
9092 "filename" : "include/int_report.p4",
9093 "line" : 33,
9094 "column" : 8,
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009095 "source_fragment" : "hdr.report_fixed_header.ver = 1"
9096 }
9097 },
9098 {
9099 "op" : "assign",
9100 "parameters" : [
9101 {
9102 "type" : "field",
9103 "value" : ["report_fixed_header", "len"]
9104 },
9105 {
9106 "type" : "hexstr",
9107 "value" : "0x04"
9108 }
9109 ],
9110 "source_info" : {
9111 "filename" : "include/int_report.p4",
9112 "line" : 34,
9113 "column" : 8,
9114 "source_fragment" : "hdr.report_fixed_header.len = 4"
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009115 }
9116 },
9117 {
9118 "op" : "assign",
9119 "parameters" : [
9120 {
9121 "type" : "field",
9122 "value" : ["report_fixed_header", "nproto"]
9123 },
9124 {
9125 "type" : "hexstr",
9126 "value" : "0x00"
9127 }
9128 ],
9129 "source_info" : {
9130 "filename" : "include/telemetry_report_headers.p4",
9131 "line" : 21,
9132 "column" : 31,
9133 "source_fragment" : "0; ..."
9134 }
9135 },
9136 {
9137 "op" : "assign",
9138 "parameters" : [
9139 {
9140 "type" : "field",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009141 "value" : ["report_fixed_header", "rep_md_bits"]
9142 },
9143 {
9144 "type" : "hexstr",
9145 "value" : "0x00"
9146 }
9147 ],
9148 "source_info" : {
9149 "filename" : "include/int_report.p4",
9150 "line" : 37,
9151 "column" : 8,
9152 "source_fragment" : "hdr.report_fixed_header.rep_md_bits = 0"
9153 }
9154 },
9155 {
9156 "op" : "assign",
9157 "parameters" : [
9158 {
9159 "type" : "field",
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009160 "value" : ["report_fixed_header", "d"]
9161 },
9162 {
9163 "type" : "hexstr",
9164 "value" : "0x00"
9165 }
9166 ],
9167 "source_info" : {
9168 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009169 "line" : 38,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009170 "column" : 8,
9171 "source_fragment" : "hdr.report_fixed_header.d = 0"
9172 }
9173 },
9174 {
9175 "op" : "assign",
9176 "parameters" : [
9177 {
9178 "type" : "field",
9179 "value" : ["report_fixed_header", "q"]
9180 },
9181 {
9182 "type" : "hexstr",
9183 "value" : "0x00"
9184 }
9185 ],
9186 "source_info" : {
9187 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009188 "line" : 39,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009189 "column" : 8,
9190 "source_fragment" : "hdr.report_fixed_header.q = 0"
9191 }
9192 },
9193 {
9194 "op" : "assign",
9195 "parameters" : [
9196 {
9197 "type" : "field",
9198 "value" : ["report_fixed_header", "f"]
9199 },
9200 {
9201 "type" : "hexstr",
9202 "value" : "0x01"
9203 }
9204 ],
9205 "source_info" : {
9206 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009207 "line" : 40,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009208 "column" : 8,
9209 "source_fragment" : "hdr.report_fixed_header.f = 1"
9210 }
9211 },
9212 {
9213 "op" : "assign",
9214 "parameters" : [
9215 {
9216 "type" : "field",
9217 "value" : ["report_fixed_header", "rsvd"]
9218 },
9219 {
9220 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009221 "value" : "0x00"
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009222 }
9223 ],
9224 "source_info" : {
9225 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009226 "line" : 41,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009227 "column" : 8,
9228 "source_fragment" : "hdr.report_fixed_header.rsvd = 0"
9229 }
9230 },
9231 {
9232 "op" : "assign",
9233 "parameters" : [
9234 {
9235 "type" : "field",
9236 "value" : ["report_fixed_header", "hw_id"]
9237 },
9238 {
9239 "type" : "hexstr",
9240 "value" : "0x01"
9241 }
9242 ],
9243 "source_info" : {
9244 "filename" : "include/int_definitions.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009245 "line" : 36,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009246 "column" : 21,
9247 "source_fragment" : "1; ..."
9248 }
9249 },
9250 {
9251 "op" : "assign",
9252 "parameters" : [
9253 {
9254 "type" : "field",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009255 "value" : ["report_fixed_header", "sw_id"]
9256 },
9257 {
9258 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08009259 "value" : ["scalars", "local_metadata_t._int_meta_switch_id4"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009260 }
9261 ],
9262 "source_info" : {
9263 "filename" : "include/int_report.p4",
9264 "line" : 44,
9265 "column" : 8,
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08009266 "source_fragment" : "hdr.report_fixed_header.sw_id = local_metadata.int_meta.switch_id; ..."
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009267 }
9268 },
9269 {
9270 "op" : "assign",
9271 "parameters" : [
9272 {
9273 "type" : "field",
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009274 "value" : ["report_fixed_header", "seq_no"]
9275 },
9276 {
9277 "type" : "hexstr",
9278 "value" : "0x00000000"
9279 }
9280 ],
9281 "source_info" : {
9282 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009283 "line" : 46,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009284 "column" : 8,
9285 "source_fragment" : "hdr.report_fixed_header.seq_no = 0"
9286 }
9287 },
9288 {
9289 "op" : "assign",
9290 "parameters" : [
9291 {
9292 "type" : "field",
9293 "value" : ["report_fixed_header", "ingress_tstamp"]
9294 },
9295 {
9296 "type" : "field",
9297 "value" : ["standard_metadata", "enq_timestamp"]
9298 }
9299 ],
9300 "source_info" : {
9301 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009302 "line" : 48,
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009303 "column" : 8,
9304 "source_fragment" : "hdr.report_fixed_header.ingress_tstamp = (bit<32>) standard_metadata.enq_timestamp"
9305 }
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009306 },
9307 {
9308 "op" : "assign",
9309 "parameters" : [
9310 {
9311 "type" : "field",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009312 "value" : ["scalars", "tmp_1"]
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009313 },
9314 {
9315 "type" : "expression",
9316 "value" : {
9317 "type" : "expression",
9318 "value" : {
9319 "op" : "&",
9320 "left" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009321 "type" : "expression",
9322 "value" : {
9323 "op" : "+",
9324 "left" : {
9325 "type" : "expression",
9326 "value" : {
9327 "op" : "&",
9328 "left" : {
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08009329 "type" : "expression",
9330 "value" : {
9331 "op" : "&",
9332 "left" : {
9333 "type" : "expression",
9334 "value" : {
9335 "op" : "+",
9336 "left" : {
9337 "type" : "hexstr",
9338 "value" : "0x0056"
9339 },
9340 "right" : {
9341 "type" : "expression",
9342 "value" : {
9343 "op" : "&",
9344 "left" : {
9345 "type" : "expression",
9346 "value" : {
9347 "op" : "<<",
9348 "left" : {
9349 "type" : "expression",
9350 "value" : {
9351 "op" : "&",
9352 "left" : {
9353 "type" : "field",
9354 "value" : ["intl4_shim", "len"]
9355 },
9356 "right" : {
9357 "type" : "hexstr",
9358 "value" : "0xffff"
9359 }
9360 }
9361 },
9362 "right" : {
9363 "type" : "hexstr",
9364 "value" : "0x2"
9365 }
9366 }
9367 },
9368 "right" : {
9369 "type" : "hexstr",
9370 "value" : "0xffff"
9371 }
9372 }
9373 }
9374 }
9375 },
9376 "right" : {
9377 "type" : "hexstr",
9378 "value" : "0xffff"
9379 }
9380 }
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009381 },
9382 "right" : {
9383 "type" : "hexstr",
9384 "value" : "0xffffffff"
9385 }
9386 }
9387 },
9388 "right" : {
9389 "type" : "hexstr",
9390 "value" : "0x0000000e"
9391 }
9392 }
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009393 },
9394 "right" : {
9395 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009396 "value" : "0xffffffff"
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009397 }
9398 }
9399 }
9400 }
9401 ],
9402 "source_info" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009403 "filename" : "include/int_report.p4",
9404 "line" : 89,
9405 "column" : 17,
9406 "source_fragment" : "(bit<32>)hdr.report_ipv4.len + (bit<32>) ETH_HEADER_LEN"
9407 }
9408 },
9409 {
9410 "op" : "truncate",
9411 "parameters" : [
9412 {
9413 "type" : "field",
9414 "value" : ["scalars", "tmp_1"]
9415 }
9416 ],
9417 "source_info" : {
9418 "filename" : "include/int_report.p4",
9419 "line" : 89,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009420 "column" : 8,
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009421 "source_fragment" : "truncate((bit<32>)hdr.report_ipv4.len + (bit<32>) ETH_HEADER_LEN)"
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009422 }
9423 }
9424 ]
9425 },
9426 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009427 "name" : "egress.process_int_sink.restore_header",
9428 "id" : 51,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009429 "runtime_data" : [],
9430 "primitives" : [
9431 {
9432 "op" : "assign",
9433 "parameters" : [
9434 {
9435 "type" : "field",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009436 "value" : ["ipv4", "dscp"]
9437 },
9438 {
9439 "type" : "field",
9440 "value" : ["intl4_shim", "dscp"]
9441 }
9442 ],
9443 "source_info" : {
9444 "filename" : "include/int_sink.p4",
9445 "line" : 27,
9446 "column" : 8,
9447 "source_fragment" : "hdr.ipv4.dscp = hdr.intl4_shim.dscp"
9448 }
9449 },
9450 {
9451 "op" : "assign",
9452 "parameters" : [
9453 {
9454 "type" : "field",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009455 "value" : ["ipv4", "len"]
9456 },
9457 {
9458 "type" : "expression",
9459 "value" : {
9460 "type" : "expression",
9461 "value" : {
9462 "op" : "&",
9463 "left" : {
9464 "type" : "expression",
9465 "value" : {
9466 "op" : "-",
9467 "left" : {
9468 "type" : "field",
9469 "value" : ["ipv4", "len"]
9470 },
9471 "right" : {
9472 "type" : "expression",
9473 "value" : {
9474 "op" : "&",
9475 "left" : {
9476 "type" : "expression",
9477 "value" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009478 "op" : "<<",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009479 "left" : {
9480 "type" : "expression",
9481 "value" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009482 "op" : "&",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009483 "left" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009484 "type" : "field",
9485 "value" : ["intl4_shim", "len"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009486 },
9487 "right" : {
9488 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009489 "value" : "0xffff"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009490 }
9491 }
9492 },
9493 "right" : {
9494 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009495 "value" : "0x2"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009496 }
9497 }
9498 },
9499 "right" : {
9500 "type" : "hexstr",
9501 "value" : "0xffff"
9502 }
9503 }
9504 }
9505 }
9506 },
9507 "right" : {
9508 "type" : "hexstr",
9509 "value" : "0xffff"
9510 }
9511 }
9512 }
9513 }
9514 ],
9515 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07009516 "filename" : "include/int_sink.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009517 "line" : 30,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009518 "column" : 8,
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009519 "source_fragment" : "hdr.ipv4.len = hdr.ipv4.len - len_bytes"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009520 }
9521 },
9522 {
9523 "op" : "assign",
9524 "parameters" : [
9525 {
9526 "type" : "field",
9527 "value" : ["udp", "length_"]
9528 },
9529 {
9530 "type" : "expression",
9531 "value" : {
9532 "type" : "expression",
9533 "value" : {
9534 "op" : "&",
9535 "left" : {
9536 "type" : "expression",
9537 "value" : {
9538 "op" : "-",
9539 "left" : {
9540 "type" : "field",
9541 "value" : ["udp", "length_"]
9542 },
9543 "right" : {
9544 "type" : "expression",
9545 "value" : {
9546 "op" : "&",
9547 "left" : {
9548 "type" : "expression",
9549 "value" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009550 "op" : "<<",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009551 "left" : {
9552 "type" : "expression",
9553 "value" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009554 "op" : "&",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009555 "left" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009556 "type" : "field",
9557 "value" : ["intl4_shim", "len"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009558 },
9559 "right" : {
9560 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009561 "value" : "0xffff"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009562 }
9563 }
9564 },
9565 "right" : {
9566 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009567 "value" : "0x2"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009568 }
9569 }
9570 },
9571 "right" : {
9572 "type" : "hexstr",
9573 "value" : "0xffff"
9574 }
9575 }
9576 }
9577 }
9578 },
9579 "right" : {
9580 "type" : "hexstr",
9581 "value" : "0xffff"
9582 }
9583 }
9584 }
9585 }
9586 ],
9587 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07009588 "filename" : "include/int_sink.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009589 "line" : 31,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009590 "column" : 8,
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009591 "source_fragment" : "hdr.udp.length_ = hdr.udp.length_ - len_bytes"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009592 }
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009593 }
9594 ]
9595 },
9596 {
9597 "name" : "egress.process_int_sink.int_sink",
9598 "id" : 52,
9599 "runtime_data" : [],
9600 "primitives" : [
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009601 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009602 "op" : "remove_header",
9603 "parameters" : [
9604 {
9605 "type" : "header",
9606 "value" : "int_header"
9607 }
9608 ],
9609 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07009610 "filename" : "include/int_sink.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009611 "line" : 37,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009612 "column" : 8,
9613 "source_fragment" : "hdr.int_header.setInvalid()"
9614 }
9615 },
9616 {
9617 "op" : "remove_header",
9618 "parameters" : [
9619 {
9620 "type" : "header",
9621 "value" : "int_data"
9622 }
9623 ],
9624 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07009625 "filename" : "include/int_sink.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009626 "line" : 38,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009627 "column" : 8,
9628 "source_fragment" : "hdr.int_data.setInvalid()"
9629 }
9630 },
9631 {
9632 "op" : "remove_header",
9633 "parameters" : [
9634 {
9635 "type" : "header",
9636 "value" : "intl4_shim"
9637 }
9638 ],
9639 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07009640 "filename" : "include/int_sink.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009641 "line" : 39,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009642 "column" : 8,
9643 "source_fragment" : "hdr.intl4_shim.setInvalid()"
9644 }
9645 },
9646 {
9647 "op" : "remove_header",
9648 "parameters" : [
9649 {
9650 "type" : "header",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009651 "value" : "int_switch_id"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009652 }
9653 ],
9654 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07009655 "filename" : "include/int_sink.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009656 "line" : 40,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009657 "column" : 8,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009658 "source_fragment" : "hdr.int_switch_id.setInvalid()"
9659 }
9660 },
9661 {
9662 "op" : "remove_header",
9663 "parameters" : [
9664 {
9665 "type" : "header",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009666 "value" : "int_level1_port_ids"
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009667 }
9668 ],
9669 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07009670 "filename" : "include/int_sink.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009671 "line" : 41,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009672 "column" : 8,
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009673 "source_fragment" : "hdr.int_level1_port_ids.setInvalid()"
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009674 }
9675 },
9676 {
9677 "op" : "remove_header",
9678 "parameters" : [
9679 {
9680 "type" : "header",
9681 "value" : "int_hop_latency"
9682 }
9683 ],
9684 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07009685 "filename" : "include/int_sink.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009686 "line" : 42,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009687 "column" : 8,
9688 "source_fragment" : "hdr.int_hop_latency.setInvalid()"
9689 }
9690 },
9691 {
9692 "op" : "remove_header",
9693 "parameters" : [
9694 {
9695 "type" : "header",
9696 "value" : "int_q_occupancy"
9697 }
9698 ],
9699 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07009700 "filename" : "include/int_sink.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009701 "line" : 43,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009702 "column" : 8,
9703 "source_fragment" : "hdr.int_q_occupancy.setInvalid()"
9704 }
9705 },
9706 {
9707 "op" : "remove_header",
9708 "parameters" : [
9709 {
9710 "type" : "header",
9711 "value" : "int_ingress_tstamp"
9712 }
9713 ],
9714 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07009715 "filename" : "include/int_sink.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009716 "line" : 44,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009717 "column" : 8,
9718 "source_fragment" : "hdr.int_ingress_tstamp.setInvalid()"
9719 }
9720 },
9721 {
9722 "op" : "remove_header",
9723 "parameters" : [
9724 {
9725 "type" : "header",
9726 "value" : "int_egress_tstamp"
9727 }
9728 ],
9729 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07009730 "filename" : "include/int_sink.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009731 "line" : 45,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009732 "column" : 8,
9733 "source_fragment" : "hdr.int_egress_tstamp.setInvalid()"
9734 }
9735 },
9736 {
9737 "op" : "remove_header",
9738 "parameters" : [
9739 {
9740 "type" : "header",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009741 "value" : "int_level2_port_ids"
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009742 }
9743 ],
9744 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07009745 "filename" : "include/int_sink.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009746 "line" : 46,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009747 "column" : 8,
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009748 "source_fragment" : "hdr.int_level2_port_ids.setInvalid()"
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009749 }
9750 },
9751 {
9752 "op" : "remove_header",
9753 "parameters" : [
9754 {
9755 "type" : "header",
9756 "value" : "int_egress_tx_util"
9757 }
9758 ],
9759 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07009760 "filename" : "include/int_sink.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009761 "line" : 47,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08009762 "column" : 8,
9763 "source_fragment" : "hdr.int_egress_tx_util.setInvalid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009764 }
9765 }
9766 ]
9767 },
9768 {
Jonghwan Hyun6777d532018-11-18 20:50:16 +09009769 "name" : "act_2",
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009770 "id" : 53,
9771 "runtime_data" : [],
9772 "primitives" : [
9773 {
9774 "op" : "assign",
9775 "parameters" : [
9776 {
9777 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08009778 "value" : ["scalars", "process_int_transit_hasReturned"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009779 },
9780 {
9781 "type" : "expression",
9782 "value" : {
9783 "type" : "expression",
9784 "value" : {
9785 "op" : "b2d",
9786 "left" : null,
9787 "right" : {
9788 "type" : "bool",
9789 "value" : false
9790 }
9791 }
9792 }
9793 }
9794 ]
9795 }
9796 ]
9797 },
9798 {
9799 "name" : "act_3",
9800 "id" : 54,
9801 "runtime_data" : [],
9802 "primitives" : [
9803 {
9804 "op" : "assign",
9805 "parameters" : [
9806 {
9807 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08009808 "value" : ["scalars", "process_int_transit_hasReturned"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009809 },
9810 {
9811 "type" : "expression",
9812 "value" : {
9813 "type" : "expression",
9814 "value" : {
9815 "op" : "b2d",
9816 "left" : null,
9817 "right" : {
9818 "type" : "bool",
9819 "value" : true
9820 }
9821 }
9822 }
9823 }
9824 ],
9825 "source_info" : {
9826 "filename" : "include/int_transit.p4",
9827 "line" : 416,
9828 "column" : 12,
9829 "source_fragment" : "return"
9830 }
9831 }
9832 ]
9833 },
9834 {
9835 "name" : "act_4",
9836 "id" : 55,
9837 "runtime_data" : [],
9838 "primitives" : [
9839 {
9840 "op" : "assign",
9841 "parameters" : [
9842 {
9843 "type" : "field",
9844 "value" : ["ipv4", "len"]
9845 },
9846 {
9847 "type" : "expression",
9848 "value" : {
9849 "type" : "expression",
9850 "value" : {
9851 "op" : "&",
9852 "left" : {
9853 "type" : "expression",
9854 "value" : {
9855 "op" : "+",
9856 "left" : {
9857 "type" : "field",
9858 "value" : ["ipv4", "len"]
9859 },
9860 "right" : {
9861 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08009862 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009863 }
9864 }
9865 },
9866 "right" : {
9867 "type" : "hexstr",
9868 "value" : "0xffff"
9869 }
9870 }
9871 }
9872 }
9873 ],
9874 "source_info" : {
9875 "filename" : "include/int_transit.p4",
9876 "line" : 426,
9877 "column" : 12,
9878 "source_fragment" : "hdr.ipv4.len = hdr.ipv4.len + local_metadata.int_meta.new_bytes"
9879 }
9880 }
9881 ]
9882 },
9883 {
9884 "name" : "act_5",
9885 "id" : 56,
9886 "runtime_data" : [],
9887 "primitives" : [
9888 {
9889 "op" : "assign",
9890 "parameters" : [
9891 {
9892 "type" : "field",
9893 "value" : ["int_header", "remaining_hop_cnt"]
9894 },
9895 {
9896 "type" : "expression",
9897 "value" : {
9898 "type" : "expression",
9899 "value" : {
9900 "op" : "&",
9901 "left" : {
9902 "type" : "expression",
9903 "value" : {
9904 "op" : "+",
9905 "left" : {
9906 "type" : "field",
9907 "value" : ["int_header", "remaining_hop_cnt"]
9908 },
9909 "right" : {
9910 "type" : "hexstr",
9911 "value" : "0xff"
9912 }
9913 }
9914 },
9915 "right" : {
9916 "type" : "hexstr",
9917 "value" : "0xff"
9918 }
9919 }
9920 }
9921 }
9922 ],
9923 "source_info" : {
9924 "filename" : "include/int_transit.p4",
9925 "line" : 422,
9926 "column" : 8,
9927 "source_fragment" : "hdr.int_header.remaining_hop_cnt = hdr.int_header.remaining_hop_cnt - 1"
9928 }
9929 }
9930 ]
9931 },
9932 {
9933 "name" : "act_6",
9934 "id" : 57,
9935 "runtime_data" : [],
9936 "primitives" : [
9937 {
9938 "op" : "assign",
9939 "parameters" : [
9940 {
9941 "type" : "field",
9942 "value" : ["udp", "length_"]
9943 },
9944 {
9945 "type" : "expression",
9946 "value" : {
9947 "type" : "expression",
9948 "value" : {
9949 "op" : "&",
9950 "left" : {
9951 "type" : "expression",
9952 "value" : {
9953 "op" : "+",
9954 "left" : {
9955 "type" : "field",
9956 "value" : ["udp", "length_"]
9957 },
9958 "right" : {
9959 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -08009960 "value" : ["scalars", "local_metadata_t._int_meta_new_bytes5"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +09009961 }
9962 }
9963 },
9964 "right" : {
9965 "type" : "hexstr",
9966 "value" : "0xffff"
9967 }
9968 }
9969 }
9970 }
9971 ],
9972 "source_info" : {
9973 "filename" : "include/int_transit.p4",
9974 "line" : 429,
9975 "column" : 12,
9976 "source_fragment" : "hdr.udp.length_ = hdr.udp.length_ + local_metadata.int_meta.new_bytes"
9977 }
9978 }
9979 ]
9980 },
9981 {
9982 "name" : "act_7",
9983 "id" : 58,
9984 "runtime_data" : [],
9985 "primitives" : [
9986 {
9987 "op" : "assign",
9988 "parameters" : [
9989 {
9990 "type" : "field",
9991 "value" : ["intl4_shim", "len"]
9992 },
9993 {
9994 "type" : "expression",
9995 "value" : {
9996 "type" : "expression",
9997 "value" : {
9998 "op" : "&",
9999 "left" : {
10000 "type" : "expression",
10001 "value" : {
10002 "op" : "+",
10003 "left" : {
10004 "type" : "field",
10005 "value" : ["intl4_shim", "len"]
10006 },
10007 "right" : {
10008 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -080010009 "value" : ["scalars", "local_metadata_t._int_meta_new_words6"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010010 }
10011 }
10012 },
10013 "right" : {
10014 "type" : "hexstr",
10015 "value" : "0xff"
10016 }
10017 }
10018 }
10019 }
10020 ],
10021 "source_info" : {
10022 "filename" : "include/int_transit.p4",
10023 "line" : 432,
10024 "column" : 12,
10025 "source_fragment" : "hdr.intl4_shim.len = hdr.intl4_shim.len + local_metadata.int_meta.new_words"
10026 }
10027 }
10028 ]
10029 },
10030 {
10031 "name" : "act_8",
10032 "id" : 59,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010033 "runtime_data" : [],
10034 "primitives" : [
10035 {
10036 "op" : "add_header",
10037 "parameters" : [
10038 {
10039 "type" : "header",
10040 "value" : "packet_in"
10041 }
10042 ],
10043 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010044 "filename" : "include/packet_io.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010045 "line" : 38,
10046 "column" : 12,
10047 "source_fragment" : "hdr.packet_in.setValid()"
10048 }
10049 },
10050 {
10051 "op" : "assign",
10052 "parameters" : [
10053 {
10054 "type" : "field",
10055 "value" : ["packet_in", "ingress_port"]
10056 },
10057 {
10058 "type" : "field",
10059 "value" : ["standard_metadata", "ingress_port"]
10060 }
10061 ],
10062 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010063 "filename" : "include/packet_io.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010064 "line" : 39,
10065 "column" : 12,
10066 "source_fragment" : "hdr.packet_in.ingress_port = standard_metadata.ingress_port"
10067 }
10068 }
10069 ]
10070 },
10071 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010072 "name" : "act_9",
10073 "id" : 60,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010074 "runtime_data" : [],
10075 "primitives" : [
10076 {
10077 "op" : "assign",
10078 "parameters" : [
10079 {
10080 "type" : "field",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010081 "value" : ["scalars", "tmp_2"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010082 },
10083 {
10084 "type" : "expression",
10085 "value" : {
10086 "type" : "expression",
10087 "value" : {
10088 "op" : "&",
10089 "left" : {
10090 "type" : "field",
10091 "value" : ["standard_metadata", "egress_port"]
10092 },
10093 "right" : {
10094 "type" : "hexstr",
10095 "value" : "0xffffffff"
10096 }
10097 }
10098 }
10099 }
Carmelo Cascone6af4e172018-06-15 16:01:30 +020010100 ],
10101 "source_info" : {
10102 "filename" : "include/port_counters.p4",
10103 "line" : 39,
10104 "column" : 34,
10105 "source_fragment" : "(bit<32>) standard_metadata.egress_port"
10106 }
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010107 },
10108 {
10109 "op" : "count",
10110 "parameters" : [
10111 {
10112 "type" : "counter_array",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010113 "value" : "egress.port_counters_egress.egress_port_counter"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010114 },
10115 {
10116 "type" : "field",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010117 "value" : ["scalars", "tmp_2"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010118 }
10119 ],
10120 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010121 "filename" : "include/port_counters.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010122 "line" : 39,
10123 "column" : 8,
10124 "source_fragment" : "egress_port_counter.count((bit<32>) standard_metadata.egress_port)"
10125 }
10126 }
10127 ]
10128 }
10129 ],
10130 "pipelines" : [
10131 {
10132 "name" : "ingress",
10133 "id" : 0,
10134 "source_info" : {
10135 "filename" : "int.p4",
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010136 "line" : 37,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010137 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010138 "source_fragment" : "ingress"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010139 },
10140 "init_table" : "tbl_act",
10141 "tables" : [
10142 {
10143 "name" : "tbl_act",
10144 "id" : 0,
10145 "key" : [],
10146 "match_type" : "exact",
10147 "type" : "simple",
10148 "max_size" : 1024,
10149 "with_counters" : false,
10150 "support_timeout" : false,
10151 "direct_meters" : null,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010152 "action_ids" : [11],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010153 "actions" : ["act_0"],
10154 "base_default_next" : "node_3",
10155 "next_tables" : {
10156 "act_0" : "node_3"
10157 },
10158 "default_entry" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010159 "action_id" : 11,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010160 "action_const" : true,
10161 "action_data" : [],
10162 "action_entry_const" : true
10163 }
10164 },
10165 {
10166 "name" : "tbl_act_0",
10167 "id" : 1,
10168 "key" : [],
10169 "match_type" : "exact",
10170 "type" : "simple",
10171 "max_size" : 1024,
10172 "with_counters" : false,
10173 "support_timeout" : false,
10174 "direct_meters" : null,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010175 "action_ids" : [10],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010176 "actions" : ["act"],
10177 "base_default_next" : null,
10178 "next_tables" : {
10179 "act" : null
10180 },
10181 "default_entry" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010182 "action_id" : 10,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010183 "action_const" : true,
10184 "action_data" : [],
10185 "action_entry_const" : true
10186 }
10187 },
10188 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010189 "name" : "ingress.table0_control.table0",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010190 "id" : 2,
10191 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010192 "filename" : "include/table0.p4",
Keesjan Karsten23368892018-05-22 10:46:01 +000010193 "line" : 41,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010194 "column" : 10,
10195 "source_fragment" : "table0"
10196 },
10197 "key" : [
10198 {
10199 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010200 "name" : "standard_metadata.ingress_port",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010201 "target" : ["standard_metadata", "ingress_port"],
10202 "mask" : null
10203 },
10204 {
10205 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010206 "name" : "hdr.ethernet.src_addr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010207 "target" : ["ethernet", "src_addr"],
10208 "mask" : null
10209 },
10210 {
10211 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010212 "name" : "hdr.ethernet.dst_addr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010213 "target" : ["ethernet", "dst_addr"],
10214 "mask" : null
10215 },
10216 {
10217 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010218 "name" : "hdr.ethernet.ether_type",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010219 "target" : ["ethernet", "ether_type"],
10220 "mask" : null
10221 },
10222 {
10223 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010224 "name" : "hdr.ipv4.src_addr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010225 "target" : ["ipv4", "src_addr"],
10226 "mask" : null
10227 },
10228 {
10229 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010230 "name" : "hdr.ipv4.dst_addr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010231 "target" : ["ipv4", "dst_addr"],
10232 "mask" : null
10233 },
10234 {
10235 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010236 "name" : "hdr.ipv4.protocol",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010237 "target" : ["ipv4", "protocol"],
10238 "mask" : null
10239 },
10240 {
10241 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010242 "name" : "local_metadata.l4_src_port",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -080010243 "target" : ["scalars", "local_metadata_t._l4_src_port0"],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010244 "mask" : null
10245 },
10246 {
10247 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010248 "name" : "local_metadata.l4_dst_port",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -080010249 "target" : ["scalars", "local_metadata_t._l4_dst_port1"],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010250 "mask" : null
10251 }
10252 ],
10253 "match_type" : "ternary",
10254 "type" : "simple",
10255 "max_size" : 1024,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010256 "with_counters" : true,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010257 "support_timeout" : false,
10258 "direct_meters" : null,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010259 "action_ids" : [6, 5, 4, 0],
Keesjan Karsten23368892018-05-22 10:46:01 +000010260 "actions" : ["ingress.table0_control.set_egress_port", "ingress.table0_control.send_to_cpu", "ingress.table0_control.set_next_hop_id", "_drop"],
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010261 "base_default_next" : "ingress.process_int_source_sink.tb_set_source",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010262 "next_tables" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010263 "ingress.table0_control.set_egress_port" : "ingress.process_int_source_sink.tb_set_source",
10264 "ingress.table0_control.send_to_cpu" : "ingress.process_int_source_sink.tb_set_source",
10265 "ingress.table0_control.set_next_hop_id" : "ingress.process_int_source_sink.tb_set_source",
10266 "_drop" : "ingress.process_int_source_sink.tb_set_source"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010267 },
10268 "default_entry" : {
Keesjan Karsten23368892018-05-22 10:46:01 +000010269 "action_id" : 0,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010270 "action_const" : true,
10271 "action_data" : [],
10272 "action_entry_const" : true
10273 }
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010274 },
10275 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010276 "name" : "ingress.process_int_source_sink.tb_set_source",
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010277 "id" : 3,
10278 "source_info" : {
10279 "filename" : "include/int_source.p4",
10280 "line" : 101,
10281 "column" : 10,
10282 "source_fragment" : "tb_set_source"
10283 },
10284 "key" : [
10285 {
10286 "match_type" : "exact",
10287 "name" : "standard_metadata.ingress_port",
10288 "target" : ["standard_metadata", "ingress_port"],
10289 "mask" : null
10290 }
10291 ],
10292 "match_type" : "exact",
10293 "type" : "simple",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010294 "max_size" : 511,
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010295 "with_counters" : true,
10296 "support_timeout" : false,
10297 "direct_meters" : null,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010298 "action_ids" : [7, 1],
10299 "actions" : ["ingress.process_int_source_sink.int_set_source", "nop"],
10300 "base_default_next" : "ingress.process_int_source_sink.tb_set_sink",
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010301 "next_tables" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010302 "ingress.process_int_source_sink.int_set_source" : "ingress.process_int_source_sink.tb_set_sink",
10303 "nop" : "ingress.process_int_source_sink.tb_set_sink"
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010304 },
10305 "default_entry" : {
10306 "action_id" : 1,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010307 "action_const" : true,
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010308 "action_data" : [],
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010309 "action_entry_const" : true
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010310 }
10311 },
10312 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010313 "name" : "ingress.process_int_source_sink.tb_set_sink",
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010314 "id" : 4,
10315 "source_info" : {
10316 "filename" : "include/int_source.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010317 "line" : 113,
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010318 "column" : 10,
10319 "source_fragment" : "tb_set_sink"
10320 },
10321 "key" : [
10322 {
10323 "match_type" : "exact",
10324 "name" : "standard_metadata.egress_spec",
10325 "target" : ["standard_metadata", "egress_spec"],
10326 "mask" : null
10327 }
10328 ],
10329 "match_type" : "exact",
10330 "type" : "simple",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010331 "max_size" : 511,
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010332 "with_counters" : true,
10333 "support_timeout" : false,
10334 "direct_meters" : null,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010335 "action_ids" : [8, 2],
10336 "actions" : ["ingress.process_int_source_sink.int_set_sink", "nop"],
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010337 "base_default_next" : "node_8",
10338 "next_tables" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010339 "ingress.process_int_source_sink.int_set_sink" : "node_8",
10340 "nop" : "node_8"
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010341 },
10342 "default_entry" : {
10343 "action_id" : 2,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010344 "action_const" : true,
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010345 "action_data" : [],
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010346 "action_entry_const" : true
10347 }
10348 },
10349 {
10350 "name" : "ingress.process_int_source.tb_int_source",
10351 "id" : 5,
10352 "source_info" : {
10353 "filename" : "include/int_source.p4",
10354 "line" : 63,
10355 "column" : 10,
10356 "source_fragment" : "tb_int_source"
10357 },
10358 "key" : [
10359 {
10360 "match_type" : "ternary",
10361 "name" : "hdr.ipv4.src_addr",
10362 "target" : ["ipv4", "src_addr"],
10363 "mask" : null
10364 },
10365 {
10366 "match_type" : "ternary",
10367 "name" : "hdr.ipv4.dst_addr",
10368 "target" : ["ipv4", "dst_addr"],
10369 "mask" : null
10370 },
10371 {
10372 "match_type" : "ternary",
10373 "name" : "local_metadata.l4_src_port",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -080010374 "target" : ["scalars", "local_metadata_t._l4_src_port0"],
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010375 "mask" : null
10376 },
10377 {
10378 "match_type" : "ternary",
10379 "name" : "local_metadata.l4_dst_port",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -080010380 "target" : ["scalars", "local_metadata_t._l4_dst_port1"],
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010381 "mask" : null
10382 }
10383 ],
10384 "match_type" : "ternary",
10385 "type" : "simple",
10386 "max_size" : 1024,
10387 "with_counters" : true,
10388 "support_timeout" : false,
10389 "direct_meters" : null,
10390 "action_ids" : [9, 3],
10391 "actions" : ["ingress.process_int_source.int_source_dscp", "nop"],
10392 "base_default_next" : "node_10",
10393 "next_tables" : {
10394 "ingress.process_int_source.int_source_dscp" : "node_10",
10395 "nop" : "node_10"
10396 },
10397 "default_entry" : {
10398 "action_id" : 3,
10399 "action_const" : true,
10400 "action_data" : [],
10401 "action_entry_const" : true
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010402 }
10403 },
10404 {
10405 "name" : "tbl_act_1",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010406 "id" : 6,
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010407 "key" : [],
10408 "match_type" : "exact",
10409 "type" : "simple",
10410 "max_size" : 1024,
10411 "with_counters" : false,
10412 "support_timeout" : false,
10413 "direct_meters" : null,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010414 "action_ids" : [12],
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010415 "actions" : ["act_1"],
10416 "base_default_next" : null,
10417 "next_tables" : {
10418 "act_1" : null
10419 },
10420 "default_entry" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010421 "action_id" : 12,
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010422 "action_const" : true,
10423 "action_data" : [],
10424 "action_entry_const" : true
10425 }
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010426 }
10427 ],
10428 "action_profiles" : [],
10429 "conditionals" : [
10430 {
10431 "name" : "node_3",
10432 "id" : 0,
10433 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010434 "filename" : "include/packet_io.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010435 "line" : 26,
10436 "column" : 12,
10437 "source_fragment" : "standard_metadata.ingress_port == CPU_PORT"
10438 },
10439 "expression" : {
10440 "type" : "expression",
10441 "value" : {
10442 "op" : "==",
10443 "left" : {
10444 "type" : "field",
10445 "value" : ["standard_metadata", "ingress_port"]
10446 },
10447 "right" : {
10448 "type" : "hexstr",
10449 "value" : "0x00ff"
10450 }
10451 }
10452 },
10453 "true_next" : "tbl_act_0",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010454 "false_next" : "ingress.table0_control.table0"
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010455 },
10456 {
10457 "name" : "node_8",
10458 "id" : 1,
10459 "source_info" : {
10460 "filename" : "int.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010461 "line" : 48,
10462 "column" : 12,
10463 "source_fragment" : "local_metadata.int_meta.source == true"
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010464 },
10465 "expression" : {
10466 "type" : "expression",
10467 "value" : {
10468 "op" : "==",
10469 "left" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010470 "type" : "expression",
10471 "value" : {
10472 "op" : "d2b",
10473 "left" : null,
10474 "right" : {
10475 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -080010476 "value" : ["scalars", "local_metadata_t._int_meta_source7"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010477 }
10478 }
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010479 },
10480 "right" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010481 "type" : "bool",
10482 "value" : true
10483 }
10484 }
10485 },
10486 "true_next" : "ingress.process_int_source.tb_int_source",
10487 "false_next" : "node_10"
10488 },
10489 {
10490 "name" : "node_10",
10491 "id" : 2,
10492 "source_info" : {
10493 "filename" : "int.p4",
10494 "line" : 52,
10495 "column" : 12,
10496 "source_fragment" : "local_metadata.int_meta.sink == true && hdr.int_header.isValid()"
10497 },
10498 "expression" : {
10499 "type" : "expression",
10500 "value" : {
10501 "op" : "and",
10502 "left" : {
10503 "type" : "expression",
10504 "value" : {
10505 "op" : "==",
10506 "left" : {
10507 "type" : "expression",
10508 "value" : {
10509 "op" : "d2b",
10510 "left" : null,
10511 "right" : {
10512 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -080010513 "value" : ["scalars", "local_metadata_t._int_meta_sink8"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010514 }
10515 }
10516 },
10517 "right" : {
10518 "type" : "bool",
10519 "value" : true
10520 }
10521 }
10522 },
10523 "right" : {
10524 "type" : "expression",
10525 "value" : {
10526 "op" : "d2b",
10527 "left" : null,
10528 "right" : {
10529 "type" : "field",
10530 "value" : ["int_header", "$valid$"]
10531 }
10532 }
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010533 }
10534 }
10535 },
10536 "false_next" : null,
10537 "true_next" : "tbl_act_1"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010538 }
10539 ]
10540 },
10541 {
10542 "name" : "egress",
10543 "id" : 1,
10544 "source_info" : {
10545 "filename" : "int.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010546 "line" : 62,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010547 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010548 "source_fragment" : "egress"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010549 },
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010550 "init_table" : "node_14",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010551 "tables" : [
10552 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010553 "name" : "tbl_act_2",
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010554 "id" : 7,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010555 "key" : [],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010556 "match_type" : "exact",
10557 "type" : "simple",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010558 "max_size" : 1024,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010559 "with_counters" : false,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010560 "support_timeout" : false,
10561 "direct_meters" : null,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010562 "action_ids" : [53],
10563 "actions" : ["act_2"],
10564 "base_default_next" : "egress.process_int_transit.tb_int_insert",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010565 "next_tables" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010566 "act_2" : "egress.process_int_transit.tb_int_insert"
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010567 },
10568 "default_entry" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010569 "action_id" : 53,
10570 "action_const" : true,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010571 "action_data" : [],
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010572 "action_entry_const" : true
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010573 }
10574 },
10575 {
10576 "name" : "egress.process_int_transit.tb_int_insert",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010577 "id" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010578 "source_info" : {
10579 "filename" : "include/int_transit.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010580 "line" : 311,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010581 "column" : 10,
10582 "source_fragment" : "tb_int_insert"
10583 },
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010584 "key" : [
10585 {
10586 "match_type" : "exact",
10587 "name" : "int_is_valid",
10588 "target" : ["int_header", "$valid$"],
10589 "mask" : null
10590 }
10591 ],
10592 "match_type" : "exact",
10593 "type" : "simple",
10594 "max_size" : 1,
10595 "with_counters" : false,
10596 "support_timeout" : false,
10597 "direct_meters" : null,
10598 "action_ids" : [17, 13],
10599 "actions" : ["egress.process_int_transit.init_metadata", "nop"],
10600 "base_default_next" : "node_17",
10601 "next_tables" : {
10602 "egress.process_int_transit.init_metadata" : "node_17",
10603 "nop" : "node_17"
10604 },
10605 "default_entry" : {
10606 "action_id" : 13,
10607 "action_const" : true,
10608 "action_data" : [],
10609 "action_entry_const" : true
10610 }
10611 },
10612 {
10613 "name" : "tbl_act_3",
10614 "id" : 9,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010615 "key" : [],
10616 "match_type" : "exact",
10617 "type" : "simple",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010618 "max_size" : 1024,
10619 "with_counters" : false,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010620 "support_timeout" : false,
10621 "direct_meters" : null,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010622 "action_ids" : [54],
10623 "actions" : ["act_3"],
10624 "base_default_next" : "node_19",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010625 "next_tables" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010626 "act_3" : "node_19"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010627 },
10628 "default_entry" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010629 "action_id" : 54,
10630 "action_const" : true,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010631 "action_data" : [],
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010632 "action_entry_const" : true
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010633 }
10634 },
10635 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010636 "name" : "egress.process_int_transit.tb_int_inst_0003",
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010637 "id" : 10,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010638 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010639 "filename" : "include/int_transit.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010640 "line" : 327,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010641 "column" : 10,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010642 "source_fragment" : "tb_int_inst_0003"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010643 },
10644 "key" : [
10645 {
10646 "match_type" : "exact",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010647 "name" : "hdr.int_header.instruction_mask_0003",
10648 "target" : ["int_header", "instruction_mask_0003"],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010649 "mask" : null
10650 }
10651 ],
10652 "match_type" : "exact",
10653 "type" : "simple",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010654 "max_size" : 1024,
10655 "with_counters" : false,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010656 "support_timeout" : false,
10657 "direct_meters" : null,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010658 "action_ids" : [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 15],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010659 "actions" : ["egress.process_int_transit.int_set_header_0003_i0", "egress.process_int_transit.int_set_header_0003_i1", "egress.process_int_transit.int_set_header_0003_i2", "egress.process_int_transit.int_set_header_0003_i3", "egress.process_int_transit.int_set_header_0003_i4", "egress.process_int_transit.int_set_header_0003_i5", "egress.process_int_transit.int_set_header_0003_i6", "egress.process_int_transit.int_set_header_0003_i7", "egress.process_int_transit.int_set_header_0003_i8", "egress.process_int_transit.int_set_header_0003_i9", "egress.process_int_transit.int_set_header_0003_i10", "egress.process_int_transit.int_set_header_0003_i11", "egress.process_int_transit.int_set_header_0003_i12", "egress.process_int_transit.int_set_header_0003_i13", "egress.process_int_transit.int_set_header_0003_i14", "egress.process_int_transit.int_set_header_0003_i15", "NoAction"],
10660 "base_default_next" : "egress.process_int_transit.tb_int_inst_0407",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010661 "next_tables" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010662 "egress.process_int_transit.int_set_header_0003_i0" : "egress.process_int_transit.tb_int_inst_0407",
10663 "egress.process_int_transit.int_set_header_0003_i1" : "egress.process_int_transit.tb_int_inst_0407",
10664 "egress.process_int_transit.int_set_header_0003_i2" : "egress.process_int_transit.tb_int_inst_0407",
10665 "egress.process_int_transit.int_set_header_0003_i3" : "egress.process_int_transit.tb_int_inst_0407",
10666 "egress.process_int_transit.int_set_header_0003_i4" : "egress.process_int_transit.tb_int_inst_0407",
10667 "egress.process_int_transit.int_set_header_0003_i5" : "egress.process_int_transit.tb_int_inst_0407",
10668 "egress.process_int_transit.int_set_header_0003_i6" : "egress.process_int_transit.tb_int_inst_0407",
10669 "egress.process_int_transit.int_set_header_0003_i7" : "egress.process_int_transit.tb_int_inst_0407",
10670 "egress.process_int_transit.int_set_header_0003_i8" : "egress.process_int_transit.tb_int_inst_0407",
10671 "egress.process_int_transit.int_set_header_0003_i9" : "egress.process_int_transit.tb_int_inst_0407",
10672 "egress.process_int_transit.int_set_header_0003_i10" : "egress.process_int_transit.tb_int_inst_0407",
10673 "egress.process_int_transit.int_set_header_0003_i11" : "egress.process_int_transit.tb_int_inst_0407",
10674 "egress.process_int_transit.int_set_header_0003_i12" : "egress.process_int_transit.tb_int_inst_0407",
10675 "egress.process_int_transit.int_set_header_0003_i13" : "egress.process_int_transit.tb_int_inst_0407",
10676 "egress.process_int_transit.int_set_header_0003_i14" : "egress.process_int_transit.tb_int_inst_0407",
10677 "egress.process_int_transit.int_set_header_0003_i15" : "egress.process_int_transit.tb_int_inst_0407",
10678 "NoAction" : "egress.process_int_transit.tb_int_inst_0407"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010679 },
10680 "default_entry" : {
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010681 "action_id" : 15,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010682 "action_const" : false,
10683 "action_data" : [],
10684 "action_entry_const" : false
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010685 },
10686 "entries" : [
10687 {
10688 "source_info" : {
10689 "filename" : "include/int_transit.p4",
10690 "line" : 350,
10691 "column" : 12,
10692 "source_fragment" : "(0x0) : int_set_header_0003_i0()"
10693 },
10694 "match_key" : [
10695 {
10696 "match_type" : "exact",
10697 "key" : "0x00"
10698 }
10699 ],
10700 "action_entry" : {
10701 "action_id" : 18,
10702 "action_data" : []
10703 },
10704 "priority" : 1
10705 },
10706 {
10707 "source_info" : {
10708 "filename" : "include/int_transit.p4",
10709 "line" : 351,
10710 "column" : 12,
10711 "source_fragment" : "(0x1) : int_set_header_0003_i1()"
10712 },
10713 "match_key" : [
10714 {
10715 "match_type" : "exact",
10716 "key" : "0x01"
10717 }
10718 ],
10719 "action_entry" : {
10720 "action_id" : 19,
10721 "action_data" : []
10722 },
10723 "priority" : 2
10724 },
10725 {
10726 "source_info" : {
10727 "filename" : "include/int_transit.p4",
10728 "line" : 352,
10729 "column" : 12,
10730 "source_fragment" : "(0x2) : int_set_header_0003_i2()"
10731 },
10732 "match_key" : [
10733 {
10734 "match_type" : "exact",
10735 "key" : "0x02"
10736 }
10737 ],
10738 "action_entry" : {
10739 "action_id" : 20,
10740 "action_data" : []
10741 },
10742 "priority" : 3
10743 },
10744 {
10745 "source_info" : {
10746 "filename" : "include/int_transit.p4",
10747 "line" : 353,
10748 "column" : 12,
10749 "source_fragment" : "(0x3) : int_set_header_0003_i3()"
10750 },
10751 "match_key" : [
10752 {
10753 "match_type" : "exact",
10754 "key" : "0x03"
10755 }
10756 ],
10757 "action_entry" : {
10758 "action_id" : 21,
10759 "action_data" : []
10760 },
10761 "priority" : 4
10762 },
10763 {
10764 "source_info" : {
10765 "filename" : "include/int_transit.p4",
10766 "line" : 354,
10767 "column" : 12,
10768 "source_fragment" : "(0x4) : int_set_header_0003_i4()"
10769 },
10770 "match_key" : [
10771 {
10772 "match_type" : "exact",
10773 "key" : "0x04"
10774 }
10775 ],
10776 "action_entry" : {
10777 "action_id" : 22,
10778 "action_data" : []
10779 },
10780 "priority" : 5
10781 },
10782 {
10783 "source_info" : {
10784 "filename" : "include/int_transit.p4",
10785 "line" : 355,
10786 "column" : 12,
10787 "source_fragment" : "(0x5) : int_set_header_0003_i5()"
10788 },
10789 "match_key" : [
10790 {
10791 "match_type" : "exact",
10792 "key" : "0x05"
10793 }
10794 ],
10795 "action_entry" : {
10796 "action_id" : 23,
10797 "action_data" : []
10798 },
10799 "priority" : 6
10800 },
10801 {
10802 "source_info" : {
10803 "filename" : "include/int_transit.p4",
10804 "line" : 356,
10805 "column" : 12,
10806 "source_fragment" : "(0x6) : int_set_header_0003_i6()"
10807 },
10808 "match_key" : [
10809 {
10810 "match_type" : "exact",
10811 "key" : "0x06"
10812 }
10813 ],
10814 "action_entry" : {
10815 "action_id" : 24,
10816 "action_data" : []
10817 },
10818 "priority" : 7
10819 },
10820 {
10821 "source_info" : {
10822 "filename" : "include/int_transit.p4",
10823 "line" : 357,
10824 "column" : 12,
10825 "source_fragment" : "(0x7) : int_set_header_0003_i7()"
10826 },
10827 "match_key" : [
10828 {
10829 "match_type" : "exact",
10830 "key" : "0x07"
10831 }
10832 ],
10833 "action_entry" : {
10834 "action_id" : 25,
10835 "action_data" : []
10836 },
10837 "priority" : 8
10838 },
10839 {
10840 "source_info" : {
10841 "filename" : "include/int_transit.p4",
10842 "line" : 358,
10843 "column" : 12,
10844 "source_fragment" : "(0x8) : int_set_header_0003_i8()"
10845 },
10846 "match_key" : [
10847 {
10848 "match_type" : "exact",
10849 "key" : "0x08"
10850 }
10851 ],
10852 "action_entry" : {
10853 "action_id" : 26,
10854 "action_data" : []
10855 },
10856 "priority" : 9
10857 },
10858 {
10859 "source_info" : {
10860 "filename" : "include/int_transit.p4",
10861 "line" : 359,
10862 "column" : 12,
10863 "source_fragment" : "(0x9) : int_set_header_0003_i9()"
10864 },
10865 "match_key" : [
10866 {
10867 "match_type" : "exact",
10868 "key" : "0x09"
10869 }
10870 ],
10871 "action_entry" : {
10872 "action_id" : 27,
10873 "action_data" : []
10874 },
10875 "priority" : 10
10876 },
10877 {
10878 "source_info" : {
10879 "filename" : "include/int_transit.p4",
10880 "line" : 360,
10881 "column" : 12,
10882 "source_fragment" : "(0xA) : int_set_header_0003_i10()"
10883 },
10884 "match_key" : [
10885 {
10886 "match_type" : "exact",
10887 "key" : "0x0a"
10888 }
10889 ],
10890 "action_entry" : {
10891 "action_id" : 28,
10892 "action_data" : []
10893 },
10894 "priority" : 11
10895 },
10896 {
10897 "source_info" : {
10898 "filename" : "include/int_transit.p4",
10899 "line" : 361,
10900 "column" : 12,
10901 "source_fragment" : "(0xB) : int_set_header_0003_i11()"
10902 },
10903 "match_key" : [
10904 {
10905 "match_type" : "exact",
10906 "key" : "0x0b"
10907 }
10908 ],
10909 "action_entry" : {
10910 "action_id" : 29,
10911 "action_data" : []
10912 },
10913 "priority" : 12
10914 },
10915 {
10916 "source_info" : {
10917 "filename" : "include/int_transit.p4",
10918 "line" : 362,
10919 "column" : 12,
10920 "source_fragment" : "(0xC) : int_set_header_0003_i12()"
10921 },
10922 "match_key" : [
10923 {
10924 "match_type" : "exact",
10925 "key" : "0x0c"
10926 }
10927 ],
10928 "action_entry" : {
10929 "action_id" : 30,
10930 "action_data" : []
10931 },
10932 "priority" : 13
10933 },
10934 {
10935 "source_info" : {
10936 "filename" : "include/int_transit.p4",
10937 "line" : 363,
10938 "column" : 12,
10939 "source_fragment" : "(0xD) : int_set_header_0003_i13()"
10940 },
10941 "match_key" : [
10942 {
10943 "match_type" : "exact",
10944 "key" : "0x0d"
10945 }
10946 ],
10947 "action_entry" : {
10948 "action_id" : 31,
10949 "action_data" : []
10950 },
10951 "priority" : 14
10952 },
10953 {
10954 "source_info" : {
10955 "filename" : "include/int_transit.p4",
10956 "line" : 364,
10957 "column" : 12,
10958 "source_fragment" : "(0xE) : int_set_header_0003_i14()"
10959 },
10960 "match_key" : [
10961 {
10962 "match_type" : "exact",
10963 "key" : "0x0e"
10964 }
10965 ],
10966 "action_entry" : {
10967 "action_id" : 32,
10968 "action_data" : []
10969 },
10970 "priority" : 15
10971 },
10972 {
10973 "source_info" : {
10974 "filename" : "include/int_transit.p4",
10975 "line" : 365,
10976 "column" : 12,
10977 "source_fragment" : "(0xF) : int_set_header_0003_i15()"
10978 },
10979 "match_key" : [
10980 {
10981 "match_type" : "exact",
10982 "key" : "0x0f"
10983 }
10984 ],
10985 "action_entry" : {
10986 "action_id" : 33,
10987 "action_data" : []
10988 },
10989 "priority" : 16
10990 }
10991 ]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010992 },
10993 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010994 "name" : "egress.process_int_transit.tb_int_inst_0407",
Jonghwan Hyun6777d532018-11-18 20:50:16 +090010995 "id" : 11,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010996 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070010997 "filename" : "include/int_transit.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090010998 "line" : 371,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010999 "column" : 10,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070011000 "source_fragment" : "tb_int_inst_0407"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011001 },
11002 "key" : [
11003 {
11004 "match_type" : "exact",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070011005 "name" : "hdr.int_header.instruction_mask_0407",
11006 "target" : ["int_header", "instruction_mask_0407"],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011007 "mask" : null
11008 }
11009 ],
11010 "match_type" : "exact",
11011 "type" : "simple",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011012 "max_size" : 1024,
11013 "with_counters" : false,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011014 "support_timeout" : false,
11015 "direct_meters" : null,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011016 "action_ids" : [34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 16],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070011017 "actions" : ["egress.process_int_transit.int_set_header_0407_i0", "egress.process_int_transit.int_set_header_0407_i1", "egress.process_int_transit.int_set_header_0407_i2", "egress.process_int_transit.int_set_header_0407_i3", "egress.process_int_transit.int_set_header_0407_i4", "egress.process_int_transit.int_set_header_0407_i5", "egress.process_int_transit.int_set_header_0407_i6", "egress.process_int_transit.int_set_header_0407_i7", "egress.process_int_transit.int_set_header_0407_i8", "egress.process_int_transit.int_set_header_0407_i9", "egress.process_int_transit.int_set_header_0407_i10", "egress.process_int_transit.int_set_header_0407_i11", "egress.process_int_transit.int_set_header_0407_i12", "egress.process_int_transit.int_set_header_0407_i13", "egress.process_int_transit.int_set_header_0407_i14", "egress.process_int_transit.int_set_header_0407_i15", "NoAction"],
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011018 "base_default_next" : "tbl_act_4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011019 "next_tables" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011020 "egress.process_int_transit.int_set_header_0407_i0" : "tbl_act_4",
11021 "egress.process_int_transit.int_set_header_0407_i1" : "tbl_act_4",
11022 "egress.process_int_transit.int_set_header_0407_i2" : "tbl_act_4",
11023 "egress.process_int_transit.int_set_header_0407_i3" : "tbl_act_4",
11024 "egress.process_int_transit.int_set_header_0407_i4" : "tbl_act_4",
11025 "egress.process_int_transit.int_set_header_0407_i5" : "tbl_act_4",
11026 "egress.process_int_transit.int_set_header_0407_i6" : "tbl_act_4",
11027 "egress.process_int_transit.int_set_header_0407_i7" : "tbl_act_4",
11028 "egress.process_int_transit.int_set_header_0407_i8" : "tbl_act_4",
11029 "egress.process_int_transit.int_set_header_0407_i9" : "tbl_act_4",
11030 "egress.process_int_transit.int_set_header_0407_i10" : "tbl_act_4",
11031 "egress.process_int_transit.int_set_header_0407_i11" : "tbl_act_4",
11032 "egress.process_int_transit.int_set_header_0407_i12" : "tbl_act_4",
11033 "egress.process_int_transit.int_set_header_0407_i13" : "tbl_act_4",
11034 "egress.process_int_transit.int_set_header_0407_i14" : "tbl_act_4",
11035 "egress.process_int_transit.int_set_header_0407_i15" : "tbl_act_4",
11036 "NoAction" : "tbl_act_4"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011037 },
11038 "default_entry" : {
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011039 "action_id" : 16,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011040 "action_const" : false,
11041 "action_data" : [],
11042 "action_entry_const" : false
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011043 },
11044 "entries" : [
11045 {
11046 "source_info" : {
11047 "filename" : "include/int_transit.p4",
11048 "line" : 394,
11049 "column" : 12,
11050 "source_fragment" : "(0x0) : int_set_header_0407_i0()"
11051 },
11052 "match_key" : [
11053 {
11054 "match_type" : "exact",
11055 "key" : "0x00"
11056 }
11057 ],
11058 "action_entry" : {
11059 "action_id" : 34,
11060 "action_data" : []
11061 },
11062 "priority" : 1
11063 },
11064 {
11065 "source_info" : {
11066 "filename" : "include/int_transit.p4",
11067 "line" : 395,
11068 "column" : 12,
11069 "source_fragment" : "(0x1) : int_set_header_0407_i1()"
11070 },
11071 "match_key" : [
11072 {
11073 "match_type" : "exact",
11074 "key" : "0x01"
11075 }
11076 ],
11077 "action_entry" : {
11078 "action_id" : 35,
11079 "action_data" : []
11080 },
11081 "priority" : 2
11082 },
11083 {
11084 "source_info" : {
11085 "filename" : "include/int_transit.p4",
11086 "line" : 396,
11087 "column" : 12,
11088 "source_fragment" : "(0x2) : int_set_header_0407_i2()"
11089 },
11090 "match_key" : [
11091 {
11092 "match_type" : "exact",
11093 "key" : "0x02"
11094 }
11095 ],
11096 "action_entry" : {
11097 "action_id" : 36,
11098 "action_data" : []
11099 },
11100 "priority" : 3
11101 },
11102 {
11103 "source_info" : {
11104 "filename" : "include/int_transit.p4",
11105 "line" : 397,
11106 "column" : 12,
11107 "source_fragment" : "(0x3) : int_set_header_0407_i3()"
11108 },
11109 "match_key" : [
11110 {
11111 "match_type" : "exact",
11112 "key" : "0x03"
11113 }
11114 ],
11115 "action_entry" : {
11116 "action_id" : 37,
11117 "action_data" : []
11118 },
11119 "priority" : 4
11120 },
11121 {
11122 "source_info" : {
11123 "filename" : "include/int_transit.p4",
11124 "line" : 398,
11125 "column" : 12,
11126 "source_fragment" : "(0x4) : int_set_header_0407_i4()"
11127 },
11128 "match_key" : [
11129 {
11130 "match_type" : "exact",
11131 "key" : "0x04"
11132 }
11133 ],
11134 "action_entry" : {
11135 "action_id" : 38,
11136 "action_data" : []
11137 },
11138 "priority" : 5
11139 },
11140 {
11141 "source_info" : {
11142 "filename" : "include/int_transit.p4",
11143 "line" : 399,
11144 "column" : 12,
11145 "source_fragment" : "(0x5) : int_set_header_0407_i5()"
11146 },
11147 "match_key" : [
11148 {
11149 "match_type" : "exact",
11150 "key" : "0x05"
11151 }
11152 ],
11153 "action_entry" : {
11154 "action_id" : 39,
11155 "action_data" : []
11156 },
11157 "priority" : 6
11158 },
11159 {
11160 "source_info" : {
11161 "filename" : "include/int_transit.p4",
11162 "line" : 400,
11163 "column" : 12,
11164 "source_fragment" : "(0x6) : int_set_header_0407_i6()"
11165 },
11166 "match_key" : [
11167 {
11168 "match_type" : "exact",
11169 "key" : "0x06"
11170 }
11171 ],
11172 "action_entry" : {
11173 "action_id" : 40,
11174 "action_data" : []
11175 },
11176 "priority" : 7
11177 },
11178 {
11179 "source_info" : {
11180 "filename" : "include/int_transit.p4",
11181 "line" : 401,
11182 "column" : 12,
11183 "source_fragment" : "(0x7) : int_set_header_0407_i7()"
11184 },
11185 "match_key" : [
11186 {
11187 "match_type" : "exact",
11188 "key" : "0x07"
11189 }
11190 ],
11191 "action_entry" : {
11192 "action_id" : 41,
11193 "action_data" : []
11194 },
11195 "priority" : 8
11196 },
11197 {
11198 "source_info" : {
11199 "filename" : "include/int_transit.p4",
11200 "line" : 402,
11201 "column" : 12,
11202 "source_fragment" : "(0x8) : int_set_header_0407_i8()"
11203 },
11204 "match_key" : [
11205 {
11206 "match_type" : "exact",
11207 "key" : "0x08"
11208 }
11209 ],
11210 "action_entry" : {
11211 "action_id" : 42,
11212 "action_data" : []
11213 },
11214 "priority" : 9
11215 },
11216 {
11217 "source_info" : {
11218 "filename" : "include/int_transit.p4",
11219 "line" : 403,
11220 "column" : 12,
11221 "source_fragment" : "(0x9) : int_set_header_0407_i9()"
11222 },
11223 "match_key" : [
11224 {
11225 "match_type" : "exact",
11226 "key" : "0x09"
11227 }
11228 ],
11229 "action_entry" : {
11230 "action_id" : 43,
11231 "action_data" : []
11232 },
11233 "priority" : 10
11234 },
11235 {
11236 "source_info" : {
11237 "filename" : "include/int_transit.p4",
11238 "line" : 404,
11239 "column" : 12,
11240 "source_fragment" : "(0xA) : int_set_header_0407_i10()"
11241 },
11242 "match_key" : [
11243 {
11244 "match_type" : "exact",
11245 "key" : "0x0a"
11246 }
11247 ],
11248 "action_entry" : {
11249 "action_id" : 44,
11250 "action_data" : []
11251 },
11252 "priority" : 11
11253 },
11254 {
11255 "source_info" : {
11256 "filename" : "include/int_transit.p4",
11257 "line" : 405,
11258 "column" : 12,
11259 "source_fragment" : "(0xB) : int_set_header_0407_i11()"
11260 },
11261 "match_key" : [
11262 {
11263 "match_type" : "exact",
11264 "key" : "0x0b"
11265 }
11266 ],
11267 "action_entry" : {
11268 "action_id" : 45,
11269 "action_data" : []
11270 },
11271 "priority" : 12
11272 },
11273 {
11274 "source_info" : {
11275 "filename" : "include/int_transit.p4",
11276 "line" : 406,
11277 "column" : 12,
11278 "source_fragment" : "(0xC) : int_set_header_0407_i12()"
11279 },
11280 "match_key" : [
11281 {
11282 "match_type" : "exact",
11283 "key" : "0x0c"
11284 }
11285 ],
11286 "action_entry" : {
11287 "action_id" : 46,
11288 "action_data" : []
11289 },
11290 "priority" : 13
11291 },
11292 {
11293 "source_info" : {
11294 "filename" : "include/int_transit.p4",
11295 "line" : 407,
11296 "column" : 12,
11297 "source_fragment" : "(0xD) : int_set_header_0407_i13()"
11298 },
11299 "match_key" : [
11300 {
11301 "match_type" : "exact",
11302 "key" : "0x0d"
11303 }
11304 ],
11305 "action_entry" : {
11306 "action_id" : 47,
11307 "action_data" : []
11308 },
11309 "priority" : 14
11310 },
11311 {
11312 "source_info" : {
11313 "filename" : "include/int_transit.p4",
11314 "line" : 408,
11315 "column" : 12,
11316 "source_fragment" : "(0xE) : int_set_header_0407_i14()"
11317 },
11318 "match_key" : [
11319 {
11320 "match_type" : "exact",
11321 "key" : "0x0e"
11322 }
11323 ],
11324 "action_entry" : {
11325 "action_id" : 48,
11326 "action_data" : []
11327 },
11328 "priority" : 15
11329 },
11330 {
11331 "source_info" : {
11332 "filename" : "include/int_transit.p4",
11333 "line" : 409,
11334 "column" : 12,
11335 "source_fragment" : "(0xF) : int_set_header_0407_i15()"
11336 },
11337 "match_key" : [
11338 {
11339 "match_type" : "exact",
11340 "key" : "0x0f"
11341 }
11342 ],
11343 "action_entry" : {
11344 "action_id" : 49,
11345 "action_data" : []
11346 },
11347 "priority" : 16
11348 }
11349 ]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011350 },
11351 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011352 "name" : "tbl_act_4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011353 "id" : 12,
11354 "key" : [],
11355 "match_type" : "exact",
11356 "type" : "simple",
11357 "max_size" : 1024,
11358 "with_counters" : false,
11359 "support_timeout" : false,
11360 "direct_meters" : null,
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011361 "action_ids" : [56],
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011362 "actions" : ["act_5"],
11363 "base_default_next" : "node_23",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011364 "next_tables" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011365 "act_5" : "node_23"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011366 },
11367 "default_entry" : {
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011368 "action_id" : 56,
11369 "action_const" : true,
11370 "action_data" : [],
11371 "action_entry_const" : true
11372 }
11373 },
11374 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011375 "name" : "tbl_act_5",
11376 "id" : 13,
11377 "key" : [],
11378 "match_type" : "exact",
11379 "type" : "simple",
11380 "max_size" : 1024,
11381 "with_counters" : false,
11382 "support_timeout" : false,
11383 "direct_meters" : null,
11384 "action_ids" : [55],
11385 "actions" : ["act_4"],
11386 "base_default_next" : "node_25",
11387 "next_tables" : {
11388 "act_4" : "node_25"
11389 },
11390 "default_entry" : {
11391 "action_id" : 55,
11392 "action_const" : true,
11393 "action_data" : [],
11394 "action_entry_const" : true
11395 }
11396 },
11397 {
11398 "name" : "tbl_act_6",
11399 "id" : 14,
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011400 "key" : [],
11401 "match_type" : "exact",
11402 "type" : "simple",
11403 "max_size" : 1024,
11404 "with_counters" : false,
11405 "support_timeout" : false,
11406 "direct_meters" : null,
11407 "action_ids" : [57],
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011408 "actions" : ["act_6"],
11409 "base_default_next" : "node_27",
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011410 "next_tables" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011411 "act_6" : "node_27"
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011412 },
11413 "default_entry" : {
11414 "action_id" : 57,
11415 "action_const" : true,
11416 "action_data" : [],
11417 "action_entry_const" : true
11418 }
11419 },
11420 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011421 "name" : "tbl_act_7",
11422 "id" : 15,
11423 "key" : [],
11424 "match_type" : "exact",
11425 "type" : "simple",
11426 "max_size" : 1024,
11427 "with_counters" : false,
11428 "support_timeout" : false,
11429 "direct_meters" : null,
11430 "action_ids" : [58],
11431 "actions" : ["act_7"],
11432 "base_default_next" : "node_29",
11433 "next_tables" : {
11434 "act_7" : "node_29"
11435 },
11436 "default_entry" : {
11437 "action_id" : 58,
11438 "action_const" : true,
11439 "action_data" : [],
11440 "action_entry_const" : true
11441 }
11442 },
11443 {
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011444 "name" : "egress.process_int_report.tb_generate_report",
11445 "id" : 16,
11446 "source_info" : {
11447 "filename" : "include/int_report.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011448 "line" : 93,
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011449 "column" : 10,
11450 "source_fragment" : "tb_generate_report"
11451 },
11452 "key" : [
11453 {
11454 "match_type" : "exact",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011455 "name" : "int_is_valid",
11456 "target" : ["int_header", "$valid$"],
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011457 "mask" : null
11458 }
11459 ],
11460 "match_type" : "exact",
11461 "type" : "simple",
11462 "max_size" : 1024,
11463 "with_counters" : false,
11464 "support_timeout" : false,
11465 "direct_meters" : null,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011466 "action_ids" : [50, 14],
11467 "actions" : ["egress.process_int_report.do_report_encapsulation", "nop"],
11468 "base_default_next" : "node_31",
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011469 "next_tables" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011470 "egress.process_int_report.do_report_encapsulation" : "node_31",
11471 "nop" : "node_31"
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011472 },
11473 "default_entry" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011474 "action_id" : 14,
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011475 "action_const" : false,
11476 "action_data" : [],
11477 "action_entry_const" : false
11478 }
11479 },
11480 {
11481 "name" : "tbl_process_int_sink_restore_header",
11482 "id" : 17,
11483 "key" : [],
11484 "match_type" : "exact",
11485 "type" : "simple",
11486 "max_size" : 1024,
11487 "with_counters" : false,
11488 "support_timeout" : false,
11489 "direct_meters" : null,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011490 "action_ids" : [51],
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011491 "actions" : ["egress.process_int_sink.restore_header"],
11492 "base_default_next" : "tbl_process_int_sink_int_sink",
11493 "next_tables" : {
11494 "egress.process_int_sink.restore_header" : "tbl_process_int_sink_int_sink"
11495 },
11496 "default_entry" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011497 "action_id" : 51,
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011498 "action_const" : true,
11499 "action_data" : [],
11500 "action_entry_const" : true
11501 }
11502 },
11503 {
11504 "name" : "tbl_process_int_sink_int_sink",
11505 "id" : 18,
11506 "key" : [],
11507 "match_type" : "exact",
11508 "type" : "simple",
11509 "max_size" : 1024,
11510 "with_counters" : false,
11511 "support_timeout" : false,
11512 "direct_meters" : null,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011513 "action_ids" : [52],
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011514 "actions" : ["egress.process_int_sink.int_sink"],
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011515 "base_default_next" : "tbl_act_8",
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011516 "next_tables" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011517 "egress.process_int_sink.int_sink" : "tbl_act_8"
11518 },
11519 "default_entry" : {
11520 "action_id" : 52,
11521 "action_const" : true,
11522 "action_data" : [],
11523 "action_entry_const" : true
11524 }
11525 },
11526 {
11527 "name" : "tbl_act_8",
11528 "id" : 19,
11529 "key" : [],
11530 "match_type" : "exact",
11531 "type" : "simple",
11532 "max_size" : 1024,
11533 "with_counters" : false,
11534 "support_timeout" : false,
11535 "direct_meters" : null,
11536 "action_ids" : [60],
11537 "actions" : ["act_9"],
11538 "base_default_next" : "node_35",
11539 "next_tables" : {
11540 "act_9" : "node_35"
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011541 },
11542 "default_entry" : {
11543 "action_id" : 60,
11544 "action_const" : true,
11545 "action_data" : [],
11546 "action_entry_const" : true
11547 }
11548 },
11549 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011550 "name" : "tbl_act_9",
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011551 "id" : 20,
11552 "key" : [],
11553 "match_type" : "exact",
11554 "type" : "simple",
11555 "max_size" : 1024,
11556 "with_counters" : false,
11557 "support_timeout" : false,
11558 "direct_meters" : null,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011559 "action_ids" : [59],
11560 "actions" : ["act_8"],
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011561 "base_default_next" : null,
11562 "next_tables" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011563 "act_8" : null
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011564 },
11565 "default_entry" : {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011566 "action_id" : 59,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011567 "action_const" : true,
11568 "action_data" : [],
11569 "action_entry_const" : true
11570 }
11571 }
11572 ],
11573 "action_profiles" : [],
11574 "conditionals" : [
11575 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011576 "name" : "node_14",
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011577 "id" : 3,
Jonghwan Hyun8be03392017-12-04 15:48:44 -080011578 "source_info" : {
11579 "filename" : "int.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011580 "line" : 68,
11581 "column" : 11,
Jonghwan Hyun8be03392017-12-04 15:48:44 -080011582 "source_fragment" : "hdr.int_header.isValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011583 },
11584 "expression" : {
11585 "type" : "expression",
11586 "value" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070011587 "op" : "d2b",
11588 "left" : null,
11589 "right" : {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011590 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -080011591 "value" : ["int_header", "$valid$"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011592 }
11593 }
11594 },
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011595 "true_next" : "tbl_act_2",
11596 "false_next" : "tbl_act_8"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011597 },
11598 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011599 "name" : "node_17",
11600 "id" : 4,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011601 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070011602 "filename" : "include/int_transit.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011603 "line" : 415,
11604 "column" : 12,
11605 "source_fragment" : "local_metadata.int_meta.transit == false"
11606 },
11607 "expression" : {
11608 "type" : "expression",
11609 "value" : {
11610 "op" : "==",
11611 "left" : {
11612 "type" : "expression",
11613 "value" : {
11614 "op" : "d2b",
11615 "left" : null,
11616 "right" : {
11617 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -080011618 "value" : ["scalars", "local_metadata_t._int_meta_transit9"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011619 }
11620 }
11621 },
11622 "right" : {
11623 "type" : "bool",
11624 "value" : false
11625 }
11626 }
11627 },
11628 "true_next" : "tbl_act_3",
11629 "false_next" : "node_19"
11630 },
11631 {
11632 "name" : "node_19",
11633 "id" : 5,
11634 "expression" : {
11635 "type" : "expression",
11636 "value" : {
11637 "op" : "not",
11638 "left" : null,
11639 "right" : {
11640 "type" : "expression",
11641 "value" : {
11642 "op" : "d2b",
11643 "left" : null,
11644 "right" : {
11645 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -080011646 "value" : ["scalars", "process_int_transit_hasReturned"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011647 }
11648 }
11649 }
11650 }
11651 },
11652 "true_next" : "egress.process_int_transit.tb_int_inst_0003",
11653 "false_next" : "node_29"
11654 },
11655 {
11656 "name" : "node_23",
11657 "id" : 6,
11658 "source_info" : {
11659 "filename" : "include/int_transit.p4",
11660 "line" : 425,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011661 "column" : 12,
11662 "source_fragment" : "hdr.ipv4.isValid()"
11663 },
11664 "expression" : {
11665 "type" : "expression",
11666 "value" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070011667 "op" : "d2b",
11668 "left" : null,
11669 "right" : {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011670 "type" : "field",
11671 "value" : ["ipv4", "$valid$"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011672 }
11673 }
11674 },
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011675 "true_next" : "tbl_act_5",
11676 "false_next" : "node_25"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011677 },
11678 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011679 "name" : "node_25",
11680 "id" : 7,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011681 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070011682 "filename" : "include/int_transit.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011683 "line" : 428,
Jonghwan Hyun8be03392017-12-04 15:48:44 -080011684 "column" : 12,
11685 "source_fragment" : "hdr.udp.isValid()"
11686 },
11687 "expression" : {
11688 "type" : "expression",
11689 "value" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070011690 "op" : "d2b",
11691 "left" : null,
11692 "right" : {
Jonghwan Hyun8be03392017-12-04 15:48:44 -080011693 "type" : "field",
11694 "value" : ["udp", "$valid$"]
Jonghwan Hyun8be03392017-12-04 15:48:44 -080011695 }
11696 }
11697 },
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011698 "true_next" : "tbl_act_6",
11699 "false_next" : "node_27"
Jonghwan Hyun8be03392017-12-04 15:48:44 -080011700 },
11701 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011702 "name" : "node_27",
11703 "id" : 8,
Jonghwan Hyun8be03392017-12-04 15:48:44 -080011704 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070011705 "filename" : "include/int_transit.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011706 "line" : 431,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011707 "column" : 12,
11708 "source_fragment" : "hdr.intl4_shim.isValid()"
11709 },
11710 "expression" : {
11711 "type" : "expression",
11712 "value" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070011713 "op" : "d2b",
11714 "left" : null,
11715 "right" : {
11716 "type" : "field",
11717 "value" : ["intl4_shim", "$valid$"]
11718 }
11719 }
11720 },
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011721 "true_next" : "tbl_act_7",
11722 "false_next" : "node_29"
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070011723 },
11724 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011725 "name" : "node_29",
11726 "id" : 9,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070011727 "source_info" : {
11728 "filename" : "int.p4",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011729 "line" : 72,
11730 "column" : 17,
11731 "source_fragment" : "standard_metadata.instance_type == BMV2_V1MODEL_INSTANCE_TYPE_INGRESS_CLONE"
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070011732 },
11733 "expression" : {
11734 "type" : "expression",
11735 "value" : {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011736 "op" : "==",
11737 "left" : {
11738 "type" : "field",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011739 "value" : ["standard_metadata", "instance_type"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011740 },
11741 "right" : {
11742 "type" : "hexstr",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011743 "value" : "0x00000001"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011744 }
11745 }
11746 },
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011747 "true_next" : "egress.process_int_report.tb_generate_report",
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011748 "false_next" : "node_31"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011749 },
11750 {
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011751 "name" : "node_31",
11752 "id" : 10,
11753 "source_info" : {
11754 "filename" : "int.p4",
11755 "line" : 77,
11756 "column" : 16,
11757 "source_fragment" : "local_metadata.int_meta.sink == true && !(standard_metadata.instance_type == BMV2_V1MODEL_INSTANCE_TYPE_INGRESS_CLONE)"
11758 },
11759 "expression" : {
11760 "type" : "expression",
11761 "value" : {
11762 "op" : "and",
11763 "left" : {
11764 "type" : "expression",
11765 "value" : {
11766 "op" : "==",
11767 "left" : {
11768 "type" : "expression",
11769 "value" : {
11770 "op" : "d2b",
11771 "left" : null,
11772 "right" : {
11773 "type" : "field",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -080011774 "value" : ["scalars", "local_metadata_t._int_meta_sink8"]
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011775 }
11776 }
11777 },
11778 "right" : {
11779 "type" : "bool",
11780 "value" : true
11781 }
11782 }
11783 },
11784 "right" : {
11785 "type" : "expression",
11786 "value" : {
11787 "op" : "!=",
11788 "left" : {
11789 "type" : "field",
11790 "value" : ["standard_metadata", "instance_type"]
11791 },
11792 "right" : {
11793 "type" : "hexstr",
11794 "value" : "0x00000001"
11795 }
11796 }
11797 }
11798 }
11799 },
11800 "true_next" : "tbl_process_int_sink_restore_header",
11801 "false_next" : "tbl_act_8"
11802 },
11803 {
11804 "name" : "node_35",
11805 "id" : 11,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011806 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070011807 "filename" : "include/packet_io.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011808 "line" : 37,
11809 "column" : 12,
11810 "source_fragment" : "standard_metadata.egress_port == CPU_PORT"
11811 },
11812 "expression" : {
11813 "type" : "expression",
11814 "value" : {
11815 "op" : "==",
11816 "left" : {
11817 "type" : "field",
11818 "value" : ["standard_metadata", "egress_port"]
11819 },
11820 "right" : {
11821 "type" : "hexstr",
11822 "value" : "0x00ff"
11823 }
11824 }
11825 },
11826 "false_next" : null,
Jonghwan Hyunc235d462019-01-30 23:31:48 +090011827 "true_next" : "tbl_act_9"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011828 }
11829 ]
11830 }
11831 ],
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011832 "checksums" : [
11833 {
11834 "name" : "cksum",
11835 "id" : 0,
11836 "source_info" : {
11837 "filename" : "include/checksums.p4",
11838 "line" : 32,
11839 "column" : 8,
11840 "source_fragment" : "update_checksum(hdr.ipv4.isValid(), ..."
11841 },
11842 "target" : ["ipv4", "hdr_checksum"],
11843 "type" : "generic",
11844 "calculation" : "calc",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -080011845 "verify" : false,
11846 "update" : true,
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011847 "if_cond" : {
11848 "type" : "expression",
11849 "value" : {
11850 "op" : "d2b",
11851 "left" : null,
11852 "right" : {
11853 "type" : "field",
11854 "value" : ["ipv4", "$valid$"]
11855 }
11856 }
11857 }
11858 },
11859 {
11860 "name" : "cksum_0",
11861 "id" : 1,
11862 "source_info" : {
11863 "filename" : "include/checksums.p4",
11864 "line" : 54,
11865 "column" : 8,
11866 "source_fragment" : "update_checksum(hdr.report_ipv4.isValid(), ..."
11867 },
11868 "target" : ["report_ipv4", "hdr_checksum"],
11869 "type" : "generic",
11870 "calculation" : "calc_0",
Carmelo Casconea4dc3c12019-02-12 17:30:00 -080011871 "verify" : false,
11872 "update" : true,
Jonghwan Hyun6777d532018-11-18 20:50:16 +090011873 "if_cond" : {
11874 "type" : "expression",
11875 "value" : {
11876 "op" : "d2b",
11877 "left" : null,
11878 "right" : {
11879 "type" : "field",
11880 "value" : ["report_ipv4", "$valid$"]
11881 }
11882 }
11883 }
11884 }
11885 ],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011886 "force_arith" : [],
11887 "extern_instances" : [],
11888 "field_aliases" : [
11889 [
11890 "queueing_metadata.enq_timestamp",
11891 ["standard_metadata", "enq_timestamp"]
11892 ],
11893 [
11894 "queueing_metadata.enq_qdepth",
11895 ["standard_metadata", "enq_qdepth"]
11896 ],
11897 [
11898 "queueing_metadata.deq_timedelta",
11899 ["standard_metadata", "deq_timedelta"]
11900 ],
11901 [
11902 "queueing_metadata.deq_qdepth",
11903 ["standard_metadata", "deq_qdepth"]
11904 ],
11905 [
11906 "intrinsic_metadata.ingress_global_timestamp",
11907 ["standard_metadata", "ingress_global_timestamp"]
11908 ],
11909 [
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070011910 "intrinsic_metadata.egress_global_timestamp",
11911 ["standard_metadata", "egress_global_timestamp"]
11912 ],
11913 [
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011914 "intrinsic_metadata.lf_field_list",
11915 ["standard_metadata", "lf_field_list"]
11916 ],
11917 [
11918 "intrinsic_metadata.mcast_grp",
11919 ["standard_metadata", "mcast_grp"]
11920 ],
11921 [
11922 "intrinsic_metadata.resubmit_flag",
11923 ["standard_metadata", "resubmit_flag"]
11924 ],
11925 [
11926 "intrinsic_metadata.egress_rid",
11927 ["standard_metadata", "egress_rid"]
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070011928 ],
11929 [
11930 "intrinsic_metadata.recirculate_flag",
11931 ["standard_metadata", "recirculate_flag"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080011932 ]
Carmelo Cascone6af4e172018-06-15 16:01:30 +020011933 ],
11934 "program" : "int.p4",
11935 "__meta__" : {
11936 "version" : [2, 18],
11937 "compiler" : "https://github.com/p4lang/p4c"
11938 }
Carmelo Cascone25243d62019-02-21 15:37:31 -080011939}