Integrating INT into fabric pipeline
Change-Id: I9555de0852de79d1a3c7302ecaa17ff112fc5107
diff --git a/pipelines/fabric/src/main/resources/p4c-out/fabric-full/bmv2/default/bmv2.json b/pipelines/fabric/src/main/resources/p4c-out/fabric-full/bmv2/default/bmv2.json
index 9d4a06b..abd55ec 100644
--- a/pipelines/fabric/src/main/resources/p4c-out/fabric-full/bmv2/default/bmv2.json
+++ b/pipelines/fabric/src/main/resources/p4c-out/fabric-full/bmv2/default/bmv2.json
@@ -5,8 +5,11 @@
"id" : 0,
"fields" : [
["tmp", 4, false],
- ["tmp_0", 32, false],
+ ["tmp_0", 1, false],
["tmp_1", 32, false],
+ ["tmp_2", 1, false],
+ ["tmp_3", 32, false],
+ ["tmp_4", 32, false],
["spgw_ingress_tmp_2", 1, false],
["spgw_ingress_tmp_3", 1, false],
["spgw_ingress_tmp_4", 1, false],
@@ -23,7 +26,8 @@
["fabric_metadata_t.ip_proto", 8, false],
["fabric_metadata_t.l4_src_port", 16, false],
["fabric_metadata_t.l4_dst_port", 16, false],
- ["_padding_1", 6, false]
+ ["fabric_metadata_t.compute_checksum", 1, false],
+ ["_padding_2", 3, false]
]
},
{
@@ -88,7 +92,8 @@
"fields" : [
["version", 4, false],
["ihl", 4, false],
- ["diffserv", 8, false],
+ ["dscp", 6, false],
+ ["ecn", 2, false],
["total_len", 16, false],
["identification", 16, false],
["flags", 3, false],
@@ -196,9 +201,153 @@
]
},
{
- "name" : "spgw_meta_t",
+ "name" : "report_fixed_header_t",
"id" : 14,
"fields" : [
+ ["ver", 4, false],
+ ["nproto", 4, false],
+ ["d", 1, false],
+ ["q", 1, false],
+ ["f", 1, false],
+ ["rsvd", 15, false],
+ ["hw_id", 6, false],
+ ["seq_no", 32, false],
+ ["ingress_tstamp", 32, false]
+ ]
+ },
+ {
+ "name" : "drop_report_header_t",
+ "id" : 15,
+ "fields" : [
+ ["switch_id", 32, false],
+ ["ingress_port_id", 16, false],
+ ["egress_port_id", 16, false],
+ ["queue_id", 8, false],
+ ["drop_reason", 8, false],
+ ["pad", 16, false]
+ ]
+ },
+ {
+ "name" : "local_report_header_t",
+ "id" : 16,
+ "fields" : [
+ ["switch_id", 32, false],
+ ["ingress_port_id", 16, false],
+ ["egress_port_id", 16, false],
+ ["queue_id", 8, false],
+ ["queue_occupancy", 24, false],
+ ["egress_tstamp", 32, false]
+ ]
+ },
+ {
+ "name" : "intl4_shim_t",
+ "id" : 17,
+ "fields" : [
+ ["int_type", 8, false],
+ ["rsvd1", 8, false],
+ ["len", 8, false],
+ ["rsvd2", 8, false]
+ ]
+ },
+ {
+ "name" : "int_header_t",
+ "id" : 18,
+ "fields" : [
+ ["ver", 2, false],
+ ["rep", 2, false],
+ ["c", 1, false],
+ ["e", 1, false],
+ ["rsvd1", 5, false],
+ ["ins_cnt", 5, false],
+ ["max_hop_cnt", 8, false],
+ ["total_hop_cnt", 8, false],
+ ["instruction_mask_0003", 4, false],
+ ["instruction_mask_0407", 4, false],
+ ["instruction_mask_0811", 4, false],
+ ["instruction_mask_1215", 4, false],
+ ["rsvd2", 16, false]
+ ]
+ },
+ {
+ "name" : "int_data_t",
+ "id" : 19,
+ "fields" : [
+ ["data", "*"]
+ ],
+ "max_length" : 1004
+ },
+ {
+ "name" : "int_switch_id_t",
+ "id" : 20,
+ "fields" : [
+ ["switch_id", 32, false]
+ ]
+ },
+ {
+ "name" : "int_port_ids_t",
+ "id" : 21,
+ "fields" : [
+ ["ingress_port_id", 16, false],
+ ["egress_port_id", 16, false]
+ ]
+ },
+ {
+ "name" : "int_hop_latency_t",
+ "id" : 22,
+ "fields" : [
+ ["hop_latency", 32, false]
+ ]
+ },
+ {
+ "name" : "int_q_occupancy_t",
+ "id" : 23,
+ "fields" : [
+ ["q_id", 8, false],
+ ["q_occupancy", 24, false]
+ ]
+ },
+ {
+ "name" : "int_ingress_tstamp_t",
+ "id" : 24,
+ "fields" : [
+ ["ingress_tstamp", 32, false]
+ ]
+ },
+ {
+ "name" : "int_egress_tstamp_t",
+ "id" : 25,
+ "fields" : [
+ ["egress_tstamp", 32, false]
+ ]
+ },
+ {
+ "name" : "int_q_congestion_t",
+ "id" : 26,
+ "fields" : [
+ ["q_id", 8, false],
+ ["q_congestion", 24, false]
+ ]
+ },
+ {
+ "name" : "int_egress_port_tx_util_t",
+ "id" : 27,
+ "fields" : [
+ ["egress_port_tx_util", 32, false]
+ ]
+ },
+ {
+ "name" : "intl4_tail_t",
+ "id" : 28,
+ "fields" : [
+ ["next_proto", 8, false],
+ ["dest_port", 16, false],
+ ["dscp", 8, false]
+ ]
+ },
+ {
+ "name" : "spgw_meta_t",
+ "id" : 29,
+ "fields" : [
["do_spgw", 1, 0],
["direction", 1, false],
["ipv4_len", 16, false],
@@ -207,6 +356,20 @@
["s1u_sgw_addr", 32, false],
["_padding_0", 6, false]
]
+ },
+ {
+ "name" : "int_metadata_t",
+ "id" : 30,
+ "fields" : [
+ ["switch_id", 32, false],
+ ["insert_byte_cnt", 16, false],
+ ["source", 1, false],
+ ["sink", 1, false],
+ ["mirror_id", 8, false],
+ ["flow_id", 16, false],
+ ["metadata_len", 8, false],
+ ["_padding_1", 6, false]
+ ]
}
],
"headers" : [
@@ -323,18 +486,174 @@
"pi_omit" : true
},
{
- "name" : "userMetadata.spgw",
+ "name" : "report_ethernet",
"id" : 16,
+ "header_type" : "ethernet_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "report_ipv4",
+ "id" : 17,
+ "header_type" : "ipv4_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "report_udp",
+ "id" : 18,
+ "header_type" : "udp_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "report_fixed_header",
+ "id" : 19,
+ "header_type" : "report_fixed_header_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "report_local.drop_report_header",
+ "id" : 20,
+ "header_type" : "drop_report_header_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "report_local.local_report_header",
+ "id" : 21,
+ "header_type" : "local_report_header_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "intl4_shim",
+ "id" : 22,
+ "header_type" : "intl4_shim_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "int_header",
+ "id" : 23,
+ "header_type" : "int_header_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "int_data",
+ "id" : 24,
+ "header_type" : "int_data_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "int_switch_id",
+ "id" : 25,
+ "header_type" : "int_switch_id_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "int_port_ids",
+ "id" : 26,
+ "header_type" : "int_port_ids_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "int_hop_latency",
+ "id" : 27,
+ "header_type" : "int_hop_latency_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "int_q_occupancy",
+ "id" : 28,
+ "header_type" : "int_q_occupancy_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "int_ingress_tstamp",
+ "id" : 29,
+ "header_type" : "int_ingress_tstamp_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "int_egress_tstamp",
+ "id" : 30,
+ "header_type" : "int_egress_tstamp_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "int_q_congestion",
+ "id" : 31,
+ "header_type" : "int_q_congestion_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "int_egress_tx_util",
+ "id" : 32,
+ "header_type" : "int_egress_port_tx_util_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "intl4_tail",
+ "id" : 33,
+ "header_type" : "intl4_tail_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "userMetadata.spgw",
+ "id" : 34,
"header_type" : "spgw_meta_t",
"metadata" : true,
"pi_omit" : true
+ },
+ {
+ "name" : "userMetadata.int_meta",
+ "id" : 35,
+ "header_type" : "int_metadata_t",
+ "metadata" : true,
+ "pi_omit" : true
}
],
"header_stacks" : [],
- "header_union_types" : [],
- "header_unions" : [],
+ "header_union_types" : [
+ {
+ "name" : "local_report_t",
+ "id" : 0,
+ "headers" : [
+ ["drop_report_header", "drop_report_header_t"],
+ ["local_report_header", "local_report_header_t"]
+ ]
+ }
+ ],
+ "header_unions" : [
+ {
+ "name" : "report_local",
+ "id" : 0,
+ "union_type" : "local_report_t",
+ "header_ids" : [20, 21],
+ "pi_omit" : true
+ }
+ ],
"header_union_stacks" : [],
- "field_lists" : [],
+ "field_lists" : [
+ {
+ "id" : 1,
+ "name" : "fl",
+ "elements" : []
+ }
+ ],
"errors" : [],
"enums" : [],
"parsers" : [
@@ -732,16 +1051,94 @@
}
],
"op" : "set"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "tmp_0"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "?",
+ "left" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ },
+ "cond" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "and",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["ipv4", "$valid$"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["ipv4", "dscp"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "op" : "set"
}
],
"transitions" : [
{
+ "type" : "hexstr",
+ "value" : "0x01",
+ "mask" : null,
+ "next_state" : "parse_intl4_shim"
+ },
+ {
"value" : "default",
"mask" : null,
"next_state" : null
}
],
- "transition_key" : []
+ "transition_key" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "tmp_0"]
+ }
+ ]
},
{
"name" : "parse_udp",
@@ -827,13 +1224,211 @@
"transition_key" : []
},
{
- "name" : "parse_gtpu",
+ "name" : "parse_intl4_shim",
"id" : 11,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
+ "value" : "intl4_shim"
+ }
+ ],
+ "op" : "extract"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "regular",
+ "value" : "int_header"
+ }
+ ],
+ "op" : "extract"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "metadata_len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["intl4_shim", "len"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xfc"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "op" : "set"
+ }
+ ],
+ "transitions" : [
+ {
+ "type" : "hexstr",
+ "value" : "0x00",
+ "mask" : null,
+ "next_state" : "parse_intl4_tail"
+ },
+ {
+ "value" : "default",
+ "mask" : null,
+ "next_state" : "parse_int_data"
+ }
+ ],
+ "transition_key" : [
+ {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "metadata_len"]
+ }
+ ]
+ },
+ {
+ "name" : "parse_int_data",
+ "id" : 12,
+ "parser_ops" : [
+ {
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "tmp_1"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "<<",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["intl4_shim", "len"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xfc"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x5"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "op" : "set"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "regular",
+ "value" : "int_data"
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "field",
+ "value" : ["scalars", "tmp_1"]
+ }
+ }
+ ],
+ "op" : "extract_VL"
+ }
+ ],
+ "transitions" : [
+ {
+ "value" : "default",
+ "mask" : null,
+ "next_state" : "parse_intl4_tail"
+ }
+ ],
+ "transition_key" : []
+ },
+ {
+ "name" : "parse_intl4_tail",
+ "id" : 13,
+ "parser_ops" : [
+ {
+ "parameters" : [
+ {
+ "type" : "regular",
+ "value" : "intl4_tail"
+ }
+ ],
+ "op" : "extract"
+ }
+ ],
+ "transitions" : [
+ {
+ "value" : "default",
+ "mask" : null,
+ "next_state" : null
+ }
+ ],
+ "transition_key" : []
+ },
+ {
+ "name" : "parse_gtpu",
+ "id" : 14,
+ "parser_ops" : [
+ {
+ "parameters" : [
+ {
+ "type" : "regular",
"value" : "gtpu"
}
],
@@ -883,7 +1478,7 @@
},
{
"name" : "parse_udp_inner",
- "id" : 12,
+ "id" : 15,
"parser_ops" : [
{
"parameters" : [
@@ -919,16 +1514,94 @@
}
],
"op" : "set"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "tmp_2"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "?",
+ "left" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ },
+ "cond" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "and",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["ipv4", "$valid$"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["ipv4", "dscp"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "op" : "set"
}
],
"transitions" : [
{
+ "type" : "hexstr",
+ "value" : "0x01",
+ "mask" : null,
+ "next_state" : "parse_intl4_shim"
+ },
+ {
"value" : "default",
"mask" : null,
"next_state" : null
}
],
- "transition_key" : []
+ "transition_key" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "tmp_2"]
+ }
+ ]
}
]
}
@@ -940,11 +1613,11 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 163,
+ "line" : 212,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
- "order" : ["packet_in", "ethernet", "vlan_tag", "mpls", "arp", "gtpu_ipv4", "gtpu_udp", "gtpu", "ipv4", "ipv6", "tcp", "udp", "icmp"]
+ "order" : ["packet_in", "report_ethernet", "report_ipv4", "report_udp", "report_fixed_header", "ethernet", "vlan_tag", "mpls", "arp", "gtpu_ipv4", "gtpu_udp", "gtpu", "ipv4", "ipv6", "tcp", "udp", "icmp", "intl4_shim", "int_header", "int_switch_id", "int_port_ids", "int_hop_latency", "int_q_occupancy", "int_ingress_tstamp", "int_egress_tstamp", "int_q_congestion", "int_egress_tx_util", "int_data", "intl4_tail"]
}
],
"meter_arrays" : [],
@@ -956,86 +1629,98 @@
"binding" : "FabricIngress.spgw_ingress.ue_cdr_table"
},
{
- "name" : "FabricIngress.filtering.ingress_port_vlan_counter",
+ "name" : "FabricIngress.process_set_source_sink.counter_set_source",
"id" : 1,
"is_direct" : true,
+ "binding" : "FabricIngress.process_set_source_sink.tb_set_source"
+ },
+ {
+ "name" : "FabricIngress.process_set_source_sink.counter_set_sink",
+ "id" : 2,
+ "is_direct" : true,
+ "binding" : "FabricIngress.process_set_source_sink.tb_set_sink"
+ },
+ {
+ "name" : "FabricIngress.filtering.ingress_port_vlan_counter",
+ "id" : 3,
+ "is_direct" : true,
"binding" : "FabricIngress.filtering.ingress_port_vlan"
},
{
"name" : "FabricIngress.filtering.fwd_classifier_counter",
- "id" : 2,
+ "id" : 4,
"is_direct" : true,
"binding" : "FabricIngress.filtering.fwd_classifier"
},
{
"name" : "FabricIngress.forwarding.bridging_counter",
- "id" : 3,
+ "id" : 5,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.bridging"
},
{
"name" : "FabricIngress.forwarding.mpls_counter",
- "id" : 4,
+ "id" : 6,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.mpls"
},
{
"name" : "FabricIngress.forwarding.unicast_v4_counter",
- "id" : 5,
+ "id" : 7,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.unicast_v4"
},
{
"name" : "FabricIngress.forwarding.acl_counter",
- "id" : 6,
+ "id" : 8,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.acl"
},
{
"name" : "FabricIngress.forwarding.multicast_v4_counter",
- "id" : 7,
+ "id" : 9,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.multicast_v4"
},
{
"name" : "FabricIngress.forwarding.unicast_v6_counter",
- "id" : 8,
+ "id" : 10,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.unicast_v6"
},
{
"name" : "FabricIngress.forwarding.multicast_v6_counter",
- "id" : 9,
+ "id" : 11,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.multicast_v6"
},
{
"name" : "FabricIngress.next.vlan_meta_counter",
- "id" : 10,
+ "id" : 12,
"is_direct" : true,
"binding" : "FabricIngress.next.vlan_meta"
},
{
"name" : "FabricIngress.next.simple_counter",
- "id" : 11,
+ "id" : 13,
"is_direct" : true,
"binding" : "FabricIngress.next.simple"
},
{
"name" : "FabricIngress.next.hashed_counter",
- "id" : 12,
+ "id" : 14,
"is_direct" : true,
"binding" : "FabricIngress.next.hashed"
},
{
"name" : "FabricIngress.next.multicast_counter",
- "id" : 13,
+ "id" : 15,
"is_direct" : true,
"binding" : "FabricIngress.next.multicast"
},
{
"name" : "FabricIngress.port_counters_control.egress_port_counter",
- "id" : 14,
+ "id" : 16,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 23,
@@ -1047,7 +1732,7 @@
},
{
"name" : "FabricIngress.port_counters_control.ingress_port_counter",
- "id" : 15,
+ "id" : 17,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 24,
@@ -1058,8 +1743,32 @@
"is_direct" : false
},
{
+ "name" : "FabricEgress.process_int_source.counter_int_source",
+ "id" : 18,
+ "is_direct" : true,
+ "binding" : "FabricEgress.process_int_source.tb_int_source"
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.counter_int_insert",
+ "id" : 19,
+ "is_direct" : true,
+ "binding" : "FabricEgress.process_int_transit.tb_int_insert"
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.counter_int_inst_0003",
+ "id" : 20,
+ "is_direct" : true,
+ "binding" : "FabricEgress.process_int_transit.tb_int_inst_0003"
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.counter_int_inst_0407",
+ "id" : 21,
+ "is_direct" : true,
+ "binding" : "FabricEgress.process_int_transit.tb_int_inst_0407"
+ },
+ {
"name" : "FabricEgress.egress_next.egress_vlan_counter",
- "id" : 16,
+ "id" : 22,
"is_direct" : true,
"binding" : "FabricEgress.egress_next.egress_vlan"
}
@@ -1087,7 +1796,11 @@
},
{
"type" : "field",
- "value" : ["ipv4", "diffserv"]
+ "value" : ["ipv4", "dscp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "ecn"]
},
{
"type" : "field",
@@ -1128,7 +1841,7 @@
"id" : 1,
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 291,
+ "line" : 292,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
@@ -1144,7 +1857,11 @@
},
{
"type" : "field",
- "value" : ["gtpu_ipv4", "diffserv"]
+ "value" : ["gtpu_ipv4", "dscp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ecn"]
},
{
"type" : "field",
@@ -1185,7 +1902,7 @@
"id" : 2,
"source_info" : {
"filename" : "include/checksum.p4",
- "line" : 56,
+ "line" : 57,
"column" : 8,
"source_fragment" : "verify_checksum(hdr.ipv4.isValid(), ..."
},
@@ -1201,7 +1918,11 @@
},
{
"type" : "field",
- "value" : ["ipv4", "diffserv"]
+ "value" : ["ipv4", "dscp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "ecn"]
},
{
"type" : "field",
@@ -1319,13 +2040,13 @@
"primitives" : []
},
{
- "name" : "nop",
+ "name" : "NoAction",
"id" : 13,
"runtime_data" : [],
"primitives" : []
},
{
- "name" : "nop",
+ "name" : "NoAction",
"id" : 14,
"runtime_data" : [],
"primitives" : []
@@ -1337,9 +2058,21 @@
"primitives" : []
},
{
- "name" : "drop_now",
+ "name" : "nop",
"id" : 16,
"runtime_data" : [],
+ "primitives" : []
+ },
+ {
+ "name" : "nop",
+ "id" : 17,
+ "runtime_data" : [],
+ "primitives" : []
+ },
+ {
+ "name" : "drop_now",
+ "id" : 18,
+ "runtime_data" : [],
"primitives" : [
{
"op" : "drop",
@@ -1365,7 +2098,7 @@
},
{
"name" : "FabricIngress.spgw_ingress.gtpu_decap",
- "id" : 17,
+ "id" : 19,
"runtime_data" : [],
"primitives" : [
{
@@ -1417,7 +2150,7 @@
},
{
"name" : "FabricIngress.spgw_ingress.set_dl_sess_info",
- "id" : 18,
+ "id" : 20,
"runtime_data" : [
{
"name" : "teid",
@@ -1494,13 +2227,65 @@
},
{
"name" : "FabricIngress.spgw_ingress.update_ue_cdr",
- "id" : 19,
+ "id" : 21,
"runtime_data" : [],
"primitives" : []
},
{
+ "name" : "FabricIngress.process_set_source_sink.int_set_source",
+ "id" : 22,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "source"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 94,
+ "column" : 8,
+ "source_fragment" : "fabric_metadata.int_meta.source = 1"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.process_set_source_sink.int_set_sink",
+ "id" : 23,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "sink"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 98,
+ "column" : 8,
+ "source_fragment" : "fabric_metadata.int_meta.sink = 1"
+ }
+ }
+ ]
+ },
+ {
"name" : "FabricIngress.filtering.drop",
- "id" : 20,
+ "id" : 24,
"runtime_data" : [],
"primitives" : [
{
@@ -1517,7 +2302,7 @@
},
{
"name" : "FabricIngress.filtering.set_vlan",
- "id" : 21,
+ "id" : 25,
"runtime_data" : [
{
"name" : "new_vlan_id",
@@ -1548,7 +2333,7 @@
},
{
"name" : "FabricIngress.filtering.push_internal_vlan",
- "id" : 22,
+ "id" : 26,
"runtime_data" : [
{
"name" : "new_vlan_id",
@@ -1642,7 +2427,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 66,
+ "line" : 74,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -1699,7 +2484,7 @@
},
{
"name" : "FabricIngress.filtering.set_forwarding_type",
- "id" : 23,
+ "id" : 27,
"runtime_data" : [
{
"name" : "fwd_type",
@@ -1730,7 +2515,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_bridging",
- "id" : 24,
+ "id" : 28,
"runtime_data" : [
{
"name" : "next_id",
@@ -1761,7 +2546,7 @@
},
{
"name" : "FabricIngress.forwarding.pop_mpls_and_next",
- "id" : 25,
+ "id" : 29,
"runtime_data" : [
{
"name" : "next_id",
@@ -1807,7 +2592,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_unicast_v4",
- "id" : 26,
+ "id" : 30,
"runtime_data" : [
{
"name" : "next_id",
@@ -1838,7 +2623,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_acl",
- "id" : 27,
+ "id" : 31,
"runtime_data" : [
{
"name" : "next_id",
@@ -1869,7 +2654,7 @@
},
{
"name" : "FabricIngress.forwarding.punt_to_cpu",
- "id" : 28,
+ "id" : 32,
"runtime_data" : [],
"primitives" : [
{
@@ -1905,7 +2690,7 @@
},
{
"name" : "FabricIngress.forwarding.clone_to_cpu",
- "id" : 29,
+ "id" : 33,
"runtime_data" : [],
"primitives" : [
{
@@ -1941,7 +2726,7 @@
},
{
"name" : "FabricIngress.forwarding.drop",
- "id" : 30,
+ "id" : 34,
"runtime_data" : [],
"primitives" : [
{
@@ -1958,7 +2743,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_multicast_v4",
- "id" : 31,
+ "id" : 35,
"runtime_data" : [
{
"name" : "next_id",
@@ -1989,7 +2774,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_unicast_v6",
- "id" : 32,
+ "id" : 36,
"runtime_data" : [
{
"name" : "next_id",
@@ -2020,7 +2805,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_multicast_v6",
- "id" : 33,
+ "id" : 37,
"runtime_data" : [
{
"name" : "next_id",
@@ -2051,7 +2836,7 @@
},
{
"name" : "FabricIngress.next.set_vlan",
- "id" : 34,
+ "id" : 38,
"runtime_data" : [
{
"name" : "new_vlan_id",
@@ -2082,7 +2867,7 @@
},
{
"name" : "FabricIngress.next.output_simple",
- "id" : 35,
+ "id" : 39,
"runtime_data" : [
{
"name" : "port_num",
@@ -2113,7 +2898,7 @@
},
{
"name" : "FabricIngress.next.set_vlan_output",
- "id" : 36,
+ "id" : 40,
"runtime_data" : [
{
"name" : "new_vlan_id",
@@ -2167,7 +2952,7 @@
},
{
"name" : "FabricIngress.next.l3_routing_simple",
- "id" : 37,
+ "id" : 41,
"runtime_data" : [
{
"name" : "port_num",
@@ -2244,7 +3029,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_v4_simple",
- "id" : 38,
+ "id" : 42,
"runtime_data" : [
{
"name" : "port_num",
@@ -2350,7 +3135,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 67,
+ "line" : 75,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -2426,7 +3211,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 87,
+ "line" : 95,
"column" : 32,
"source_fragment" : "64; ..."
}
@@ -2435,7 +3220,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_v6_simple",
- "id" : 39,
+ "id" : 43,
"runtime_data" : [
{
"name" : "port_num",
@@ -2541,7 +3326,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 67,
+ "line" : 75,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -2617,7 +3402,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 87,
+ "line" : 95,
"column" : 32,
"source_fragment" : "64; ..."
}
@@ -2626,7 +3411,7 @@
},
{
"name" : "FabricIngress.next.l3_routing_vlan",
- "id" : 40,
+ "id" : 44,
"runtime_data" : [
{
"name" : "port_num",
@@ -2726,7 +3511,7 @@
},
{
"name" : "FabricIngress.next.l3_routing_hashed",
- "id" : 41,
+ "id" : 45,
"runtime_data" : [
{
"name" : "port_num",
@@ -2803,7 +3588,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_v4_hashed",
- "id" : 42,
+ "id" : 46,
"runtime_data" : [
{
"name" : "port_num",
@@ -2909,7 +3694,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 67,
+ "line" : 75,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -2985,7 +3770,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 87,
+ "line" : 95,
"column" : 32,
"source_fragment" : "64; ..."
}
@@ -2994,7 +3779,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_v6_hashed",
- "id" : 43,
+ "id" : 47,
"runtime_data" : [
{
"name" : "port_num",
@@ -3100,7 +3885,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 67,
+ "line" : 75,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -3176,7 +3961,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 87,
+ "line" : 95,
"column" : 32,
"source_fragment" : "64; ..."
}
@@ -3185,7 +3970,7 @@
},
{
"name" : "FabricIngress.next.set_mcast_group",
- "id" : 44,
+ "id" : 48,
"runtime_data" : [
{
"name" : "gid",
@@ -3245,7 +4030,7 @@
},
{
"name" : "act",
- "id" : 45,
+ "id" : 49,
"runtime_data" : [],
"primitives" : [
{
@@ -3286,7 +4071,7 @@
},
{
"name" : "act_0",
- "id" : 46,
+ "id" : 50,
"runtime_data" : [],
"primitives" : [
{
@@ -3316,7 +4101,7 @@
},
{
"name" : "act_1",
- "id" : 47,
+ "id" : 51,
"runtime_data" : [],
"primitives" : [
{
@@ -3346,7 +4131,7 @@
},
{
"name" : "act_2",
- "id" : 48,
+ "id" : 52,
"runtime_data" : [],
"primitives" : [
{
@@ -3429,7 +4214,7 @@
},
{
"name" : "act_3",
- "id" : 49,
+ "id" : 53,
"runtime_data" : [],
"primitives" : [
{
@@ -3475,7 +4260,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 98,
+ "line" : 106,
"column" : 31,
"source_fragment" : "1w0; ..."
}
@@ -3484,7 +4269,7 @@
},
{
"name" : "act_4",
- "id" : 50,
+ "id" : 54,
"runtime_data" : [],
"primitives" : [
{
@@ -3514,7 +4299,7 @@
},
{
"name" : "act_5",
- "id" : 51,
+ "id" : 55,
"runtime_data" : [],
"primitives" : [
{
@@ -3544,7 +4329,7 @@
},
{
"name" : "act_6",
- "id" : 52,
+ "id" : 56,
"runtime_data" : [],
"primitives" : [
{
@@ -3590,7 +4375,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 99,
+ "line" : 107,
"column" : 33,
"source_fragment" : "1w1; ..."
}
@@ -3599,7 +4384,7 @@
},
{
"name" : "act_7",
- "id" : 53,
+ "id" : 57,
"runtime_data" : [],
"primitives" : [
{
@@ -3658,7 +4443,7 @@
},
{
"name" : "act_8",
- "id" : 54,
+ "id" : 58,
"runtime_data" : [],
"primitives" : [
{
@@ -3694,7 +4479,7 @@
},
{
"name" : "act_9",
- "id" : 55,
+ "id" : 59,
"runtime_data" : [],
"primitives" : [
{
@@ -3724,7 +4509,7 @@
},
{
"name" : "act_10",
- "id" : 56,
+ "id" : 60,
"runtime_data" : [],
"primitives" : [
{
@@ -3754,7 +4539,7 @@
},
{
"name" : "act_11",
- "id" : 57,
+ "id" : 61,
"runtime_data" : [],
"primitives" : [
{
@@ -3780,7 +4565,7 @@
},
{
"name" : "act_12",
- "id" : 58,
+ "id" : 62,
"runtime_data" : [],
"primitives" : [
{
@@ -3797,7 +4582,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 69,
+ "line" : 77,
"column" : 31,
"source_fragment" : "0x0800; ..."
}
@@ -3806,7 +4591,7 @@
},
{
"name" : "act_13",
- "id" : 59,
+ "id" : 63,
"runtime_data" : [],
"primitives" : [
{
@@ -3836,7 +4621,7 @@
},
{
"name" : "act_14",
- "id" : 60,
+ "id" : 64,
"runtime_data" : [],
"primitives" : [
{
@@ -3866,7 +4651,7 @@
},
{
"name" : "act_15",
- "id" : 61,
+ "id" : 65,
"runtime_data" : [],
"primitives" : [
{
@@ -3896,7 +4681,7 @@
},
{
"name" : "act_16",
- "id" : 62,
+ "id" : 66,
"runtime_data" : [],
"primitives" : [
{
@@ -3926,7 +4711,7 @@
},
{
"name" : "act_17",
- "id" : 63,
+ "id" : 67,
"runtime_data" : [],
"primitives" : [
{
@@ -3956,7 +4741,7 @@
},
{
"name" : "act_18",
- "id" : 64,
+ "id" : 68,
"runtime_data" : [],
"primitives" : [
{
@@ -3986,7 +4771,7 @@
},
{
"name" : "act_19",
- "id" : 65,
+ "id" : 69,
"runtime_data" : [],
"primitives" : [
{
@@ -4016,7 +4801,7 @@
},
{
"name" : "act_20",
- "id" : 66,
+ "id" : 70,
"runtime_data" : [],
"primitives" : [
{
@@ -4052,7 +4837,7 @@
},
{
"name" : "act_21",
- "id" : 67,
+ "id" : 71,
"runtime_data" : [],
"primitives" : [
{
@@ -4101,7 +4886,7 @@
},
{
"name" : "act_22",
- "id" : 68,
+ "id" : 72,
"runtime_data" : [],
"primitives" : [
{
@@ -4150,7 +4935,7 @@
},
{
"name" : "act_23",
- "id" : 69,
+ "id" : 73,
"runtime_data" : [],
"primitives" : [
{
@@ -4158,7 +4943,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp_3"]
},
{
"type" : "expression",
@@ -4194,7 +4979,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp_3"]
}
],
"source_info" : {
@@ -4208,7 +4993,7 @@
},
{
"name" : "act_24",
- "id" : 70,
+ "id" : 74,
"runtime_data" : [],
"primitives" : [
{
@@ -4216,7 +5001,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_4"]
},
{
"type" : "expression",
@@ -4252,7 +5037,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_4"]
}
],
"source_info" : {
@@ -4265,14 +5050,64 @@
]
},
{
+ "name" : "act_25",
+ "id" : 75,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "clone_ingress_pkt_to_egress",
+ "parameters" : [
+ {
+ "type" : "hexstr",
+ "value" : "0x000001f4"
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x1"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name" : "NoAction",
+ "id" : 76,
+ "runtime_data" : [],
+ "primitives" : []
+ },
+ {
+ "name" : "NoAction",
+ "id" : 77,
+ "runtime_data" : [],
+ "primitives" : []
+ },
+ {
+ "name" : "NoAction",
+ "id" : 78,
+ "runtime_data" : [],
+ "primitives" : []
+ },
+ {
+ "name" : "NoAction",
+ "id" : 79,
+ "runtime_data" : [],
+ "primitives" : []
+ },
+ {
+ "name" : "NoAction",
+ "id" : 80,
+ "runtime_data" : [],
+ "primitives" : []
+ },
+ {
"name" : "nop",
- "id" : 71,
+ "id" : 81,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "drop_now",
- "id" : 72,
+ "id" : 82,
"runtime_data" : [],
"primitives" : [
{
@@ -4299,7 +5134,7 @@
},
{
"name" : "drop_now",
- "id" : 73,
+ "id" : 83,
"runtime_data" : [],
"primitives" : [
{
@@ -4326,7 +5161,7 @@
},
{
"name" : "FabricEgress.spgw_egress.gtpu_encap",
- "id" : 74,
+ "id" : 84,
"runtime_data" : [],
"primitives" : [
{
@@ -4377,7 +5212,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 78,
+ "line" : 86,
"column" : 28,
"source_fragment" : "5; ..."
}
@@ -4387,7 +5222,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["gtpu_ipv4", "diffserv"]
+ "value" : ["gtpu_ipv4", "dscp"]
},
{
"type" : "hexstr",
@@ -4398,7 +5233,26 @@
"filename" : "include/spgw.p4",
"line" : 212,
"column" : 8,
- "source_fragment" : "gtpu_ipv4.diffserv = 0"
+ "source_fragment" : "gtpu_ipv4.dscp = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ecn"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/spgw.p4",
+ "line" : 213,
+ "column" : 8,
+ "source_fragment" : "gtpu_ipv4.ecn = 0"
}
},
{
@@ -4438,7 +5292,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 213,
+ "line" : 214,
"column" : 8,
"source_fragment" : "gtpu_ipv4.total_len = spgw_meta.ipv4_len ..."
}
@@ -4457,7 +5311,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 215,
+ "line" : 216,
"column" : 8,
"source_fragment" : "gtpu_ipv4.identification = 0x1513"
}
@@ -4476,7 +5330,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 216,
+ "line" : 217,
"column" : 8,
"source_fragment" : "gtpu_ipv4.flags = 0"
}
@@ -4495,7 +5349,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 217,
+ "line" : 218,
"column" : 8,
"source_fragment" : "gtpu_ipv4.frag_offset = 0"
}
@@ -4514,7 +5368,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 88,
+ "line" : 96,
"column" : 32,
"source_fragment" : "64; ..."
}
@@ -4533,7 +5387,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 75,
+ "line" : 83,
"column" : 25,
"source_fragment" : "17; ..."
}
@@ -4552,7 +5406,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 220,
+ "line" : 221,
"column" : 8,
"source_fragment" : "gtpu_ipv4.dst_addr = spgw_meta.s1u_enb_addr"
}
@@ -4571,7 +5425,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 221,
+ "line" : 222,
"column" : 8,
"source_fragment" : "gtpu_ipv4.src_addr = spgw_meta.s1u_sgw_addr"
}
@@ -4590,7 +5444,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 222,
+ "line" : 223,
"column" : 8,
"source_fragment" : "gtpu_ipv4.hdr_checksum = 0"
}
@@ -4605,7 +5459,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 224,
+ "line" : 225,
"column" : 8,
"source_fragment" : "gtpu_udp.setValid()"
}
@@ -4624,7 +5478,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 225,
+ "line" : 226,
"column" : 8,
"source_fragment" : "gtpu_udp.src_port = 2152"
}
@@ -4643,7 +5497,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 226,
+ "line" : 227,
"column" : 8,
"source_fragment" : "gtpu_udp.dst_port = 2152"
}
@@ -4685,7 +5539,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 227,
+ "line" : 228,
"column" : 8,
"source_fragment" : "gtpu_udp.len = spgw_meta.ipv4_len ..."
}
@@ -4704,7 +5558,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 229,
+ "line" : 230,
"column" : 8,
"source_fragment" : "gtpu_udp.checksum = 0"
}
@@ -4719,7 +5573,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 231,
+ "line" : 232,
"column" : 8,
"source_fragment" : "gtpu.setValid()"
}
@@ -4738,7 +5592,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 232,
+ "line" : 233,
"column" : 8,
"source_fragment" : "gtpu.version = 0x01"
}
@@ -4757,7 +5611,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 233,
+ "line" : 234,
"column" : 8,
"source_fragment" : "gtpu.pt = 0x01"
}
@@ -4776,7 +5630,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 234,
+ "line" : 235,
"column" : 8,
"source_fragment" : "gtpu.spare = 0"
}
@@ -4795,7 +5649,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 235,
+ "line" : 236,
"column" : 8,
"source_fragment" : "gtpu.ex_flag = 0"
}
@@ -4814,7 +5668,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 236,
+ "line" : 237,
"column" : 8,
"source_fragment" : "gtpu.seq_flag = 0"
}
@@ -4833,7 +5687,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 237,
+ "line" : 238,
"column" : 8,
"source_fragment" : "gtpu.npdu_flag = 0"
}
@@ -4852,7 +5706,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 238,
+ "line" : 239,
"column" : 8,
"source_fragment" : "gtpu.msgtype = 0xff"
}
@@ -4871,7 +5725,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 239,
+ "line" : 240,
"column" : 8,
"source_fragment" : "gtpu.msglen = spgw_meta.ipv4_len"
}
@@ -4890,7 +5744,7 @@
],
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 240,
+ "line" : 241,
"column" : 8,
"source_fragment" : "gtpu.teid = spgw_meta.teid"
}
@@ -4898,8 +5752,5220 @@
]
},
{
+ "name" : "FabricEgress.process_int_source.int_source_dscp",
+ "id" : 85,
+ "runtime_data" : [
+ {
+ "name" : "max_hop",
+ "bitwidth" : 8
+ },
+ {
+ "name" : "ins_cnt",
+ "bitwidth" : 5
+ },
+ {
+ "name" : "ins_mask0003",
+ "bitwidth" : 4
+ },
+ {
+ "name" : "ins_mask0407",
+ "bitwidth" : 4
+ }
+ ],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "intl4_shim"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 31,
+ "column" : 8,
+ "source_fragment" : "hdr.intl4_shim.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["intl4_shim", "int_type"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 33,
+ "column" : 8,
+ "source_fragment" : "hdr.intl4_shim.int_type = 1"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["intl4_shim", "len"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x04"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 120,
+ "column" : 35,
+ "source_fragment" : "4; ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_header"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 37,
+ "column" : 8,
+ "source_fragment" : "hdr.int_header.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_header", "ver"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 38,
+ "column" : 8,
+ "source_fragment" : "hdr.int_header.ver = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_header", "rep"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 39,
+ "column" : 8,
+ "source_fragment" : "hdr.int_header.rep = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_header", "c"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 40,
+ "column" : 8,
+ "source_fragment" : "hdr.int_header.c = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_header", "e"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_header.e = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_header", "rsvd1"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 42,
+ "column" : 8,
+ "source_fragment" : "hdr.int_header.rsvd1 = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_header", "ins_cnt"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 1
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 43,
+ "column" : 8,
+ "source_fragment" : "hdr.int_header.ins_cnt = ins_cnt; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_header", "max_hop_cnt"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 0
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 44,
+ "column" : 8,
+ "source_fragment" : "hdr.int_header.max_hop_cnt = max_hop; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_header", "total_hop_cnt"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.int_header.total_hop_cnt = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_header", "instruction_mask_0003"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 2
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 46,
+ "column" : 8,
+ "source_fragment" : "hdr.int_header.instruction_mask_0003 = ins_mask0003; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_header", "instruction_mask_0407"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 3
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_header.instruction_mask_0407 = ins_mask0407; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_header", "instruction_mask_0811"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 48,
+ "column" : 8,
+ "source_fragment" : "hdr.int_header.instruction_mask_0811 = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_header", "instruction_mask_1215"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 49,
+ "column" : 8,
+ "source_fragment" : "hdr.int_header.instruction_mask_1215 = 0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "intl4_tail"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 52,
+ "column" : 8,
+ "source_fragment" : "hdr.intl4_tail.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["intl4_tail", "next_proto"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 53,
+ "column" : 8,
+ "source_fragment" : "hdr.intl4_tail.next_proto = hdr.ipv4.protocol"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["intl4_tail", "dest_port"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t.l4_dst_port"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 54,
+ "column" : 8,
+ "source_fragment" : "hdr.intl4_tail.dest_port = fabric_metadata.l4_dst_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["intl4_tail", "dscp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["ipv4", "dscp"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 55,
+ "column" : 8,
+ "source_fragment" : "hdr.intl4_tail.dscp = (bit<8>) hdr.ipv4.dscp"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0010"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 58,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4.total_len = hdr.ipv4.total_len + 16"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["udp", "len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["udp", "len"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0010"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 59,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.len = hdr.udp.len + 16"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["ipv4", "dscp"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 113,
+ "column" : 24,
+ "source_fragment" : "0x1; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_update_total_hop_cnt",
+ "id" : 86,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_header", "total_hop_cnt"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["int_header", "total_hop_cnt"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 30,
+ "column" : 8,
+ "source_fragment" : "hdr.int_header.total_hop_cnt = hdr.int_header.total_hop_cnt + 1"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_transit",
+ "id" : 87,
+ "runtime_data" : [
+ {
+ "name" : "switch_id",
+ "bitwidth" : 32
+ }
+ ],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "switch_id"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 0
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 34,
+ "column" : 8,
+ "source_fragment" : "fabric_metadata.int_meta.switch_id = switch_id"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "insert_byte_cnt"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "<<",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["int_header", "ins_cnt"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x2"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 35,
+ "column" : 8,
+ "source_fragment" : "fabric_metadata.int_meta.insert_byte_cnt = (bit<16>) hdr.int_header.ins_cnt << 2"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0003_i0",
+ "id" : 88,
+ "runtime_data" : [],
+ "primitives" : []
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0003_i1",
+ "id" : 89,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_occupancy"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 57,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 58,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_occupancy"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_qdepth"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 61,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0003_i2",
+ "id" : 90,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_hop_latency"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 51,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_hop_latency", "hop_latency"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 52,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0003_i3",
+ "id" : 91,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_occupancy"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 57,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 58,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_occupancy"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_qdepth"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 61,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_hop_latency"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 51,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_hop_latency", "hop_latency"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 52,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0003_i4",
+ "id" : 92,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 44,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0003_i5",
+ "id" : 93,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_occupancy"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 57,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 58,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_occupancy"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_qdepth"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 61,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 44,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0003_i6",
+ "id" : 94,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_hop_latency"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 51,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_hop_latency", "hop_latency"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 52,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 44,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0003_i7",
+ "id" : 95,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_occupancy"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 57,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 58,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_occupancy"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_qdepth"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 61,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_hop_latency"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 51,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_hop_latency", "hop_latency"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 52,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 44,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0003_i8",
+ "id" : 96,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 40,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "switch_id"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fabric_metadata.int_meta.switch_id"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0003_i9",
+ "id" : 97,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_occupancy"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 57,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 58,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_occupancy"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_qdepth"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 61,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 40,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "switch_id"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fabric_metadata.int_meta.switch_id"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0003_i10",
+ "id" : 98,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_hop_latency"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 51,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_hop_latency", "hop_latency"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 52,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 40,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "switch_id"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fabric_metadata.int_meta.switch_id"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0003_i11",
+ "id" : 99,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_occupancy"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 57,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 58,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_occupancy"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_qdepth"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 61,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_hop_latency"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 51,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_hop_latency", "hop_latency"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 52,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 40,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "switch_id"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fabric_metadata.int_meta.switch_id"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0003_i12",
+ "id" : 100,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 44,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 40,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "switch_id"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fabric_metadata.int_meta.switch_id"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0003_i13",
+ "id" : 101,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_occupancy"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 57,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 58,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_occupancy"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_qdepth"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 61,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 44,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 40,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "switch_id"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fabric_metadata.int_meta.switch_id"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0003_i14",
+ "id" : 102,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_hop_latency"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 51,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_hop_latency", "hop_latency"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 52,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 44,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 40,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "switch_id"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fabric_metadata.int_meta.switch_id"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0003_i15",
+ "id" : 103,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_occupancy"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 57,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 58,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_occupancy"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_qdepth"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 61,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_hop_latency"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 51,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_hop_latency", "hop_latency"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 52,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 44,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 40,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "switch_id"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fabric_metadata.int_meta.switch_id"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0407_i0",
+ "id" : 104,
+ "runtime_data" : [],
+ "primitives" : []
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0407_i1",
+ "id" : 105,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tx_util"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 88,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tx_util", "egress_port_tx_util"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 89,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0407_i2",
+ "id" : 106,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_congestion"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 78,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 79,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_congestion"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 82,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0407_i3",
+ "id" : 107,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tx_util"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 88,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tx_util", "egress_port_tx_util"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 89,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_congestion"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 78,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 79,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_congestion"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 82,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0407_i4",
+ "id" : 108,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 70,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 71,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0407_i5",
+ "id" : 109,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tx_util"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 88,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tx_util", "egress_port_tx_util"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 89,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 70,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 71,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0407_i6",
+ "id" : 110,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_congestion"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 78,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 79,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_congestion"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 82,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 70,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 71,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0407_i7",
+ "id" : 111,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tx_util"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 88,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tx_util", "egress_port_tx_util"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 89,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_congestion"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 78,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 79,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_congestion"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 82,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 70,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 71,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0407_i8",
+ "id" : 112,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 65,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 66,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0407_i9",
+ "id" : 113,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tx_util"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 88,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tx_util", "egress_port_tx_util"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 89,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 65,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 66,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0407_i10",
+ "id" : 114,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_congestion"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 78,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 79,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_congestion"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 82,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 65,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 66,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0407_i11",
+ "id" : 115,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tx_util"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 88,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tx_util", "egress_port_tx_util"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 89,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_congestion"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 78,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 79,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_congestion"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 82,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 65,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 66,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0407_i12",
+ "id" : 116,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 70,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 71,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 65,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 66,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0407_i13",
+ "id" : 117,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tx_util"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 88,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tx_util", "egress_port_tx_util"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 89,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 70,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 71,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 65,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 66,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0407_i14",
+ "id" : 118,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_congestion"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 78,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 79,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_congestion"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 82,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 70,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 71,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 65,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 66,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.int_set_header_0407_i15",
+ "id" : 119,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tx_util"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 88,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tx_util", "egress_port_tx_util"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 89,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_congestion"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 78,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 79,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_id = ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_congestion"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 82,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 70,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 71,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 65,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 66,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_outer_encap.int_update_ipv4",
+ "id" : 120,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "insert_byte_cnt"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 304,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4.total_len = hdr.ipv4.total_len + fabric_metadata.int_meta.insert_byte_cnt"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_outer_encap.int_update_udp",
+ "id" : 121,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["udp", "len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["udp", "len"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "insert_byte_cnt"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 307,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.len = hdr.udp.len + fabric_metadata.int_meta.insert_byte_cnt"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_outer_encap.int_update_shim",
+ "id" : 122,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["intl4_shim", "len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["intl4_shim", "len"]
+ },
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["int_header", "ins_cnt"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 310,
+ "column" : 8,
+ "source_fragment" : "hdr.intl4_shim.len = hdr.intl4_shim.len + (bit<8>)hdr.int_header.ins_cnt"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_report.do_report_encapsulation",
+ "id" : 123,
+ "runtime_data" : [
+ {
+ "name" : "src_mac",
+ "bitwidth" : 48
+ },
+ {
+ "name" : "mon_mac",
+ "bitwidth" : 48
+ },
+ {
+ "name" : "src_ip",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "mon_ip",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "mon_port",
+ "bitwidth" : 16
+ }
+ ],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "report_ethernet"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 50,
+ "column" : 8,
+ "source_fragment" : "hdr.report_ethernet.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_ethernet", "dst_addr"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 1
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 51,
+ "column" : 8,
+ "source_fragment" : "hdr.report_ethernet.dst_addr = mon_mac"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_ethernet", "src_addr"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 0
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 52,
+ "column" : 8,
+ "source_fragment" : "hdr.report_ethernet.src_addr = src_mac"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_ethernet", "ether_type"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 77,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "report_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 56,
+ "column" : 8,
+ "source_fragment" : "hdr.report_ipv4.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_ipv4", "version"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x04"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 57,
+ "column" : 8,
+ "source_fragment" : "hdr.report_ipv4.version = 4w4"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_ipv4", "ihl"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x05"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 58,
+ "column" : 8,
+ "source_fragment" : "hdr.report_ipv4.ihl = 4w5"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_ipv4", "dscp"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 59,
+ "column" : 8,
+ "source_fragment" : "hdr.report_ipv4.dscp = 6w0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_ipv4", "ecn"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 60,
+ "column" : 8,
+ "source_fragment" : "hdr.report_ipv4.ecn = 2w0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_ipv4", "total_len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "hexstr",
+ "value" : "0x0036"
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 62,
+ "column" : 8,
+ "source_fragment" : "hdr.report_ipv4.total_len = (bit<16>) IPV4_MIN_HEAD_LEN + (bit<16>) UDP_HEADER_LEN + ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_ipv4", "identification"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 65,
+ "column" : 8,
+ "source_fragment" : "hdr.report_ipv4.identification = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_ipv4", "flags"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 66,
+ "column" : 8,
+ "source_fragment" : "hdr.report_ipv4.flags = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_ipv4", "frag_offset"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 67,
+ "column" : 8,
+ "source_fragment" : "hdr.report_ipv4.frag_offset = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_ipv4", "ttl"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 68,
+ "column" : 8,
+ "source_fragment" : "hdr.report_ipv4.ttl = 0xFF"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_ipv4", "protocol"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x11"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 83,
+ "column" : 25,
+ "source_fragment" : "17; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_ipv4", "src_addr"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 2
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 70,
+ "column" : 8,
+ "source_fragment" : "hdr.report_ipv4.src_addr = src_ip"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_ipv4", "dst_addr"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 3
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 71,
+ "column" : 8,
+ "source_fragment" : "hdr.report_ipv4.dst_addr = mon_ip"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "report_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 74,
+ "column" : 8,
+ "source_fragment" : "hdr.report_udp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_udp", "src_port"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 75,
+ "column" : 8,
+ "source_fragment" : "hdr.report_udp.src_port = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_udp", "dst_port"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 4
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 76,
+ "column" : 8,
+ "source_fragment" : "hdr.report_udp.dst_port = mon_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_udp", "len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "hexstr",
+ "value" : "0x0022"
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 77,
+ "column" : 8,
+ "source_fragment" : "hdr.report_udp.len = (bit<16>) UDP_HEADER_LEN + (bit<16>) REPORT_FIXED_HEADER_LEN + ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t.compute_checksum"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 80,
+ "column" : 8,
+ "source_fragment" : "fabric_metadata.compute_checksum = true"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "report_fixed_header"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 30,
+ "column" : 8,
+ "source_fragment" : "hdr.report_fixed_header.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_fixed_header", "ver"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 31,
+ "column" : 8,
+ "source_fragment" : "hdr.report_fixed_header.ver = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_fixed_header", "nproto"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 125,
+ "column" : 31,
+ "source_fragment" : "0; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_fixed_header", "d"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 34,
+ "column" : 8,
+ "source_fragment" : "hdr.report_fixed_header.d = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_fixed_header", "q"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 35,
+ "column" : 8,
+ "source_fragment" : "hdr.report_fixed_header.q = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_fixed_header", "f"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 36,
+ "column" : 8,
+ "source_fragment" : "hdr.report_fixed_header.f = 1"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_fixed_header", "rsvd"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 37,
+ "column" : 8,
+ "source_fragment" : "hdr.report_fixed_header.rsvd = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_fixed_header", "hw_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 129,
+ "column" : 21,
+ "source_fragment" : "1; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_fixed_header", "seq_no"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.report_fixed_header.seq_no = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["report_fixed_header", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 43,
+ "column" : 8,
+ "source_fragment" : "hdr.report_fixed_header.ingress_tstamp = ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_sink.restore_header",
+ "id" : 124,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["udp", "dst_port"]
+ },
+ {
+ "type" : "field",
+ "value" : ["intl4_tail", "dest_port"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_sink.p4",
+ "line" : 26,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.dst_port = hdr.intl4_tail.dest_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["ipv4", "dscp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["intl4_tail", "dscp"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x3f"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_sink.p4",
+ "line" : 27,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4.dscp = (bit<6>)hdr.intl4_tail.dscp"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_sink.int_sink",
+ "id" : 125,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "-",
+ "left" : {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ },
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "<<",
+ "left" : {
+ "type" : "field",
+ "value" : ["intl4_shim", "len"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x2"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_sink.p4",
+ "line" : 32,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4.total_len = hdr.ipv4.total_len - (bit<16>)(hdr.intl4_shim.len << 2)"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["udp", "len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "-",
+ "left" : {
+ "type" : "field",
+ "value" : ["udp", "len"]
+ },
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "<<",
+ "left" : {
+ "type" : "field",
+ "value" : ["intl4_shim", "len"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x2"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_sink.p4",
+ "line" : 33,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.len = hdr.udp.len - (bit<16>)(hdr.intl4_shim.len << 2)"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_header"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_sink.p4",
+ "line" : 35,
+ "column" : 8,
+ "source_fragment" : "hdr.int_header.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_data"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_sink.p4",
+ "line" : 36,
+ "column" : 8,
+ "source_fragment" : "hdr.int_data.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "intl4_shim"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_sink.p4",
+ "line" : 37,
+ "column" : 8,
+ "source_fragment" : "hdr.intl4_shim.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "intl4_tail"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_sink.p4",
+ "line" : 38,
+ "column" : 8,
+ "source_fragment" : "hdr.intl4_tail.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_sink.p4",
+ "line" : 39,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_sink.p4",
+ "line" : 40,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_hop_latency"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_sink.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_occupancy"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_sink.p4",
+ "line" : 42,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_sink.p4",
+ "line" : 43,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_sink.p4",
+ "line" : 44,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_congestion"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_sink.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tx_util"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int_sink.p4",
+ "line" : 46,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
"name" : "FabricEgress.pkt_io_egress.pop_vlan",
- "id" : 75,
+ "id" : 126,
"runtime_data" : [],
"primitives" : [
{
@@ -4940,7 +11006,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_vlan",
- "id" : 76,
+ "id" : 127,
"runtime_data" : [],
"primitives" : [
{
@@ -4980,8 +11046,8 @@
]
},
{
- "name" : "act_25",
- "id" : 77,
+ "name" : "act_26",
+ "id" : 128,
"runtime_data" : [],
"primitives" : [
{
@@ -5021,8 +11087,8 @@
]
},
{
- "name" : "act_26",
- "id" : 78,
+ "name" : "act_27",
+ "id" : 129,
"runtime_data" : [],
"primitives" : [
{
@@ -5035,7 +11101,7 @@
],
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 86,
"column" : 36,
"source_fragment" : "hdr.gtpu_ipv4"
}
@@ -5050,7 +11116,7 @@
],
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 86,
"column" : 51,
"source_fragment" : "hdr.gtpu_udp"
}
@@ -5065,7 +11131,7 @@
],
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 86,
"column" : 65,
"source_fragment" : "hdr.gtpu"
}
@@ -5079,7 +11145,7 @@
"id" : 0,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 33,
+ "line" : 40,
"column" : 8,
"source_fragment" : "FabricIngress"
},
@@ -5095,14 +11161,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [45],
+ "action_ids" : [49],
"actions" : ["act"],
"base_default_next" : null,
"next_tables" : {
"act" : null
},
"default_entry" : {
- "action_id" : 45,
+ "action_id" : 49,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5118,14 +11184,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [53],
+ "action_ids" : [57],
"actions" : ["act_7"],
"base_default_next" : "node_5",
"next_tables" : {
"act_7" : "node_5"
},
"default_entry" : {
- "action_id" : 53,
+ "action_id" : 57,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5141,14 +11207,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [48],
+ "action_ids" : [52],
"actions" : ["act_2"],
"base_default_next" : "FabricIngress.spgw_ingress.s1u_filter_table",
"next_tables" : {
"act_2" : "FabricIngress.spgw_ingress.s1u_filter_table"
},
"default_entry" : {
- "action_id" : 48,
+ "action_id" : 52,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5201,14 +11267,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [46],
+ "action_ids" : [50],
"actions" : ["act_0"],
"base_default_next" : "node_10",
"next_tables" : {
"act_0" : "node_10"
},
"default_entry" : {
- "action_id" : 46,
+ "action_id" : 50,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5224,14 +11290,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [47],
+ "action_ids" : [51],
"actions" : ["act_1"],
"base_default_next" : "node_10",
"next_tables" : {
"act_1" : "node_10"
},
"default_entry" : {
- "action_id" : 47,
+ "action_id" : 51,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5247,14 +11313,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [49],
+ "action_ids" : [53],
"actions" : ["act_3"],
"base_default_next" : "node_17",
"next_tables" : {
"act_3" : "node_17"
},
"default_entry" : {
- "action_id" : 49,
+ "action_id" : 53,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5307,14 +11373,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [50],
+ "action_ids" : [54],
"actions" : ["act_4"],
"base_default_next" : "node_15",
"next_tables" : {
"act_4" : "node_15"
},
"default_entry" : {
- "action_id" : 50,
+ "action_id" : 54,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5330,14 +11396,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [51],
+ "action_ids" : [55],
"actions" : ["act_5"],
"base_default_next" : "node_15",
"next_tables" : {
"act_5" : "node_15"
},
"default_entry" : {
- "action_id" : 51,
+ "action_id" : 55,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5353,14 +11419,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [52],
+ "action_ids" : [56],
"actions" : ["act_6"],
"base_default_next" : "node_17",
"next_tables" : {
"act_6" : "node_17"
},
"default_entry" : {
- "action_id" : 52,
+ "action_id" : 56,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5376,14 +11442,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [54],
+ "action_ids" : [58],
"actions" : ["act_8"],
"base_default_next" : "node_19",
"next_tables" : {
"act_8" : "node_19"
},
"default_entry" : {
- "action_id" : 54,
+ "action_id" : 58,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5399,14 +11465,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [17],
+ "action_ids" : [19],
"actions" : ["FabricIngress.spgw_ingress.gtpu_decap"],
"base_default_next" : "node_22",
"next_tables" : {
"FabricIngress.spgw_ingress.gtpu_decap" : "node_22"
},
"default_entry" : {
- "action_id" : 17,
+ "action_id" : 19,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5435,7 +11501,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [18, 2],
+ "action_ids" : [20, 2],
"actions" : ["FabricIngress.spgw_ingress.set_dl_sess_info", "NoAction"],
"base_default_next" : null,
"next_tables" : {
@@ -5459,14 +11525,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [55],
+ "action_ids" : [59],
"actions" : ["act_9"],
"base_default_next" : "node_26",
"next_tables" : {
"act_9" : "node_26"
},
"default_entry" : {
- "action_id" : 55,
+ "action_id" : 59,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5482,14 +11548,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [56],
+ "action_ids" : [60],
"actions" : ["act_10"],
"base_default_next" : "node_26",
"next_tables" : {
"act_10" : "node_26"
},
"default_entry" : {
- "action_id" : 56,
+ "action_id" : 60,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5505,14 +11571,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [16],
+ "action_ids" : [18],
"actions" : ["drop_now"],
"base_default_next" : "FabricIngress.spgw_ingress.ue_cdr_table",
"next_tables" : {
"drop_now" : "FabricIngress.spgw_ingress.ue_cdr_table"
},
"default_entry" : {
- "action_id" : 16,
+ "action_id" : 18,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5541,7 +11607,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [19, 3],
+ "action_ids" : [21, 3],
"actions" : ["FabricIngress.spgw_ingress.update_ue_cdr", "NoAction"],
"base_default_next" : "tbl_act_11",
"next_tables" : {
@@ -5565,14 +11631,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [57],
+ "action_ids" : [61],
"actions" : ["act_11"],
"base_default_next" : "FabricIngress.filtering.ingress_port_vlan",
"next_tables" : {
"act_11" : "FabricIngress.filtering.ingress_port_vlan"
},
"default_entry" : {
- "action_id" : 57,
+ "action_id" : 61,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5613,7 +11679,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [22, 21, 13, 20],
+ "action_ids" : [26, 25, 15, 24],
"actions" : ["FabricIngress.filtering.push_internal_vlan", "FabricIngress.filtering.set_vlan", "nop", "FabricIngress.filtering.drop"],
"base_default_next" : "FabricIngress.filtering.fwd_classifier",
"next_tables" : {
@@ -5623,7 +11689,7 @@
"FabricIngress.filtering.drop" : "FabricIngress.filtering.fwd_classifier"
},
"default_entry" : {
- "action_id" : 13,
+ "action_id" : 15,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5664,14 +11730,14 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [23],
+ "action_ids" : [27],
"actions" : ["FabricIngress.filtering.set_forwarding_type"],
"base_default_next" : "node_32",
"next_tables" : {
"FabricIngress.filtering.set_forwarding_type" : "node_32"
},
"default_entry" : {
- "action_id" : 23,
+ "action_id" : 27,
"action_const" : true,
"action_data" : ["0x0"],
"action_entry_const" : true
@@ -5706,7 +11772,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [24, 4],
+ "action_ids" : [28, 6],
"actions" : ["FabricIngress.forwarding.set_next_id_bridging", "NoAction"],
"base_default_next" : "FabricIngress.forwarding.acl",
"next_tables" : {
@@ -5714,7 +11780,7 @@
"NoAction" : "FabricIngress.forwarding.acl"
},
"default_entry" : {
- "action_id" : 4,
+ "action_id" : 6,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -5743,7 +11809,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [25, 5],
+ "action_ids" : [29, 7],
"actions" : ["FabricIngress.forwarding.pop_mpls_and_next", "NoAction"],
"base_default_next" : "tbl_act_12",
"next_tables" : {
@@ -5751,7 +11817,7 @@
"NoAction" : "tbl_act_12"
},
"default_entry" : {
- "action_id" : 5,
+ "action_id" : 7,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -5767,14 +11833,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [58],
+ "action_ids" : [62],
"actions" : ["act_12"],
"base_default_next" : "FabricIngress.forwarding.acl",
"next_tables" : {
"act_12" : "FabricIngress.forwarding.acl"
},
"default_entry" : {
- "action_id" : 58,
+ "action_id" : 62,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5803,7 +11869,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [26, 6],
+ "action_ids" : [30, 8],
"actions" : ["FabricIngress.forwarding.set_next_id_unicast_v4", "NoAction"],
"base_default_next" : "FabricIngress.forwarding.acl",
"next_tables" : {
@@ -5811,7 +11877,7 @@
"NoAction" : "FabricIngress.forwarding.acl"
},
"default_entry" : {
- "action_id" : 6,
+ "action_id" : 8,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -5846,7 +11912,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [31, 7],
+ "action_ids" : [35, 9],
"actions" : ["FabricIngress.forwarding.set_next_id_multicast_v4", "NoAction"],
"base_default_next" : "FabricIngress.forwarding.acl",
"next_tables" : {
@@ -5854,7 +11920,7 @@
"NoAction" : "FabricIngress.forwarding.acl"
},
"default_entry" : {
- "action_id" : 7,
+ "action_id" : 9,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -5883,7 +11949,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [32, 8],
+ "action_ids" : [36, 10],
"actions" : ["FabricIngress.forwarding.set_next_id_unicast_v6", "NoAction"],
"base_default_next" : "FabricIngress.forwarding.acl",
"next_tables" : {
@@ -5891,7 +11957,7 @@
"NoAction" : "FabricIngress.forwarding.acl"
},
"default_entry" : {
- "action_id" : 8,
+ "action_id" : 10,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -5926,7 +11992,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [33, 9],
+ "action_ids" : [37, 11],
"actions" : ["FabricIngress.forwarding.set_next_id_multicast_v6", "NoAction"],
"base_default_next" : "FabricIngress.forwarding.acl",
"next_tables" : {
@@ -5934,7 +12000,7 @@
"NoAction" : "FabricIngress.forwarding.acl"
},
"default_entry" : {
- "action_id" : 9,
+ "action_id" : 11,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -6029,7 +12095,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [27, 28, 29, 30, 14],
+ "action_ids" : [31, 32, 33, 34, 16],
"actions" : ["FabricIngress.forwarding.set_next_id_acl", "FabricIngress.forwarding.punt_to_cpu", "FabricIngress.forwarding.clone_to_cpu", "FabricIngress.forwarding.drop", "nop"],
"base_default_next" : "tbl_act_13",
"next_tables" : {
@@ -6040,7 +12106,7 @@
"nop" : "tbl_act_13"
},
"default_entry" : {
- "action_id" : 14,
+ "action_id" : 16,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6056,14 +12122,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [59],
+ "action_ids" : [63],
"actions" : ["act_13"],
"base_default_next" : "FabricIngress.next.vlan_meta",
"next_tables" : {
"act_13" : "FabricIngress.next.vlan_meta"
},
"default_entry" : {
- "action_id" : 59,
+ "action_id" : 63,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6092,7 +12158,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [34, 15],
+ "action_ids" : [38, 17],
"actions" : ["FabricIngress.next.set_vlan", "nop"],
"base_default_next" : "FabricIngress.next.simple",
"next_tables" : {
@@ -6100,7 +12166,7 @@
"nop" : "FabricIngress.next.simple"
},
"default_entry" : {
- "action_id" : 15,
+ "action_id" : 17,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -6129,7 +12195,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [35, 36, 37, 38, 39, 40, 10],
+ "action_ids" : [39, 40, 41, 42, 43, 44, 12],
"actions" : ["FabricIngress.next.output_simple", "FabricIngress.next.set_vlan_output", "FabricIngress.next.l3_routing_simple", "FabricIngress.next.mpls_routing_v4_simple", "FabricIngress.next.mpls_routing_v6_simple", "FabricIngress.next.l3_routing_vlan", "NoAction"],
"base_default_next" : null,
"next_tables" : {
@@ -6137,7 +12203,7 @@
"__MISS__" : "tbl_act_15"
},
"default_entry" : {
- "action_id" : 10,
+ "action_id" : 12,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -6153,14 +12219,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [60],
+ "action_ids" : [64],
"actions" : ["act_14"],
"base_default_next" : "node_51",
"next_tables" : {
"act_14" : "node_51"
},
"default_entry" : {
- "action_id" : 60,
+ "action_id" : 64,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6176,14 +12242,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [61],
+ "action_ids" : [65],
"actions" : ["act_15"],
"base_default_next" : "node_51",
"next_tables" : {
"act_15" : "node_51"
},
"default_entry" : {
- "action_id" : 61,
+ "action_id" : 65,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6213,7 +12279,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [41, 42, 43, 11],
+ "action_ids" : [45, 46, 47, 13],
"actions" : ["FabricIngress.next.l3_routing_hashed", "FabricIngress.next.mpls_routing_v4_hashed", "FabricIngress.next.mpls_routing_v6_hashed", "NoAction"],
"base_default_next" : null,
"next_tables" : {
@@ -6231,14 +12297,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [62],
+ "action_ids" : [66],
"actions" : ["act_16"],
"base_default_next" : "node_55",
"next_tables" : {
"act_16" : "node_55"
},
"default_entry" : {
- "action_id" : 62,
+ "action_id" : 66,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6254,14 +12320,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [63],
+ "action_ids" : [67],
"actions" : ["act_17"],
"base_default_next" : "node_55",
"next_tables" : {
"act_17" : "node_55"
},
"default_entry" : {
- "action_id" : 63,
+ "action_id" : 67,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6290,7 +12356,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [44, 12],
+ "action_ids" : [48, 14],
"actions" : ["FabricIngress.next.set_mcast_group", "NoAction"],
"base_default_next" : null,
"next_tables" : {
@@ -6298,7 +12364,7 @@
"__MISS__" : "tbl_act_19"
},
"default_entry" : {
- "action_id" : 12,
+ "action_id" : 14,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -6314,14 +12380,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [64],
+ "action_ids" : [68],
"actions" : ["act_18"],
"base_default_next" : "node_59",
"next_tables" : {
"act_18" : "node_59"
},
"default_entry" : {
- "action_id" : 64,
+ "action_id" : 68,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6337,14 +12403,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [65],
+ "action_ids" : [69],
"actions" : ["act_19"],
"base_default_next" : "node_59",
"next_tables" : {
"act_19" : "node_59"
},
"default_entry" : {
- "action_id" : 65,
+ "action_id" : 69,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6360,14 +12426,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [66],
+ "action_ids" : [70],
"actions" : ["act_20"],
"base_default_next" : "node_61",
"next_tables" : {
"act_20" : "node_61"
},
"default_entry" : {
- "action_id" : 66,
+ "action_id" : 70,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6383,14 +12449,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [67],
+ "action_ids" : [71],
"actions" : ["act_21"],
"base_default_next" : "node_67",
"next_tables" : {
"act_21" : "node_67"
},
"default_entry" : {
- "action_id" : 67,
+ "action_id" : 71,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6406,14 +12472,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [68],
+ "action_ids" : [72],
"actions" : ["act_22"],
"base_default_next" : "node_67",
"next_tables" : {
"act_22" : "node_67"
},
"default_entry" : {
- "action_id" : 68,
+ "action_id" : 72,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6429,14 +12495,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [69],
+ "action_ids" : [73],
"actions" : ["act_23"],
"base_default_next" : "node_69",
"next_tables" : {
"act_23" : "node_69"
},
"default_entry" : {
- "action_id" : 69,
+ "action_id" : 73,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6452,14 +12518,111 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [70],
+ "action_ids" : [74],
"actions" : ["act_24"],
- "base_default_next" : null,
+ "base_default_next" : "FabricIngress.process_set_source_sink.tb_set_source",
"next_tables" : {
- "act_24" : null
+ "act_24" : "FabricIngress.process_set_source_sink.tb_set_source"
},
"default_entry" : {
- "action_id" : 70,
+ "action_id" : 74,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.process_set_source_sink.tb_set_source",
+ "id" : 45,
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 101,
+ "column" : 10,
+ "source_fragment" : "tb_set_source"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "standard_metadata.ingress_port",
+ "target" : ["standard_metadata", "ingress_port"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 256,
+ "with_counters" : true,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [22, 4],
+ "actions" : ["FabricIngress.process_set_source_sink.int_set_source", "NoAction"],
+ "base_default_next" : "FabricIngress.process_set_source_sink.tb_set_sink",
+ "next_tables" : {
+ "FabricIngress.process_set_source_sink.int_set_source" : "FabricIngress.process_set_source_sink.tb_set_sink",
+ "NoAction" : "FabricIngress.process_set_source_sink.tb_set_sink"
+ },
+ "default_entry" : {
+ "action_id" : 4,
+ "action_const" : false,
+ "action_data" : [],
+ "action_entry_const" : false
+ }
+ },
+ {
+ "name" : "FabricIngress.process_set_source_sink.tb_set_sink",
+ "id" : 46,
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 111,
+ "column" : 10,
+ "source_fragment" : "tb_set_sink"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "standard_metadata.egress_spec",
+ "target" : ["standard_metadata", "egress_spec"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 256,
+ "with_counters" : true,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [23, 5],
+ "actions" : ["FabricIngress.process_set_source_sink.int_set_sink", "NoAction"],
+ "base_default_next" : "node_73",
+ "next_tables" : {
+ "FabricIngress.process_set_source_sink.int_set_sink" : "node_73",
+ "NoAction" : "node_73"
+ },
+ "default_entry" : {
+ "action_id" : 5,
+ "action_const" : false,
+ "action_data" : [],
+ "action_entry_const" : false
+ }
+ },
+ {
+ "name" : "tbl_act_25",
+ "id" : 47,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [75],
+ "actions" : ["act_25"],
+ "base_default_next" : null,
+ "next_tables" : {
+ "act_25" : null
+ },
+ "default_entry" : {
+ "action_id" : 75,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7113,8 +13276,34 @@
}
}
},
+ "true_next" : "tbl_act_24",
+ "false_next" : "FabricIngress.process_set_source_sink.tb_set_source"
+ },
+ {
+ "name" : "node_73",
+ "id" : 24,
+ "source_info" : {
+ "filename" : "fabric.p4",
+ "line" : 66,
+ "column" : 11,
+ "source_fragment" : "fabric_metadata.int_meta.sink == 1"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "sink"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ }
+ },
"false_next" : null,
- "true_next" : "tbl_act_24"
+ "true_next" : "tbl_act_25"
}
]
},
@@ -7123,15 +13312,15 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 61,
+ "line" : 76,
"column" : 8,
"source_fragment" : "FabricEgress"
},
- "init_table" : "node_73",
+ "init_table" : "node_77",
"tables" : [
{
"name" : "tbl_drop_now_0",
- "id" : 45,
+ "id" : 48,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -7139,14 +13328,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [72],
+ "action_ids" : [82],
"actions" : ["drop_now"],
"base_default_next" : "FabricEgress.egress_next.egress_vlan",
"next_tables" : {
"drop_now" : "FabricEgress.egress_next.egress_vlan"
},
"default_entry" : {
- "action_id" : 72,
+ "action_id" : 82,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7154,7 +13343,7 @@
},
{
"name" : "FabricEgress.egress_next.egress_vlan",
- "id" : 46,
+ "id" : 49,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 258,
@@ -7181,15 +13370,15 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [76, 71],
+ "action_ids" : [127, 81],
"actions" : ["FabricEgress.egress_next.pop_vlan", "nop"],
- "base_default_next" : "node_76",
+ "base_default_next" : "node_80",
"next_tables" : {
- "FabricEgress.egress_next.pop_vlan" : "node_76",
- "nop" : "node_76"
+ "FabricEgress.egress_next.pop_vlan" : "node_80",
+ "nop" : "node_80"
},
"default_entry" : {
- "action_id" : 71,
+ "action_id" : 81,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -7197,75 +13386,6 @@
},
{
"name" : "tbl_pkt_io_egress_pop_vlan",
- "id" : 47,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [75],
- "actions" : ["FabricEgress.pkt_io_egress.pop_vlan"],
- "base_default_next" : "node_79",
- "next_tables" : {
- "FabricEgress.pkt_io_egress.pop_vlan" : "node_79"
- },
- "default_entry" : {
- "action_id" : 75,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_drop_now_1",
- "id" : 48,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [73],
- "actions" : ["drop_now"],
- "base_default_next" : "tbl_act_25",
- "next_tables" : {
- "drop_now" : "tbl_act_25"
- },
- "default_entry" : {
- "action_id" : 73,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_25",
- "id" : 49,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [77],
- "actions" : ["act_25"],
- "base_default_next" : "tbl_act_26",
- "next_tables" : {
- "act_25" : "tbl_act_26"
- },
- "default_entry" : {
- "action_id" : 77,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_26",
"id" : 50,
"key" : [],
"match_type" : "exact",
@@ -7274,21 +13394,21 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [78],
- "actions" : ["act_26"],
+ "action_ids" : [126],
+ "actions" : ["FabricEgress.pkt_io_egress.pop_vlan"],
"base_default_next" : "node_83",
"next_tables" : {
- "act_26" : "node_83"
+ "FabricEgress.pkt_io_egress.pop_vlan" : "node_83"
},
"default_entry" : {
- "action_id" : 78,
+ "action_id" : 126,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_spgw_egress_gtpu_encap",
+ "name" : "tbl_drop_now_1",
"id" : 51,
"key" : [],
"match_type" : "exact",
@@ -7297,14 +13417,440 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [74],
- "actions" : ["FabricEgress.spgw_egress.gtpu_encap"],
- "base_default_next" : null,
+ "action_ids" : [83],
+ "actions" : ["drop_now"],
+ "base_default_next" : "tbl_act_26",
"next_tables" : {
- "FabricEgress.spgw_egress.gtpu_encap" : null
+ "drop_now" : "tbl_act_26"
},
"default_entry" : {
- "action_id" : 74,
+ "action_id" : 83,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_26",
+ "id" : 52,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [128],
+ "actions" : ["act_26"],
+ "base_default_next" : "tbl_act_27",
+ "next_tables" : {
+ "act_26" : "tbl_act_27"
+ },
+ "default_entry" : {
+ "action_id" : 128,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_27",
+ "id" : 53,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [129],
+ "actions" : ["act_27"],
+ "base_default_next" : "node_87",
+ "next_tables" : {
+ "act_27" : "node_87"
+ },
+ "default_entry" : {
+ "action_id" : 129,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_spgw_egress_gtpu_encap",
+ "id" : 54,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [84],
+ "actions" : ["FabricEgress.spgw_egress.gtpu_encap"],
+ "base_default_next" : "node_89",
+ "next_tables" : {
+ "FabricEgress.spgw_egress.gtpu_encap" : "node_89"
+ },
+ "default_entry" : {
+ "action_id" : 84,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricEgress.process_int_source.tb_int_source",
+ "id" : 55,
+ "source_info" : {
+ "filename" : "include/int_source.p4",
+ "line" : 66,
+ "column" : 10,
+ "source_fragment" : "tb_int_source"
+ },
+ "key" : [
+ {
+ "match_type" : "ternary",
+ "name" : "hdr.ipv4.src_addr",
+ "target" : ["ipv4", "src_addr"],
+ "mask" : null
+ },
+ {
+ "match_type" : "ternary",
+ "name" : "hdr.ipv4.dst_addr",
+ "target" : ["ipv4", "dst_addr"],
+ "mask" : null
+ },
+ {
+ "match_type" : "ternary",
+ "name" : "fabric_metadata.l4_src_port",
+ "target" : ["scalars", "fabric_metadata_t.l4_src_port"],
+ "mask" : null
+ },
+ {
+ "match_type" : "ternary",
+ "name" : "fabric_metadata.l4_dst_port",
+ "target" : ["scalars", "fabric_metadata_t.l4_dst_port"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "ternary",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : true,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [85, 76],
+ "actions" : ["FabricEgress.process_int_source.int_source_dscp", "NoAction"],
+ "base_default_next" : "node_92",
+ "next_tables" : {
+ "FabricEgress.process_int_source.int_source_dscp" : "node_92",
+ "NoAction" : "node_92"
+ },
+ "default_entry" : {
+ "action_id" : 76,
+ "action_const" : false,
+ "action_data" : [],
+ "action_entry_const" : false
+ }
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.tb_int_insert",
+ "id" : 56,
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 227,
+ "column" : 10,
+ "source_fragment" : "tb_int_insert"
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 2,
+ "with_counters" : true,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [87, 77],
+ "actions" : ["FabricEgress.process_int_transit.int_transit", "NoAction"],
+ "base_default_next" : "FabricEgress.process_int_transit.tb_int_inst_0003",
+ "next_tables" : {
+ "FabricEgress.process_int_transit.int_transit" : "FabricEgress.process_int_transit.tb_int_inst_0003",
+ "NoAction" : "FabricEgress.process_int_transit.tb_int_inst_0003"
+ },
+ "default_entry" : {
+ "action_id" : 77,
+ "action_const" : false,
+ "action_data" : [],
+ "action_entry_const" : false
+ }
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.tb_int_inst_0003",
+ "id" : 57,
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 237,
+ "column" : 10,
+ "source_fragment" : "tb_int_inst_0003"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "hdr.int_header.instruction_mask_0003",
+ "target" : ["int_header", "instruction_mask_0003"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 16,
+ "with_counters" : true,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 78],
+ "actions" : ["FabricEgress.process_int_transit.int_set_header_0003_i0", "FabricEgress.process_int_transit.int_set_header_0003_i1", "FabricEgress.process_int_transit.int_set_header_0003_i2", "FabricEgress.process_int_transit.int_set_header_0003_i3", "FabricEgress.process_int_transit.int_set_header_0003_i4", "FabricEgress.process_int_transit.int_set_header_0003_i5", "FabricEgress.process_int_transit.int_set_header_0003_i6", "FabricEgress.process_int_transit.int_set_header_0003_i7", "FabricEgress.process_int_transit.int_set_header_0003_i8", "FabricEgress.process_int_transit.int_set_header_0003_i9", "FabricEgress.process_int_transit.int_set_header_0003_i10", "FabricEgress.process_int_transit.int_set_header_0003_i11", "FabricEgress.process_int_transit.int_set_header_0003_i12", "FabricEgress.process_int_transit.int_set_header_0003_i13", "FabricEgress.process_int_transit.int_set_header_0003_i14", "FabricEgress.process_int_transit.int_set_header_0003_i15", "NoAction"],
+ "base_default_next" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "next_tables" : {
+ "FabricEgress.process_int_transit.int_set_header_0003_i0" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "FabricEgress.process_int_transit.int_set_header_0003_i1" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "FabricEgress.process_int_transit.int_set_header_0003_i2" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "FabricEgress.process_int_transit.int_set_header_0003_i3" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "FabricEgress.process_int_transit.int_set_header_0003_i4" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "FabricEgress.process_int_transit.int_set_header_0003_i5" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "FabricEgress.process_int_transit.int_set_header_0003_i6" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "FabricEgress.process_int_transit.int_set_header_0003_i7" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "FabricEgress.process_int_transit.int_set_header_0003_i8" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "FabricEgress.process_int_transit.int_set_header_0003_i9" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "FabricEgress.process_int_transit.int_set_header_0003_i10" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "FabricEgress.process_int_transit.int_set_header_0003_i11" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "FabricEgress.process_int_transit.int_set_header_0003_i12" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "FabricEgress.process_int_transit.int_set_header_0003_i13" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "FabricEgress.process_int_transit.int_set_header_0003_i14" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "FabricEgress.process_int_transit.int_set_header_0003_i15" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "NoAction" : "FabricEgress.process_int_transit.tb_int_inst_0407"
+ },
+ "default_entry" : {
+ "action_id" : 78,
+ "action_const" : false,
+ "action_data" : [],
+ "action_entry_const" : false
+ }
+ },
+ {
+ "name" : "FabricEgress.process_int_transit.tb_int_inst_0407",
+ "id" : 58,
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 264,
+ "column" : 10,
+ "source_fragment" : "tb_int_inst_0407"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "hdr.int_header.instruction_mask_0407",
+ "target" : ["int_header", "instruction_mask_0407"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 16,
+ "with_counters" : true,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 79],
+ "actions" : ["FabricEgress.process_int_transit.int_set_header_0407_i0", "FabricEgress.process_int_transit.int_set_header_0407_i1", "FabricEgress.process_int_transit.int_set_header_0407_i2", "FabricEgress.process_int_transit.int_set_header_0407_i3", "FabricEgress.process_int_transit.int_set_header_0407_i4", "FabricEgress.process_int_transit.int_set_header_0407_i5", "FabricEgress.process_int_transit.int_set_header_0407_i6", "FabricEgress.process_int_transit.int_set_header_0407_i7", "FabricEgress.process_int_transit.int_set_header_0407_i8", "FabricEgress.process_int_transit.int_set_header_0407_i9", "FabricEgress.process_int_transit.int_set_header_0407_i10", "FabricEgress.process_int_transit.int_set_header_0407_i11", "FabricEgress.process_int_transit.int_set_header_0407_i12", "FabricEgress.process_int_transit.int_set_header_0407_i13", "FabricEgress.process_int_transit.int_set_header_0407_i14", "FabricEgress.process_int_transit.int_set_header_0407_i15", "NoAction"],
+ "base_default_next" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "next_tables" : {
+ "FabricEgress.process_int_transit.int_set_header_0407_i0" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "FabricEgress.process_int_transit.int_set_header_0407_i1" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "FabricEgress.process_int_transit.int_set_header_0407_i2" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "FabricEgress.process_int_transit.int_set_header_0407_i3" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "FabricEgress.process_int_transit.int_set_header_0407_i4" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "FabricEgress.process_int_transit.int_set_header_0407_i5" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "FabricEgress.process_int_transit.int_set_header_0407_i6" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "FabricEgress.process_int_transit.int_set_header_0407_i7" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "FabricEgress.process_int_transit.int_set_header_0407_i8" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "FabricEgress.process_int_transit.int_set_header_0407_i9" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "FabricEgress.process_int_transit.int_set_header_0407_i10" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "FabricEgress.process_int_transit.int_set_header_0407_i11" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "FabricEgress.process_int_transit.int_set_header_0407_i12" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "FabricEgress.process_int_transit.int_set_header_0407_i13" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "FabricEgress.process_int_transit.int_set_header_0407_i14" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "FabricEgress.process_int_transit.int_set_header_0407_i15" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "NoAction" : "tbl_process_int_transit_int_update_total_hop_cnt"
+ },
+ "default_entry" : {
+ "action_id" : 79,
+ "action_const" : false,
+ "action_data" : [],
+ "action_entry_const" : false
+ }
+ },
+ {
+ "name" : "tbl_process_int_transit_int_update_total_hop_cnt",
+ "id" : 59,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [86],
+ "actions" : ["FabricEgress.process_int_transit.int_update_total_hop_cnt"],
+ "base_default_next" : "node_97",
+ "next_tables" : {
+ "FabricEgress.process_int_transit.int_update_total_hop_cnt" : "node_97"
+ },
+ "default_entry" : {
+ "action_id" : 86,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_process_int_outer_encap_int_update_ipv4",
+ "id" : 60,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [120],
+ "actions" : ["FabricEgress.process_int_outer_encap.int_update_ipv4"],
+ "base_default_next" : "node_99",
+ "next_tables" : {
+ "FabricEgress.process_int_outer_encap.int_update_ipv4" : "node_99"
+ },
+ "default_entry" : {
+ "action_id" : 120,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_process_int_outer_encap_int_update_udp",
+ "id" : 61,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [121],
+ "actions" : ["FabricEgress.process_int_outer_encap.int_update_udp"],
+ "base_default_next" : "node_101",
+ "next_tables" : {
+ "FabricEgress.process_int_outer_encap.int_update_udp" : "node_101"
+ },
+ "default_entry" : {
+ "action_id" : 121,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_process_int_outer_encap_int_update_shim",
+ "id" : 62,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [122],
+ "actions" : ["FabricEgress.process_int_outer_encap.int_update_shim"],
+ "base_default_next" : "node_103",
+ "next_tables" : {
+ "FabricEgress.process_int_outer_encap.int_update_shim" : "node_103"
+ },
+ "default_entry" : {
+ "action_id" : 122,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricEgress.process_int_report.tb_generate_report",
+ "id" : 63,
+ "source_info" : {
+ "filename" : "include/int_report.p4",
+ "line" : 87,
+ "column" : 10,
+ "source_fragment" : "tb_generate_report"
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [123, 80],
+ "actions" : ["FabricEgress.process_int_report.do_report_encapsulation", "NoAction"],
+ "base_default_next" : "node_105",
+ "next_tables" : {
+ "FabricEgress.process_int_report.do_report_encapsulation" : "node_105",
+ "NoAction" : "node_105"
+ },
+ "default_entry" : {
+ "action_id" : 80,
+ "action_const" : false,
+ "action_data" : [],
+ "action_entry_const" : false
+ }
+ },
+ {
+ "name" : "tbl_process_int_sink_restore_header",
+ "id" : 64,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [124],
+ "actions" : ["FabricEgress.process_int_sink.restore_header"],
+ "base_default_next" : "tbl_process_int_sink_int_sink",
+ "next_tables" : {
+ "FabricEgress.process_int_sink.restore_header" : "tbl_process_int_sink_int_sink"
+ },
+ "default_entry" : {
+ "action_id" : 124,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_process_int_sink_int_sink",
+ "id" : 65,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [125],
+ "actions" : ["FabricEgress.process_int_sink.int_sink"],
+ "base_default_next" : null,
+ "next_tables" : {
+ "FabricEgress.process_int_sink.int_sink" : null
+ },
+ "default_entry" : {
+ "action_id" : 125,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7314,8 +13860,8 @@
"action_profiles" : [],
"conditionals" : [
{
- "name" : "node_73",
- "id" : 24,
+ "name" : "node_77",
+ "id" : 25,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 272,
@@ -7367,8 +13913,8 @@
"false_next" : "FabricEgress.egress_next.egress_vlan"
},
{
- "name" : "node_76",
- "id" : 25,
+ "name" : "node_80",
+ "id" : 26,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 42,
@@ -7389,12 +13935,12 @@
}
}
},
- "true_next" : "node_77",
- "false_next" : "tbl_act_26"
+ "true_next" : "node_81",
+ "false_next" : "tbl_act_27"
},
{
- "name" : "node_77",
- "id" : 26,
+ "name" : "node_81",
+ "id" : 27,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 43,
@@ -7440,11 +13986,11 @@
}
},
"true_next" : "tbl_pkt_io_egress_pop_vlan",
- "false_next" : "node_79"
+ "false_next" : "node_83"
},
{
- "name" : "node_79",
- "id" : 27,
+ "name" : "node_83",
+ "id" : 28,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 46,
@@ -7500,14 +14046,14 @@
}
},
"true_next" : "tbl_drop_now_1",
- "false_next" : "tbl_act_25"
+ "false_next" : "tbl_act_26"
},
{
- "name" : "node_83",
- "id" : 28,
+ "name" : "node_87",
+ "id" : 29,
"source_info" : {
"filename" : "include/spgw.p4",
- "line" : 244,
+ "line" : 245,
"column" : 12,
"source_fragment" : "spgw_meta.do_spgw == true && spgw_meta.direction == DIR_DOWNLINK"
},
@@ -7552,8 +14098,258 @@
}
}
},
+ "true_next" : "tbl_spgw_egress_gtpu_encap",
+ "false_next" : "node_89"
+ },
+ {
+ "name" : "node_89",
+ "id" : 30,
+ "source_info" : {
+ "filename" : "fabric.p4",
+ "line" : 90,
+ "column" : 12,
+ "source_fragment" : "standard_metadata.ingress_port != 255 && ..."
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "and",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "and",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00ff"
+ }
+ }
+ },
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00ff"
+ }
+ }
+ }
+ }
+ },
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "or",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["udp", "$valid$"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["tcp", "$valid$"]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"false_next" : null,
- "true_next" : "tbl_spgw_egress_gtpu_encap"
+ "true_next" : "node_90"
+ },
+ {
+ "name" : "node_90",
+ "id" : 31,
+ "source_info" : {
+ "filename" : "fabric.p4",
+ "line" : 93,
+ "column" : 16,
+ "source_fragment" : "fabric_metadata.int_meta.source == 1"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "source"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ }
+ },
+ "true_next" : "FabricEgress.process_int_source.tb_int_source",
+ "false_next" : "node_92"
+ },
+ {
+ "name" : "node_92",
+ "id" : 32,
+ "source_info" : {
+ "filename" : "fabric.p4",
+ "line" : 96,
+ "column" : 15,
+ "source_fragment" : "hdr.int_header.isValid()"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["int_header", "$valid$"]
+ }
+ }
+ },
+ "false_next" : null,
+ "true_next" : "FabricEgress.process_int_transit.tb_int_insert"
+ },
+ {
+ "name" : "node_97",
+ "id" : 33,
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 314,
+ "column" : 12,
+ "source_fragment" : "hdr.ipv4.isValid()"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["ipv4", "$valid$"]
+ }
+ }
+ },
+ "true_next" : "tbl_process_int_outer_encap_int_update_ipv4",
+ "false_next" : "node_99"
+ },
+ {
+ "name" : "node_99",
+ "id" : 34,
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 317,
+ "column" : 12,
+ "source_fragment" : "hdr.udp.isValid()"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["udp", "$valid$"]
+ }
+ }
+ },
+ "true_next" : "tbl_process_int_outer_encap_int_update_udp",
+ "false_next" : "node_101"
+ },
+ {
+ "name" : "node_101",
+ "id" : 35,
+ "source_info" : {
+ "filename" : "include/int_transit.p4",
+ "line" : 320,
+ "column" : 12,
+ "source_fragment" : "hdr.intl4_shim.isValid()"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["intl4_shim", "$valid$"]
+ }
+ }
+ },
+ "true_next" : "tbl_process_int_outer_encap_int_update_shim",
+ "false_next" : "node_103"
+ },
+ {
+ "name" : "node_103",
+ "id" : 36,
+ "source_info" : {
+ "filename" : "fabric.p4",
+ "line" : 100,
+ "column" : 20,
+ "source_fragment" : "standard_metadata.instance_type == 1"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "instance_type"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00000001"
+ }
+ }
+ },
+ "true_next" : "FabricEgress.process_int_report.tb_generate_report",
+ "false_next" : "node_105"
+ },
+ {
+ "name" : "node_105",
+ "id" : 37,
+ "source_info" : {
+ "filename" : "fabric.p4",
+ "line" : 104,
+ "column" : 20,
+ "source_fragment" : "fabric_metadata.int_meta.sink == 1"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "field",
+ "value" : ["userMetadata.int_meta", "sink"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ }
+ },
+ "false_next" : null,
+ "true_next" : "tbl_process_int_sink_restore_header"
}
]
}