Bumped supported revisions of P4 tools
Includes:
- Use new P4Runtime "v1" package names
- Removed VALID match
- New table entry priority spec (1 is min priority, not 0)
- Fixed p4c-bm2-ss to include arch flag
- Re-compiled P4 programs with more recent p4c (with updated p4info)
Change-Id: I05908f40eda0f0c755009268fd261fb8bcc9be35
diff --git a/pipelines/fabric/src/main/resources/p4c-out/bmv2/fabric-spgw.json b/pipelines/fabric/src/main/resources/p4c-out/bmv2/fabric-spgw.json
index efab709..6db1e8c 100644
--- a/pipelines/fabric/src/main/resources/p4c-out/bmv2/fabric-spgw.json
+++ b/pipelines/fabric/src/main/resources/p4c-out/bmv2/fabric-spgw.json
@@ -1,9 +1,4 @@
{
- "program" : "fabric.p4",
- "__meta__" : {
- "version" : [2, 7],
- "compiler" : "https://github.com/p4lang/p4c"
- },
"header_types" : [
{
"name" : "scalars_0",
@@ -28,9 +23,36 @@
]
},
{
- "name" : "ethernet_t",
+ "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]
@@ -38,7 +60,7 @@
},
{
"name" : "vlan_tag_t",
- "id" : 2,
+ "id" : 3,
"fields" : [
["pri", 3, false],
["cfi", 1, false],
@@ -48,7 +70,7 @@
},
{
"name" : "mpls_t",
- "id" : 3,
+ "id" : 4,
"fields" : [
["label", 20, false],
["tc", 3, false],
@@ -58,7 +80,7 @@
},
{
"name" : "ipv4_t",
- "id" : 4,
+ "id" : 5,
"fields" : [
["version", 4, false],
["ihl", 4, false],
@@ -76,7 +98,7 @@
},
{
"name" : "udp_t",
- "id" : 5,
+ "id" : 6,
"fields" : [
["src_port", 16, false],
["dst_port", 16, false],
@@ -86,7 +108,7 @@
},
{
"name" : "gtpu_t",
- "id" : 6,
+ "id" : 7,
"fields" : [
["version", 3, false],
["pt", 1, false],
@@ -100,20 +122,6 @@
]
},
{
- "name" : "ipv6_t",
- "id" : 7,
- "fields" : [
- ["version", 4, false],
- ["traffic_class", 8, false],
- ["flow_label", 20, false],
- ["payload_len", 16, false],
- ["next_hdr", 8, false],
- ["hop_limit", 8, false],
- ["src_addr", 128, false],
- ["dst_addr", 128, false]
- ]
- },
- {
"name" : "arp_t",
"id" : 8,
"fields" : [
@@ -179,34 +187,7 @@
["teid", 32, false],
["s1u_enb_addr", 32, false],
["s1u_sgw_addr", 32, false],
- ["_padding", 6, false]
- ]
- },
- {
- "name" : "standard_metadata",
- "id" : 14,
- "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_0", 5, false]
+ ["_padding_0", 6, false]
]
}
],
@@ -275,57 +256,50 @@
"pi_omit" : true
},
{
- "name" : "ipv6",
- "id" : 9,
- "header_type" : "ipv6_t",
- "metadata" : false,
- "pi_omit" : true
- },
- {
"name" : "arp",
- "id" : 10,
+ "id" : 9,
"header_type" : "arp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "tcp",
- "id" : 11,
+ "id" : 10,
"header_type" : "tcp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "udp",
- "id" : 12,
+ "id" : 11,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "icmp",
- "id" : 13,
+ "id" : 12,
"header_type" : "icmp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_out",
- "id" : 14,
+ "id" : 13,
"header_type" : "packet_out_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_in",
- "id" : 15,
+ "id" : 14,
"header_type" : "packet_in_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "userMetadata.spgw",
- "id" : 16,
+ "id" : 15,
"header_type" : "spgw_meta_t",
"metadata" : true,
"pi_omit" : true
@@ -336,14 +310,7 @@
"header_unions" : [],
"header_union_stacks" : [],
"field_lists" : [],
- "errors" : [
- ["NoError", 0],
- ["PacketTooShort", 1],
- ["NoMatch", 2],
- ["StackOutOfBounds", 3],
- ["HeaderTooShort", 4],
- ["ParserTimeout", 5]
- ],
+ "errors" : [],
"enums" : [],
"parsers" : [
{
@@ -451,12 +418,6 @@
"next_state" : "parse_ipv4"
},
{
- "type" : "hexstr",
- "value" : "0x86dd",
- "mask" : null,
- "next_state" : "parse_ipv6"
- },
- {
"value" : "default",
"mask" : null,
"next_state" : null
@@ -511,12 +472,6 @@
},
{
"type" : "hexstr",
- "value" : "0x86dd",
- "mask" : null,
- "next_state" : "parse_ipv6"
- },
- {
- "type" : "hexstr",
"value" : "0x8847",
"mask" : null,
"next_state" : "parse_mpls"
@@ -569,12 +524,6 @@
"next_state" : "parse_ipv4"
},
{
- "type" : "hexstr",
- "value" : "0x06",
- "mask" : null,
- "next_state" : "parse_ipv6"
- },
- {
"value" : "default",
"mask" : null,
"next_state" : "parse_ethernet"
@@ -647,67 +596,8 @@
]
},
{
- "name" : "parse_ipv6",
- "id" : 6,
- "parser_ops" : [
- {
- "parameters" : [
- {
- "type" : "regular",
- "value" : "ipv6"
- }
- ],
- "op" : "extract"
- },
- {
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t.ip_proto"]
- },
- {
- "type" : "field",
- "value" : ["ipv6", "next_hdr"]
- }
- ],
- "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" : "0x3a",
- "mask" : null,
- "next_state" : "parse_icmp"
- },
- {
- "value" : "default",
- "mask" : null,
- "next_state" : null
- }
- ],
- "transition_key" : [
- {
- "type" : "field",
- "value" : ["ipv6", "next_hdr"]
- }
- ]
- },
- {
"name" : "parse_arp",
- "id" : 7,
+ "id" : 6,
"parser_ops" : [
{
"parameters" : [
@@ -730,7 +620,7 @@
},
{
"name" : "parse_tcp",
- "id" : 8,
+ "id" : 7,
"parser_ops" : [
{
"parameters" : [
@@ -779,7 +669,7 @@
},
{
"name" : "parse_udp",
- "id" : 9,
+ "id" : 8,
"parser_ops" : [
{
"parameters" : [
@@ -839,7 +729,7 @@
},
{
"name" : "parse_icmp",
- "id" : 10,
+ "id" : 9,
"parser_ops" : [
{
"parameters" : [
@@ -862,7 +752,7 @@
},
{
"name" : "parse_gtpu",
- "id" : 11,
+ "id" : 10,
"parser_ops" : [
{
"parameters" : [
@@ -917,7 +807,7 @@
},
{
"name" : "parse_udp_inner",
- "id" : 12,
+ "id" : 11,
"parser_ops" : [
{
"parameters" : [
@@ -973,12 +863,12 @@
"name" : "deparser",
"id" : 0,
"source_info" : {
- "filename" : "./include/parser.p4",
+ "filename" : "include/parser.p4",
"line" : 165,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
- "order" : ["packet_in", "ethernet", "vlan_tag", "mpls", "arp", "gtpu_ipv4", "gtpu_udp", "gtpu", "ipv4", "ipv6", "tcp", "udp", "icmp"]
+ "order" : ["packet_in", "ethernet", "vlan_tag", "mpls", "arp", "gtpu_ipv4", "gtpu_udp", "gtpu", "ipv4", "tcp", "udp", "icmp"]
}
],
"meter_arrays" : [],
@@ -1026,52 +916,28 @@
"binding" : "FabricIngress.forwarding.acl"
},
{
- "name" : "FabricIngress.forwarding.multicast_v4_counter",
- "id" : 7,
- "is_direct" : true,
- "binding" : "FabricIngress.forwarding.multicast_v4"
- },
- {
- "name" : "FabricIngress.forwarding.unicast_v6_counter",
- "id" : 8,
- "is_direct" : true,
- "binding" : "FabricIngress.forwarding.unicast_v6"
- },
- {
- "name" : "FabricIngress.forwarding.multicast_v6_counter",
- "id" : 9,
- "is_direct" : true,
- "binding" : "FabricIngress.forwarding.multicast_v6"
- },
- {
"name" : "FabricIngress.next.vlan_meta_counter",
- "id" : 10,
+ "id" : 7,
"is_direct" : true,
"binding" : "FabricIngress.next.vlan_meta"
},
{
"name" : "FabricIngress.next.simple_counter",
- "id" : 11,
+ "id" : 8,
"is_direct" : true,
"binding" : "FabricIngress.next.simple"
},
{
"name" : "FabricIngress.next.hashed_counter",
- "id" : 12,
+ "id" : 9,
"is_direct" : true,
"binding" : "FabricIngress.next.hashed"
},
{
- "name" : "FabricIngress.next.multicast_counter",
- "id" : 13,
- "is_direct" : true,
- "binding" : "FabricIngress.next.multicast"
- },
- {
"name" : "FabricIngress.port_counters_control.egress_port_counter",
- "id" : 14,
+ "id" : 10,
"source_info" : {
- "filename" : "./include/control/port_counter.p4",
+ "filename" : "include/control/port_counter.p4",
"line" : 23,
"column" : 48,
"source_fragment" : "egress_port_counter"
@@ -1081,9 +947,9 @@
},
{
"name" : "FabricIngress.port_counters_control.ingress_port_counter",
- "id" : 15,
+ "id" : 11,
"source_info" : {
- "filename" : "./include/control/port_counter.p4",
+ "filename" : "include/control/port_counter.p4",
"line" : 24,
"column" : 48,
"source_fragment" : "ingress_port_counter"
@@ -1098,64 +964,7 @@
"name" : "calc",
"id" : 0,
"source_info" : {
- "filename" : "./include/checksum.p4",
- "line" : 56,
- "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", "diffserv"]
- },
- {
- "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/checksum.p4",
+ "filename" : "include/checksum.p4",
"line" : 28,
"column" : 8,
"source_fragment" : "update_checksum(hdr.ipv4.isValid(), ..."
@@ -1209,10 +1018,10 @@
]
},
{
- "name" : "calc_1",
- "id" : 2,
+ "name" : "calc_0",
+ "id" : 1,
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 296,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
@@ -1264,6 +1073,63 @@
"value" : ["gtpu_ipv4", "dst_addr"]
}
]
+ },
+ {
+ "name" : "calc_1",
+ "id" : 2,
+ "source_info" : {
+ "filename" : "include/checksum.p4",
+ "line" : 56,
+ "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", "diffserv"]
+ },
+ {
+ "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" : [],
@@ -1323,57 +1189,33 @@
"primitives" : []
},
{
- "name" : "NoAction",
+ "name" : "nop",
"id" : 9,
"runtime_data" : [],
"primitives" : []
},
{
- "name" : "NoAction",
+ "name" : "nop",
"id" : 10,
"runtime_data" : [],
"primitives" : []
},
{
- "name" : "NoAction",
+ "name" : "nop",
"id" : 11,
"runtime_data" : [],
"primitives" : []
},
{
- "name" : "NoAction",
- "id" : 12,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "nop",
- "id" : 13,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "nop",
- "id" : 14,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "nop",
- "id" : 15,
- "runtime_data" : [],
- "primitives" : []
- },
- {
"name" : "FabricIngress.spgw_ingress.drop_now",
- "id" : 16,
+ "id" : 12,
"runtime_data" : [],
"primitives" : [
{
"op" : "drop",
"parameters" : [],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "mark_to_drop()"
@@ -1383,7 +1225,7 @@
"op" : "exit",
"parameters" : [],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 34,
"column" : 8,
"source_fragment" : "exit"
@@ -1393,7 +1235,7 @@
},
{
"name" : "FabricIngress.spgw_ingress.gtpu_decap",
- "id" : 17,
+ "id" : 13,
"runtime_data" : [],
"primitives" : [
{
@@ -1405,7 +1247,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 38,
"column" : 8,
"source_fragment" : "gtpu_ipv4.setInvalid()"
@@ -1420,7 +1262,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 39,
"column" : 8,
"source_fragment" : "gtpu_udp.setInvalid()"
@@ -1435,7 +1277,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 40,
"column" : 8,
"source_fragment" : "gtpu.setInvalid()"
@@ -1445,7 +1287,7 @@
},
{
"name" : "FabricIngress.spgw_ingress.set_dl_sess_info",
- "id" : 18,
+ "id" : 14,
"runtime_data" : [
{
"name" : "teid",
@@ -1474,7 +1316,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 46,
"column" : 8,
"source_fragment" : "spgw_meta.teid = teid"
@@ -1493,7 +1335,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 47,
"column" : 8,
"source_fragment" : "spgw_meta.s1u_enb_addr = s1u_enb_addr"
@@ -1512,7 +1354,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 48,
"column" : 8,
"source_fragment" : "spgw_meta.s1u_sgw_addr = s1u_sgw_addr"
@@ -1522,20 +1364,20 @@
},
{
"name" : "FabricIngress.spgw_ingress.update_ue_cdr",
- "id" : 19,
+ "id" : 15,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.filtering.drop",
- "id" : 20,
+ "id" : 16,
"runtime_data" : [],
"primitives" : [
{
"op" : "drop",
"parameters" : [],
"source_info" : {
- "filename" : "./include/control/filtering.p4",
+ "filename" : "include/control/filtering.p4",
"line" : 31,
"column" : 8,
"source_fragment" : "mark_to_drop()"
@@ -1545,7 +1387,7 @@
},
{
"name" : "FabricIngress.filtering.set_vlan",
- "id" : 21,
+ "id" : 17,
"runtime_data" : [
{
"name" : "new_vlan_id",
@@ -1566,7 +1408,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/filtering.p4",
+ "filename" : "include/control/filtering.p4",
"line" : 35,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.vlan_id = new_vlan_id"
@@ -1576,7 +1418,7 @@
},
{
"name" : "FabricIngress.filtering.push_internal_vlan",
- "id" : 22,
+ "id" : 18,
"runtime_data" : [
{
"name" : "new_vlan_id",
@@ -1593,7 +1435,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/filtering.p4",
+ "filename" : "include/control/filtering.p4",
"line" : 41,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.setValid()"
@@ -1612,7 +1454,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/filtering.p4",
+ "filename" : "include/control/filtering.p4",
"line" : 42,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.cfi = 0"
@@ -1631,7 +1473,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/filtering.p4",
+ "filename" : "include/control/filtering.p4",
"line" : 43,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.pri = 0"
@@ -1650,7 +1492,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/filtering.p4",
+ "filename" : "include/control/filtering.p4",
"line" : 44,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.ether_type = hdr.ethernet.ether_type"
@@ -1669,7 +1511,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../define.p4",
+ "filename" : "include/control/../define.p4",
"line" : 32,
"column" : 31,
"source_fragment" : "0x8100; ..."
@@ -1688,7 +1530,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/filtering.p4",
+ "filename" : "include/control/filtering.p4",
"line" : 35,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.vlan_id = new_vlan_id; ..."
@@ -1717,7 +1559,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/filtering.p4",
+ "filename" : "include/control/filtering.p4",
"line" : 49,
"column" : 8,
"source_fragment" : "fabric_metadata.pop_vlan_when_packet_in = true"
@@ -1727,7 +1569,7 @@
},
{
"name" : "FabricIngress.filtering.set_forwarding_type",
- "id" : 23,
+ "id" : 19,
"runtime_data" : [
{
"name" : "fwd_type",
@@ -1748,7 +1590,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/filtering.p4",
+ "filename" : "include/control/filtering.p4",
"line" : 53,
"column" : 8,
"source_fragment" : "fabric_metadata.fwd_type = fwd_type"
@@ -1758,14 +1600,14 @@
},
{
"name" : "FabricIngress.forwarding.drop",
- "id" : 24,
+ "id" : 20,
"runtime_data" : [],
"primitives" : [
{
"op" : "drop",
"parameters" : [],
"source_info" : {
- "filename" : "./include/control/forwarding.p4",
+ "filename" : "include/control/forwarding.p4",
"line" : 36,
"column" : 8,
"source_fragment" : "mark_to_drop()"
@@ -1775,7 +1617,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id",
- "id" : 25,
+ "id" : 21,
"runtime_data" : [
{
"name" : "next_id",
@@ -1796,7 +1638,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/forwarding.p4",
+ "filename" : "include/control/forwarding.p4",
"line" : 40,
"column" : 8,
"source_fragment" : "fabric_metadata.next_id = next_id"
@@ -1806,7 +1648,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id",
- "id" : 26,
+ "id" : 22,
"runtime_data" : [
{
"name" : "next_id",
@@ -1827,7 +1669,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/forwarding.p4",
+ "filename" : "include/control/forwarding.p4",
"line" : 40,
"column" : 8,
"source_fragment" : "fabric_metadata.next_id = next_id"
@@ -1837,7 +1679,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id",
- "id" : 27,
+ "id" : 23,
"runtime_data" : [
{
"name" : "next_id",
@@ -1858,100 +1700,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/forwarding.p4",
- "line" : 40,
- "column" : 8,
- "source_fragment" : "fabric_metadata.next_id = next_id"
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.forwarding.set_next_id",
- "id" : 28,
- "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" : 40,
- "column" : 8,
- "source_fragment" : "fabric_metadata.next_id = next_id"
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.forwarding.set_next_id",
- "id" : 29,
- "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" : 40,
- "column" : 8,
- "source_fragment" : "fabric_metadata.next_id = next_id"
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.forwarding.set_next_id",
- "id" : 30,
- "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",
+ "filename" : "include/control/forwarding.p4",
"line" : 40,
"column" : 8,
"source_fragment" : "fabric_metadata.next_id = next_id"
@@ -1961,7 +1710,7 @@
},
{
"name" : "FabricIngress.forwarding.pop_mpls_and_next",
- "id" : 31,
+ "id" : 24,
"runtime_data" : [
{
"name" : "next_id",
@@ -1978,7 +1727,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/forwarding.p4",
+ "filename" : "include/control/forwarding.p4",
"line" : 44,
"column" : 8,
"source_fragment" : "hdr.mpls.setInvalid()"
@@ -1997,7 +1746,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/forwarding.p4",
+ "filename" : "include/control/forwarding.p4",
"line" : 45,
"column" : 8,
"source_fragment" : "fabric_metadata.next_id = next_id"
@@ -2007,7 +1756,7 @@
},
{
"name" : "FabricIngress.forwarding.duplicate_to_controller",
- "id" : 32,
+ "id" : 25,
"runtime_data" : [],
"primitives" : [
{
@@ -2023,7 +1772,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/forwarding.p4",
+ "filename" : "include/control/forwarding.p4",
"line" : 49,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = 255"
@@ -2033,7 +1782,7 @@
},
{
"name" : "FabricIngress.next.output",
- "id" : 33,
+ "id" : 26,
"runtime_data" : [
{
"name" : "port_num",
@@ -2054,7 +1803,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num"
@@ -2064,7 +1813,7 @@
},
{
"name" : "FabricIngress.next.set_vlan",
- "id" : 34,
+ "id" : 27,
"runtime_data" : [
{
"name" : "new_vlan_id",
@@ -2085,7 +1834,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 37,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.vlan_id = new_vlan_id"
@@ -2095,7 +1844,7 @@
},
{
"name" : "FabricIngress.next.set_vlan_output",
- "id" : 35,
+ "id" : 28,
"runtime_data" : [
{
"name" : "new_vlan_id",
@@ -2120,7 +1869,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 46,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.vlan_id = new_vlan_id"
@@ -2139,7 +1888,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num; ..."
@@ -2149,7 +1898,7 @@
},
{
"name" : "FabricIngress.next.l3_routing",
- "id" : 36,
+ "id" : 29,
"runtime_data" : [
{
"name" : "port_num",
@@ -2178,7 +1927,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 51,
"column" : 8,
"source_fragment" : "hdr.ethernet.src_addr = smac; ..."
@@ -2197,7 +1946,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 55,
"column" : 8,
"source_fragment" : "hdr.ethernet.dst_addr = dmac; ..."
@@ -2216,7 +1965,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num; ..."
@@ -2226,7 +1975,7 @@
},
{
"name" : "FabricIngress.next.l3_routing",
- "id" : 37,
+ "id" : 30,
"runtime_data" : [
{
"name" : "port_num",
@@ -2255,7 +2004,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 51,
"column" : 8,
"source_fragment" : "hdr.ethernet.src_addr = smac; ..."
@@ -2274,7 +2023,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 55,
"column" : 8,
"source_fragment" : "hdr.ethernet.dst_addr = dmac; ..."
@@ -2293,7 +2042,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num; ..."
@@ -2303,7 +2052,7 @@
},
{
"name" : "FabricIngress.next.l3_routing_vlan",
- "id" : 38,
+ "id" : 31,
"runtime_data" : [
{
"name" : "port_num",
@@ -2336,7 +2085,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 51,
"column" : 8,
"source_fragment" : "hdr.ethernet.src_addr = smac; ..."
@@ -2355,7 +2104,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 55,
"column" : 8,
"source_fragment" : "hdr.ethernet.dst_addr = dmac; ..."
@@ -2374,7 +2123,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 46,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.vlan_id = new_vlan_id; ..."
@@ -2393,7 +2142,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num; ..."
@@ -2403,7 +2152,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_v4",
- "id" : 39,
+ "id" : 32,
"runtime_data" : [
{
"name" : "port_num",
@@ -2436,7 +2185,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 51,
"column" : 8,
"source_fragment" : "hdr.ethernet.src_addr = smac; ..."
@@ -2455,7 +2204,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 55,
"column" : 8,
"source_fragment" : "hdr.ethernet.dst_addr = dmac; ..."
@@ -2474,7 +2223,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num; ..."
@@ -2489,7 +2238,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 72,
"column" : 8,
"source_fragment" : "hdr.mpls.setValid()"
@@ -2508,7 +2257,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../define.p4",
+ "filename" : "include/control/../define.p4",
"line" : 33,
"column" : 31,
"source_fragment" : "0x8847; ..."
@@ -2527,7 +2276,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 74,
"column" : 8,
"source_fragment" : "hdr.mpls.label = label; ..."
@@ -2546,7 +2295,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 75,
"column" : 8,
"source_fragment" : "hdr.mpls.tc = tc; ..."
@@ -2565,7 +2314,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 76,
"column" : 8,
"source_fragment" : "hdr.mpls.bos = 1w1"
@@ -2584,7 +2333,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../define.p4",
+ "filename" : "include/control/../define.p4",
"line" : 67,
"column" : 32,
"source_fragment" : "64; ..."
@@ -2594,7 +2343,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_v4",
- "id" : 40,
+ "id" : 33,
"runtime_data" : [
{
"name" : "port_num",
@@ -2627,7 +2376,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 51,
"column" : 8,
"source_fragment" : "hdr.ethernet.src_addr = smac; ..."
@@ -2646,7 +2395,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 55,
"column" : 8,
"source_fragment" : "hdr.ethernet.dst_addr = dmac; ..."
@@ -2665,7 +2414,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num; ..."
@@ -2680,7 +2429,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 72,
"column" : 8,
"source_fragment" : "hdr.mpls.setValid()"
@@ -2699,7 +2448,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../define.p4",
+ "filename" : "include/control/../define.p4",
"line" : 33,
"column" : 31,
"source_fragment" : "0x8847; ..."
@@ -2718,7 +2467,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 74,
"column" : 8,
"source_fragment" : "hdr.mpls.label = label; ..."
@@ -2737,7 +2486,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 75,
"column" : 8,
"source_fragment" : "hdr.mpls.tc = tc; ..."
@@ -2756,7 +2505,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 76,
"column" : 8,
"source_fragment" : "hdr.mpls.bos = 1w1"
@@ -2775,7 +2524,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../define.p4",
+ "filename" : "include/control/../define.p4",
"line" : 67,
"column" : 32,
"source_fragment" : "64; ..."
@@ -2785,7 +2534,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_v6",
- "id" : 41,
+ "id" : 34,
"runtime_data" : [
{
"name" : "port_num",
@@ -2818,7 +2567,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 51,
"column" : 8,
"source_fragment" : "hdr.ethernet.src_addr = smac; ..."
@@ -2837,7 +2586,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 55,
"column" : 8,
"source_fragment" : "hdr.ethernet.dst_addr = dmac; ..."
@@ -2856,7 +2605,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 33,
"column" : 8,
"source_fragment" : "standard_metadata.egress_spec = port_num; ..."
@@ -2871,7 +2620,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 72,
"column" : 8,
"source_fragment" : "hdr.mpls.setValid()"
@@ -2890,7 +2639,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../define.p4",
+ "filename" : "include/control/../define.p4",
"line" : 33,
"column" : 31,
"source_fragment" : "0x8847; ..."
@@ -2909,7 +2658,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 74,
"column" : 8,
"source_fragment" : "hdr.mpls.label = label; ..."
@@ -2928,7 +2677,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 75,
"column" : 8,
"source_fragment" : "hdr.mpls.tc = tc; ..."
@@ -2947,7 +2696,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 76,
"column" : 8,
"source_fragment" : "hdr.mpls.bos = 1w1"
@@ -2966,7 +2715,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../define.p4",
+ "filename" : "include/control/../define.p4",
"line" : 67,
"column" : 32,
"source_fragment" : "64; ..."
@@ -2975,62 +2724,8 @@
]
},
{
- "name" : "FabricIngress.next.set_mcast_group",
- "id" : 42,
- "runtime_data" : [
- {
- "name" : "gid",
- "bitwidth" : 16
- },
- {
- "name" : "smac",
- "bitwidth" : 48
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["standard_metadata", "mcast_grp"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "./include/control/next.p4",
- "line" : 149,
- "column" : 8,
- "source_fragment" : "standard_metadata.mcast_grp = gid"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["ethernet", "src_addr"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "./include/control/next.p4",
- "line" : 51,
- "column" : 8,
- "source_fragment" : "hdr.ethernet.src_addr = smac; ..."
- }
- }
- ]
- },
- {
"name" : "act",
- "id" : 43,
+ "id" : 35,
"runtime_data" : [],
"primitives" : [
{
@@ -3046,7 +2741,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/packetio.p4",
+ "filename" : "include/control/packetio.p4",
"line" : 26,
"column" : 12,
"source_fragment" : "standard_metadata.egress_spec = hdr.packet_out.egress_port"
@@ -3061,7 +2756,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/packetio.p4",
+ "filename" : "include/control/packetio.p4",
"line" : 27,
"column" : 12,
"source_fragment" : "hdr.packet_out.setInvalid()"
@@ -3071,7 +2766,7 @@
},
{
"name" : "act_0",
- "id" : 44,
+ "id" : 36,
"runtime_data" : [],
"primitives" : [
{
@@ -3101,7 +2796,7 @@
},
{
"name" : "act_1",
- "id" : 45,
+ "id" : 37,
"runtime_data" : [],
"primitives" : [
{
@@ -3131,7 +2826,7 @@
},
{
"name" : "act_2",
- "id" : 46,
+ "id" : 38,
"runtime_data" : [],
"primitives" : [
{
@@ -3147,7 +2842,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 152,
"column" : 12,
"source_fragment" : "spgw_meta.s1u_enb_addr = ipv4.src_addr"
@@ -3166,7 +2861,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 153,
"column" : 12,
"source_fragment" : "spgw_meta.s1u_sgw_addr = ipv4.dst_addr"
@@ -3185,7 +2880,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 154,
"column" : 17,
"source_fragment" : "= gtpu_ipv4; ..."
@@ -3204,7 +2899,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 155,
"column" : 16,
"source_fragment" : "= gtpu_udp; ..."
@@ -3214,7 +2909,7 @@
},
{
"name" : "act_3",
- "id" : 47,
+ "id" : 39,
"runtime_data" : [],
"primitives" : [
{
@@ -3240,7 +2935,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 159,
"column" : 16,
"source_fragment" : "spgw_meta.do_spgw = true"
@@ -3259,7 +2954,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../define.p4",
+ "filename" : "include/control/../define.p4",
"line" : 88,
"column" : 31,
"source_fragment" : "1w0; ..."
@@ -3269,7 +2964,7 @@
},
{
"name" : "act_4",
- "id" : 48,
+ "id" : 40,
"runtime_data" : [],
"primitives" : [
{
@@ -3299,7 +2994,7 @@
},
{
"name" : "act_5",
- "id" : 49,
+ "id" : 41,
"runtime_data" : [],
"primitives" : [
{
@@ -3329,7 +3024,7 @@
},
{
"name" : "act_6",
- "id" : 50,
+ "id" : 42,
"runtime_data" : [],
"primitives" : [
{
@@ -3355,7 +3050,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 163,
"column" : 12,
"source_fragment" : "spgw_meta.do_spgw = true"
@@ -3374,7 +3069,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../define.p4",
+ "filename" : "include/control/../define.p4",
"line" : 89,
"column" : 33,
"source_fragment" : "1w1; ..."
@@ -3384,7 +3079,7 @@
},
{
"name" : "act_7",
- "id" : 51,
+ "id" : 43,
"runtime_data" : [],
"primitives" : [
{
@@ -3433,7 +3128,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 146,
"column" : 8,
"source_fragment" : "spgw_meta.do_spgw = false"
@@ -3443,7 +3138,7 @@
},
{
"name" : "act_8",
- "id" : 52,
+ "id" : 44,
"runtime_data" : [],
"primitives" : [
{
@@ -3469,7 +3164,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 169,
"column" : 12,
"source_fragment" : "return"
@@ -3479,7 +3174,7 @@
},
{
"name" : "act_9",
- "id" : 53,
+ "id" : 45,
"runtime_data" : [],
"primitives" : [
{
@@ -3509,7 +3204,7 @@
},
{
"name" : "act_10",
- "id" : 54,
+ "id" : 46,
"runtime_data" : [],
"primitives" : [
{
@@ -3539,7 +3234,7 @@
},
{
"name" : "act_11",
- "id" : 55,
+ "id" : 47,
"runtime_data" : [],
"primitives" : [
{
@@ -3555,7 +3250,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 199,
"column" : 8,
"source_fragment" : "spgw_meta.ipv4_len = ipv4.total_len"
@@ -3565,7 +3260,7 @@
},
{
"name" : "act_12",
- "id" : 56,
+ "id" : 48,
"runtime_data" : [],
"primitives" : [
{
@@ -3581,7 +3276,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../define.p4",
+ "filename" : "include/control/../define.p4",
"line" : 35,
"column" : 31,
"source_fragment" : "0x0800; ..."
@@ -3600,7 +3295,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../define.p4",
+ "filename" : "include/control/../define.p4",
"line" : 35,
"column" : 31,
"source_fragment" : "0x0800; ..."
@@ -3610,7 +3305,7 @@
},
{
"name" : "act_13",
- "id" : 57,
+ "id" : 49,
"runtime_data" : [],
"primitives" : [
{
@@ -3640,7 +3335,7 @@
},
{
"name" : "act_14",
- "id" : 58,
+ "id" : 50,
"runtime_data" : [],
"primitives" : [
{
@@ -3670,7 +3365,7 @@
},
{
"name" : "act_15",
- "id" : 59,
+ "id" : 51,
"runtime_data" : [],
"primitives" : [
{
@@ -3709,7 +3404,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 171,
"column" : 20,
"source_fragment" : "hdr.ipv4.ttl = hdr.ipv4.ttl - 1"
@@ -3719,56 +3414,7 @@
},
{
"name" : "act_16",
- "id" : 60,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["ipv6", "hop_limit"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["ipv6", "hop_limit"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "./include/control/next.p4",
- "line" : 175,
- "column" : 20,
- "source_fragment" : "hdr.ipv6.hop_limit = hdr.ipv6.hop_limit - 1"
- }
- }
- ]
- },
- {
- "name" : "act_17",
- "id" : 61,
+ "id" : 52,
"runtime_data" : [],
"primitives" : [
{
@@ -3795,7 +3441,13 @@
}
}
}
- ]
+ ],
+ "source_info" : {
+ "filename" : "include/control/port_counter.p4",
+ "line" : 28,
+ "column" : 38,
+ "source_fragment" : "(bit<32>)standard_metadata.egress_spec"
+ }
},
{
"op" : "count",
@@ -3810,7 +3462,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/port_counter.p4",
+ "filename" : "include/control/port_counter.p4",
"line" : 28,
"column" : 12,
"source_fragment" : "egress_port_counter.count((bit<32>)standard_metadata.egress_spec)"
@@ -3819,8 +3471,8 @@
]
},
{
- "name" : "act_18",
- "id" : 62,
+ "name" : "act_17",
+ "id" : 53,
"runtime_data" : [],
"primitives" : [
{
@@ -3847,7 +3499,13 @@
}
}
}
- ]
+ ],
+ "source_info" : {
+ "filename" : "include/control/port_counter.p4",
+ "line" : 31,
+ "column" : 39,
+ "source_fragment" : "(bit<32>)standard_metadata.ingress_port"
+ }
},
{
"op" : "count",
@@ -3862,7 +3520,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/port_counter.p4",
+ "filename" : "include/control/port_counter.p4",
"line" : 31,
"column" : 12,
"source_fragment" : "ingress_port_counter.count((bit<32>)standard_metadata.ingress_port)"
@@ -3872,13 +3530,13 @@
},
{
"name" : "nop",
- "id" : 63,
+ "id" : 54,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricEgress.spgw_egress.gtpu_encap",
- "id" : 64,
+ "id" : 55,
"runtime_data" : [],
"primitives" : [
{
@@ -3890,7 +3548,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 214,
"column" : 8,
"source_fragment" : "gtpu_ipv4.setValid()"
@@ -3909,7 +3567,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 215,
"column" : 8,
"source_fragment" : "gtpu_ipv4.version = 4"
@@ -3928,7 +3586,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../define.p4",
+ "filename" : "include/control/../define.p4",
"line" : 54,
"column" : 28,
"source_fragment" : "5; ..."
@@ -3947,7 +3605,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 217,
"column" : 8,
"source_fragment" : "gtpu_ipv4.diffserv = 0"
@@ -3989,7 +3647,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 218,
"column" : 8,
"source_fragment" : "gtpu_ipv4.total_len = spgw_meta.ipv4_len ..."
@@ -4008,7 +3666,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 220,
"column" : 8,
"source_fragment" : "gtpu_ipv4.identification = 0x1513"
@@ -4027,7 +3685,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 221,
"column" : 8,
"source_fragment" : "gtpu_ipv4.flags = 0"
@@ -4046,7 +3704,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 222,
"column" : 8,
"source_fragment" : "gtpu_ipv4.frag_offset = 0"
@@ -4065,7 +3723,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../define.p4",
+ "filename" : "include/control/../define.p4",
"line" : 78,
"column" : 32,
"source_fragment" : "64; ..."
@@ -4084,7 +3742,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../define.p4",
+ "filename" : "include/control/../define.p4",
"line" : 51,
"column" : 25,
"source_fragment" : "17; ..."
@@ -4103,7 +3761,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 225,
"column" : 8,
"source_fragment" : "gtpu_ipv4.dst_addr = spgw_meta.s1u_enb_addr"
@@ -4122,7 +3780,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 226,
"column" : 8,
"source_fragment" : "gtpu_ipv4.src_addr = spgw_meta.s1u_sgw_addr"
@@ -4141,7 +3799,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 227,
"column" : 8,
"source_fragment" : "gtpu_ipv4.hdr_checksum = 0"
@@ -4156,7 +3814,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 229,
"column" : 8,
"source_fragment" : "gtpu_udp.setValid()"
@@ -4175,7 +3833,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 230,
"column" : 8,
"source_fragment" : "gtpu_udp.src_port = 2152"
@@ -4194,7 +3852,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 231,
"column" : 8,
"source_fragment" : "gtpu_udp.dst_port = 2152"
@@ -4236,7 +3894,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 232,
"column" : 8,
"source_fragment" : "gtpu_udp.len = spgw_meta.ipv4_len ..."
@@ -4255,7 +3913,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 234,
"column" : 8,
"source_fragment" : "gtpu_udp.checksum = 0"
@@ -4270,7 +3928,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 236,
"column" : 8,
"source_fragment" : "gtpu.setValid()"
@@ -4289,7 +3947,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 237,
"column" : 8,
"source_fragment" : "gtpu.version = 0x01"
@@ -4308,7 +3966,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 238,
"column" : 8,
"source_fragment" : "gtpu.pt = 0x01"
@@ -4327,7 +3985,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 239,
"column" : 8,
"source_fragment" : "gtpu.spare = 0"
@@ -4346,7 +4004,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 240,
"column" : 8,
"source_fragment" : "gtpu.ex_flag = 0"
@@ -4365,7 +4023,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 241,
"column" : 8,
"source_fragment" : "gtpu.seq_flag = 0"
@@ -4384,7 +4042,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 242,
"column" : 8,
"source_fragment" : "gtpu.npdu_flag = 0"
@@ -4403,7 +4061,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 243,
"column" : 8,
"source_fragment" : "gtpu.msgtype = 0xff"
@@ -4422,7 +4080,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 244,
"column" : 8,
"source_fragment" : "gtpu.msglen = spgw_meta.ipv4_len"
@@ -4441,7 +4099,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 245,
"column" : 8,
"source_fragment" : "gtpu.teid = spgw_meta.teid"
@@ -4451,7 +4109,7 @@
},
{
"name" : "FabricEgress.pkt_io_egress.pop_vlan",
- "id" : 65,
+ "id" : 56,
"runtime_data" : [],
"primitives" : [
{
@@ -4467,7 +4125,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/packetio.p4",
+ "filename" : "include/control/packetio.p4",
"line" : 38,
"column" : 8,
"source_fragment" : "hdr.ethernet.ether_type = hdr.vlan_tag.ether_type"
@@ -4482,7 +4140,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/packetio.p4",
+ "filename" : "include/control/packetio.p4",
"line" : 39,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.setInvalid()"
@@ -4492,7 +4150,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_vlan",
- "id" : 66,
+ "id" : 57,
"runtime_data" : [],
"primitives" : [
{
@@ -4508,7 +4166,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 193,
"column" : 8,
"source_fragment" : "hdr.ethernet.ether_type = hdr.vlan_tag.ether_type"
@@ -4523,7 +4181,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 194,
"column" : 8,
"source_fragment" : "hdr.vlan_tag.setInvalid()"
@@ -4532,8 +4190,8 @@
]
},
{
- "name" : "act_19",
- "id" : 67,
+ "name" : "act_18",
+ "id" : 58,
"runtime_data" : [],
"primitives" : [
{
@@ -4545,7 +4203,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/packetio.p4",
+ "filename" : "include/control/packetio.p4",
"line" : 46,
"column" : 12,
"source_fragment" : "hdr.packet_in.setValid()"
@@ -4564,7 +4222,7 @@
}
],
"source_info" : {
- "filename" : "./include/control/packetio.p4",
+ "filename" : "include/control/packetio.p4",
"line" : 47,
"column" : 12,
"source_fragment" : "hdr.packet_in.ingress_port = standard_metadata.ingress_port"
@@ -4573,8 +4231,8 @@
]
},
{
- "name" : "act_20",
- "id" : 68,
+ "name" : "act_19",
+ "id" : 59,
"runtime_data" : [],
"primitives" : [
{
@@ -4647,14 +4305,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [43],
+ "action_ids" : [35],
"actions" : ["act"],
"base_default_next" : null,
"next_tables" : {
"act" : null
},
"default_entry" : {
- "action_id" : 43,
+ "action_id" : 35,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -4670,14 +4328,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [51],
+ "action_ids" : [43],
"actions" : ["act_7"],
"base_default_next" : "node_5",
"next_tables" : {
"act_7" : "node_5"
},
"default_entry" : {
- "action_id" : 51,
+ "action_id" : 43,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -4693,14 +4351,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [46],
+ "action_ids" : [38],
"actions" : ["act_2"],
"base_default_next" : "FabricIngress.spgw_ingress.s1u_filter_table",
"next_tables" : {
"act_2" : "FabricIngress.spgw_ingress.s1u_filter_table"
},
"default_entry" : {
- "action_id" : 46,
+ "action_id" : 38,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -4710,7 +4368,7 @@
"name" : "FabricIngress.spgw_ingress.s1u_filter_table",
"id" : 3,
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 65,
"column" : 10,
"source_fragment" : "s1u_filter_table"
@@ -4753,14 +4411,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [44],
+ "action_ids" : [36],
"actions" : ["act_0"],
"base_default_next" : "node_10",
"next_tables" : {
"act_0" : "node_10"
},
"default_entry" : {
- "action_id" : 44,
+ "action_id" : 36,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -4776,14 +4434,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [45],
+ "action_ids" : [37],
"actions" : ["act_1"],
"base_default_next" : "node_10",
"next_tables" : {
"act_1" : "node_10"
},
"default_entry" : {
- "action_id" : 45,
+ "action_id" : 37,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -4799,14 +4457,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [47],
+ "action_ids" : [39],
"actions" : ["act_3"],
"base_default_next" : "node_17",
"next_tables" : {
"act_3" : "node_17"
},
"default_entry" : {
- "action_id" : 47,
+ "action_id" : 39,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -4816,7 +4474,7 @@
"name" : "FabricIngress.spgw_ingress.ue_filter_table",
"id" : 7,
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 55,
"column" : 10,
"source_fragment" : "ue_filter_table"
@@ -4859,14 +4517,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [48],
+ "action_ids" : [40],
"actions" : ["act_4"],
"base_default_next" : "node_15",
"next_tables" : {
"act_4" : "node_15"
},
"default_entry" : {
- "action_id" : 48,
+ "action_id" : 40,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -4882,14 +4540,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [49],
+ "action_ids" : [41],
"actions" : ["act_5"],
"base_default_next" : "node_15",
"next_tables" : {
"act_5" : "node_15"
},
"default_entry" : {
- "action_id" : 49,
+ "action_id" : 41,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -4905,14 +4563,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [50],
+ "action_ids" : [42],
"actions" : ["act_6"],
"base_default_next" : "node_17",
"next_tables" : {
"act_6" : "node_17"
},
"default_entry" : {
- "action_id" : 50,
+ "action_id" : 42,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -4928,14 +4586,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [52],
+ "action_ids" : [44],
"actions" : ["act_8"],
"base_default_next" : "node_19",
"next_tables" : {
"act_8" : "node_19"
},
"default_entry" : {
- "action_id" : 52,
+ "action_id" : 44,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -4951,14 +4609,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [17],
+ "action_ids" : [13],
"actions" : ["FabricIngress.spgw_ingress.gtpu_decap"],
"base_default_next" : "node_22",
"next_tables" : {
"FabricIngress.spgw_ingress.gtpu_decap" : "node_22"
},
"default_entry" : {
- "action_id" : 17,
+ "action_id" : 13,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -4968,7 +4626,7 @@
"name" : "FabricIngress.spgw_ingress.dl_sess_lookup",
"id" : 13,
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 124,
"column" : 10,
"source_fragment" : "dl_sess_lookup"
@@ -4987,7 +4645,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [18, 2],
+ "action_ids" : [14, 2],
"actions" : ["FabricIngress.spgw_ingress.set_dl_sess_info", "NoAction"],
"base_default_next" : null,
"next_tables" : {
@@ -5011,14 +4669,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [53],
+ "action_ids" : [45],
"actions" : ["act_9"],
"base_default_next" : "node_26",
"next_tables" : {
"act_9" : "node_26"
},
"default_entry" : {
- "action_id" : 53,
+ "action_id" : 45,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5034,14 +4692,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [54],
+ "action_ids" : [46],
"actions" : ["act_10"],
"base_default_next" : "node_26",
"next_tables" : {
"act_10" : "node_26"
},
"default_entry" : {
- "action_id" : 54,
+ "action_id" : 46,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5057,14 +4715,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [16],
+ "action_ids" : [12],
"actions" : ["FabricIngress.spgw_ingress.drop_now"],
"base_default_next" : "FabricIngress.spgw_ingress.ue_cdr_table",
"next_tables" : {
"FabricIngress.spgw_ingress.drop_now" : "FabricIngress.spgw_ingress.ue_cdr_table"
},
"default_entry" : {
- "action_id" : 16,
+ "action_id" : 12,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5074,7 +4732,7 @@
"name" : "FabricIngress.spgw_ingress.ue_cdr_table",
"id" : 17,
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 134,
"column" : 10,
"source_fragment" : "ue_cdr_table"
@@ -5093,7 +4751,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [19, 3],
+ "action_ids" : [15, 3],
"actions" : ["FabricIngress.spgw_ingress.update_ue_cdr", "NoAction"],
"base_default_next" : "tbl_act_11",
"next_tables" : {
@@ -5117,14 +4775,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [55],
+ "action_ids" : [47],
"actions" : ["act_11"],
"base_default_next" : "FabricIngress.filtering.ingress_port_vlan",
"next_tables" : {
"act_11" : "FabricIngress.filtering.ingress_port_vlan"
},
"default_entry" : {
- "action_id" : 55,
+ "action_id" : 47,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5134,7 +4792,7 @@
"name" : "FabricIngress.filtering.ingress_port_vlan",
"id" : 19,
"source_info" : {
- "filename" : "./include/control/filtering.p4",
+ "filename" : "include/control/filtering.p4",
"line" : 57,
"column" : 10,
"source_fragment" : "ingress_port_vlan"
@@ -5165,7 +4823,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [22, 21, 13, 20],
+ "action_ids" : [18, 17, 9, 16],
"actions" : ["FabricIngress.filtering.push_internal_vlan", "FabricIngress.filtering.set_vlan", "nop", "FabricIngress.filtering.drop"],
"base_default_next" : "FabricIngress.filtering.fwd_classifier",
"next_tables" : {
@@ -5175,7 +4833,7 @@
"FabricIngress.filtering.drop" : "FabricIngress.filtering.fwd_classifier"
},
"default_entry" : {
- "action_id" : 13,
+ "action_id" : 9,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5185,7 +4843,7 @@
"name" : "FabricIngress.filtering.fwd_classifier",
"id" : 20,
"source_info" : {
- "filename" : "./include/control/filtering.p4",
+ "filename" : "include/control/filtering.p4",
"line" : 76,
"column" : 10,
"source_fragment" : "fwd_classifier"
@@ -5216,14 +4874,14 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [23],
+ "action_ids" : [19],
"actions" : ["FabricIngress.filtering.set_forwarding_type"],
"base_default_next" : "node_32",
"next_tables" : {
"FabricIngress.filtering.set_forwarding_type" : "node_32"
},
"default_entry" : {
- "action_id" : 23,
+ "action_id" : 19,
"action_const" : true,
"action_data" : ["0x0"],
"action_entry_const" : true
@@ -5233,7 +4891,7 @@
"name" : "FabricIngress.forwarding.bridging",
"id" : 21,
"source_info" : {
- "filename" : "./include/control/forwarding.p4",
+ "filename" : "include/control/forwarding.p4",
"line" : 52,
"column" : 10,
"source_fragment" : "bridging"
@@ -5258,7 +4916,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [25, 4],
+ "action_ids" : [21, 4],
"actions" : ["FabricIngress.forwarding.set_next_id", "NoAction"],
"base_default_next" : "FabricIngress.forwarding.acl",
"next_tables" : {
@@ -5276,7 +4934,7 @@
"name" : "FabricIngress.forwarding.mpls",
"id" : 22,
"source_info" : {
- "filename" : "./include/control/forwarding.p4",
+ "filename" : "include/control/forwarding.p4",
"line" : 64,
"column" : 10,
"source_fragment" : "mpls"
@@ -5295,7 +4953,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [31, 5],
+ "action_ids" : [24, 5],
"actions" : ["FabricIngress.forwarding.pop_mpls_and_next", "NoAction"],
"base_default_next" : "tbl_act_12",
"next_tables" : {
@@ -5319,14 +4977,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [56],
+ "action_ids" : [48],
"actions" : ["act_12"],
"base_default_next" : "FabricIngress.forwarding.acl",
"next_tables" : {
"act_12" : "FabricIngress.forwarding.acl"
},
"default_entry" : {
- "action_id" : 56,
+ "action_id" : 48,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5336,7 +4994,7 @@
"name" : "FabricIngress.forwarding.unicast_v4",
"id" : 24,
"source_info" : {
- "filename" : "./include/control/forwarding.p4",
+ "filename" : "include/control/forwarding.p4",
"line" : 75,
"column" : 10,
"source_fragment" : "unicast_v4"
@@ -5355,7 +5013,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [26, 6],
+ "action_ids" : [22, 6],
"actions" : ["FabricIngress.forwarding.set_next_id", "NoAction"],
"base_default_next" : "FabricIngress.forwarding.acl",
"next_tables" : {
@@ -5370,133 +5028,10 @@
}
},
{
- "name" : "FabricIngress.forwarding.multicast_v4",
+ "name" : "FabricIngress.forwarding.acl",
"id" : 25,
"source_info" : {
- "filename" : "./include/control/forwarding.p4",
- "line" : 89,
- "column" : 10,
- "source_fragment" : "multicast_v4"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "hdr.vlan_tag.vlan_id",
- "target" : ["vlan_tag", "vlan_id"],
- "mask" : null
- },
- {
- "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" : [27, 7],
- "actions" : ["FabricIngress.forwarding.set_next_id", "NoAction"],
- "base_default_next" : "FabricIngress.forwarding.acl",
- "next_tables" : {
- "FabricIngress.forwarding.set_next_id" : "FabricIngress.forwarding.acl",
- "NoAction" : "FabricIngress.forwarding.acl"
- },
- "default_entry" : {
- "action_id" : 7,
- "action_const" : false,
- "action_data" : [],
- "action_entry_const" : false
- }
- },
- {
- "name" : "FabricIngress.forwarding.unicast_v6",
- "id" : 26,
- "source_info" : {
- "filename" : "./include/control/forwarding.p4",
- "line" : 105,
- "column" : 10,
- "source_fragment" : "unicast_v6"
- },
- "key" : [
- {
- "match_type" : "lpm",
- "name" : "hdr.ipv6.dst_addr",
- "target" : ["ipv6", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "lpm",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : true,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [28, 8],
- "actions" : ["FabricIngress.forwarding.set_next_id", "NoAction"],
- "base_default_next" : "FabricIngress.forwarding.acl",
- "next_tables" : {
- "FabricIngress.forwarding.set_next_id" : "FabricIngress.forwarding.acl",
- "NoAction" : "FabricIngress.forwarding.acl"
- },
- "default_entry" : {
- "action_id" : 8,
- "action_const" : false,
- "action_data" : [],
- "action_entry_const" : false
- }
- },
- {
- "name" : "FabricIngress.forwarding.multicast_v6",
- "id" : 27,
- "source_info" : {
- "filename" : "./include/control/forwarding.p4",
- "line" : 119,
- "column" : 10,
- "source_fragment" : "multicast_v6"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "hdr.vlan_tag.vlan_id",
- "target" : ["vlan_tag", "vlan_id"],
- "mask" : null
- },
- {
- "match_type" : "lpm",
- "name" : "hdr.ipv6.dst_addr",
- "target" : ["ipv6", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "lpm",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : true,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [29, 9],
- "actions" : ["FabricIngress.forwarding.set_next_id", "NoAction"],
- "base_default_next" : "FabricIngress.forwarding.acl",
- "next_tables" : {
- "FabricIngress.forwarding.set_next_id" : "FabricIngress.forwarding.acl",
- "NoAction" : "FabricIngress.forwarding.acl"
- },
- "default_entry" : {
- "action_id" : 9,
- "action_const" : false,
- "action_data" : [],
- "action_entry_const" : false
- }
- },
- {
- "name" : "FabricIngress.forwarding.acl",
- "id" : 28,
- "source_info" : {
- "filename" : "./include/control/forwarding.p4",
+ "filename" : "include/control/forwarding.p4",
"line" : 133,
"column" : 10,
"source_fragment" : "acl"
@@ -5581,7 +5116,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [30, 32, 24, 14],
+ "action_ids" : [23, 25, 20, 10],
"actions" : ["FabricIngress.forwarding.set_next_id", "FabricIngress.forwarding.duplicate_to_controller", "FabricIngress.forwarding.drop", "nop"],
"base_default_next" : "FabricIngress.next.vlan_meta",
"next_tables" : {
@@ -5591,7 +5126,7 @@
"nop" : "FabricIngress.next.vlan_meta"
},
"default_entry" : {
- "action_id" : 14,
+ "action_id" : 10,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5599,9 +5134,9 @@
},
{
"name" : "FabricIngress.next.vlan_meta",
- "id" : 29,
+ "id" : 26,
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 96,
"column" : 10,
"source_fragment" : "vlan_meta"
@@ -5620,7 +5155,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [34, 15],
+ "action_ids" : [27, 11],
"actions" : ["FabricIngress.next.set_vlan", "nop"],
"base_default_next" : "FabricIngress.next.simple",
"next_tables" : {
@@ -5628,7 +5163,7 @@
"nop" : "FabricIngress.next.simple"
},
"default_entry" : {
- "action_id" : 15,
+ "action_id" : 11,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -5636,9 +5171,9 @@
},
{
"name" : "FabricIngress.next.simple",
- "id" : 30,
+ "id" : 27,
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 109,
"column" : 10,
"source_fragment" : "simple"
@@ -5657,7 +5192,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [33, 35, 36, 39, 38, 10],
+ "action_ids" : [26, 28, 29, 32, 31, 7],
"actions" : ["FabricIngress.next.output", "FabricIngress.next.set_vlan_output", "FabricIngress.next.l3_routing", "FabricIngress.next.mpls_routing_v4", "FabricIngress.next.l3_routing_vlan", "NoAction"],
"base_default_next" : null,
"next_tables" : {
@@ -5665,7 +5200,7 @@
"__MISS__" : "tbl_act_14"
},
"default_entry" : {
- "action_id" : 10,
+ "action_id" : 7,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -5673,7 +5208,7 @@
},
{
"name" : "tbl_act_13",
- "id" : 31,
+ "id" : 28,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -5681,14 +5216,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [57],
+ "action_ids" : [49],
"actions" : ["act_13"],
- "base_default_next" : "node_50",
+ "base_default_next" : "node_44",
"next_tables" : {
- "act_13" : "node_50"
+ "act_13" : "node_44"
},
"default_entry" : {
- "action_id" : 57,
+ "action_id" : 49,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5696,7 +5231,7 @@
},
{
"name" : "tbl_act_14",
- "id" : 32,
+ "id" : 29,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -5704,14 +5239,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [58],
+ "action_ids" : [50],
"actions" : ["act_14"],
- "base_default_next" : "node_50",
+ "base_default_next" : "node_44",
"next_tables" : {
- "act_14" : "node_50"
+ "act_14" : "node_44"
},
"default_entry" : {
- "action_id" : 58,
+ "action_id" : 50,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5719,7 +5254,7 @@
},
{
"name" : "tbl_act_15",
- "id" : 33,
+ "id" : 30,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -5727,37 +5262,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [59],
+ "action_ids" : [51],
"actions" : ["act_15"],
"base_default_next" : "FabricIngress.next.hashed",
"next_tables" : {
"act_15" : "FabricIngress.next.hashed"
},
"default_entry" : {
- "action_id" : 59,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_16",
- "id" : 34,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [60],
- "actions" : ["act_16"],
- "base_default_next" : "FabricIngress.next.hashed",
- "next_tables" : {
- "act_16" : "FabricIngress.next.hashed"
- },
- "default_entry" : {
- "action_id" : 60,
+ "action_id" : 51,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5765,9 +5277,9 @@
},
{
"name" : "FabricIngress.next.hashed",
- "id" : 35,
+ "id" : 31,
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 124,
"column" : 10,
"source_fragment" : "hashed"
@@ -5787,56 +5299,19 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [37, 40, 41, 11],
+ "action_ids" : [30, 33, 34, 8],
"actions" : ["FabricIngress.next.l3_routing", "FabricIngress.next.mpls_routing_v4", "FabricIngress.next.mpls_routing_v6", "NoAction"],
- "base_default_next" : "FabricIngress.next.multicast",
+ "base_default_next" : "node_49",
"next_tables" : {
- "FabricIngress.next.l3_routing" : "FabricIngress.next.multicast",
- "FabricIngress.next.mpls_routing_v4" : "FabricIngress.next.multicast",
- "FabricIngress.next.mpls_routing_v6" : "FabricIngress.next.multicast",
- "NoAction" : "FabricIngress.next.multicast"
+ "FabricIngress.next.l3_routing" : "node_49",
+ "FabricIngress.next.mpls_routing_v4" : "node_49",
+ "FabricIngress.next.mpls_routing_v6" : "node_49",
+ "NoAction" : "node_49"
}
},
{
- "name" : "FabricIngress.next.multicast",
- "id" : 36,
- "source_info" : {
- "filename" : "./include/control/next.p4",
- "line" : 155,
- "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" : [42, 12],
- "actions" : ["FabricIngress.next.set_mcast_group", "NoAction"],
- "base_default_next" : "node_58",
- "next_tables" : {
- "FabricIngress.next.set_mcast_group" : "node_58",
- "NoAction" : "node_58"
- },
- "default_entry" : {
- "action_id" : 12,
- "action_const" : false,
- "action_data" : [],
- "action_entry_const" : false
- }
- },
- {
- "name" : "tbl_act_17",
- "id" : 37,
+ "name" : "tbl_act_16",
+ "id" : 32,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -5844,22 +5319,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [61],
- "actions" : ["act_17"],
- "base_default_next" : "node_60",
+ "action_ids" : [52],
+ "actions" : ["act_16"],
+ "base_default_next" : "node_51",
"next_tables" : {
- "act_17" : "node_60"
+ "act_16" : "node_51"
},
"default_entry" : {
- "action_id" : 61,
+ "action_id" : 52,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_18",
- "id" : 38,
+ "name" : "tbl_act_17",
+ "id" : 33,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -5867,14 +5342,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [62],
- "actions" : ["act_18"],
+ "action_ids" : [53],
+ "actions" : ["act_17"],
"base_default_next" : null,
"next_tables" : {
- "act_18" : null
+ "act_17" : null
},
"default_entry" : {
- "action_id" : 62,
+ "action_id" : 53,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5918,7 +5393,7 @@
"name" : "node_2",
"id" : 0,
"source_info" : {
- "filename" : "./include/control/packetio.p4",
+ "filename" : "include/control/packetio.p4",
"line" : 25,
"column" : 12,
"source_fragment" : "hdr.packet_out.isValid()"
@@ -5941,7 +5416,7 @@
"name" : "node_5",
"id" : 1,
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 147,
"column" : 12,
"source_fragment" : "gtpu.isValid()"
@@ -5998,7 +5473,7 @@
"name" : "node_17",
"id" : 4,
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 167,
"column" : 12,
"source_fragment" : "!spgw_meta.do_spgw"
@@ -6052,7 +5527,7 @@
"name" : "node_20",
"id" : 6,
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 172,
"column" : 12,
"source_fragment" : "spgw_meta.direction == DIR_UPLINK"
@@ -6078,7 +5553,7 @@
"name" : "node_22",
"id" : 7,
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 189,
"column" : 12,
"source_fragment" : "spgw_meta.direction == DIR_DOWNLINK"
@@ -6104,7 +5579,7 @@
"name" : "node_26",
"id" : 8,
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 190,
"column" : 16,
"source_fragment" : "!dl_sess_lookup.apply().hit"
@@ -6134,7 +5609,7 @@
"name" : "node_32",
"id" : 9,
"source_info" : {
- "filename" : "./include/control/forwarding.p4",
+ "filename" : "include/control/forwarding.p4",
"line" : 163,
"column" : 11,
"source_fragment" : "fabric_metadata.fwd_type == FWD_BRIDGING"
@@ -6160,7 +5635,7 @@
"name" : "node_34",
"id" : 10,
"source_info" : {
- "filename" : "./include/control/forwarding.p4",
+ "filename" : "include/control/forwarding.p4",
"line" : 164,
"column" : 17,
"source_fragment" : "fabric_metadata.fwd_type == FWD_MPLS"
@@ -6186,8 +5661,8 @@
"name" : "node_37",
"id" : 11,
"source_info" : {
- "filename" : "./include/control/forwarding.p4",
- "line" : 171,
+ "filename" : "include/control/forwarding.p4",
+ "line" : 179,
"column" : 17,
"source_fragment" : "fabric_metadata.fwd_type == FWD_IPV4_UNICAST"
},
@@ -6206,89 +5681,11 @@
}
},
"true_next" : "FabricIngress.forwarding.unicast_v4",
- "false_next" : "node_39"
- },
- {
- "name" : "node_39",
- "id" : 12,
- "source_info" : {
- "filename" : "./include/control/forwarding.p4",
- "line" : 173,
- "column" : 17,
- "source_fragment" : "fabric_metadata.fwd_type == FWD_IPV4_MULTICAST"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t.fwd_type"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x03"
- }
- }
- },
- "true_next" : "FabricIngress.forwarding.multicast_v4",
- "false_next" : "node_41"
- },
- {
- "name" : "node_41",
- "id" : 13,
- "source_info" : {
- "filename" : "./include/control/forwarding.p4",
- "line" : 176,
- "column" : 17,
- "source_fragment" : "fabric_metadata.fwd_type == FWD_IPV6_UNICAST"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t.fwd_type"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x04"
- }
- }
- },
- "true_next" : "FabricIngress.forwarding.unicast_v6",
- "false_next" : "node_43"
- },
- {
- "name" : "node_43",
- "id" : 14,
- "source_info" : {
- "filename" : "./include/control/forwarding.p4",
- "line" : 178,
- "column" : 17,
- "source_fragment" : "fabric_metadata.fwd_type == FWD_IPV6_MULTICAST"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t.fwd_type"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x05"
- }
- }
- },
- "true_next" : "FabricIngress.forwarding.multicast_v6",
"false_next" : "FabricIngress.forwarding.acl"
},
{
- "name" : "node_50",
- "id" : 15,
+ "name" : "node_44",
+ "id" : 12,
"expression" : {
"type" : "expression",
"value" : {
@@ -6300,14 +5697,14 @@
}
}
},
- "true_next" : "node_51",
+ "true_next" : "node_45",
"false_next" : "FabricIngress.next.hashed"
},
{
- "name" : "node_51",
- "id" : 16,
+ "name" : "node_45",
+ "id" : 13,
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 169,
"column" : 16,
"source_fragment" : "!hdr.mpls.isValid()"
@@ -6330,14 +5727,14 @@
}
}
},
- "true_next" : "node_52",
+ "true_next" : "node_46",
"false_next" : "FabricIngress.next.hashed"
},
{
- "name" : "node_52",
- "id" : 17,
+ "name" : "node_46",
+ "id" : 14,
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 170,
"column" : 19,
"source_fragment" : "hdr.ipv4.isValid()"
@@ -6354,36 +5751,13 @@
}
},
"true_next" : "tbl_act_15",
- "false_next" : "node_54"
- },
- {
- "name" : "node_54",
- "id" : 18,
- "source_info" : {
- "filename" : "./include/control/next.p4",
- "line" : 174,
- "column" : 25,
- "source_fragment" : "hdr.ipv6.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["ipv6", "$valid$"]
- }
- }
- },
- "true_next" : "tbl_act_16",
"false_next" : "FabricIngress.next.hashed"
},
{
- "name" : "node_58",
- "id" : 19,
+ "name" : "node_49",
+ "id" : 15,
"source_info" : {
- "filename" : "./include/control/port_counter.p4",
+ "filename" : "include/control/port_counter.p4",
"line" : 27,
"column" : 12,
"source_fragment" : "standard_metadata.egress_spec < 511"
@@ -6402,14 +5776,14 @@
}
}
},
- "true_next" : "tbl_act_17",
- "false_next" : "node_60"
+ "true_next" : "tbl_act_16",
+ "false_next" : "node_51"
},
{
- "name" : "node_60",
- "id" : 20,
+ "name" : "node_51",
+ "id" : 16,
"source_info" : {
- "filename" : "./include/control/port_counter.p4",
+ "filename" : "include/control/port_counter.p4",
"line" : 30,
"column" : 12,
"source_fragment" : "standard_metadata.ingress_port < 511"
@@ -6429,7 +5803,7 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_18"
+ "true_next" : "tbl_act_17"
}
]
},
@@ -6446,9 +5820,9 @@
"tables" : [
{
"name" : "FabricEgress.egress_next.egress_vlan",
- "id" : 39,
+ "id" : 34,
"source_info" : {
- "filename" : "./include/control/next.p4",
+ "filename" : "include/control/next.p4",
"line" : 197,
"column" : 10,
"source_fragment" : "egress_vlan"
@@ -6473,15 +5847,15 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [66, 63],
+ "action_ids" : [57, 54],
"actions" : ["FabricEgress.egress_next.pop_vlan", "nop"],
- "base_default_next" : "node_65",
+ "base_default_next" : "node_56",
"next_tables" : {
- "FabricEgress.egress_next.pop_vlan" : "node_65",
- "nop" : "node_65"
+ "FabricEgress.egress_next.pop_vlan" : "node_56",
+ "nop" : "node_56"
},
"default_entry" : {
- "action_id" : 63,
+ "action_id" : 54,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -6489,7 +5863,7 @@
},
{
"name" : "tbl_pkt_io_egress_pop_vlan",
- "id" : 40,
+ "id" : 35,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -6497,14 +5871,37 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [65],
+ "action_ids" : [56],
"actions" : ["FabricEgress.pkt_io_egress.pop_vlan"],
- "base_default_next" : "tbl_act_19",
+ "base_default_next" : "tbl_act_18",
"next_tables" : {
- "FabricEgress.pkt_io_egress.pop_vlan" : "tbl_act_19"
+ "FabricEgress.pkt_io_egress.pop_vlan" : "tbl_act_18"
},
"default_entry" : {
- "action_id" : 65,
+ "action_id" : 56,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_18",
+ "id" : 36,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [58],
+ "actions" : ["act_18"],
+ "base_default_next" : "tbl_act_19",
+ "next_tables" : {
+ "act_18" : "tbl_act_19"
+ },
+ "default_entry" : {
+ "action_id" : 58,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6512,7 +5909,7 @@
},
{
"name" : "tbl_act_19",
- "id" : 41,
+ "id" : 37,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -6520,37 +5917,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [67],
+ "action_ids" : [59],
"actions" : ["act_19"],
- "base_default_next" : "tbl_act_20",
+ "base_default_next" : "node_61",
"next_tables" : {
- "act_19" : "tbl_act_20"
+ "act_19" : "node_61"
},
"default_entry" : {
- "action_id" : 67,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_20",
- "id" : 42,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [68],
- "actions" : ["act_20"],
- "base_default_next" : "node_70",
- "next_tables" : {
- "act_20" : "node_70"
- },
- "default_entry" : {
- "action_id" : 68,
+ "action_id" : 59,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6558,7 +5932,7 @@
},
{
"name" : "tbl_spgw_egress_gtpu_encap",
- "id" : 43,
+ "id" : 38,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -6566,14 +5940,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [64],
+ "action_ids" : [55],
"actions" : ["FabricEgress.spgw_egress.gtpu_encap"],
"base_default_next" : null,
"next_tables" : {
"FabricEgress.spgw_egress.gtpu_encap" : null
},
"default_entry" : {
- "action_id" : 64,
+ "action_id" : 55,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6583,10 +5957,10 @@
"action_profiles" : [],
"conditionals" : [
{
- "name" : "node_65",
- "id" : 21,
+ "name" : "node_56",
+ "id" : 17,
"source_info" : {
- "filename" : "./include/control/packetio.p4",
+ "filename" : "include/control/packetio.p4",
"line" : 42,
"column" : 12,
"source_fragment" : "standard_metadata.egress_port == 255"
@@ -6605,14 +5979,14 @@
}
}
},
- "true_next" : "node_66",
- "false_next" : "tbl_act_20"
+ "true_next" : "node_57",
+ "false_next" : "tbl_act_19"
},
{
- "name" : "node_66",
- "id" : 22,
+ "name" : "node_57",
+ "id" : 18,
"source_info" : {
- "filename" : "./include/control/packetio.p4",
+ "filename" : "include/control/packetio.p4",
"line" : 43,
"column" : 16,
"source_fragment" : "hdr.vlan_tag.isValid() && fabric_metadata.pop_vlan_when_packet_in"
@@ -6646,13 +6020,13 @@
}
},
"true_next" : "tbl_pkt_io_egress_pop_vlan",
- "false_next" : "tbl_act_19"
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_70",
- "id" : 23,
+ "name" : "node_61",
+ "id" : 19,
"source_info" : {
- "filename" : "./include/control/../spgw.p4",
+ "filename" : "include/spgw.p4",
"line" : 249,
"column" : 12,
"source_fragment" : "spgw_meta.do_spgw && spgw_meta.direction == DIR_DOWNLINK"
@@ -6716,7 +6090,7 @@
{
"name" : "cksum_0",
"id" : 1,
- "target" : ["ipv4", "hdr_checksum"],
+ "target" : ["gtpu_ipv4", "hdr_checksum"],
"type" : "generic",
"calculation" : "calc_0",
"if_cond" : {
@@ -6726,7 +6100,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["ipv4", "$valid$"]
+ "value" : ["gtpu_ipv4", "$valid$"]
}
}
}
@@ -6734,7 +6108,7 @@
{
"name" : "cksum_1",
"id" : 2,
- "target" : ["gtpu_ipv4", "hdr_checksum"],
+ "target" : ["ipv4", "hdr_checksum"],
"type" : "generic",
"calculation" : "calc_1",
"if_cond" : {
@@ -6744,7 +6118,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["gtpu_ipv4", "$valid$"]
+ "value" : ["ipv4", "$valid$"]
}
}
}
@@ -6797,5 +6171,10 @@
"intrinsic_metadata.recirculate_flag",
["standard_metadata", "recirculate_flag"]
]
- ]
+ ],
+ "program" : "fabric.p4",
+ "__meta__" : {
+ "version" : [2, 18],
+ "compiler" : "https://github.com/p4lang/p4c"
+ }
}
\ No newline at end of file