blob: 9d273d272afe8c299cb49907542d4750f6de7dba [file] [log] [blame]
{
"header_types" : [
{
"name" : "scalars_0",
"id" : 0,
"fields" : [
["tmp", 4, false],
["tmp_0", 8, false],
["tmp_1", 32, false],
["tmp_2", 32, false],
["spgw_ingress_tmp_1", 1, false],
["spgw_ingress_tmp_2", 1, false],
["filtering_tmp_0", 1, false],
["next_tmp_2", 1, false],
["next_tmp_3", 1, false],
["next_tmp_4", 1, false],
["spgw_normalizer_hasReturned_0", 1, false],
["spgw_ingress_hasReturned_0", 1, false],
["next_hasReturned_0", 1, false],
["fabric_metadata_t.fwd_type", 3, false],
["fabric_metadata_t.next_id", 32, false],
["fabric_metadata_t.pop_vlan_when_packet_in", 1, false],
["fabric_metadata_t.is_multicast", 1, false],
["fabric_metadata_t.clone_to_cpu", 1, false],
["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", 5, false]
]
},
{
"name" : "standard_metadata",
"id" : 1,
"fields" : [
["ingress_port", 9, false],
["egress_spec", 9, false],
["egress_port", 9, false],
["clone_spec", 32, false],
["instance_type", 32, false],
["drop", 1, false],
["recirculate_port", 16, false],
["packet_length", 32, false],
["enq_timestamp", 32, false],
["enq_qdepth", 19, false],
["deq_timedelta", 32, false],
["deq_qdepth", 19, false],
["ingress_global_timestamp", 48, false],
["egress_global_timestamp", 48, false],
["lf_field_list", 32, false],
["mcast_grp", 16, false],
["resubmit_flag", 32, false],
["egress_rid", 16, false],
["checksum_error", 1, false],
["recirculate_flag", 32, false],
["_padding", 5, false]
]
},
{
"name" : "ethernet_t",
"id" : 2,
"fields" : [
["dst_addr", 48, false],
["src_addr", 48, false],
["ether_type", 16, false]
]
},
{
"name" : "vlan_tag_t",
"id" : 3,
"fields" : [
["pri", 3, false],
["cfi", 1, false],
["vlan_id", 12, false],
["ether_type", 16, false]
]
},
{
"name" : "mpls_t",
"id" : 4,
"fields" : [
["label", 20, false],
["tc", 3, false],
["bos", 1, false],
["ttl", 8, false]
]
},
{
"name" : "ipv4_t",
"id" : 5,
"fields" : [
["version", 4, false],
["ihl", 4, false],
["dscp", 6, false],
["ecn", 2, false],
["total_len", 16, false],
["identification", 16, false],
["flags", 3, false],
["frag_offset", 13, false],
["ttl", 8, false],
["protocol", 8, false],
["hdr_checksum", 16, false],
["src_addr", 32, false],
["dst_addr", 32, false]
]
},
{
"name" : "udp_t",
"id" : 6,
"fields" : [
["src_port", 16, false],
["dst_port", 16, false],
["len", 16, false],
["checksum", 16, false]
]
},
{
"name" : "gtpu_t",
"id" : 7,
"fields" : [
["version", 3, false],
["pt", 1, false],
["spare", 1, false],
["ex_flag", 1, false],
["seq_flag", 1, false],
["npdu_flag", 1, false],
["msgtype", 8, false],
["msglen", 16, false],
["teid", 32, false]
]
},
{
"name" : "arp_t",
"id" : 8,
"fields" : [
["hw_type", 16, false],
["proto_type", 16, false],
["hw_addr_len", 8, false],
["proto_addr_len", 8, false],
["opcode", 16, false]
]
},
{
"name" : "tcp_t",
"id" : 9,
"fields" : [
["src_port", 16, false],
["dst_port", 16, false],
["seq_no", 32, false],
["ack_no", 32, false],
["data_offset", 4, false],
["res", 3, false],
["ecn", 3, false],
["ctrl", 6, false],
["window", 16, false],
["checksum", 16, false],
["urgent_ptr", 16, false]
]
},
{
"name" : "icmp_t",
"id" : 10,
"fields" : [
["icmp_type", 8, false],
["icmp_code", 8, false],
["checksum", 16, false],
["identifier", 16, false],
["sequence_number", 16, false],
["timestamp", 64, false]
]
},
{
"name" : "packet_out_header_t",
"id" : 11,
"fields" : [
["egress_port", 9, false],
["_pad", 7, false]
]
},
{
"name" : "packet_in_header_t",
"id" : 12,
"fields" : [
["ingress_port", 9, false],
["_pad", 7, false]
]
},
{
"name" : "spgw_meta_t",
"id" : 13,
"fields" : [
["direction", 2, false],
["ipv4_len", 16, false],
["teid", 32, false],
["s1u_enb_addr", 32, false],
["s1u_sgw_addr", 32, false],
["_padding_0", 6, false]
]
}
],
"headers" : [
{
"name" : "scalars",
"id" : 0,
"header_type" : "scalars_0",
"metadata" : true,
"pi_omit" : true
},
{
"name" : "standard_metadata",
"id" : 1,
"header_type" : "standard_metadata",
"metadata" : true,
"pi_omit" : true
},
{
"name" : "ethernet",
"id" : 2,
"header_type" : "ethernet_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "vlan_tag",
"id" : 3,
"header_type" : "vlan_tag_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "mpls",
"id" : 4,
"header_type" : "mpls_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "gtpu_ipv4",
"id" : 5,
"header_type" : "ipv4_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "gtpu_udp",
"id" : 6,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "gtpu",
"id" : 7,
"header_type" : "gtpu_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "inner_ipv4",
"id" : 8,
"header_type" : "ipv4_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "inner_udp",
"id" : 9,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "ipv4",
"id" : 10,
"header_type" : "ipv4_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "arp",
"id" : 11,
"header_type" : "arp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "tcp",
"id" : 12,
"header_type" : "tcp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "udp",
"id" : 13,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "icmp",
"id" : 14,
"header_type" : "icmp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_out",
"id" : 15,
"header_type" : "packet_out_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_in",
"id" : 16,
"header_type" : "packet_in_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "userMetadata.spgw",
"id" : 17,
"header_type" : "spgw_meta_t",
"metadata" : true,
"pi_omit" : true
}
],
"header_stacks" : [],
"header_union_types" : [],
"header_unions" : [],
"header_union_stacks" : [],
"field_lists" : [],
"errors" : [],
"enums" : [],
"parsers" : [
{
"name" : "parser",
"id" : 0,
"init_state" : "start",
"parse_states" : [
{
"name" : "start",
"id" : 0,
"parser_ops" : [],
"transitions" : [
{
"type" : "hexstr",
"value" : "0x00ff",
"mask" : null,
"next_state" : "parse_packet_out"
},
{
"value" : "default",
"mask" : null,
"next_state" : "parse_ethernet"
}
],
"transition_key" : [
{
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
}
]
},
{
"name" : "parse_packet_out",
"id" : 1,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "packet_out"
}
],
"op" : "extract"
}
],
"transitions" : [
{
"value" : "default",
"mask" : null,
"next_state" : "parse_ethernet"
}
],
"transition_key" : []
},
{
"name" : "parse_ethernet",
"id" : 2,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "ethernet"
}
],
"op" : "extract"
}
],
"transitions" : [
{
"type" : "hexstr",
"value" : "0x8100",
"mask" : null,
"next_state" : "parse_vlan_tag"
},
{
"type" : "hexstr",
"value" : "0x8847",
"mask" : null,
"next_state" : "parse_mpls"
},
{
"type" : "hexstr",
"value" : "0x0806",
"mask" : null,
"next_state" : "parse_arp"
},
{
"type" : "hexstr",
"value" : "0x0800",
"mask" : null,
"next_state" : "parse_ipv4"
},
{
"value" : "default",
"mask" : null,
"next_state" : null
}
],
"transition_key" : [
{
"type" : "field",
"value" : ["ethernet", "ether_type"]
}
]
},
{
"name" : "parse_vlan_tag",
"id" : 3,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "vlan_tag"
}
],
"op" : "extract"
}
],
"transitions" : [
{
"type" : "hexstr",
"value" : "0x0806",
"mask" : null,
"next_state" : "parse_arp"
},
{
"type" : "hexstr",
"value" : "0x0800",
"mask" : null,
"next_state" : "parse_ipv4"
},
{
"type" : "hexstr",
"value" : "0x8847",
"mask" : null,
"next_state" : "parse_mpls"
},
{
"value" : "default",
"mask" : null,
"next_state" : null
}
],
"transition_key" : [
{
"type" : "field",
"value" : ["vlan_tag", "ether_type"]
}
]
},
{
"name" : "parse_mpls",
"id" : 4,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "mpls"
}
],
"op" : "extract"
},
{
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "tmp"]
},
{
"type" : "lookahead",
"value" : [0, 4]
}
],
"op" : "set"
}
],
"transitions" : [
{
"type" : "hexstr",
"value" : "0x04",
"mask" : null,
"next_state" : "parse_ipv4"
},
{
"value" : "default",
"mask" : null,
"next_state" : "parse_ethernet"
}
],
"transition_key" : [
{
"type" : "field",
"value" : ["scalars", "tmp"]
}
]
},
{
"name" : "parse_ipv4",
"id" : 5,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "ipv4"
}
],
"op" : "extract"
},
{
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.ip_proto"]
},
{
"type" : "field",
"value" : ["ipv4", "protocol"]
}
],
"op" : "set"
}
],
"transitions" : [
{
"type" : "hexstr",
"value" : "0x06",
"mask" : null,
"next_state" : "parse_tcp"
},
{
"type" : "hexstr",
"value" : "0x11",
"mask" : null,
"next_state" : "parse_udp"
},
{
"type" : "hexstr",
"value" : "0x01",
"mask" : null,
"next_state" : "parse_icmp"
},
{
"value" : "default",
"mask" : null,
"next_state" : null
}
],
"transition_key" : [
{
"type" : "field",
"value" : ["ipv4", "protocol"]
}
]
},
{
"name" : "parse_arp",
"id" : 6,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "arp"
}
],
"op" : "extract"
}
],
"transitions" : [
{
"value" : "default",
"mask" : null,
"next_state" : null
}
],
"transition_key" : []
},
{
"name" : "parse_tcp",
"id" : 7,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "tcp"
}
],
"op" : "extract"
},
{
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.l4_src_port"]
},
{
"type" : "field",
"value" : ["tcp", "src_port"]
}
],
"op" : "set"
},
{
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.l4_dst_port"]
},
{
"type" : "field",
"value" : ["tcp", "dst_port"]
}
],
"op" : "set"
}
],
"transitions" : [
{
"value" : "default",
"mask" : null,
"next_state" : null
}
],
"transition_key" : []
},
{
"name" : "parse_udp",
"id" : 8,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "udp"
}
],
"op" : "extract"
},
{
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.l4_src_port"]
},
{
"type" : "field",
"value" : ["udp", "src_port"]
}
],
"op" : "set"
},
{
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.l4_dst_port"]
},
{
"type" : "field",
"value" : ["udp", "dst_port"]
}
],
"op" : "set"
}
],
"transitions" : [
{
"type" : "hexstr",
"value" : "0x0868",
"mask" : null,
"next_state" : "parse_gtpu"
},
{
"value" : "default",
"mask" : null,
"next_state" : null
}
],
"transition_key" : [
{
"type" : "field",
"value" : ["udp", "dst_port"]
}
]
},
{
"name" : "parse_icmp",
"id" : 9,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "icmp"
}
],
"op" : "extract"
}
],
"transitions" : [
{
"value" : "default",
"mask" : null,
"next_state" : null
}
],
"transition_key" : []
},
{
"name" : "parse_gtpu",
"id" : 10,
"parser_ops" : [
{
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "tmp_0"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : ">>",
"left" : {
"type" : "field",
"value" : ["ipv4", "dst_addr"]
},
"right" : {
"type" : "hexstr",
"value" : "0x18"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"op" : "set"
}
],
"transitions" : [
{
"type" : "hexstr",
"value" : "0x8c",
"mask" : null,
"next_state" : "do_parse_gtpu"
},
{
"value" : "default",
"mask" : null,
"next_state" : null
}
],
"transition_key" : [
{
"type" : "field",
"value" : ["scalars", "tmp_0"]
}
]
},
{
"name" : "do_parse_gtpu",
"id" : 11,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "gtpu"
}
],
"op" : "extract"
},
{
"parameters" : [
{
"type" : "regular",
"value" : "inner_ipv4"
}
],
"op" : "extract"
}
],
"transitions" : [
{
"type" : "hexstr",
"value" : "0x06",
"mask" : null,
"next_state" : "parse_tcp"
},
{
"type" : "hexstr",
"value" : "0x11",
"mask" : null,
"next_state" : "parse_inner_udp"
},
{
"type" : "hexstr",
"value" : "0x01",
"mask" : null,
"next_state" : "parse_icmp"
},
{
"value" : "default",
"mask" : null,
"next_state" : null
}
],
"transition_key" : [
{
"type" : "field",
"value" : ["inner_ipv4", "protocol"]
}
]
},
{
"name" : "parse_inner_udp",
"id" : 12,
"parser_ops" : [
{
"parameters" : [
{
"type" : "regular",
"value" : "inner_udp"
}
],
"op" : "extract"
},
{
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.l4_src_port"]
},
{
"type" : "field",
"value" : ["inner_udp", "src_port"]
}
],
"op" : "set"
},
{
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.l4_dst_port"]
},
{
"type" : "field",
"value" : ["inner_udp", "dst_port"]
}
],
"op" : "set"
}
],
"transitions" : [
{
"value" : "default",
"mask" : null,
"next_state" : null
}
],
"transition_key" : []
}
]
}
],
"parse_vsets" : [],
"deparsers" : [
{
"name" : "deparser",
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
"line" : 223,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
"order" : ["packet_in", "ethernet", "vlan_tag", "mpls", "arp", "gtpu_ipv4", "gtpu_udp", "gtpu", "ipv4", "tcp", "udp", "icmp"]
}
],
"meter_arrays" : [],
"counter_arrays" : [
{
"name" : "FabricIngress.spgw_ingress.ue_counter",
"id" : 0,
"is_direct" : true,
"binding" : "FabricIngress.spgw_ingress.dl_sess_lookup"
},
{
"name" : "FabricIngress.filtering.ingress_port_vlan_counter",
"id" : 1,
"is_direct" : true,
"binding" : "FabricIngress.filtering.ingress_port_vlan"
},
{
"name" : "FabricIngress.filtering.fwd_classifier_counter",
"id" : 2,
"is_direct" : true,
"binding" : "FabricIngress.filtering.fwd_classifier"
},
{
"name" : "FabricIngress.forwarding.bridging_counter",
"id" : 3,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.bridging"
},
{
"name" : "FabricIngress.forwarding.mpls_counter",
"id" : 4,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.mpls"
},
{
"name" : "FabricIngress.forwarding.routing_v4_counter",
"id" : 5,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.routing_v4"
},
{
"name" : "FabricIngress.forwarding.acl_counter",
"id" : 6,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.acl"
},
{
"name" : "FabricIngress.next.vlan_meta_counter",
"id" : 7,
"is_direct" : true,
"binding" : "FabricIngress.next.vlan_meta"
},
{
"name" : "FabricIngress.next.simple_counter",
"id" : 8,
"is_direct" : true,
"binding" : "FabricIngress.next.simple"
},
{
"name" : "FabricIngress.next.hashed_counter",
"id" : 9,
"is_direct" : true,
"binding" : "FabricIngress.next.hashed"
},
{
"name" : "FabricIngress.next.multicast_counter",
"id" : 10,
"is_direct" : true,
"binding" : "FabricIngress.next.multicast"
},
{
"name" : "FabricIngress.port_counters_control.egress_port_counter",
"id" : 11,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 23,
"column" : 48,
"source_fragment" : "egress_port_counter"
},
"size" : 511,
"is_direct" : false
},
{
"name" : "FabricIngress.port_counters_control.ingress_port_counter",
"id" : 12,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 24,
"column" : 48,
"source_fragment" : "ingress_port_counter"
},
"size" : 511,
"is_direct" : false
},
{
"name" : "FabricEgress.egress_next.egress_vlan_counter",
"id" : 13,
"is_direct" : true,
"binding" : "FabricEgress.egress_next.egress_vlan"
}
],
"register_arrays" : [],
"calculations" : [
{
"name" : "calc",
"id" : 0,
"source_info" : {
"filename" : "include/checksum.p4",
"line" : 28,
"column" : 8,
"source_fragment" : "update_checksum(hdr.ipv4.isValid(), ..."
},
"algo" : "csum16",
"input" : [
{
"type" : "field",
"value" : ["ipv4", "version"]
},
{
"type" : "field",
"value" : ["ipv4", "ihl"]
},
{
"type" : "field",
"value" : ["ipv4", "dscp"]
},
{
"type" : "field",
"value" : ["ipv4", "ecn"]
},
{
"type" : "field",
"value" : ["ipv4", "total_len"]
},
{
"type" : "field",
"value" : ["ipv4", "identification"]
},
{
"type" : "field",
"value" : ["ipv4", "flags"]
},
{
"type" : "field",
"value" : ["ipv4", "frag_offset"]
},
{
"type" : "field",
"value" : ["ipv4", "ttl"]
},
{
"type" : "field",
"value" : ["ipv4", "protocol"]
},
{
"type" : "field",
"value" : ["ipv4", "src_addr"]
},
{
"type" : "field",
"value" : ["ipv4", "dst_addr"]
}
]
},
{
"name" : "calc_0",
"id" : 1,
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 237,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
"algo" : "csum16",
"input" : [
{
"type" : "field",
"value" : ["gtpu_ipv4", "version"]
},
{
"type" : "field",
"value" : ["gtpu_ipv4", "ihl"]
},
{
"type" : "field",
"value" : ["gtpu_ipv4", "dscp"]
},
{
"type" : "field",
"value" : ["gtpu_ipv4", "ecn"]
},
{
"type" : "field",
"value" : ["gtpu_ipv4", "total_len"]
},
{
"type" : "field",
"value" : ["gtpu_ipv4", "identification"]
},
{
"type" : "field",
"value" : ["gtpu_ipv4", "flags"]
},
{
"type" : "field",
"value" : ["gtpu_ipv4", "frag_offset"]
},
{
"type" : "field",
"value" : ["gtpu_ipv4", "ttl"]
},
{
"type" : "field",
"value" : ["gtpu_ipv4", "protocol"]
},
{
"type" : "field",
"value" : ["gtpu_ipv4", "src_addr"]
},
{
"type" : "field",
"value" : ["gtpu_ipv4", "dst_addr"]
}
]
},
{
"name" : "calc_1",
"id" : 2,
"source_info" : {
"filename" : "include/checksum.p4",
"line" : 57,
"column" : 8,
"source_fragment" : "verify_checksum(hdr.ipv4.isValid(), ..."
},
"algo" : "csum16",
"input" : [
{
"type" : "field",
"value" : ["ipv4", "version"]
},
{
"type" : "field",
"value" : ["ipv4", "ihl"]
},
{
"type" : "field",
"value" : ["ipv4", "dscp"]
},
{
"type" : "field",
"value" : ["ipv4", "ecn"]
},
{
"type" : "field",
"value" : ["ipv4", "total_len"]
},
{
"type" : "field",
"value" : ["ipv4", "identification"]
},
{
"type" : "field",
"value" : ["ipv4", "flags"]
},
{
"type" : "field",
"value" : ["ipv4", "frag_offset"]
},
{
"type" : "field",
"value" : ["ipv4", "ttl"]
},
{
"type" : "field",
"value" : ["ipv4", "protocol"]
},
{
"type" : "field",
"value" : ["ipv4", "src_addr"]
},
{
"type" : "field",
"value" : ["ipv4", "dst_addr"]
}
]
}
],
"learn_lists" : [],
"actions" : [
{
"name" : "NoAction",
"id" : 0,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
"id" : 1,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
"id" : 2,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
"id" : 3,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
"id" : 4,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
"id" : 5,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
"id" : 6,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
"id" : 7,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "nop",
"id" : 8,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "drop_now",
"id" : 9,
"runtime_data" : [],
"primitives" : [
{
"op" : "drop",
"parameters" : [],
"source_info" : {
"filename" : "include/control/../action.p4",
"line" : 24,
"column" : 4,
"source_fragment" : "mark_to_drop()"
}
},
{
"op" : "exit",
"parameters" : [],
"source_info" : {
"filename" : "include/control/../action.p4",
"line" : 25,
"column" : 4,
"source_fragment" : "exit"
}
}
]
},
{
"name" : "FabricIngress.spgw_ingress.gtpu_decap",
"id" : 10,
"runtime_data" : [],
"primitives" : [
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "gtpu_ipv4"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 54,
"column" : 8,
"source_fragment" : "gtpu_ipv4.setInvalid()"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "gtpu_udp"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 55,
"column" : 8,
"source_fragment" : "gtpu_udp.setInvalid()"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "gtpu"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 56,
"column" : 8,
"source_fragment" : "gtpu.setInvalid()"
}
}
]
},
{
"name" : "FabricIngress.spgw_ingress.set_dl_sess_info",
"id" : 11,
"runtime_data" : [
{
"name" : "teid",
"bitwidth" : 32
},
{
"name" : "s1u_enb_addr",
"bitwidth" : 32
},
{
"name" : "s1u_sgw_addr",
"bitwidth" : 32
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["userMetadata.spgw", "teid"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 62,
"column" : 8,
"source_fragment" : "spgw_meta.teid = teid"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["userMetadata.spgw", "s1u_enb_addr"]
},
{
"type" : "runtime_data",
"value" : 1
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 63,
"column" : 8,
"source_fragment" : "spgw_meta.s1u_enb_addr = s1u_enb_addr"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["userMetadata.spgw", "s1u_sgw_addr"]
},
{
"type" : "runtime_data",
"value" : 2
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 64,
"column" : 8,
"source_fragment" : "spgw_meta.s1u_sgw_addr = s1u_sgw_addr"
}
}
]
},
{
"name" : "FabricIngress.filtering.drop",
"id" : 12,
"runtime_data" : [],
"primitives" : [
{
"op" : "drop",
"parameters" : [],
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "mark_to_drop()"
}
}
]
},
{
"name" : "FabricIngress.filtering.set_vlan",
"id" : 13,
"runtime_data" : [
{
"name" : "new_vlan_id",
"bitwidth" : 12
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["vlan_tag", "vlan_id"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 42,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.vlan_id = new_vlan_id"
}
}
]
},
{
"name" : "FabricIngress.filtering.push_internal_vlan",
"id" : 14,
"runtime_data" : [
{
"name" : "new_vlan_id",
"bitwidth" : 12
}
],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "vlan_tag"
}
],
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 49,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["vlan_tag", "cfi"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 50,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.cfi = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["vlan_tag", "pri"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 51,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.pri = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["vlan_tag", "ether_type"]
},
{
"type" : "field",
"value" : ["ethernet", "ether_type"]
}
],
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 52,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.ether_type = hdr.ethernet.ether_type"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "ether_type"]
},
{
"type" : "hexstr",
"value" : "0x8100"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 89,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["vlan_tag", "vlan_id"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 54,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.vlan_id = new_vlan_id"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.pop_vlan_when_packet_in"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
],
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 57,
"column" : 8,
"source_fragment" : "fabric_metadata.pop_vlan_when_packet_in = true"
}
}
]
},
{
"name" : "FabricIngress.filtering.nop_ingress_port_vlan",
"id" : 15,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.filtering.set_forwarding_type",
"id" : 16,
"runtime_data" : [
{
"name" : "fwd_type",
"bitwidth" : 3
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.fwd_type"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 99,
"column" : 8,
"source_fragment" : "fabric_metadata.fwd_type = fwd_type"
}
}
]
},
{
"name" : "FabricIngress.forwarding.set_next_id_bridging",
"id" : 17,
"runtime_data" : [
{
"name" : "next_id",
"bitwidth" : 32
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.next_id"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "fabric_metadata.next_id = next_id"
}
}
]
},
{
"name" : "FabricIngress.forwarding.pop_mpls_and_next",
"id" : 18,
"runtime_data" : [
{
"name" : "next_id",
"bitwidth" : 32
}
],
"primitives" : [
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "mpls"
}
],
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 60,
"column" : 8,
"source_fragment" : "hdr.mpls.setInvalid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.next_id"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 61,
"column" : 8,
"source_fragment" : "fabric_metadata.next_id = next_id"
}
}
]
},
{
"name" : "FabricIngress.forwarding.set_next_id_routing_v4",
"id" : 19,
"runtime_data" : [
{
"name" : "next_id",
"bitwidth" : 32
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.next_id"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 83,
"column" : 8,
"source_fragment" : "fabric_metadata.next_id = next_id"
}
}
]
},
{
"name" : "FabricIngress.forwarding.set_next_id_acl",
"id" : 20,
"runtime_data" : [
{
"name" : "next_id",
"bitwidth" : 32
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.next_id"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 105,
"column" : 8,
"source_fragment" : "fabric_metadata.next_id = next_id"
}
}
]
},
{
"name" : "FabricIngress.forwarding.punt_to_cpu",
"id" : 21,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
{
"type" : "hexstr",
"value" : "0x00ff"
}
],
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 111,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = 255"
}
},
{
"op" : "exit",
"parameters" : [],
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 113,
"column" : 8,
"source_fragment" : "exit"
}
}
]
},
{
"name" : "FabricIngress.forwarding.clone_to_cpu",
"id" : 22,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.clone_to_cpu"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
],
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 118,
"column" : 8,
"source_fragment" : "fabric_metadata.clone_to_cpu = true"
}
}
]
},
{
"name" : "FabricIngress.forwarding.drop",
"id" : 23,
"runtime_data" : [],
"primitives" : [
{
"op" : "drop",
"parameters" : [],
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 123,
"column" : 8,
"source_fragment" : "mark_to_drop()"
}
}
]
},
{
"name" : "FabricIngress.forwarding.nop_acl",
"id" : 24,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.next.set_vlan",
"id" : 25,
"runtime_data" : [
{
"name" : "new_vlan_id",
"bitwidth" : 12
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["vlan_tag", "vlan_id"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 61,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.vlan_id = new_vlan_id"
}
}
]
},
{
"name" : "FabricIngress.next.output_simple",
"id" : 26,
"runtime_data" : [
{
"name" : "port_num",
"bitwidth" : 9
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 85,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num"
}
}
]
},
{
"name" : "FabricIngress.next.set_vlan_output",
"id" : 27,
"runtime_data" : [
{
"name" : "new_vlan_id",
"bitwidth" : 12
},
{
"name" : "port_num",
"bitwidth" : 9
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["vlan_tag", "vlan_id"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 90,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.vlan_id = new_vlan_id"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
{
"type" : "runtime_data",
"value" : 1
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 85,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num; ..."
}
}
]
},
{
"name" : "FabricIngress.next.l3_routing_simple",
"id" : 28,
"runtime_data" : [
{
"name" : "port_num",
"bitwidth" : 9
},
{
"name" : "smac",
"bitwidth" : 48
},
{
"name" : "dmac",
"bitwidth" : 48
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "src_addr"]
},
{
"type" : "runtime_data",
"value" : 1
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.ethernet.src_addr = smac; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "dst_addr"]
},
{
"type" : "runtime_data",
"value" : 2
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 41,
"column" : 8,
"source_fragment" : "hdr.ethernet.dst_addr = dmac; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 85,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num; ..."
}
}
]
},
{
"name" : "FabricIngress.next.mpls_routing_v4_simple",
"id" : 29,
"runtime_data" : [
{
"name" : "port_num",
"bitwidth" : 9
},
{
"name" : "smac",
"bitwidth" : 48
},
{
"name" : "dmac",
"bitwidth" : 48
},
{
"name" : "label",
"bitwidth" : 20
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "src_addr"]
},
{
"type" : "runtime_data",
"value" : 1
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.ethernet.src_addr = smac; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "dst_addr"]
},
{
"type" : "runtime_data",
"value" : 2
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 41,
"column" : 8,
"source_fragment" : "hdr.ethernet.dst_addr = dmac; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 85,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num; ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "mpls"
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 46,
"column" : 8,
"source_fragment" : "hdr.mpls.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["vlan_tag", "ether_type"]
},
{
"type" : "hexstr",
"value" : "0x8847"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 90,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["mpls", "label"]
},
{
"type" : "runtime_data",
"value" : 3
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 48,
"column" : 8,
"source_fragment" : "hdr.mpls.label = label; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["mpls", "tc"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 49,
"column" : 8,
"source_fragment" : "hdr.mpls.tc = tc; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["mpls", "bos"]
},
{
"type" : "hexstr",
"value" : "0x01"
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 50,
"column" : 8,
"source_fragment" : "hdr.mpls.bos = 1w1"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["mpls", "ttl"]
},
{
"type" : "hexstr",
"value" : "0x40"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 113,
"column" : 32,
"source_fragment" : "64; ..."
}
}
]
},
{
"name" : "FabricIngress.next.mpls_routing_v6_simple",
"id" : 30,
"runtime_data" : [
{
"name" : "port_num",
"bitwidth" : 9
},
{
"name" : "smac",
"bitwidth" : 48
},
{
"name" : "dmac",
"bitwidth" : 48
},
{
"name" : "label",
"bitwidth" : 20
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "src_addr"]
},
{
"type" : "runtime_data",
"value" : 1
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.ethernet.src_addr = smac; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "dst_addr"]
},
{
"type" : "runtime_data",
"value" : 2
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 41,
"column" : 8,
"source_fragment" : "hdr.ethernet.dst_addr = dmac; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 85,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num; ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "mpls"
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 46,
"column" : 8,
"source_fragment" : "hdr.mpls.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["vlan_tag", "ether_type"]
},
{
"type" : "hexstr",
"value" : "0x8847"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 90,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["mpls", "label"]
},
{
"type" : "runtime_data",
"value" : 3
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 48,
"column" : 8,
"source_fragment" : "hdr.mpls.label = label; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["mpls", "tc"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 49,
"column" : 8,
"source_fragment" : "hdr.mpls.tc = tc; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["mpls", "bos"]
},
{
"type" : "hexstr",
"value" : "0x01"
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 50,
"column" : 8,
"source_fragment" : "hdr.mpls.bos = 1w1"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["mpls", "ttl"]
},
{
"type" : "hexstr",
"value" : "0x40"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 113,
"column" : 32,
"source_fragment" : "64; ..."
}
}
]
},
{
"name" : "FabricIngress.next.l3_routing_vlan",
"id" : 31,
"runtime_data" : [
{
"name" : "port_num",
"bitwidth" : 9
},
{
"name" : "smac",
"bitwidth" : 48
},
{
"name" : "dmac",
"bitwidth" : 48
},
{
"name" : "new_vlan_id",
"bitwidth" : 12
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "src_addr"]
},
{
"type" : "runtime_data",
"value" : 1
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.ethernet.src_addr = smac; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "dst_addr"]
},
{
"type" : "runtime_data",
"value" : 2
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 41,
"column" : 8,
"source_fragment" : "hdr.ethernet.dst_addr = dmac; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["vlan_tag", "vlan_id"]
},
{
"type" : "runtime_data",
"value" : 3
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 90,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.vlan_id = new_vlan_id; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 85,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num; ..."
}
}
]
},
{
"name" : "FabricIngress.next.l3_routing_hashed",
"id" : 32,
"runtime_data" : [
{
"name" : "port_num",
"bitwidth" : 9
},
{
"name" : "smac",
"bitwidth" : 48
},
{
"name" : "dmac",
"bitwidth" : 48
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "src_addr"]
},
{
"type" : "runtime_data",
"value" : 1
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.ethernet.src_addr = smac; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "dst_addr"]
},
{
"type" : "runtime_data",
"value" : 2
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 41,
"column" : 8,
"source_fragment" : "hdr.ethernet.dst_addr = dmac; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 149,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num; ..."
}
}
]
},
{
"name" : "FabricIngress.next.mpls_routing_v4_hashed",
"id" : 33,
"runtime_data" : [
{
"name" : "port_num",
"bitwidth" : 9
},
{
"name" : "smac",
"bitwidth" : 48
},
{
"name" : "dmac",
"bitwidth" : 48
},
{
"name" : "label",
"bitwidth" : 20
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "src_addr"]
},
{
"type" : "runtime_data",
"value" : 1
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.ethernet.src_addr = smac; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "dst_addr"]
},
{
"type" : "runtime_data",
"value" : 2
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 41,
"column" : 8,
"source_fragment" : "hdr.ethernet.dst_addr = dmac; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 149,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num; ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "mpls"
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 46,
"column" : 8,
"source_fragment" : "hdr.mpls.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["vlan_tag", "ether_type"]
},
{
"type" : "hexstr",
"value" : "0x8847"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 90,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["mpls", "label"]
},
{
"type" : "runtime_data",
"value" : 3
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 48,
"column" : 8,
"source_fragment" : "hdr.mpls.label = label; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["mpls", "tc"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 49,
"column" : 8,
"source_fragment" : "hdr.mpls.tc = tc; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["mpls", "bos"]
},
{
"type" : "hexstr",
"value" : "0x01"
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 50,
"column" : 8,
"source_fragment" : "hdr.mpls.bos = 1w1"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["mpls", "ttl"]
},
{
"type" : "hexstr",
"value" : "0x40"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 113,
"column" : 32,
"source_fragment" : "64; ..."
}
}
]
},
{
"name" : "FabricIngress.next.mpls_routing_v6_hashed",
"id" : 34,
"runtime_data" : [
{
"name" : "port_num",
"bitwidth" : 9
},
{
"name" : "smac",
"bitwidth" : 48
},
{
"name" : "dmac",
"bitwidth" : 48
},
{
"name" : "label",
"bitwidth" : 20
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "src_addr"]
},
{
"type" : "runtime_data",
"value" : 1
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.ethernet.src_addr = smac; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "dst_addr"]
},
{
"type" : "runtime_data",
"value" : 2
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 41,
"column" : 8,
"source_fragment" : "hdr.ethernet.dst_addr = dmac; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 149,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num; ..."
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "mpls"
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 46,
"column" : 8,
"source_fragment" : "hdr.mpls.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["vlan_tag", "ether_type"]
},
{
"type" : "hexstr",
"value" : "0x8847"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 90,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["mpls", "label"]
},
{
"type" : "runtime_data",
"value" : 3
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 48,
"column" : 8,
"source_fragment" : "hdr.mpls.label = label; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["mpls", "tc"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 49,
"column" : 8,
"source_fragment" : "hdr.mpls.tc = tc; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["mpls", "bos"]
},
{
"type" : "hexstr",
"value" : "0x01"
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 50,
"column" : 8,
"source_fragment" : "hdr.mpls.bos = 1w1"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["mpls", "ttl"]
},
{
"type" : "hexstr",
"value" : "0x40"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 113,
"column" : 32,
"source_fragment" : "64; ..."
}
}
]
},
{
"name" : "FabricIngress.next.set_mcast_group",
"id" : 35,
"runtime_data" : [
{
"name" : "gid",
"bitwidth" : 16
}
],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["standard_metadata", "mcast_grp"]
},
{
"type" : "runtime_data",
"value" : 0
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 202,
"column" : 8,
"source_fragment" : "standard_metadata.mcast_grp = gid"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.is_multicast"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 203,
"column" : 8,
"source_fragment" : "fabric_metadata.is_multicast = true"
}
}
]
},
{
"name" : "act",
"id" : 36,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "spgw_normalizer_hasReturned_0"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 30,
"column" : 32,
"source_fragment" : "return"
}
}
]
},
{
"name" : "act_0",
"id" : 37,
"runtime_data" : [],
"primitives" : [
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "gtpu_ipv4"
}
],
"source_info" : {
"filename" : "fabric.p4",
"line" : 52,
"column" : 50,
"source_fragment" : "hdr.gtpu_ipv4"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "gtpu_udp"
}
],
"source_info" : {
"filename" : "fabric.p4",
"line" : 52,
"column" : 65,
"source_fragment" : "hdr.gtpu_udp"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "spgw_normalizer_hasReturned_0"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : false
}
}
}
}
]
}
]
},
{
"name" : "act_1",
"id" : 38,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign_header",
"parameters" : [
{
"type" : "header",
"value" : "udp"
},
{
"type" : "header",
"value" : "inner_udp"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 35,
"column" : 16,
"source_fragment" : "= inner_udp; ..."
}
}
]
},
{
"name" : "act_2",
"id" : 39,
"runtime_data" : [],
"primitives" : [
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "udp"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 37,
"column" : 12,
"source_fragment" : "udp.setInvalid()"
}
}
]
},
{
"name" : "act_3",
"id" : 40,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign_header",
"parameters" : [
{
"type" : "header",
"value" : "gtpu_ipv4"
},
{
"type" : "header",
"value" : "ipv4"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 31,
"column" : 18,
"source_fragment" : "= ipv4; ..."
}
},
{
"op" : "assign_header",
"parameters" : [
{
"type" : "header",
"value" : "ipv4"
},
{
"type" : "header",
"value" : "inner_ipv4"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 32,
"column" : 13,
"source_fragment" : "= inner_ipv4; ..."
}
},
{
"op" : "assign_header",
"parameters" : [
{
"type" : "header",
"value" : "gtpu_udp"
},
{
"type" : "header",
"value" : "udp"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 33,
"column" : 17,
"source_fragment" : "= udp; ..."
}
}
]
},
{
"name" : "act_4",
"id" : 41,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
{
"type" : "field",
"value" : ["packet_out", "egress_port"]
}
],
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 26,
"column" : 12,
"source_fragment" : "standard_metadata.egress_spec = hdr.packet_out.egress_port"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "packet_out"
}
],
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 27,
"column" : 12,
"source_fragment" : "hdr.packet_out.setInvalid()"
}
}
]
},
{
"name" : "act_5",
"id" : 42,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "spgw_ingress_tmp_1"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
]
}
]
},
{
"name" : "act_6",
"id" : 43,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "spgw_ingress_tmp_1"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : false
}
}
}
}
]
}
]
},
{
"name" : "act_7",
"id" : 44,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["userMetadata.spgw", "direction"]
},
{
"type" : "hexstr",
"value" : "0x01"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 119,
"column" : 36,
"source_fragment" : "2w1; ..."
}
}
]
},
{
"name" : "act_8",
"id" : 45,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "spgw_ingress_tmp_2"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
]
}
]
},
{
"name" : "act_9",
"id" : 46,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "spgw_ingress_tmp_2"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : false
}
}
}
}
]
}
]
},
{
"name" : "act_10",
"id" : 47,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["userMetadata.spgw", "direction"]
},
{
"type" : "hexstr",
"value" : "0x02"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 120,
"column" : 38,
"source_fragment" : "2w2; ..."
}
}
]
},
{
"name" : "act_11",
"id" : 48,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["userMetadata.spgw", "direction"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 118,
"column" : 37,
"source_fragment" : "2w0; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "spgw_ingress_hasReturned_0"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 153,
"column" : 12,
"source_fragment" : "return"
}
}
]
},
{
"name" : "act_12",
"id" : 49,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "spgw_ingress_hasReturned_0"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : false
}
}
}
}
]
}
]
},
{
"name" : "act_13",
"id" : 50,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["userMetadata.spgw", "ipv4_len"]
},
{
"type" : "field",
"value" : ["ipv4", "total_len"]
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 170,
"column" : 8,
"source_fragment" : "spgw_meta.ipv4_len = ipv4.total_len"
}
}
]
},
{
"name" : "act_14",
"id" : 51,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "filtering_tmp_0"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
]
}
]
},
{
"name" : "act_15",
"id" : 52,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "filtering_tmp_0"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : false
}
}
}
}
]
}
]
},
{
"name" : "act_16",
"id" : 53,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.fwd_type"]
},
{
"type" : "hexstr",
"value" : "0x07"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 109,
"column" : 31,
"source_fragment" : "7; ..."
}
}
]
},
{
"name" : "act_17",
"id" : 54,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["vlan_tag", "ether_type"]
},
{
"type" : "hexstr",
"value" : "0x0800"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 92,
"column" : 31,
"source_fragment" : "0x0800; ..."
}
}
]
},
{
"name" : "act_18",
"id" : 55,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "next_hasReturned_0"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : false
}
}
}
}
]
}
]
},
{
"name" : "act_19",
"id" : 56,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "next_tmp_4"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
]
}
]
},
{
"name" : "act_20",
"id" : 57,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "next_tmp_4"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : false
}
}
}
}
]
}
]
},
{
"name" : "act_21",
"id" : 58,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "next_tmp_3"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
]
}
]
},
{
"name" : "act_22",
"id" : 59,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "next_tmp_3"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : false
}
}
}
}
]
}
]
},
{
"name" : "act_23",
"id" : 60,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "next_tmp_2"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
]
}
]
},
{
"name" : "act_24",
"id" : 61,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "next_tmp_2"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : false
}
}
}
}
]
}
]
},
{
"name" : "act_25",
"id" : 62,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "next_hasReturned_0"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "b2d",
"left" : null,
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 223,
"column" : 20,
"source_fragment" : "return"
}
}
]
},
{
"name" : "act_26",
"id" : 63,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ipv4", "ttl"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["ipv4", "ttl"]
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xff"
}
}
}
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 230,
"column" : 16,
"source_fragment" : "hdr.ipv4.ttl = hdr.ipv4.ttl - 1"
}
}
]
},
{
"name" : "act_27",
"id" : 64,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "tmp_1"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 28,
"column" : 38,
"source_fragment" : "(bit<32>)standard_metadata.egress_spec"
}
},
{
"op" : "count",
"parameters" : [
{
"type" : "counter_array",
"value" : "FabricIngress.port_counters_control.egress_port_counter"
},
{
"type" : "field",
"value" : ["scalars", "tmp_1"]
}
],
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 28,
"column" : 12,
"source_fragment" : "egress_port_counter.count((bit<32>)standard_metadata.egress_spec)"
}
}
]
},
{
"name" : "act_28",
"id" : 65,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["scalars", "tmp_2"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0xffffffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 31,
"column" : 39,
"source_fragment" : "(bit<32>)standard_metadata.ingress_port"
}
},
{
"op" : "count",
"parameters" : [
{
"type" : "counter_array",
"value" : "FabricIngress.port_counters_control.ingress_port_counter"
},
{
"type" : "field",
"value" : ["scalars", "tmp_2"]
}
],
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 31,
"column" : 12,
"source_fragment" : "ingress_port_counter.count((bit<32>)standard_metadata.ingress_port)"
}
}
]
},
{
"name" : "nop",
"id" : 66,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "drop_now",
"id" : 67,
"runtime_data" : [],
"primitives" : [
{
"op" : "drop",
"parameters" : [],
"source_info" : {
"filename" : "include/control/../action.p4",
"line" : 24,
"column" : 4,
"source_fragment" : "mark_to_drop()"
}
},
{
"op" : "exit",
"parameters" : [],
"source_info" : {
"filename" : "include/control/../action.p4",
"line" : 25,
"column" : 4,
"source_fragment" : "exit"
}
}
]
},
{
"name" : "drop_now",
"id" : 68,
"runtime_data" : [],
"primitives" : [
{
"op" : "drop",
"parameters" : [],
"source_info" : {
"filename" : "include/control/../action.p4",
"line" : 24,
"column" : 4,
"source_fragment" : "mark_to_drop()"
}
},
{
"op" : "exit",
"parameters" : [],
"source_info" : {
"filename" : "include/control/../action.p4",
"line" : 25,
"column" : 4,
"source_fragment" : "exit"
}
}
]
},
{
"name" : "FabricEgress.spgw_egress.gtpu_encap",
"id" : 69,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "gtpu_ipv4"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 185,
"column" : 8,
"source_fragment" : "gtpu_ipv4.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu_ipv4", "version"]
},
{
"type" : "hexstr",
"value" : "0x04"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 186,
"column" : 8,
"source_fragment" : "gtpu_ipv4.version = 4"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu_ipv4", "ihl"]
},
{
"type" : "hexstr",
"value" : "0x05"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 101,
"column" : 28,
"source_fragment" : "5; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu_ipv4", "dscp"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 188,
"column" : 8,
"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" : 189,
"column" : 8,
"source_fragment" : "gtpu_ipv4.ecn = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu_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" : "0x0024"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 190,
"column" : 8,
"source_fragment" : "gtpu_ipv4.total_len = ipv4.total_len ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu_ipv4", "identification"]
},
{
"type" : "hexstr",
"value" : "0x1513"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 192,
"column" : 8,
"source_fragment" : "gtpu_ipv4.identification = 0x1513"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu_ipv4", "flags"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 193,
"column" : 8,
"source_fragment" : "gtpu_ipv4.flags = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu_ipv4", "frag_offset"]
},
{
"type" : "hexstr",
"value" : "0x0000"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 194,
"column" : 8,
"source_fragment" : "gtpu_ipv4.frag_offset = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu_ipv4", "ttl"]
},
{
"type" : "hexstr",
"value" : "0x40"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 114,
"column" : 32,
"source_fragment" : "64; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu_ipv4", "protocol"]
},
{
"type" : "hexstr",
"value" : "0x11"
}
],
"source_info" : {
"filename" : "include/control/../define.p4",
"line" : 98,
"column" : 25,
"source_fragment" : "17; ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu_ipv4", "dst_addr"]
},
{
"type" : "field",
"value" : ["userMetadata.spgw", "s1u_enb_addr"]
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 197,
"column" : 8,
"source_fragment" : "gtpu_ipv4.dst_addr = spgw_meta.s1u_enb_addr"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu_ipv4", "src_addr"]
},
{
"type" : "field",
"value" : ["userMetadata.spgw", "s1u_sgw_addr"]
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 198,
"column" : 8,
"source_fragment" : "gtpu_ipv4.src_addr = spgw_meta.s1u_sgw_addr"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu_ipv4", "hdr_checksum"]
},
{
"type" : "hexstr",
"value" : "0x0000"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 199,
"column" : 8,
"source_fragment" : "gtpu_ipv4.hdr_checksum = 0"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "gtpu_udp"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 201,
"column" : 8,
"source_fragment" : "gtpu_udp.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu_udp", "src_port"]
},
{
"type" : "hexstr",
"value" : "0x0868"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 202,
"column" : 8,
"source_fragment" : "gtpu_udp.src_port = 2152"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu_udp", "dst_port"]
},
{
"type" : "hexstr",
"value" : "0x0868"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 203,
"column" : 8,
"source_fragment" : "gtpu_udp.dst_port = 2152"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu_udp", "len"]
},
{
"type" : "expression",
"value" : {
"type" : "expression",
"value" : {
"op" : "&",
"left" : {
"type" : "expression",
"value" : {
"op" : "+",
"left" : {
"type" : "field",
"value" : ["userMetadata.spgw", "ipv4_len"]
},
"right" : {
"type" : "hexstr",
"value" : "0x0010"
}
}
},
"right" : {
"type" : "hexstr",
"value" : "0xffff"
}
}
}
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 204,
"column" : 8,
"source_fragment" : "gtpu_udp.len = spgw_meta.ipv4_len ..."
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu_udp", "checksum"]
},
{
"type" : "hexstr",
"value" : "0x0000"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 206,
"column" : 8,
"source_fragment" : "gtpu_udp.checksum = 0"
}
},
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "gtpu"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 208,
"column" : 8,
"source_fragment" : "gtpu.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu", "version"]
},
{
"type" : "hexstr",
"value" : "0x01"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 209,
"column" : 8,
"source_fragment" : "gtpu.version = 0x01"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu", "pt"]
},
{
"type" : "hexstr",
"value" : "0x01"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 210,
"column" : 8,
"source_fragment" : "gtpu.pt = 0x01"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu", "spare"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 211,
"column" : 8,
"source_fragment" : "gtpu.spare = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu", "ex_flag"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 212,
"column" : 8,
"source_fragment" : "gtpu.ex_flag = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu", "seq_flag"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 213,
"column" : 8,
"source_fragment" : "gtpu.seq_flag = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu", "npdu_flag"]
},
{
"type" : "hexstr",
"value" : "0x00"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 214,
"column" : 8,
"source_fragment" : "gtpu.npdu_flag = 0"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu", "msgtype"]
},
{
"type" : "hexstr",
"value" : "0xff"
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 215,
"column" : 8,
"source_fragment" : "gtpu.msgtype = 0xff"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu", "msglen"]
},
{
"type" : "field",
"value" : ["userMetadata.spgw", "ipv4_len"]
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 216,
"column" : 8,
"source_fragment" : "gtpu.msglen = spgw_meta.ipv4_len"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["gtpu", "teid"]
},
{
"type" : "field",
"value" : ["userMetadata.spgw", "teid"]
}
],
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 217,
"column" : 8,
"source_fragment" : "gtpu.teid = spgw_meta.teid"
}
}
]
},
{
"name" : "FabricEgress.pkt_io_egress.pop_vlan",
"id" : 70,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "ether_type"]
},
{
"type" : "field",
"value" : ["vlan_tag", "ether_type"]
}
],
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 38,
"column" : 8,
"source_fragment" : "hdr.ethernet.ether_type = hdr.vlan_tag.ether_type"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "vlan_tag"
}
],
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 39,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.setInvalid()"
}
}
]
},
{
"name" : "FabricEgress.egress_next.pop_vlan",
"id" : 71,
"runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["ethernet", "ether_type"]
},
{
"type" : "field",
"value" : ["vlan_tag", "ether_type"]
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 253,
"column" : 8,
"source_fragment" : "hdr.ethernet.ether_type = hdr.vlan_tag.ether_type"
}
},
{
"op" : "remove_header",
"parameters" : [
{
"type" : "header",
"value" : "vlan_tag"
}
],
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 254,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.setInvalid()"
}
}
]
},
{
"name" : "act_29",
"id" : 72,
"runtime_data" : [],
"primitives" : [
{
"op" : "add_header",
"parameters" : [
{
"type" : "header",
"value" : "packet_in"
}
],
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 51,
"column" : 12,
"source_fragment" : "hdr.packet_in.setValid()"
}
},
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
"value" : ["packet_in", "ingress_port"]
},
{
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
}
],
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 52,
"column" : 12,
"source_fragment" : "hdr.packet_in.ingress_port = standard_metadata.ingress_port"
}
}
]
}
],
"pipelines" : [
{
"name" : "ingress",
"id" : 0,
"source_info" : {
"filename" : "fabric.p4",
"line" : 40,
"column" : 8,
"source_fragment" : "FabricIngress"
},
"init_table" : "tbl_act",
"tables" : [
{
"name" : "tbl_act",
"id" : 0,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [37],
"actions" : ["act_0"],
"base_default_next" : "node_3",
"next_tables" : {
"act_0" : "node_3"
},
"default_entry" : {
"action_id" : 37,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_0",
"id" : 1,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [36],
"actions" : ["act"],
"base_default_next" : "node_5",
"next_tables" : {
"act" : "node_5"
},
"default_entry" : {
"action_id" : 36,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_1",
"id" : 2,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [40],
"actions" : ["act_3"],
"base_default_next" : "node_7",
"next_tables" : {
"act_3" : "node_7"
},
"default_entry" : {
"action_id" : 40,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_2",
"id" : 3,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [38],
"actions" : ["act_1"],
"base_default_next" : "node_10",
"next_tables" : {
"act_1" : "node_10"
},
"default_entry" : {
"action_id" : 38,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_3",
"id" : 4,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [39],
"actions" : ["act_2"],
"base_default_next" : "node_10",
"next_tables" : {
"act_2" : "node_10"
},
"default_entry" : {
"action_id" : 39,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_4",
"id" : 5,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [41],
"actions" : ["act_4"],
"base_default_next" : null,
"next_tables" : {
"act_4" : null
},
"default_entry" : {
"action_id" : 41,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_5",
"id" : 6,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [49],
"actions" : ["act_12"],
"base_default_next" : "node_13",
"next_tables" : {
"act_12" : "node_13"
},
"default_entry" : {
"action_id" : 49,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "FabricIngress.spgw_ingress.s1u_filter_table",
"id" : 7,
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 79,
"column" : 10,
"source_fragment" : "s1u_filter_table"
},
"key" : [
{
"match_type" : "exact",
"name" : "gtpu_ipv4.dst_addr",
"target" : ["gtpu_ipv4", "dst_addr"],
"mask" : null
}
],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [1],
"actions" : ["NoAction"],
"base_default_next" : null,
"next_tables" : {
"__HIT__" : "tbl_act_6",
"__MISS__" : "tbl_act_7"
},
"default_entry" : {
"action_id" : 1,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
}
},
{
"name" : "tbl_act_6",
"id" : 8,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [42],
"actions" : ["act_5"],
"base_default_next" : "node_17",
"next_tables" : {
"act_5" : "node_17"
},
"default_entry" : {
"action_id" : 42,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_7",
"id" : 9,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [43],
"actions" : ["act_6"],
"base_default_next" : "node_17",
"next_tables" : {
"act_6" : "node_17"
},
"default_entry" : {
"action_id" : 43,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_drop_now",
"id" : 10,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [9],
"actions" : ["drop_now"],
"base_default_next" : "tbl_act_8",
"next_tables" : {
"drop_now" : "tbl_act_8"
},
"default_entry" : {
"action_id" : 9,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_8",
"id" : 11,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [44],
"actions" : ["act_7"],
"base_default_next" : "tbl_spgw_ingress_gtpu_decap",
"next_tables" : {
"act_7" : "tbl_spgw_ingress_gtpu_decap"
},
"default_entry" : {
"action_id" : 44,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_spgw_ingress_gtpu_decap",
"id" : 12,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [10],
"actions" : ["FabricIngress.spgw_ingress.gtpu_decap"],
"base_default_next" : "node_27",
"next_tables" : {
"FabricIngress.spgw_ingress.gtpu_decap" : "node_27"
},
"default_entry" : {
"action_id" : 10,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "FabricIngress.spgw_ingress.dl_sess_lookup",
"id" : 13,
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 68,
"column" : 10,
"source_fragment" : "dl_sess_lookup"
},
"key" : [
{
"match_type" : "exact",
"name" : "ipv4.dst_addr",
"target" : ["ipv4", "dst_addr"],
"mask" : null
}
],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [11, 0],
"actions" : ["FabricIngress.spgw_ingress.set_dl_sess_info", "NoAction"],
"base_default_next" : null,
"next_tables" : {
"__HIT__" : "tbl_act_9",
"__MISS__" : "tbl_act_10"
},
"default_entry" : {
"action_id" : 0,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
}
},
{
"name" : "tbl_act_9",
"id" : 14,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [45],
"actions" : ["act_8"],
"base_default_next" : "node_24",
"next_tables" : {
"act_8" : "node_24"
},
"default_entry" : {
"action_id" : 45,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_10",
"id" : 15,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [46],
"actions" : ["act_9"],
"base_default_next" : "node_24",
"next_tables" : {
"act_9" : "node_24"
},
"default_entry" : {
"action_id" : 46,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_11",
"id" : 16,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [47],
"actions" : ["act_10"],
"base_default_next" : "node_27",
"next_tables" : {
"act_10" : "node_27"
},
"default_entry" : {
"action_id" : 47,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_12",
"id" : 17,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [48],
"actions" : ["act_11"],
"base_default_next" : "node_27",
"next_tables" : {
"act_11" : "node_27"
},
"default_entry" : {
"action_id" : 48,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_13",
"id" : 18,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [50],
"actions" : ["act_13"],
"base_default_next" : "FabricIngress.filtering.ingress_port_vlan",
"next_tables" : {
"act_13" : "FabricIngress.filtering.ingress_port_vlan"
},
"default_entry" : {
"action_id" : 50,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "FabricIngress.filtering.ingress_port_vlan",
"id" : 19,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 66,
"column" : 10,
"source_fragment" : "ingress_port_vlan"
},
"key" : [
{
"match_type" : "exact",
"name" : "standard_metadata.ingress_port",
"target" : ["standard_metadata", "ingress_port"],
"mask" : null
},
{
"match_type" : "exact",
"name" : "hdr.vlan_tag.is_valid",
"target" : ["vlan_tag", "$valid$"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "hdr.vlan_tag.vlan_id",
"target" : ["vlan_tag", "vlan_id"],
"mask" : null
}
],
"match_type" : "ternary",
"type" : "simple",
"max_size" : 1024,
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [14, 13, 12, 15],
"actions" : ["FabricIngress.filtering.push_internal_vlan", "FabricIngress.filtering.set_vlan", "FabricIngress.filtering.drop", "FabricIngress.filtering.nop_ingress_port_vlan"],
"base_default_next" : null,
"next_tables" : {
"__HIT__" : "tbl_act_14",
"__MISS__" : "tbl_act_15"
},
"default_entry" : {
"action_id" : 14,
"action_const" : true,
"action_data" : ["0xffe"],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_14",
"id" : 20,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [51],
"actions" : ["act_14"],
"base_default_next" : "node_32",
"next_tables" : {
"act_14" : "node_32"
},
"default_entry" : {
"action_id" : 51,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_15",
"id" : 21,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [52],
"actions" : ["act_15"],
"base_default_next" : "node_32",
"next_tables" : {
"act_15" : "node_32"
},
"default_entry" : {
"action_id" : 52,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "FabricIngress.filtering.fwd_classifier",
"id" : 22,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 103,
"column" : 10,
"source_fragment" : "fwd_classifier"
},
"key" : [
{
"match_type" : "exact",
"name" : "standard_metadata.ingress_port",
"target" : ["standard_metadata", "ingress_port"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "hdr.ethernet.dst_addr",
"target" : ["ethernet", "dst_addr"],
"mask" : null
},
{
"match_type" : "exact",
"name" : "hdr.vlan_tag.ether_type",
"target" : ["vlan_tag", "ether_type"],
"mask" : null
}
],
"match_type" : "ternary",
"type" : "simple",
"max_size" : 1024,
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [16],
"actions" : ["FabricIngress.filtering.set_forwarding_type"],
"base_default_next" : "node_35",
"next_tables" : {
"FabricIngress.filtering.set_forwarding_type" : "node_35"
},
"default_entry" : {
"action_id" : 16,
"action_const" : true,
"action_data" : ["0x0"],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_16",
"id" : 23,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [53],
"actions" : ["act_16"],
"base_default_next" : "node_35",
"next_tables" : {
"act_16" : "node_35"
},
"default_entry" : {
"action_id" : 53,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "FabricIngress.forwarding.bridging",
"id" : 24,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 41,
"column" : 10,
"source_fragment" : "bridging"
},
"key" : [
{
"match_type" : "exact",
"name" : "hdr.vlan_tag.vlan_id",
"target" : ["vlan_tag", "vlan_id"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "hdr.ethernet.dst_addr",
"target" : ["ethernet", "dst_addr"],
"mask" : null
}
],
"match_type" : "ternary",
"type" : "simple",
"max_size" : 1024,
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [17, 2],
"actions" : ["FabricIngress.forwarding.set_next_id_bridging", "NoAction"],
"base_default_next" : "FabricIngress.forwarding.acl",
"next_tables" : {
"FabricIngress.forwarding.set_next_id_bridging" : "FabricIngress.forwarding.acl",
"NoAction" : "FabricIngress.forwarding.acl"
},
"default_entry" : {
"action_id" : 2,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
}
},
{
"name" : "FabricIngress.forwarding.mpls",
"id" : 25,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 65,
"column" : 10,
"source_fragment" : "mpls"
},
"key" : [
{
"match_type" : "exact",
"name" : "hdr.mpls.label",
"target" : ["mpls", "label"],
"mask" : null
}
],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [18, 3],
"actions" : ["FabricIngress.forwarding.pop_mpls_and_next", "NoAction"],
"base_default_next" : "tbl_act_17",
"next_tables" : {
"FabricIngress.forwarding.pop_mpls_and_next" : "tbl_act_17",
"NoAction" : "tbl_act_17"
},
"default_entry" : {
"action_id" : 3,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
}
},
{
"name" : "tbl_act_17",
"id" : 26,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [54],
"actions" : ["act_17"],
"base_default_next" : "FabricIngress.forwarding.acl",
"next_tables" : {
"act_17" : "FabricIngress.forwarding.acl"
},
"default_entry" : {
"action_id" : 54,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "FabricIngress.forwarding.routing_v4",
"id" : 27,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 87,
"column" : 10,
"source_fragment" : "routing_v4"
},
"key" : [
{
"match_type" : "lpm",
"name" : "hdr.ipv4.dst_addr",
"target" : ["ipv4", "dst_addr"],
"mask" : null
}
],
"match_type" : "lpm",
"type" : "simple",
"max_size" : 1024,
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [19, 4],
"actions" : ["FabricIngress.forwarding.set_next_id_routing_v4", "NoAction"],
"base_default_next" : "FabricIngress.forwarding.acl",
"next_tables" : {
"FabricIngress.forwarding.set_next_id_routing_v4" : "FabricIngress.forwarding.acl",
"NoAction" : "FabricIngress.forwarding.acl"
},
"default_entry" : {
"action_id" : 4,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
}
},
{
"name" : "FabricIngress.forwarding.acl",
"id" : 28,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 131,
"column" : 10,
"source_fragment" : "acl"
},
"key" : [
{
"match_type" : "ternary",
"name" : "standard_metadata.ingress_port",
"target" : ["standard_metadata", "ingress_port"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "fabric_metadata.ip_proto",
"target" : ["scalars", "fabric_metadata_t.ip_proto"],
"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",
"name" : "hdr.ethernet.dst_addr",
"target" : ["ethernet", "dst_addr"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "hdr.ethernet.src_addr",
"target" : ["ethernet", "src_addr"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "hdr.vlan_tag.vlan_id",
"target" : ["vlan_tag", "vlan_id"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "hdr.vlan_tag.ether_type",
"target" : ["vlan_tag", "ether_type"],
"mask" : null
},
{
"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" : "hdr.icmp.icmp_type",
"target" : ["icmp", "icmp_type"],
"mask" : null
},
{
"match_type" : "ternary",
"name" : "hdr.icmp.icmp_code",
"target" : ["icmp", "icmp_code"],
"mask" : null
}
],
"match_type" : "ternary",
"type" : "simple",
"max_size" : 128,
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [20, 21, 22, 23, 24],
"actions" : ["FabricIngress.forwarding.set_next_id_acl", "FabricIngress.forwarding.punt_to_cpu", "FabricIngress.forwarding.clone_to_cpu", "FabricIngress.forwarding.drop", "FabricIngress.forwarding.nop_acl"],
"base_default_next" : "tbl_act_18",
"next_tables" : {
"FabricIngress.forwarding.set_next_id_acl" : "tbl_act_18",
"FabricIngress.forwarding.punt_to_cpu" : "tbl_act_18",
"FabricIngress.forwarding.clone_to_cpu" : "tbl_act_18",
"FabricIngress.forwarding.drop" : "tbl_act_18",
"FabricIngress.forwarding.nop_acl" : "tbl_act_18"
},
"default_entry" : {
"action_id" : 24,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_18",
"id" : 29,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [55],
"actions" : ["act_18"],
"base_default_next" : "FabricIngress.next.vlan_meta",
"next_tables" : {
"act_18" : "FabricIngress.next.vlan_meta"
},
"default_entry" : {
"action_id" : 55,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "FabricIngress.next.vlan_meta",
"id" : 30,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 65,
"column" : 10,
"source_fragment" : "vlan_meta"
},
"key" : [
{
"match_type" : "exact",
"name" : "fabric_metadata.next_id",
"target" : ["scalars", "fabric_metadata_t.next_id"],
"mask" : null
}
],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [25, 8],
"actions" : ["FabricIngress.next.set_vlan", "nop"],
"base_default_next" : "FabricIngress.next.simple",
"next_tables" : {
"FabricIngress.next.set_vlan" : "FabricIngress.next.simple",
"nop" : "FabricIngress.next.simple"
},
"default_entry" : {
"action_id" : 8,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
}
},
{
"name" : "FabricIngress.next.simple",
"id" : 31,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 122,
"column" : 10,
"source_fragment" : "simple"
},
"key" : [
{
"match_type" : "exact",
"name" : "fabric_metadata.next_id",
"target" : ["scalars", "fabric_metadata_t.next_id"],
"mask" : null
}
],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [26, 27, 28, 29, 30, 31, 5],
"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" : {
"__HIT__" : "tbl_act_19",
"__MISS__" : "tbl_act_20"
},
"default_entry" : {
"action_id" : 5,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
}
},
{
"name" : "tbl_act_19",
"id" : 32,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [56],
"actions" : ["act_19"],
"base_default_next" : "node_48",
"next_tables" : {
"act_19" : "node_48"
},
"default_entry" : {
"action_id" : 56,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_20",
"id" : 33,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [57],
"actions" : ["act_20"],
"base_default_next" : "node_48",
"next_tables" : {
"act_20" : "node_48"
},
"default_entry" : {
"action_id" : 57,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "FabricIngress.next.hashed",
"id" : 34,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 175,
"column" : 10,
"source_fragment" : "hashed"
},
"key" : [
{
"match_type" : "exact",
"name" : "fabric_metadata.next_id",
"target" : ["scalars", "fabric_metadata_t.next_id"],
"mask" : null
}
],
"match_type" : "exact",
"type" : "indirect_ws",
"action_profile" : "FabricIngress.next.ecmp_selector",
"max_size" : 1024,
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [32, 33, 34, 6],
"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" : {
"__HIT__" : "tbl_act_21",
"__MISS__" : "tbl_act_22"
}
},
{
"name" : "tbl_act_21",
"id" : 35,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [58],
"actions" : ["act_21"],
"base_default_next" : "node_52",
"next_tables" : {
"act_21" : "node_52"
},
"default_entry" : {
"action_id" : 58,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_22",
"id" : 36,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [59],
"actions" : ["act_22"],
"base_default_next" : "node_52",
"next_tables" : {
"act_22" : "node_52"
},
"default_entry" : {
"action_id" : 59,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "FabricIngress.next.multicast",
"id" : 37,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 207,
"column" : 10,
"source_fragment" : "multicast"
},
"key" : [
{
"match_type" : "exact",
"name" : "fabric_metadata.next_id",
"target" : ["scalars", "fabric_metadata_t.next_id"],
"mask" : null
}
],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [35, 7],
"actions" : ["FabricIngress.next.set_mcast_group", "NoAction"],
"base_default_next" : null,
"next_tables" : {
"__HIT__" : "tbl_act_23",
"__MISS__" : "tbl_act_24"
},
"default_entry" : {
"action_id" : 7,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
}
},
{
"name" : "tbl_act_23",
"id" : 38,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [60],
"actions" : ["act_23"],
"base_default_next" : "node_56",
"next_tables" : {
"act_23" : "node_56"
},
"default_entry" : {
"action_id" : 60,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_24",
"id" : 39,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [61],
"actions" : ["act_24"],
"base_default_next" : "node_56",
"next_tables" : {
"act_24" : "node_56"
},
"default_entry" : {
"action_id" : 61,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_25",
"id" : 40,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [62],
"actions" : ["act_25"],
"base_default_next" : "node_58",
"next_tables" : {
"act_25" : "node_58"
},
"default_entry" : {
"action_id" : 62,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_26",
"id" : 41,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [63],
"actions" : ["act_26"],
"base_default_next" : "node_62",
"next_tables" : {
"act_26" : "node_62"
},
"default_entry" : {
"action_id" : 63,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_27",
"id" : 42,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [64],
"actions" : ["act_27"],
"base_default_next" : "node_64",
"next_tables" : {
"act_27" : "node_64"
},
"default_entry" : {
"action_id" : 64,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_28",
"id" : 43,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [65],
"actions" : ["act_28"],
"base_default_next" : null,
"next_tables" : {
"act_28" : null
},
"default_entry" : {
"action_id" : 65,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
}
],
"action_profiles" : [
{
"name" : "FabricIngress.next.ecmp_selector",
"id" : 0,
"max_size" : 64,
"selector" : {
"algo" : "crc16",
"input" : [
{
"type" : "field",
"value" : ["ipv4", "dst_addr"]
},
{
"type" : "field",
"value" : ["ipv4", "src_addr"]
},
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.ip_proto"]
},
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.l4_src_port"]
},
{
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.l4_dst_port"]
}
]
}
}
],
"conditionals" : [
{
"name" : "node_3",
"id" : 0,
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 30,
"column" : 12,
"source_fragment" : "! is_gtpu_encapped"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "not",
"left" : null,
"right" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["gtpu", "$valid$"]
}
}
}
}
},
"true_next" : "tbl_act_0",
"false_next" : "node_5"
},
{
"name" : "node_5",
"id" : 1,
"expression" : {
"type" : "expression",
"value" : {
"op" : "not",
"left" : null,
"right" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "spgw_normalizer_hasReturned_0"]
}
}
}
}
},
"true_next" : "tbl_act_1",
"false_next" : "node_10"
},
{
"name" : "node_7",
"id" : 2,
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 34,
"column" : 12,
"source_fragment" : "inner_udp.isValid()"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["inner_udp", "$valid$"]
}
}
},
"true_next" : "tbl_act_2",
"false_next" : "tbl_act_3"
},
{
"name" : "node_10",
"id" : 3,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 25,
"column" : 12,
"source_fragment" : "hdr.packet_out.isValid()"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["packet_out", "$valid$"]
}
}
},
"true_next" : "tbl_act_4",
"false_next" : "tbl_act_5"
},
{
"name" : "node_13",
"id" : 4,
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 139,
"column" : 12,
"source_fragment" : "gtpu.isValid()"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["gtpu", "$valid$"]
}
}
},
"true_next" : "FabricIngress.spgw_ingress.s1u_filter_table",
"false_next" : "FabricIngress.spgw_ingress.dl_sess_lookup"
},
{
"name" : "node_17",
"id" : 5,
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 143,
"column" : 16,
"source_fragment" : "!s1u_filter_table.apply().hit"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "not",
"left" : null,
"right" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "spgw_ingress_tmp_1"]
}
}
}
}
},
"true_next" : "tbl_drop_now",
"false_next" : "tbl_act_8"
},
{
"name" : "node_24",
"id" : 6,
"expression" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "spgw_ingress_tmp_2"]
}
}
},
"true_next" : "tbl_act_11",
"false_next" : "tbl_act_12"
},
{
"name" : "node_27",
"id" : 7,
"expression" : {
"type" : "expression",
"value" : {
"op" : "not",
"left" : null,
"right" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "spgw_ingress_hasReturned_0"]
}
}
}
}
},
"true_next" : "tbl_act_13",
"false_next" : "FabricIngress.filtering.ingress_port_vlan"
},
{
"name" : "node_32",
"id" : 8,
"expression" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "filtering_tmp_0"]
}
}
},
"true_next" : "FabricIngress.filtering.fwd_classifier",
"false_next" : "tbl_act_16"
},
{
"name" : "node_35",
"id" : 9,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 186,
"column" : 11,
"source_fragment" : "fabric_metadata.fwd_type == FWD_BRIDGING"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.fwd_type"]
},
"right" : {
"type" : "hexstr",
"value" : "0x00"
}
}
},
"true_next" : "FabricIngress.forwarding.bridging",
"false_next" : "node_37"
},
{
"name" : "node_37",
"id" : 10,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 187,
"column" : 17,
"source_fragment" : "fabric_metadata.fwd_type == FWD_MPLS"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.fwd_type"]
},
"right" : {
"type" : "hexstr",
"value" : "0x01"
}
}
},
"true_next" : "FabricIngress.forwarding.mpls",
"false_next" : "node_40"
},
{
"name" : "node_40",
"id" : 11,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 193,
"column" : 17,
"source_fragment" : "fabric_metadata.fwd_type == FWD_IPV4_UNICAST"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.fwd_type"]
},
"right" : {
"type" : "hexstr",
"value" : "0x02"
}
}
},
"true_next" : "FabricIngress.forwarding.routing_v4",
"false_next" : "FabricIngress.forwarding.acl"
},
{
"name" : "node_48",
"id" : 12,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 219,
"column" : 12,
"source_fragment" : "!simple.apply().hit"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "not",
"left" : null,
"right" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "next_tmp_4"]
}
}
}
}
},
"true_next" : "FabricIngress.next.hashed",
"false_next" : "node_58"
},
{
"name" : "node_52",
"id" : 13,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 220,
"column" : 16,
"source_fragment" : "!hashed.apply().hit"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "not",
"left" : null,
"right" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "next_tmp_3"]
}
}
}
}
},
"true_next" : "FabricIngress.next.multicast",
"false_next" : "node_58"
},
{
"name" : "node_56",
"id" : 14,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 221,
"column" : 20,
"source_fragment" : "!multicast.apply().hit"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "not",
"left" : null,
"right" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "next_tmp_2"]
}
}
}
}
},
"true_next" : "tbl_act_25",
"false_next" : "node_58"
},
{
"name" : "node_58",
"id" : 15,
"expression" : {
"type" : "expression",
"value" : {
"op" : "not",
"left" : null,
"right" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "next_hasReturned_0"]
}
}
}
}
},
"true_next" : "node_59",
"false_next" : "node_62"
},
{
"name" : "node_59",
"id" : 16,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 228,
"column" : 12,
"source_fragment" : "!hdr.mpls.isValid()"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "not",
"left" : null,
"right" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["mpls", "$valid$"]
}
}
}
}
},
"true_next" : "node_60",
"false_next" : "node_62"
},
{
"name" : "node_60",
"id" : 17,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 229,
"column" : 15,
"source_fragment" : "hdr.ipv4.isValid()"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["ipv4", "$valid$"]
}
}
},
"true_next" : "tbl_act_26",
"false_next" : "node_62"
},
{
"name" : "node_62",
"id" : 18,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 27,
"column" : 12,
"source_fragment" : "standard_metadata.egress_spec < 511"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "<",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_spec"]
},
"right" : {
"type" : "hexstr",
"value" : "0x01ff"
}
}
},
"true_next" : "tbl_act_27",
"false_next" : "node_64"
},
{
"name" : "node_64",
"id" : 19,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 30,
"column" : 12,
"source_fragment" : "standard_metadata.ingress_port < 511"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "<",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0x01ff"
}
}
},
"false_next" : null,
"true_next" : "tbl_act_28"
}
]
},
{
"name" : "egress",
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
"line" : 80,
"column" : 8,
"source_fragment" : "FabricEgress"
},
"init_table" : "node_68",
"tables" : [
{
"name" : "tbl_drop_now_0",
"id" : 44,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [67],
"actions" : ["drop_now"],
"base_default_next" : "FabricEgress.egress_next.egress_vlan",
"next_tables" : {
"drop_now" : "FabricEgress.egress_next.egress_vlan"
},
"default_entry" : {
"action_id" : 67,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "FabricEgress.egress_next.egress_vlan",
"id" : 45,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 258,
"column" : 10,
"source_fragment" : "egress_vlan"
},
"key" : [
{
"match_type" : "exact",
"name" : "hdr.vlan_tag.vlan_id",
"target" : ["vlan_tag", "vlan_id"],
"mask" : null
},
{
"match_type" : "exact",
"name" : "standard_metadata.egress_port",
"target" : ["standard_metadata", "egress_port"],
"mask" : null
}
],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [71, 66],
"actions" : ["FabricEgress.egress_next.pop_vlan", "nop"],
"base_default_next" : "node_71",
"next_tables" : {
"FabricEgress.egress_next.pop_vlan" : "node_71",
"nop" : "node_71"
},
"default_entry" : {
"action_id" : 66,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
}
},
{
"name" : "tbl_pkt_io_egress_pop_vlan",
"id" : 46,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [70],
"actions" : ["FabricEgress.pkt_io_egress.pop_vlan"],
"base_default_next" : "node_74",
"next_tables" : {
"FabricEgress.pkt_io_egress.pop_vlan" : "node_74"
},
"default_entry" : {
"action_id" : 70,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_drop_now_1",
"id" : 47,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [68],
"actions" : ["drop_now"],
"base_default_next" : "tbl_act_29",
"next_tables" : {
"drop_now" : "tbl_act_29"
},
"default_entry" : {
"action_id" : 68,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_29",
"id" : 48,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [72],
"actions" : ["act_29"],
"base_default_next" : "node_77",
"next_tables" : {
"act_29" : "node_77"
},
"default_entry" : {
"action_id" : 72,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
"name" : "tbl_spgw_egress_gtpu_encap",
"id" : 49,
"key" : [],
"match_type" : "exact",
"type" : "simple",
"max_size" : 1024,
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [69],
"actions" : ["FabricEgress.spgw_egress.gtpu_encap"],
"base_default_next" : null,
"next_tables" : {
"FabricEgress.spgw_egress.gtpu_encap" : null
},
"default_entry" : {
"action_id" : 69,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
}
],
"action_profiles" : [],
"conditionals" : [
{
"name" : "node_68",
"id" : 20,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 272,
"column" : 12,
"source_fragment" : "fabric_metadata.is_multicast == true ..."
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "and",
"left" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.is_multicast"]
}
}
},
"right" : {
"type" : "bool",
"value" : true
}
}
},
"right" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "ingress_port"]
},
"right" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
}
}
}
}
},
"true_next" : "tbl_drop_now_0",
"false_next" : "FabricEgress.egress_next.egress_vlan"
},
{
"name" : "node_71",
"id" : 21,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 42,
"column" : 12,
"source_fragment" : "standard_metadata.egress_port == 255"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "field",
"value" : ["standard_metadata", "egress_port"]
},
"right" : {
"type" : "hexstr",
"value" : "0x00ff"
}
}
},
"true_next" : "node_72",
"false_next" : "node_77"
},
{
"name" : "node_72",
"id" : 22,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 43,
"column" : 16,
"source_fragment" : "hdr.vlan_tag.isValid() && fabric_metadata.pop_vlan_when_packet_in == true"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "and",
"left" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["vlan_tag", "$valid$"]
}
}
},
"right" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.pop_vlan_when_packet_in"]
}
}
},
"right" : {
"type" : "bool",
"value" : true
}
}
}
}
},
"true_next" : "tbl_pkt_io_egress_pop_vlan",
"false_next" : "node_74"
},
{
"name" : "node_74",
"id" : 23,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 46,
"column" : 16,
"source_fragment" : "fabric_metadata.is_multicast == true && ..."
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "and",
"left" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.is_multicast"]
}
}
},
"right" : {
"type" : "bool",
"value" : true
}
}
},
"right" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["scalars", "fabric_metadata_t.clone_to_cpu"]
}
}
},
"right" : {
"type" : "bool",
"value" : false
}
}
}
}
},
"true_next" : "tbl_drop_now_1",
"false_next" : "tbl_act_29"
},
{
"name" : "node_77",
"id" : 24,
"source_info" : {
"filename" : "include/spgw.p4",
"line" : 221,
"column" : 12,
"source_fragment" : "spgw_meta.direction == SPGW_DIR_DOWNLINK"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
"type" : "field",
"value" : ["userMetadata.spgw", "direction"]
},
"right" : {
"type" : "hexstr",
"value" : "0x02"
}
}
},
"false_next" : null,
"true_next" : "tbl_spgw_egress_gtpu_encap"
}
]
}
],
"checksums" : [
{
"name" : "cksum",
"id" : 0,
"target" : ["ipv4", "hdr_checksum"],
"type" : "generic",
"calculation" : "calc",
"if_cond" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["ipv4", "$valid$"]
}
}
}
},
{
"name" : "cksum_0",
"id" : 1,
"target" : ["gtpu_ipv4", "hdr_checksum"],
"type" : "generic",
"calculation" : "calc_0",
"if_cond" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["gtpu_ipv4", "$valid$"]
}
}
}
},
{
"name" : "cksum_1",
"id" : 2,
"target" : ["ipv4", "hdr_checksum"],
"type" : "generic",
"calculation" : "calc_1",
"if_cond" : {
"type" : "expression",
"value" : {
"op" : "d2b",
"left" : null,
"right" : {
"type" : "field",
"value" : ["ipv4", "$valid$"]
}
}
}
}
],
"force_arith" : [],
"extern_instances" : [],
"field_aliases" : [
[
"queueing_metadata.enq_timestamp",
["standard_metadata", "enq_timestamp"]
],
[
"queueing_metadata.enq_qdepth",
["standard_metadata", "enq_qdepth"]
],
[
"queueing_metadata.deq_timedelta",
["standard_metadata", "deq_timedelta"]
],
[
"queueing_metadata.deq_qdepth",
["standard_metadata", "deq_qdepth"]
],
[
"intrinsic_metadata.ingress_global_timestamp",
["standard_metadata", "ingress_global_timestamp"]
],
[
"intrinsic_metadata.egress_global_timestamp",
["standard_metadata", "egress_global_timestamp"]
],
[
"intrinsic_metadata.lf_field_list",
["standard_metadata", "lf_field_list"]
],
[
"intrinsic_metadata.mcast_grp",
["standard_metadata", "mcast_grp"]
],
[
"intrinsic_metadata.resubmit_flag",
["standard_metadata", "resubmit_flag"]
],
[
"intrinsic_metadata.egress_rid",
["standard_metadata", "egress_rid"]
],
[
"intrinsic_metadata.recirculate_flag",
["standard_metadata", "recirculate_flag"]
]
],
"program" : "fabric.p4",
"__meta__" : {
"version" : [2, 18],
"compiler" : "https://github.com/p4lang/p4c"
}
}