Fabric.p4 cherry-picks from onos-2.2
Publish fabric.p4 constants with fabric-api artifact
For consumption by third-party apps who wish to operate directly on
fabric.p4 tables and other entities.
(cherry picked from commit 8f6b5cdabf7828f6f7c017f288aad87c7bd0911a)
Backport fabric-tna dbuf support to v1model
(cherry picked from commit 4d1d67fa3abb4d7517e5836fbb82c899acffa951)
Update SPGW p4 namespace to match fabric-tna
(cherry picked from commit 35e4d196eb61104e7f96c62361a100bb454ee1cf)
Change-Id: I3230a508a601180060e1041d4369a54f519658e1
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw/bmv2/default/bmv2.json b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw/bmv2/default/bmv2.json
index 18163de..036ea1d 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw/bmv2/default/bmv2.json
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw/bmv2/default/bmv2.json
@@ -4,14 +4,13 @@
"name" : "scalars_0",
"id" : 0,
"fields" : [
- ["tmp_0", 16, false],
["tmp_1", 16, false],
- ["tmp_2", 4, false],
+ ["tmp_2", 16, false],
+ ["tmp_3", 4, false],
["tmp", 32, false],
- ["tmp_3", 32, false],
- ["spgw_ingress_hasReturned", 1, false],
+ ["tmp_0", 32, false],
+ ["spgw_tmp", 1, false],
["egress_next_tmp", 1, false],
- ["spgw_egress_hasReturned", 1, false],
["fabric_metadata_t._ip_eth_type0", 16, false],
["fabric_metadata_t._vlan_id1", 12, false],
["fabric_metadata_t._vlan_pri2", 3, false],
@@ -31,22 +30,20 @@
["fabric_metadata_t._ipv4_dst_addr16", 32, false],
["fabric_metadata_t._inner_l4_sport17", 16, false],
["fabric_metadata_t._inner_l4_dport18", 16, false],
- ["fabric_metadata_t._spgw_direction19", 2, false],
- ["fabric_metadata_t._spgw_ipv4_len20", 16, false],
- ["fabric_metadata_t._spgw_teid21", 32, false],
- ["fabric_metadata_t._spgw_tunnel_src_port22", 16, false],
- ["fabric_metadata_t._spgw_tunnel_src_addr23", 32, false],
- ["fabric_metadata_t._spgw_tunnel_dst_addr24", 32, false],
- ["fabric_metadata_t._spgw_ctr_id25", 32, false],
- ["fabric_metadata_t._spgw_far_id26", 32, false],
- ["fabric_metadata_t._spgw_src_iface27", 8, false],
- ["fabric_metadata_t._spgw_skip_spgw28", 1, false],
- ["fabric_metadata_t._spgw_pdr_hit29", 1, false],
- ["fabric_metadata_t._spgw_far_dropped30", 1, false],
- ["fabric_metadata_t._spgw_notify_spgwc31", 1, false],
- ["fabric_metadata_t._spgw_needs_gtpu_encap32", 1, false],
- ["fabric_metadata_t._spgw_needs_gtpu_decap33", 1, false],
- ["_padding_0", 6, false]
+ ["fabric_metadata_t._spgw_ipv4_len19", 16, false],
+ ["fabric_metadata_t._spgw_teid20", 32, false],
+ ["fabric_metadata_t._spgw_tunnel_src_port21", 16, false],
+ ["fabric_metadata_t._spgw_tunnel_src_addr22", 32, false],
+ ["fabric_metadata_t._spgw_tunnel_dst_addr23", 32, false],
+ ["fabric_metadata_t._spgw_ctr_id24", 32, false],
+ ["fabric_metadata_t._spgw_far_id25", 32, false],
+ ["fabric_metadata_t._spgw_src_iface26", 8, false],
+ ["fabric_metadata_t._spgw_skip_spgw27", 1, false],
+ ["fabric_metadata_t._spgw_notify_spgwc28", 1, false],
+ ["fabric_metadata_t._spgw_needs_gtpu_encap29", 1, false],
+ ["fabric_metadata_t._spgw_needs_gtpu_decap30", 1, false],
+ ["fabric_metadata_t._spgw_skip_egress_pdr_ctr31", 1, false],
+ ["_padding_0", 2, false]
]
},
{
@@ -467,7 +464,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp_1"]
},
{
"type" : "lookahead",
@@ -505,7 +502,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp_1"]
}
]
},
@@ -526,7 +523,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_2"]
},
{
"type" : "lookahead",
@@ -552,7 +549,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_2"]
}
]
},
@@ -662,7 +659,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_3"]
},
{
"type" : "lookahead",
@@ -688,7 +685,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_3"]
}
]
},
@@ -1178,11 +1175,11 @@
"is_direct" : false
},
{
- "name" : "FabricIngress.spgw_ingress.pdr_counter",
+ "name" : "FabricIngress.spgw.pdr_counter",
"id" : 11,
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 180,
+ "line" : 109,
"column" : 53,
"source_fragment" : "pdr_counter"
},
@@ -1202,11 +1199,11 @@
}
},
{
- "name" : "FabricEgress.spgw_egress.pdr_counter",
+ "name" : "FabricEgress.spgw.pdr_counter",
"id" : 13,
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 301,
+ "line" : 286,
"column" : 53,
"source_fragment" : "pdr_counter"
},
@@ -1282,7 +1279,7 @@
"id" : 1,
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 362,
+ "line" : 349,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
@@ -1445,9 +1442,21 @@
"primitives" : []
},
{
- "name" : "FabricIngress.filtering.deny",
+ "name" : "NoAction",
"id" : 7,
"runtime_data" : [],
+ "primitives" : []
+ },
+ {
+ "name" : "NoAction",
+ "id" : 8,
+ "runtime_data" : [],
+ "primitives" : []
+ },
+ {
+ "name" : "FabricIngress.filtering.deny",
+ "id" : 9,
+ "runtime_data" : [],
"primitives" : [
{
"op" : "assign",
@@ -1511,13 +1520,13 @@
},
{
"name" : "FabricIngress.filtering.permit",
- "id" : 8,
+ "id" : 10,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.filtering.permit_with_internal_vlan",
- "id" : 9,
+ "id" : 11,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -1548,7 +1557,7 @@
},
{
"name" : "FabricIngress.filtering.set_forwarding_type",
- "id" : 10,
+ "id" : 12,
"runtime_data" : [
{
"name" : "fwd_type",
@@ -1579,7 +1588,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_bridging",
- "id" : 11,
+ "id" : 13,
"runtime_data" : [
{
"name" : "next_id",
@@ -1610,7 +1619,7 @@
},
{
"name" : "FabricIngress.forwarding.pop_mpls_and_next",
- "id" : 12,
+ "id" : 14,
"runtime_data" : [
{
"name" : "next_id",
@@ -1660,7 +1669,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_routing_v4",
- "id" : 13,
+ "id" : 15,
"runtime_data" : [
{
"name" : "next_id",
@@ -1691,13 +1700,13 @@
},
{
"name" : "FabricIngress.forwarding.nop_routing_v4",
- "id" : 14,
+ "id" : 16,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.acl.set_next_id_acl",
- "id" : 15,
+ "id" : 17,
"runtime_data" : [
{
"name" : "next_id",
@@ -1728,7 +1737,7 @@
},
{
"name" : "FabricIngress.acl.punt_to_cpu",
- "id" : 16,
+ "id" : 18,
"runtime_data" : [],
"primitives" : [
{
@@ -1783,7 +1792,7 @@
},
{
"name" : "FabricIngress.acl.set_clone_session_id",
- "id" : 17,
+ "id" : 19,
"runtime_data" : [
{
"name" : "clone_id",
@@ -1814,7 +1823,7 @@
},
{
"name" : "FabricIngress.acl.drop",
- "id" : 18,
+ "id" : 20,
"runtime_data" : [],
"primitives" : [
{
@@ -1865,13 +1874,13 @@
},
{
"name" : "FabricIngress.acl.nop_acl",
- "id" : 19,
+ "id" : 21,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.next.set_vlan",
- "id" : 20,
+ "id" : 22,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -1902,68 +1911,6 @@
},
{
"name" : "FabricIngress.next.output_xconnect",
- "id" : 21,
- "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" : 31,
- "column" : 5,
- "source_fragment" : "standard_metadata.egress_spec = port_num; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.next.set_next_id_xconnect",
- "id" : 22,
- "runtime_data" : [
- {
- "name" : "next_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._next_id9"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/control/next.p4",
- "line" : 115,
- "column" : 32,
- "source_fragment" : "= next_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.next.output_hashed",
"id" : 23,
"runtime_data" : [
{
@@ -1994,10 +1941,72 @@
]
},
{
- "name" : "FabricIngress.next.routing_hashed",
+ "name" : "FabricIngress.next.set_next_id_xconnect",
"id" : 24,
"runtime_data" : [
{
+ "name" : "next_id",
+ "bitwidth" : 32
+ }
+ ],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._next_id9"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 0
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/next.p4",
+ "line" : 115,
+ "column" : 32,
+ "source_fragment" : "= next_id; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.next.output_hashed",
+ "id" : 25,
+ "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" : 31,
+ "column" : 5,
+ "source_fragment" : "standard_metadata.egress_spec = port_num; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.next.routing_hashed",
+ "id" : 26,
+ "runtime_data" : [
+ {
"name" : "port_num",
"bitwidth" : 9
},
@@ -2072,7 +2081,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_hashed",
- "id" : 25,
+ "id" : 27,
"runtime_data" : [
{
"name" : "port_num",
@@ -2172,7 +2181,7 @@
},
{
"name" : "FabricIngress.next.set_mcast_group_id",
- "id" : 26,
+ "id" : 28,
"runtime_data" : [
{
"name" : "group_id",
@@ -2231,20 +2240,1666 @@
]
},
{
- "name" : "FabricIngress.spgw_ingress.set_source_iface",
- "id" : 27,
+ "name" : "FabricIngress.spgw.decap_gtpu_from_dbuf.decap_inner_tcp",
+ "id" : 29,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 118,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 39,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 40,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 41,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 42,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 43,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 46,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 52,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "tcp"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_tcp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 53,
+ "column" : 8,
+ "source_fragment" : "hdr.tcp = hdr.inner_tcp"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_tcp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 54,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_tcp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw.decap_gtpu_from_dbuf.decap_inner_udp",
+ "id" : 30,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 118,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 39,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 40,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 41,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 42,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 43,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 46,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 59,
+ "column" : 8,
+ "source_fragment" : "hdr.udp = hdr.inner_udp"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 60,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_udp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw.decap_gtpu_from_dbuf.decap_inner_icmp",
+ "id" : 31,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 118,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 39,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 40,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 41,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 42,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 43,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 46,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 65,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "icmp"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_icmp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 66,
+ "column" : 8,
+ "source_fragment" : "hdr.icmp = hdr.inner_icmp"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_icmp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 67,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_icmp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw.decap_gtpu_from_dbuf.decap_inner_unknown",
+ "id" : 32,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 118,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 39,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 40,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 41,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 42,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 43,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 46,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 72,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw.decap_gtpu.decap_inner_tcp",
+ "id" : 33,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 118,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 39,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 40,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 41,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 42,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 43,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 46,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 52,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "tcp"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_tcp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 53,
+ "column" : 8,
+ "source_fragment" : "hdr.tcp = hdr.inner_tcp"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_tcp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 54,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_tcp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw.decap_gtpu.decap_inner_udp",
+ "id" : 34,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 118,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 39,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 40,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 41,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 42,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 43,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 46,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 59,
+ "column" : 8,
+ "source_fragment" : "hdr.udp = hdr.inner_udp"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 60,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_udp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw.decap_gtpu.decap_inner_icmp",
+ "id" : 35,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 118,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 39,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 40,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 41,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 42,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 43,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 46,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 65,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "icmp"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_icmp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 66,
+ "column" : 8,
+ "source_fragment" : "hdr.icmp = hdr.inner_icmp"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_icmp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 67,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_icmp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw.decap_gtpu.decap_inner_unknown",
+ "id" : 36,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 118,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 39,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 40,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 41,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 42,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 43,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 45,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 46,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 72,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw.load_iface",
+ "id" : 37,
"runtime_data" : [
{
"name" : "src_iface",
"bitwidth" : 8
- },
- {
- "name" : "direction",
- "bitwidth" : 2
- },
- {
- "name" : "skip_spgw",
- "bitwidth" : 1
}
],
"primitives" : [
@@ -2253,7 +3908,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_src_iface27"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_src_iface26"]
},
{
"type" : "runtime_data",
@@ -2262,7 +3917,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 50,
+ "line" : 121,
"column" : 33,
"source_fragment" : "= src_iface; ..."
}
@@ -2272,26 +3927,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction19"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 51,
- "column" : 33,
- "source_fragment" : "= direction; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw28"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw27"]
},
{
"type" : "expression",
@@ -2301,18 +3937,8 @@
"op" : "b2d",
"left" : null,
"right" : {
- "type" : "expression",
- "value" : {
- "op" : "!=",
- "left" : {
- "type" : "local",
- "value" : 2
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x00"
- }
- }
+ "type" : "bool",
+ "value" : false
}
}
}
@@ -2320,16 +3946,71 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 52,
+ "line" : 122,
"column" : 33,
- "source_fragment" : "= (bool)skip_spgw; ..."
+ "source_fragment" : "= false; ..."
}
}
]
},
{
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 28,
+ "name" : "FabricIngress.spgw.iface_miss",
+ "id" : 38,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_src_iface26"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 108,
+ "column" : 44,
+ "source_fragment" : "8w0; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw27"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 126,
+ "column" : 33,
+ "source_fragment" : "= true; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw.load_pdr",
+ "id" : 39,
"runtime_data" : [
{
"name" : "ctr_id",
@@ -2350,36 +4031,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit29"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 75,
- "column" : 31,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id24"]
},
{
"type" : "runtime_data",
@@ -2388,7 +4040,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 76,
+ "line" : 151,
"column" : 30,
"source_fragment" : "= ctr_id; ..."
}
@@ -2398,7 +4050,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id26"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_id25"]
},
{
"type" : "runtime_data",
@@ -2407,7 +4059,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 77,
+ "line" : 152,
"column" : 30,
"source_fragment" : "= far_id; ..."
}
@@ -2417,7 +4069,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap33"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap30"]
},
{
"type" : "expression",
@@ -2446,7 +4098,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 78,
+ "line" : 153,
"column" : 40,
"source_fragment" : "= (bool)needs_gtpu_decap; ..."
}
@@ -2454,8 +4106,8 @@
]
},
{
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 29,
+ "name" : "FabricIngress.spgw.load_pdr",
+ "id" : 40,
"runtime_data" : [
{
"name" : "ctr_id",
@@ -2476,36 +4128,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit29"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 75,
- "column" : 31,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id24"]
},
{
"type" : "runtime_data",
@@ -2514,7 +4137,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 76,
+ "line" : 151,
"column" : 30,
"source_fragment" : "= ctr_id; ..."
}
@@ -2524,7 +4147,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id26"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_id25"]
},
{
"type" : "runtime_data",
@@ -2533,7 +4156,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 77,
+ "line" : 152,
"column" : 30,
"source_fragment" : "= far_id; ..."
}
@@ -2543,7 +4166,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap33"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap30"]
},
{
"type" : "expression",
@@ -2572,7 +4195,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 78,
+ "line" : 153,
"column" : 40,
"source_fragment" : "= (bool)needs_gtpu_decap; ..."
}
@@ -2580,8 +4203,8 @@
]
},
{
- "name" : "FabricIngress.spgw_ingress.load_normal_far_attributes",
- "id" : 30,
+ "name" : "FabricIngress.spgw.load_normal_far",
+ "id" : 41,
"runtime_data" : [
{
"name" : "drop",
@@ -2598,7 +4221,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped30"]
+ "value" : ["scalars", "fabric_metadata_t._skip_forwarding6"]
},
{
"type" : "expression",
@@ -2627,8 +4250,8 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 138,
- "column" : 35,
+ "line" : 186,
+ "column" : 34,
"source_fragment" : "= (bool)drop; ..."
}
},
@@ -2637,7 +4260,46 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc31"]
+ "value" : ["scalars", "fabric_metadata_t._skip_next7"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 0
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 187,
+ "column" : 28,
+ "source_fragment" : "= (bool)drop; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc28"]
},
{
"type" : "expression",
@@ -2666,7 +4328,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 139,
+ "line" : 188,
"column" : 36,
"source_fragment" : "= (bool)notify_cp; ..."
}
@@ -2674,8 +4336,8 @@
]
},
{
- "name" : "FabricIngress.spgw_ingress.load_tunnel_far_attributes",
- "id" : 31,
+ "name" : "FabricIngress.spgw.load_tunnel_far",
+ "id" : 42,
"runtime_data" : [
{
"name" : "drop",
@@ -2708,7 +4370,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped30"]
+ "value" : ["scalars", "fabric_metadata_t._skip_forwarding6"]
},
{
"type" : "expression",
@@ -2737,8 +4399,8 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 148,
- "column" : 35,
+ "line" : 197,
+ "column" : 34,
"source_fragment" : "= (bool)drop; ..."
}
},
@@ -2747,7 +4409,46 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc31"]
+ "value" : ["scalars", "fabric_metadata_t._skip_next7"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 0
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 198,
+ "column" : 28,
+ "source_fragment" : "= (bool)drop; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc28"]
},
{
"type" : "expression",
@@ -2776,7 +4477,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 149,
+ "line" : 199,
"column" : 36,
"source_fragment" : "= (bool)notify_cp; ..."
}
@@ -2786,7 +4487,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap32"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap29"]
},
{
"type" : "expression",
@@ -2805,7 +4506,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 151,
+ "line" : 201,
"column" : 40,
"source_fragment" : "= true; ..."
}
@@ -2815,7 +4516,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid21"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_teid20"]
},
{
"type" : "runtime_data",
@@ -2824,7 +4525,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 152,
+ "line" : 202,
"column" : 28,
"source_fragment" : "= teid; ..."
}
@@ -2834,7 +4535,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port22"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port21"]
},
{
"type" : "runtime_data",
@@ -2843,7 +4544,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 153,
+ "line" : 203,
"column" : 39,
"source_fragment" : "= tunnel_src_port; ..."
}
@@ -2853,7 +4554,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr23"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr22"]
},
{
"type" : "runtime_data",
@@ -2862,7 +4563,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 154,
+ "line" : 204,
"column" : 39,
"source_fragment" : "= tunnel_src_addr; ..."
}
@@ -2872,7 +4573,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr24"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr23"]
},
{
"type" : "runtime_data",
@@ -2881,7 +4582,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 155,
+ "line" : 205,
"column" : 39,
"source_fragment" : "= tunnel_dst_addr; ..."
}
@@ -2900,7 +4601,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 157,
+ "line" : 207,
"column" : 32,
"source_fragment" : "= tunnel_src_addr; ..."
}
@@ -2919,7 +4620,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 158,
+ "line" : 208,
"column" : 32,
"source_fragment" : "= tunnel_dst_addr; ..."
}
@@ -2938,7 +4639,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 159,
+ "line" : 209,
"column" : 27,
"source_fragment" : "= tunnel_src_port; ..."
}
@@ -2957,7 +4658,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 160,
+ "line" : 210,
"column" : 27,
"source_fragment" : "= 2152; ..."
}
@@ -2965,27 +4666,72 @@
]
},
{
- "name" : "FabricIngress.spgw_ingress.decap_inner_tcp",
- "id" : 32,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw.load_dbuf_far",
+ "id" : 43,
+ "runtime_data" : [
+ {
+ "name" : "drop",
+ "bitwidth" : 1
+ },
+ {
+ "name" : "notify_cp",
+ "bitwidth" : 1
+ },
+ {
+ "name" : "tunnel_src_port",
+ "bitwidth" : 16
+ },
+ {
+ "name" : "tunnel_src_addr",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "tunnel_dst_addr",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "teid",
+ "bitwidth" : 32
+ }
+ ],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ "value" : ["scalars", "fabric_metadata_t._skip_forwarding6"]
},
{
- "type" : "hexstr",
- "value" : "0x0800"
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 0
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
}
],
"source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 128,
- "column" : 31,
- "source_fragment" : "0x0800; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 34,
+ "source_fragment" : "= (bool)drop; ..."
}
},
{
@@ -2993,18 +4739,38 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ "value" : ["scalars", "fabric_metadata_t._skip_next7"]
},
{
- "type" : "field",
- "value" : ["inner_ipv4", "protocol"]
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 0
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 187,
- "column" : 27,
- "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ "line" : 198,
+ "column" : 28,
+ "source_fragment" : "= (bool)drop; ..."
}
},
{
@@ -3012,199 +4778,67 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc28"]
},
{
- "type" : "field",
- "value" : ["inner_ipv4", "src_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 188,
- "column" : 32,
- "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
- },
- {
- "type" : "field",
- "value" : ["inner_ipv4", "dst_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 189,
- "column" : 32,
- "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 190,
- "column" : 27,
- "source_fragment" : "= fabric_md.inner_l4_sport; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 191,
- "column" : 27,
- "source_fragment" : "= fabric_md.inner_l4_dport; ..."
- }
- },
- {
- "op" : "assign_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "ipv4"
- },
- {
- "type" : "header",
- "value" : "inner_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 193,
- "column" : 8,
- "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "inner_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 194,
- "column" : 8,
- "source_fragment" : "hdr.inner_ipv4.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 195,
- "column" : 8,
- "source_fragment" : "hdr.gtpu.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "udp"
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 1
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
"line" : 199,
- "column" : 8,
- "source_fragment" : "hdr.udp.setInvalid()"
+ "column" : 36,
+ "source_fragment" : "= (bool)notify_cp; ..."
}
},
{
- "op" : "assign_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "tcp"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap29"]
},
{
- "type" : "header",
- "value" : "inner_tcp"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 200,
- "column" : 8,
- "source_fragment" : "hdr.tcp = hdr.inner_tcp"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "inner_tcp"
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
"line" : 201,
- "column" : 8,
- "source_fragment" : "hdr.inner_tcp.setInvalid()"
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.decap_inner_udp",
- "id" : 33,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0800"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 128,
- "column" : 31,
- "source_fragment" : "0x0800; ..."
+ "column" : 40,
+ "source_fragment" : "= true; ..."
}
},
{
@@ -3212,18 +4846,18 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_teid20"]
},
{
- "type" : "field",
- "value" : ["inner_ipv4", "protocol"]
+ "type" : "runtime_data",
+ "value" : 5
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 187,
- "column" : 27,
- "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ "line" : 202,
+ "column" : 28,
+ "source_fragment" : "= teid; ..."
}
},
{
@@ -3231,18 +4865,18 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port21"]
},
{
- "type" : "field",
- "value" : ["inner_ipv4", "src_addr"]
+ "type" : "runtime_data",
+ "value" : 2
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 188,
- "column" : 32,
- "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ "line" : 203,
+ "column" : 39,
+ "source_fragment" : "= tunnel_src_port; ..."
}
},
{
@@ -3250,18 +4884,18 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr22"]
},
{
- "type" : "field",
- "value" : ["inner_ipv4", "dst_addr"]
+ "type" : "runtime_data",
+ "value" : 3
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 189,
- "column" : 32,
- "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ "line" : 204,
+ "column" : 39,
+ "source_fragment" : "= tunnel_src_addr; ..."
}
},
{
@@ -3269,165 +4903,18 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr23"]
},
{
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 190,
- "column" : 27,
- "source_fragment" : "= fabric_md.inner_l4_sport; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 191,
- "column" : 27,
- "source_fragment" : "= fabric_md.inner_l4_dport; ..."
- }
- },
- {
- "op" : "assign_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "ipv4"
- },
- {
- "type" : "header",
- "value" : "inner_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 193,
- "column" : 8,
- "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "inner_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 194,
- "column" : 8,
- "source_fragment" : "hdr.inner_ipv4.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 195,
- "column" : 8,
- "source_fragment" : "hdr.gtpu.setInvalid()"
- }
- },
- {
- "op" : "assign_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "udp"
- },
- {
- "type" : "header",
- "value" : "inner_udp"
+ "type" : "runtime_data",
+ "value" : 4
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
"line" : 205,
- "column" : 8,
- "source_fragment" : "hdr.udp = hdr.inner_udp"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "inner_udp"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 206,
- "column" : 8,
- "source_fragment" : "hdr.inner_udp.setInvalid()"
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.decap_inner_icmp",
- "id" : 34,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0800"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 128,
- "column" : 31,
- "source_fragment" : "0x0800; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
- },
- {
- "type" : "field",
- "value" : ["inner_ipv4", "protocol"]
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 187,
- "column" : 27,
- "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ "column" : 39,
+ "source_fragment" : "= tunnel_dst_addr; ..."
}
},
{
@@ -3438,15 +4925,15 @@
"value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
},
{
- "type" : "field",
- "value" : ["inner_ipv4", "src_addr"]
+ "type" : "runtime_data",
+ "value" : 3
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 188,
+ "line" : 207,
"column" : 32,
- "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ "source_fragment" : "= tunnel_src_addr; ..."
}
},
{
@@ -3457,15 +4944,15 @@
"value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
},
{
- "type" : "field",
- "value" : ["inner_ipv4", "dst_addr"]
+ "type" : "runtime_data",
+ "value" : 4
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 189,
+ "line" : 208,
"column" : 32,
- "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ "source_fragment" : "= tunnel_dst_addr; ..."
}
},
{
@@ -3476,15 +4963,15 @@
"value" : ["scalars", "fabric_metadata_t._l4_sport13"]
},
{
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ "type" : "runtime_data",
+ "value" : 2
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 190,
+ "line" : 209,
"column" : 27,
- "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ "source_fragment" : "= tunnel_src_port; ..."
}
},
{
@@ -3495,158 +4982,15 @@
"value" : ["scalars", "fabric_metadata_t._l4_dport14"]
},
{
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 191,
- "column" : 27,
- "source_fragment" : "= fabric_md.inner_l4_dport; ..."
- }
- },
- {
- "op" : "assign_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "ipv4"
- },
- {
- "type" : "header",
- "value" : "inner_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 193,
- "column" : 8,
- "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "inner_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 194,
- "column" : 8,
- "source_fragment" : "hdr.inner_ipv4.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 195,
- "column" : 8,
- "source_fragment" : "hdr.gtpu.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "udp"
+ "type" : "hexstr",
+ "value" : "0x0868"
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
"line" : 210,
- "column" : 8,
- "source_fragment" : "hdr.udp.setInvalid()"
- }
- },
- {
- "op" : "assign_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "icmp"
- },
- {
- "type" : "header",
- "value" : "inner_icmp"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 211,
- "column" : 8,
- "source_fragment" : "hdr.icmp = hdr.inner_icmp"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "inner_icmp"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 212,
- "column" : 8,
- "source_fragment" : "hdr.inner_icmp.setInvalid()"
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.decap_inner_unknown",
- "id" : 35,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0800"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 128,
- "column" : 31,
- "source_fragment" : "0x0800; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
- },
- {
- "type" : "field",
- "value" : ["inner_ipv4", "protocol"]
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 187,
"column" : 27,
- "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ "source_fragment" : "= 2152; ..."
}
},
{
@@ -3654,146 +4998,35 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_egress_pdr_ctr31"]
},
{
- "type" : "field",
- "value" : ["inner_ipv4", "src_addr"]
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 188,
- "column" : 32,
- "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
- },
- {
- "type" : "field",
- "value" : ["inner_ipv4", "dst_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 189,
- "column" : 32,
- "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 190,
- "column" : 27,
- "source_fragment" : "= fabric_md.inner_l4_sport; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 191,
- "column" : 27,
- "source_fragment" : "= fabric_md.inner_l4_dport; ..."
- }
- },
- {
- "op" : "assign_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "ipv4"
- },
- {
- "type" : "header",
- "value" : "inner_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 193,
- "column" : 8,
- "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "inner_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 194,
- "column" : 8,
- "source_fragment" : "hdr.inner_ipv4.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 195,
- "column" : 8,
- "source_fragment" : "hdr.gtpu.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "udp"
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 216,
- "column" : 8,
- "source_fragment" : "hdr.udp.setInvalid()"
+ "line" : 221,
+ "column" : 43,
+ "source_fragment" : "= true; ..."
}
}
]
},
{
"name" : "act",
- "id" : 36,
+ "id" : 44,
"runtime_data" : [],
"primitives" : [
{
@@ -3873,7 +5106,7 @@
},
{
"name" : "act_0",
- "id" : 37,
+ "id" : 45,
"runtime_data" : [],
"primitives" : [
{
@@ -3881,7 +5114,37 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
+ "value" : ["scalars", "spgw_tmp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name" : "act_1",
+ "id" : 46,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "spgw_tmp"]
},
{
"type" : "expression",
@@ -3902,44 +5165,8 @@
]
},
{
- "name" : "act_1",
- "id" : 38,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 249,
- "column" : 46,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
"name" : "act_2",
- "id" : 39,
+ "id" : 47,
"runtime_data" : [],
"primitives" : [
{
@@ -3947,17 +5174,17 @@
"parameters" : [
{
"type" : "counter_array",
- "value" : "FabricIngress.spgw_ingress.pdr_counter"
+ "value" : "FabricIngress.spgw.pdr_counter"
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id24"]
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 263,
- "column" : 8,
+ "line" : 256,
+ "column" : 16,
"source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
}
}
@@ -3965,7 +5192,7 @@
},
{
"name" : "act_3",
- "id" : 40,
+ "id" : 48,
"runtime_data" : [],
"primitives" : [
{
@@ -3973,72 +5200,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._skip_forwarding6"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 280,
- "column" : 38,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._skip_next7"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 281,
- "column" : 32,
- "source_fragment" : "= true; ..."
- }
- }
- ]
- },
- {
- "name" : "act_4",
- "id" : 41,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len20"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len19"]
},
{
"type" : "field",
@@ -4047,16 +5209,16 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 289,
- "column" : 32,
+ "line" : 273,
+ "column" : 36,
"source_fragment" : "= hdr.ipv4.total_len; ..."
}
}
]
},
{
- "name" : "act_5",
- "id" : 42,
+ "name" : "act_4",
+ "id" : 49,
"runtime_data" : [],
"primitives" : [
{
@@ -4119,8 +5281,8 @@
]
},
{
- "name" : "act_6",
- "id" : 43,
+ "name" : "act_5",
+ "id" : 50,
"runtime_data" : [],
"primitives" : [
{
@@ -4145,8 +5307,8 @@
]
},
{
- "name" : "act_7",
- "id" : 44,
+ "name" : "act_6",
+ "id" : 51,
"runtime_data" : [],
"primitives" : [
{
@@ -4203,8 +5365,8 @@
]
},
{
- "name" : "act_8",
- "id" : 45,
+ "name" : "act_7",
+ "id" : 52,
"runtime_data" : [],
"primitives" : [
{
@@ -4212,7 +5374,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_0"]
},
{
"type" : "expression",
@@ -4248,7 +5410,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_0"]
}
],
"source_info" : {
@@ -4262,13 +5424,13 @@
},
{
"name" : "nop",
- "id" : 46,
+ "id" : 53,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricEgress.egress_next.pop_mpls_if_present",
- "id" : 47,
+ "id" : 54,
"runtime_data" : [],
"primitives" : [
{
@@ -4309,7 +5471,7 @@
},
{
"name" : "FabricEgress.egress_next.set_mpls",
- "id" : 48,
+ "id" : 55,
"runtime_data" : [],
"primitives" : [
{
@@ -4417,7 +5579,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 126,
+ "line" : 116,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -4426,7 +5588,7 @@
},
{
"name" : "FabricEgress.egress_next.push_vlan",
- "id" : 49,
+ "id" : 56,
"runtime_data" : [],
"primitives" : [
{
@@ -4496,7 +5658,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 125,
+ "line" : 115,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -4524,7 +5686,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_vlan",
- "id" : 50,
+ "id" : 57,
"runtime_data" : [],
"primitives" : [
{
@@ -4545,8 +5707,8 @@
]
},
{
- "name" : "FabricEgress.spgw_egress.gtpu_encap",
- "id" : 51,
+ "name" : "FabricEgress.spgw.gtpu_encap",
+ "id" : 58,
"runtime_data" : [],
"primitives" : [
{
@@ -4559,7 +5721,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 306,
+ "line" : 291,
"column" : 8,
"source_fragment" : "hdr.gtpu_ipv4.setValid()"
}
@@ -4578,7 +5740,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 307,
+ "line" : 292,
"column" : 8,
"source_fragment" : "hdr.gtpu_ipv4.version = 4"
}
@@ -4597,7 +5759,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 143,
+ "line" : 133,
"column" : 28,
"source_fragment" : "5; ..."
}
@@ -4616,7 +5778,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 309,
+ "line" : 294,
"column" : 8,
"source_fragment" : "hdr.gtpu_ipv4.dscp = 0"
}
@@ -4635,7 +5797,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 310,
+ "line" : 295,
"column" : 8,
"source_fragment" : "hdr.gtpu_ipv4.ecn = 0"
}
@@ -4677,7 +5839,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 311,
+ "line" : 296,
"column" : 8,
"source_fragment" : "hdr.gtpu_ipv4.total_len = hdr.ipv4.total_len ..."
}
@@ -4696,7 +5858,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 313,
+ "line" : 298,
"column" : 8,
"source_fragment" : "hdr.gtpu_ipv4.identification = 0x1513"
}
@@ -4715,7 +5877,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 314,
+ "line" : 299,
"column" : 8,
"source_fragment" : "hdr.gtpu_ipv4.flags = 0"
}
@@ -4734,7 +5896,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 315,
+ "line" : 300,
"column" : 8,
"source_fragment" : "hdr.gtpu_ipv4.frag_offset = 0"
}
@@ -4753,7 +5915,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 156,
+ "line" : 146,
"column" : 32,
"source_fragment" : "64; ..."
}
@@ -4772,7 +5934,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 140,
+ "line" : 130,
"column" : 25,
"source_fragment" : "17; ..."
}
@@ -4786,12 +5948,12 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr23"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr22"]
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 318,
+ "line" : 303,
"column" : 8,
"source_fragment" : "hdr.gtpu_ipv4.src_addr = fabric_md.spgw.tunnel_src_addr; ..."
}
@@ -4805,12 +5967,12 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr24"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr23"]
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 319,
+ "line" : 304,
"column" : 8,
"source_fragment" : "hdr.gtpu_ipv4.dst_addr = fabric_md.spgw.tunnel_dst_addr; ..."
}
@@ -4829,7 +5991,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 320,
+ "line" : 305,
"column" : 8,
"source_fragment" : "hdr.gtpu_ipv4.hdr_checksum = 0"
}
@@ -4844,7 +6006,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 322,
+ "line" : 307,
"column" : 8,
"source_fragment" : "hdr.gtpu_udp.setValid()"
}
@@ -4858,12 +6020,12 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port22"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port21"]
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 323,
+ "line" : 308,
"column" : 8,
"source_fragment" : "hdr.gtpu_udp.sport = fabric_md.spgw.tunnel_src_port; ..."
}
@@ -4882,7 +6044,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 324,
+ "line" : 309,
"column" : 8,
"source_fragment" : "hdr.gtpu_udp.dport = 2152"
}
@@ -4906,7 +6068,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len20"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len19"]
},
"right" : {
"type" : "hexstr",
@@ -4924,7 +6086,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 325,
+ "line" : 310,
"column" : 8,
"source_fragment" : "hdr.gtpu_udp.len = fabric_md.spgw.ipv4_len ..."
}
@@ -4943,7 +6105,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 327,
+ "line" : 312,
"column" : 8,
"source_fragment" : "hdr.gtpu_udp.checksum = 0"
}
@@ -4958,7 +6120,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 330,
+ "line" : 315,
"column" : 8,
"source_fragment" : "hdr.outer_gtpu.setValid()"
}
@@ -4977,7 +6139,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 331,
+ "line" : 316,
"column" : 8,
"source_fragment" : "hdr.outer_gtpu.version = 0x01"
}
@@ -4996,7 +6158,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 332,
+ "line" : 317,
"column" : 8,
"source_fragment" : "hdr.outer_gtpu.pt = 0x01"
}
@@ -5015,7 +6177,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 333,
+ "line" : 318,
"column" : 8,
"source_fragment" : "hdr.outer_gtpu.spare = 0"
}
@@ -5034,7 +6196,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 334,
+ "line" : 319,
"column" : 8,
"source_fragment" : "hdr.outer_gtpu.ex_flag = 0"
}
@@ -5053,7 +6215,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 335,
+ "line" : 320,
"column" : 8,
"source_fragment" : "hdr.outer_gtpu.seq_flag = 0"
}
@@ -5072,7 +6234,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 336,
+ "line" : 321,
"column" : 8,
"source_fragment" : "hdr.outer_gtpu.npdu_flag = 0"
}
@@ -5091,7 +6253,7 @@
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 337,
+ "line" : 322,
"column" : 8,
"source_fragment" : "hdr.outer_gtpu.msgtype = 0xff"
}
@@ -5105,12 +6267,12 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len20"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len19"]
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 338,
+ "line" : 323,
"column" : 8,
"source_fragment" : "hdr.outer_gtpu.msglen = fabric_md.spgw.ipv4_len; ..."
}
@@ -5124,12 +6286,12 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid21"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_teid20"]
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 339,
+ "line" : 324,
"column" : 8,
"source_fragment" : "hdr.outer_gtpu.teid = fabric_md.spgw.teid; ..."
}
@@ -5137,8 +6299,8 @@
]
},
{
- "name" : "act_9",
- "id" : 52,
+ "name" : "act_8",
+ "id" : 59,
"runtime_data" : [],
"primitives" : [
{
@@ -5154,8 +6316,8 @@
]
},
{
- "name" : "act_10",
- "id" : 53,
+ "name" : "act_9",
+ "id" : 60,
"runtime_data" : [],
"primitives" : [
{
@@ -5205,8 +6367,8 @@
]
},
{
- "name" : "act_11",
- "id" : 54,
+ "name" : "act_10",
+ "id" : 61,
"runtime_data" : [],
"primitives" : [
{
@@ -5227,8 +6389,8 @@
]
},
{
- "name" : "act_12",
- "id" : 55,
+ "name" : "act_11",
+ "id" : 62,
"runtime_data" : [],
"primitives" : [
{
@@ -5257,8 +6419,8 @@
]
},
{
- "name" : "act_13",
- "id" : 56,
+ "name" : "act_12",
+ "id" : 63,
"runtime_data" : [],
"primitives" : [
{
@@ -5287,8 +6449,8 @@
]
},
{
- "name" : "act_14",
- "id" : 57,
+ "name" : "act_13",
+ "id" : 64,
"runtime_data" : [],
"primitives" : [
{
@@ -5309,8 +6471,8 @@
]
},
{
- "name" : "act_15",
- "id" : 58,
+ "name" : "act_14",
+ "id" : 65,
"runtime_data" : [],
"primitives" : [
{
@@ -5358,8 +6520,8 @@
]
},
{
- "name" : "act_16",
- "id" : 59,
+ "name" : "act_15",
+ "id" : 66,
"runtime_data" : [],
"primitives" : [
{
@@ -5380,8 +6542,8 @@
]
},
{
- "name" : "act_17",
- "id" : 60,
+ "name" : "act_16",
+ "id" : 67,
"runtime_data" : [],
"primitives" : [
{
@@ -5429,74 +6591,8 @@
]
},
{
- "name" : "act_18",
- "id" : 61,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_egress_hasReturned"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 343,
- "column" : 46,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_19",
- "id" : 62,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_egress_hasReturned"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_20",
- "id" : 63,
+ "name" : "act_17",
+ "id" : 68,
"runtime_data" : [],
"primitives" : [
{
@@ -5504,17 +6600,17 @@
"parameters" : [
{
"type" : "counter_array",
- "value" : "FabricEgress.spgw_egress.pdr_counter"
+ "value" : "FabricEgress.spgw.pdr_counter"
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id24"]
}
],
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 344,
- "column" : 8,
+ "line" : 333,
+ "column" : 16,
"source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
}
}
@@ -5549,50 +6645,27 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [36],
+ "action_ids" : [44],
"actions" : ["act"],
- "base_default_next" : "tbl_act_0",
+ "base_default_next" : "FabricIngress.spgw.interfaces",
"next_tables" : {
- "act" : "tbl_act_0"
+ "act" : "FabricIngress.spgw.interfaces"
},
"default_entry" : {
- "action_id" : 36,
+ "action_id" : 44,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_0",
+ "name" : "FabricIngress.spgw.interfaces",
"id" : 1,
- "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" : "FabricIngress.spgw_ingress.interface_lookup",
- "next_tables" : {
- "act_0" : "FabricIngress.spgw_ingress.interface_lookup"
- },
- "default_entry" : {
- "action_id" : 37,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.interface_lookup",
- "id" : 2,
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 55,
+ "line" : 130,
"column" : 10,
- "source_fragment" : "interface_lookup"
+ "source_fragment" : "interfaces"
},
"key" : [
{
@@ -5614,40 +6687,12 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [27],
- "actions" : ["FabricIngress.spgw_ingress.set_source_iface"],
- "base_default_next" : "node_6",
+ "action_ids" : [37, 38],
+ "actions" : ["FabricIngress.spgw.load_iface", "FabricIngress.spgw.iface_miss"],
+ "base_default_next" : null,
"next_tables" : {
- "FabricIngress.spgw_ingress.set_source_iface" : "node_6"
- },
- "default_entry" : {
- "action_id" : 27,
- "action_const" : true,
- "action_data" : ["0x0", "0x0", "0x1"],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_1",
- "id" : 3,
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 249,
- "column" : 46,
- "source_fragment" : "return"
- },
- "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_8",
- "next_tables" : {
- "act_1" : "node_8"
+ "__HIT__" : "tbl_act_0",
+ "__MISS__" : "tbl_act_1"
},
"default_entry" : {
"action_id" : 38,
@@ -5657,92 +6702,8 @@
}
},
{
- "name" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
- "id" : 4,
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 93,
- "column" : 10,
- "source_fragment" : "uplink_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "tunnel_ipv4_dst",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- },
- {
- "match_type" : "exact",
- "name" : "teid",
- "target" : ["gtpu", "teid"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [29],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes"],
- "base_default_next" : "tbl_act_2",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "tbl_act_2"
- },
- "default_entry" : {
- "action_id" : 29,
- "action_const" : true,
- "action_data" : ["0x0", "0x0", "0x0"],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.downlink_pdr_lookup",
- "id" : 5,
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 82,
- "column" : 10,
- "source_fragment" : "downlink_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "ue_addr",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [28],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes"],
- "base_default_next" : "tbl_act_2",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "tbl_act_2"
- },
- "default_entry" : {
- "action_id" : 28,
- "action_const" : true,
- "action_data" : ["0x0", "0x0", "0x0"],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_2",
- "id" : 6,
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 263,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
- },
+ "name" : "tbl_act_0",
+ "id" : 2,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -5750,25 +6711,48 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [39],
- "actions" : ["act_2"],
- "base_default_next" : "node_13",
+ "action_ids" : [45],
+ "actions" : ["act_0"],
+ "base_default_next" : "node_7",
"next_tables" : {
- "act_2" : "node_13"
+ "act_0" : "node_7"
},
"default_entry" : {
- "action_id" : 39,
+ "action_id" : 45,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "FabricIngress.spgw_ingress.decap_gtpu",
- "id" : 7,
+ "name" : "tbl_act_1",
+ "id" : 3,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [46],
+ "actions" : ["act_1"],
+ "base_default_next" : "node_7",
+ "next_tables" : {
+ "act_1" : "node_7"
+ },
+ "default_entry" : {
+ "action_id" : 46,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw.decap_gtpu_from_dbuf.decap_gtpu",
+ "id" : 4,
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 219,
+ "line" : 75,
"column" : 10,
"source_fragment" : "decap_gtpu"
},
@@ -5798,17 +6782,17 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [32, 33, 34, 35],
- "actions" : ["FabricIngress.spgw_ingress.decap_inner_tcp", "FabricIngress.spgw_ingress.decap_inner_udp", "FabricIngress.spgw_ingress.decap_inner_icmp", "FabricIngress.spgw_ingress.decap_inner_unknown"],
- "base_default_next" : "FabricIngress.spgw_ingress.far_lookup",
+ "action_ids" : [29, 30, 31, 32],
+ "actions" : ["FabricIngress.spgw.decap_gtpu_from_dbuf.decap_inner_tcp", "FabricIngress.spgw.decap_gtpu_from_dbuf.decap_inner_udp", "FabricIngress.spgw.decap_gtpu_from_dbuf.decap_inner_icmp", "FabricIngress.spgw.decap_gtpu_from_dbuf.decap_inner_unknown"],
+ "base_default_next" : "node_10",
"next_tables" : {
- "FabricIngress.spgw_ingress.decap_inner_tcp" : "FabricIngress.spgw_ingress.far_lookup",
- "FabricIngress.spgw_ingress.decap_inner_udp" : "FabricIngress.spgw_ingress.far_lookup",
- "FabricIngress.spgw_ingress.decap_inner_icmp" : "FabricIngress.spgw_ingress.far_lookup",
- "FabricIngress.spgw_ingress.decap_inner_unknown" : "FabricIngress.spgw_ingress.far_lookup"
+ "FabricIngress.spgw.decap_gtpu_from_dbuf.decap_inner_tcp" : "node_10",
+ "FabricIngress.spgw.decap_gtpu_from_dbuf.decap_inner_udp" : "node_10",
+ "FabricIngress.spgw.decap_gtpu_from_dbuf.decap_inner_icmp" : "node_10",
+ "FabricIngress.spgw.decap_gtpu_from_dbuf.decap_inner_unknown" : "node_10"
},
"default_entry" : {
- "action_id" : 35,
+ "action_id" : 32,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5817,7 +6801,7 @@
{
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 233,
+ "line" : 89,
"column" : 12,
"source_fragment" : "(true, false, false) : decap_inner_tcp()"
},
@@ -5836,7 +6820,7 @@
}
],
"action_entry" : {
- "action_id" : 32,
+ "action_id" : 29,
"action_data" : []
},
"priority" : 1
@@ -5844,7 +6828,7 @@
{
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 234,
+ "line" : 90,
"column" : 12,
"source_fragment" : "(false, true, false) : decap_inner_udp()"
},
@@ -5863,7 +6847,7 @@
}
],
"action_entry" : {
- "action_id" : 33,
+ "action_id" : 30,
"action_data" : []
},
"priority" : 2
@@ -5871,7 +6855,7 @@
{
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 235,
+ "line" : 91,
"column" : 12,
"source_fragment" : "(false, false, true) : decap_inner_icmp()"
},
@@ -5890,7 +6874,7 @@
}
],
"action_entry" : {
- "action_id" : 34,
+ "action_id" : 31,
"action_data" : []
},
"priority" : 3
@@ -5898,19 +6882,262 @@
]
},
{
- "name" : "FabricIngress.spgw_ingress.far_lookup",
+ "name" : "FabricIngress.spgw.uplink_pdrs",
+ "id" : 5,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 168,
+ "column" : 10,
+ "source_fragment" : "uplink_pdrs"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "tunnel_ipv4_dst",
+ "target" : ["ipv4", "dst_addr"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "teid",
+ "target" : ["gtpu", "teid"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [40, 8],
+ "actions" : ["FabricIngress.spgw.load_pdr", "NoAction"],
+ "base_default_next" : "node_13",
+ "next_tables" : {
+ "FabricIngress.spgw.load_pdr" : "node_13",
+ "NoAction" : "node_13"
+ },
+ "default_entry" : {
+ "action_id" : 8,
+ "action_const" : false,
+ "action_data" : [],
+ "action_entry_const" : false
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw.downlink_pdrs",
+ "id" : 6,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 157,
+ "column" : 10,
+ "source_fragment" : "downlink_pdrs"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "ue_addr",
+ "target" : ["ipv4", "dst_addr"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [39, 7],
+ "actions" : ["FabricIngress.spgw.load_pdr", "NoAction"],
+ "base_default_next" : "node_13",
+ "next_tables" : {
+ "FabricIngress.spgw.load_pdr" : "node_13",
+ "NoAction" : "node_13"
+ },
+ "default_entry" : {
+ "action_id" : 7,
+ "action_const" : false,
+ "action_data" : [],
+ "action_entry_const" : false
+ }
+ },
+ {
+ "name" : "tbl_act_2",
+ "id" : 7,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 256,
+ "column" : 16,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [47],
+ "actions" : ["act_2"],
+ "base_default_next" : "node_15",
+ "next_tables" : {
+ "act_2" : "node_15"
+ },
+ "default_entry" : {
+ "action_id" : 47,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw.decap_gtpu.decap_gtpu",
"id" : 8,
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 163,
+ "line" : 75,
"column" : 10,
- "source_fragment" : "far_lookup"
+ "source_fragment" : "decap_gtpu"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "hdr.inner_tcp.$valid$",
+ "target" : ["inner_tcp", "$valid$"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "hdr.inner_udp.$valid$",
+ "target" : ["inner_udp", "$valid$"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "hdr.inner_icmp.$valid$",
+ "target" : ["inner_icmp", "$valid$"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [33, 34, 35, 36],
+ "actions" : ["FabricIngress.spgw.decap_gtpu.decap_inner_tcp", "FabricIngress.spgw.decap_gtpu.decap_inner_udp", "FabricIngress.spgw.decap_gtpu.decap_inner_icmp", "FabricIngress.spgw.decap_gtpu.decap_inner_unknown"],
+ "base_default_next" : "FabricIngress.spgw.fars",
+ "next_tables" : {
+ "FabricIngress.spgw.decap_gtpu.decap_inner_tcp" : "FabricIngress.spgw.fars",
+ "FabricIngress.spgw.decap_gtpu.decap_inner_udp" : "FabricIngress.spgw.fars",
+ "FabricIngress.spgw.decap_gtpu.decap_inner_icmp" : "FabricIngress.spgw.fars",
+ "FabricIngress.spgw.decap_gtpu.decap_inner_unknown" : "FabricIngress.spgw.fars"
+ },
+ "default_entry" : {
+ "action_id" : 36,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ },
+ "entries" : [
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 89,
+ "column" : 12,
+ "source_fragment" : "(true, false, false) : decap_inner_tcp()"
+ },
+ "match_key" : [
+ {
+ "match_type" : "exact",
+ "key" : "0x01"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ }
+ ],
+ "action_entry" : {
+ "action_id" : 33,
+ "action_data" : []
+ },
+ "priority" : 1
+ },
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 90,
+ "column" : 12,
+ "source_fragment" : "(false, true, false) : decap_inner_udp()"
+ },
+ "match_key" : [
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x01"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ }
+ ],
+ "action_entry" : {
+ "action_id" : 34,
+ "action_data" : []
+ },
+ "priority" : 2
+ },
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 91,
+ "column" : 12,
+ "source_fragment" : "(false, false, true) : decap_inner_icmp()"
+ },
+ "match_key" : [
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x01"
+ }
+ ],
+ "action_entry" : {
+ "action_id" : 35,
+ "action_data" : []
+ },
+ "priority" : 3
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw.fars",
+ "id" : 9,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 224,
+ "column" : 10,
+ "source_fragment" : "fars"
},
"key" : [
{
"match_type" : "exact",
"name" : "far_id",
- "target" : ["scalars", "fabric_metadata_t._spgw_far_id26"],
+ "target" : ["scalars", "fabric_metadata_t._spgw_far_id25"],
"mask" : null
}
],
@@ -5920,56 +7147,28 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [30, 31],
- "actions" : ["FabricIngress.spgw_ingress.load_normal_far_attributes", "FabricIngress.spgw_ingress.load_tunnel_far_attributes"],
- "base_default_next" : "node_16",
+ "action_ids" : [41, 42, 43],
+ "actions" : ["FabricIngress.spgw.load_normal_far", "FabricIngress.spgw.load_tunnel_far", "FabricIngress.spgw.load_dbuf_far"],
+ "base_default_next" : "tbl_act_3",
"next_tables" : {
- "FabricIngress.spgw_ingress.load_normal_far_attributes" : "node_16",
- "FabricIngress.spgw_ingress.load_tunnel_far_attributes" : "node_16"
+ "FabricIngress.spgw.load_normal_far" : "tbl_act_3",
+ "FabricIngress.spgw.load_tunnel_far" : "tbl_act_3",
+ "FabricIngress.spgw.load_dbuf_far" : "tbl_act_3"
},
"default_entry" : {
- "action_id" : 30,
+ "action_id" : 41,
"action_const" : true,
- "action_data" : ["0x1", "0x1"],
+ "action_data" : ["0x1", "0x0"],
"action_entry_const" : true
}
},
{
"name" : "tbl_act_3",
- "id" : 9,
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 280,
- "column" : 38,
- "source_fragment" : "= true; ..."
- },
- "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" : "tbl_act_4",
- "next_tables" : {
- "act_3" : "tbl_act_4"
- },
- "default_entry" : {
- "action_id" : 40,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_4",
"id" : 10,
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 289,
- "column" : 32,
+ "line" : 273,
+ "column" : 36,
"source_fragment" : "="
},
"key" : [],
@@ -5979,21 +7178,21 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [41],
- "actions" : ["act_4"],
+ "action_ids" : [48],
+ "actions" : ["act_3"],
"base_default_next" : "node_19",
"next_tables" : {
- "act_4" : "node_19"
+ "act_3" : "node_19"
},
"default_entry" : {
- "action_id" : 41,
+ "action_id" : 48,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_5",
+ "name" : "tbl_act_4",
"id" : 11,
"source_info" : {
"filename" : "include/control/filtering.p4",
@@ -6008,21 +7207,21 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [42],
- "actions" : ["act_5"],
+ "action_ids" : [49],
+ "actions" : ["act_4"],
"base_default_next" : "node_21",
"next_tables" : {
- "act_5" : "node_21"
+ "act_4" : "node_21"
},
"default_entry" : {
- "action_id" : 42,
+ "action_id" : 49,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_6",
+ "name" : "tbl_act_5",
"id" : 12,
"source_info" : {
"filename" : "include/control/filtering.p4",
@@ -6037,14 +7236,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [43],
- "actions" : ["act_6"],
+ "action_ids" : [50],
+ "actions" : ["act_5"],
"base_default_next" : "FabricIngress.filtering.ingress_port_vlan",
"next_tables" : {
- "act_6" : "FabricIngress.filtering.ingress_port_vlan"
+ "act_5" : "FabricIngress.filtering.ingress_port_vlan"
},
"default_entry" : {
- "action_id" : 43,
+ "action_id" : 50,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6085,7 +7284,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [7, 8, 9],
+ "action_ids" : [9, 10, 11],
"actions" : ["FabricIngress.filtering.deny", "FabricIngress.filtering.permit", "FabricIngress.filtering.permit_with_internal_vlan"],
"base_default_next" : "FabricIngress.filtering.fwd_classifier",
"next_tables" : {
@@ -6094,7 +7293,7 @@
"FabricIngress.filtering.permit_with_internal_vlan" : "FabricIngress.filtering.fwd_classifier"
},
"default_entry" : {
- "action_id" : 7,
+ "action_id" : 9,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6141,14 +7340,14 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [10],
+ "action_ids" : [12],
"actions" : ["FabricIngress.filtering.set_forwarding_type"],
"base_default_next" : "node_25",
"next_tables" : {
"FabricIngress.filtering.set_forwarding_type" : "node_25"
},
"default_entry" : {
- "action_id" : 10,
+ "action_id" : 12,
"action_const" : true,
"action_data" : ["0x0"],
"action_entry_const" : true
@@ -6183,7 +7382,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [11, 0],
+ "action_ids" : [13, 0],
"actions" : ["FabricIngress.forwarding.set_next_id_bridging", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -6220,7 +7419,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [12, 1],
+ "action_ids" : [14, 1],
"actions" : ["FabricIngress.forwarding.pop_mpls_and_next", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -6257,7 +7456,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [13, 14, 2],
+ "action_ids" : [15, 16, 2],
"actions" : ["FabricIngress.forwarding.set_next_id_routing_v4", "FabricIngress.forwarding.nop_routing_v4", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -6361,7 +7560,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [15, 16, 17, 18, 19],
+ "action_ids" : [17, 18, 19, 20, 21],
"actions" : ["FabricIngress.acl.set_next_id_acl", "FabricIngress.acl.punt_to_cpu", "FabricIngress.acl.set_clone_session_id", "FabricIngress.acl.drop", "FabricIngress.acl.nop_acl"],
"base_default_next" : "node_33",
"next_tables" : {
@@ -6372,7 +7571,7 @@
"FabricIngress.acl.nop_acl" : "node_33"
},
"default_entry" : {
- "action_id" : 19,
+ "action_id" : 21,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6407,7 +7606,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [21, 22, 4],
+ "action_ids" : [23, 24, 4],
"actions" : ["FabricIngress.next.output_xconnect", "FabricIngress.next.set_next_id_xconnect", "nop"],
"base_default_next" : "FabricIngress.next.hashed",
"next_tables" : {
@@ -6446,7 +7645,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [23, 24, 25, 5],
+ "action_ids" : [25, 26, 27, 5],
"actions" : ["FabricIngress.next.output_hashed", "FabricIngress.next.routing_hashed", "FabricIngress.next.mpls_routing_hashed", "nop"],
"base_default_next" : "FabricIngress.next.multicast",
"next_tables" : {
@@ -6479,7 +7678,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [26, 6],
+ "action_ids" : [28, 6],
"actions" : ["FabricIngress.next.set_mcast_group_id", "nop"],
"base_default_next" : "FabricIngress.next.next_vlan",
"next_tables" : {
@@ -6516,7 +7715,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [20, 3],
+ "action_ids" : [22, 3],
"actions" : ["FabricIngress.next.set_vlan", "nop"],
"base_default_next" : "node_38",
"next_tables" : {
@@ -6531,7 +7730,7 @@
}
},
{
- "name" : "tbl_act_7",
+ "name" : "tbl_act_6",
"id" : 23,
"source_info" : {
"filename" : "include/control/port_counter.p4",
@@ -6546,21 +7745,21 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [44],
- "actions" : ["act_7"],
+ "action_ids" : [51],
+ "actions" : ["act_6"],
"base_default_next" : "node_40",
"next_tables" : {
- "act_7" : "node_40"
+ "act_6" : "node_40"
},
"default_entry" : {
- "action_id" : 44,
+ "action_id" : 51,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_8",
+ "name" : "tbl_act_7",
"id" : 24,
"source_info" : {
"filename" : "include/control/port_counter.p4",
@@ -6575,14 +7774,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [45],
- "actions" : ["act_8"],
+ "action_ids" : [52],
+ "actions" : ["act_7"],
"base_default_next" : null,
"next_tables" : {
- "act_8" : null
+ "act_7" : null
},
"default_entry" : {
- "action_id" : 45,
+ "action_id" : 52,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6649,72 +7848,58 @@
}
},
"true_next" : "tbl_act",
- "false_next" : "tbl_act_0"
+ "false_next" : "FabricIngress.spgw.interfaces"
},
{
- "name" : "node_6",
+ "name" : "node_7",
"id" : 1,
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "spgw_tmp"]
+ }
+ }
+ },
+ "true_next" : "node_8",
+ "false_next" : "node_19"
+ },
+ {
+ "name" : "node_8",
+ "id" : 2,
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 249,
- "column" : 12,
- "source_fragment" : "fabric_md.spgw.skip_spgw == true"
+ "line" : 246,
+ "column" : 16,
+ "source_fragment" : "fabric_md.spgw.src_iface == SPGW_IFACE_FROM_DBUF"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw28"]
- }
- }
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_src_iface26"]
},
"right" : {
- "type" : "bool",
- "value" : true
+ "type" : "hexstr",
+ "value" : "0x03"
}
}
},
- "true_next" : "tbl_act_1",
- "false_next" : "node_8"
+ "true_next" : "FabricIngress.spgw.decap_gtpu_from_dbuf.decap_gtpu",
+ "false_next" : "node_10"
},
{
- "name" : "node_8",
- "id" : 2,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- }
- }
- }
- }
- },
- "true_next" : "node_9",
- "false_next" : "node_19"
- },
- {
- "name" : "node_9",
+ "name" : "node_10",
"id" : 3,
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 253,
- "column" : 12,
+ "line" : 250,
+ "column" : 16,
"source_fragment" : "hdr.gtpu.isValid()"
},
"expression" : {
@@ -6728,16 +7913,42 @@
}
}
},
- "true_next" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
- "false_next" : "FabricIngress.spgw_ingress.downlink_pdr_lookup"
+ "true_next" : "FabricIngress.spgw.uplink_pdrs",
+ "false_next" : "FabricIngress.spgw.downlink_pdrs"
},
{
"name" : "node_13",
"id" : 4,
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 266,
- "column" : 12,
+ "line" : 255,
+ "column" : 16,
+ "source_fragment" : "fabric_md.spgw.src_iface != SPGW_IFACE_FROM_DBUF"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_src_iface26"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x03"
+ }
+ }
+ },
+ "true_next" : "tbl_act_2",
+ "false_next" : "node_15"
+ },
+ {
+ "name" : "node_15",
+ "id" : 5,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 260,
+ "column" : 16,
"source_fragment" : "fabric_md.spgw.needs_gtpu_decap == true"
},
"expression" : {
@@ -6751,7 +7962,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap33"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap30"]
}
}
},
@@ -6761,41 +7972,8 @@
}
}
},
- "true_next" : "FabricIngress.spgw_ingress.decap_gtpu",
- "false_next" : "FabricIngress.spgw_ingress.far_lookup"
- },
- {
- "name" : "node_16",
- "id" : 5,
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 277,
- "column" : 12,
- "source_fragment" : "fabric_md.spgw.far_dropped == true"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped30"]
- }
- }
- },
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- },
- "true_next" : "tbl_act_3",
- "false_next" : "tbl_act_4"
+ "true_next" : "FabricIngress.spgw.decap_gtpu.decap_gtpu",
+ "false_next" : "FabricIngress.spgw.fars"
},
{
"name" : "node_19",
@@ -6817,7 +7995,7 @@
}
}
},
- "true_next" : "tbl_act_5",
+ "true_next" : "tbl_act_4",
"false_next" : "node_21"
},
{
@@ -6847,7 +8025,7 @@
}
}
},
- "true_next" : "tbl_act_6",
+ "true_next" : "tbl_act_5",
"false_next" : "FabricIngress.filtering.ingress_port_vlan"
},
{
@@ -7017,7 +8195,7 @@
}
}
},
- "true_next" : "tbl_act_7",
+ "true_next" : "tbl_act_6",
"false_next" : "node_40"
},
{
@@ -7044,7 +8222,7 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_8"
+ "true_next" : "tbl_act_7"
}
]
},
@@ -7060,7 +8238,7 @@
"init_table" : "node_44",
"tables" : [
{
- "name" : "tbl_act_9",
+ "name" : "tbl_act_8",
"id" : 25,
"source_info" : {
"filename" : "include/control/packetio.p4",
@@ -7075,21 +8253,21 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [52],
- "actions" : ["act_9"],
+ "action_ids" : [59],
+ "actions" : ["act_8"],
"base_default_next" : "node_46",
"next_tables" : {
- "act_9" : "node_46"
+ "act_8" : "node_46"
},
"default_entry" : {
- "action_id" : 52,
+ "action_id" : 59,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_10",
+ "name" : "tbl_act_9",
"id" : 26,
"source_info" : {
"filename" : "include/control/packetio.p4",
@@ -7104,21 +8282,21 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [53],
- "actions" : ["act_10"],
+ "action_ids" : [60],
+ "actions" : ["act_9"],
"base_default_next" : "node_48",
"next_tables" : {
- "act_10" : "node_48"
+ "act_9" : "node_48"
},
"default_entry" : {
- "action_id" : 53,
+ "action_id" : 60,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_11",
+ "name" : "tbl_act_10",
"id" : 27,
"source_info" : {
"filename" : "include/control/next.p4",
@@ -7133,14 +8311,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [54],
- "actions" : ["act_11"],
+ "action_ids" : [61],
+ "actions" : ["act_10"],
"base_default_next" : "node_50",
"next_tables" : {
- "act_11" : "node_50"
+ "act_10" : "node_50"
},
"default_entry" : {
- "action_id" : 54,
+ "action_id" : 61,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7162,14 +8340,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [47],
+ "action_ids" : [54],
"actions" : ["FabricEgress.egress_next.pop_mpls_if_present"],
"base_default_next" : "FabricEgress.egress_next.egress_vlan",
"next_tables" : {
"FabricEgress.egress_next.pop_mpls_if_present" : "FabricEgress.egress_next.egress_vlan"
},
"default_entry" : {
- "action_id" : 47,
+ "action_id" : 54,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7191,14 +8369,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [48],
+ "action_ids" : [55],
"actions" : ["FabricEgress.egress_next.set_mpls"],
"base_default_next" : "FabricEgress.egress_next.egress_vlan",
"next_tables" : {
"FabricEgress.egress_next.set_mpls" : "FabricEgress.egress_next.egress_vlan"
},
"default_entry" : {
- "action_id" : 48,
+ "action_id" : 55,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7233,22 +8411,22 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [50, 46],
+ "action_ids" : [57, 53],
"actions" : ["FabricEgress.egress_next.pop_vlan", "nop"],
"base_default_next" : null,
"next_tables" : {
- "__HIT__" : "tbl_act_12",
- "__MISS__" : "tbl_act_13"
+ "__HIT__" : "tbl_act_11",
+ "__MISS__" : "tbl_act_12"
},
"default_entry" : {
- "action_id" : 46,
+ "action_id" : 53,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_12",
+ "name" : "tbl_act_11",
"id" : 31,
"key" : [],
"match_type" : "exact",
@@ -7257,21 +8435,21 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [55],
- "actions" : ["act_12"],
+ "action_ids" : [62],
+ "actions" : ["act_11"],
"base_default_next" : "node_57",
"next_tables" : {
- "act_12" : "node_57"
+ "act_11" : "node_57"
},
"default_entry" : {
- "action_id" : 55,
+ "action_id" : 62,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_13",
+ "name" : "tbl_act_12",
"id" : 32,
"key" : [],
"match_type" : "exact",
@@ -7280,14 +8458,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [56],
- "actions" : ["act_13"],
+ "action_ids" : [63],
+ "actions" : ["act_12"],
"base_default_next" : "node_57",
"next_tables" : {
- "act_13" : "node_57"
+ "act_12" : "node_57"
},
"default_entry" : {
- "action_id" : 56,
+ "action_id" : 63,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7309,21 +8487,21 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [49],
+ "action_ids" : [56],
"actions" : ["FabricEgress.egress_next.push_vlan"],
"base_default_next" : "node_60",
"next_tables" : {
"FabricEgress.egress_next.push_vlan" : "node_60"
},
"default_entry" : {
- "action_id" : 49,
+ "action_id" : 56,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_14",
+ "name" : "tbl_act_13",
"id" : 34,
"source_info" : {
"filename" : "include/control/next.p4",
@@ -7338,21 +8516,21 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [58],
- "actions" : ["act_15"],
+ "action_ids" : [65],
+ "actions" : ["act_14"],
"base_default_next" : "node_62",
"next_tables" : {
- "act_15" : "node_62"
+ "act_14" : "node_62"
},
"default_entry" : {
- "action_id" : 58,
+ "action_id" : 65,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_15",
+ "name" : "tbl_act_14",
"id" : 35,
"source_info" : {
"filename" : "include/control/next.p4",
@@ -7367,21 +8545,21 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [57],
- "actions" : ["act_14"],
- "base_default_next" : "tbl_act_18",
+ "action_ids" : [64],
+ "actions" : ["act_13"],
+ "base_default_next" : "node_68",
"next_tables" : {
- "act_14" : "tbl_act_18"
+ "act_13" : "node_68"
},
"default_entry" : {
- "action_id" : 57,
+ "action_id" : 64,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_16",
+ "name" : "tbl_act_15",
"id" : 36,
"source_info" : {
"filename" : "include/control/next.p4",
@@ -7396,21 +8574,21 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [60],
- "actions" : ["act_17"],
+ "action_ids" : [67],
+ "actions" : ["act_16"],
"base_default_next" : "node_66",
"next_tables" : {
- "act_17" : "node_66"
+ "act_16" : "node_66"
},
"default_entry" : {
- "action_id" : 60,
+ "action_id" : 67,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_17",
+ "name" : "tbl_act_16",
"id" : 37,
"source_info" : {
"filename" : "include/control/next.p4",
@@ -7425,107 +8603,26 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [59],
- "actions" : ["act_16"],
- "base_default_next" : "tbl_act_18",
+ "action_ids" : [66],
+ "actions" : ["act_15"],
+ "base_default_next" : "node_68",
"next_tables" : {
- "act_16" : "tbl_act_18"
+ "act_15" : "node_68"
},
"default_entry" : {
- "action_id" : 59,
+ "action_id" : 66,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_18",
+ "name" : "tbl_spgw_gtpu_encap",
"id" : 38,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [62],
- "actions" : ["act_19"],
- "base_default_next" : "node_69",
- "next_tables" : {
- "act_19" : "node_69"
- },
- "default_entry" : {
- "action_id" : 62,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_19",
- "id" : 39,
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 343,
- "column" : 46,
- "source_fragment" : "return"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [61],
- "actions" : ["act_18"],
- "base_default_next" : "node_71",
- "next_tables" : {
- "act_18" : "node_71"
- },
- "default_entry" : {
- "action_id" : 61,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_20",
- "id" : 40,
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 344,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [63],
- "actions" : ["act_20"],
- "base_default_next" : "node_73",
- "next_tables" : {
- "act_20" : "node_73"
- },
- "default_entry" : {
- "action_id" : 63,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_spgw_egress_gtpu_encap",
- "id" : 41,
- "source_info" : {
- "filename" : "include/control/spgw.p4",
- "line" : 347,
- "column" : 12,
+ "line" : 330,
+ "column" : 16,
"source_fragment" : "gtpu_encap()"
},
"key" : [],
@@ -7535,14 +8632,43 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [51],
- "actions" : ["FabricEgress.spgw_egress.gtpu_encap"],
- "base_default_next" : null,
+ "action_ids" : [58],
+ "actions" : ["FabricEgress.spgw.gtpu_encap"],
+ "base_default_next" : "node_71",
"next_tables" : {
- "FabricEgress.spgw_egress.gtpu_encap" : null
+ "FabricEgress.spgw.gtpu_encap" : "node_71"
},
"default_entry" : {
- "action_id" : 51,
+ "action_id" : 58,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_17",
+ "id" : 39,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 333,
+ "column" : 16,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [68],
+ "actions" : ["act_17"],
+ "base_default_next" : null,
+ "next_tables" : {
+ "act_17" : null
+ },
+ "default_entry" : {
+ "action_id" : 68,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7581,7 +8707,7 @@
}
}
},
- "true_next" : "tbl_act_9",
+ "true_next" : "tbl_act_8",
"false_next" : "node_46"
},
{
@@ -7607,7 +8733,7 @@
}
}
},
- "true_next" : "tbl_act_10",
+ "true_next" : "tbl_act_9",
"false_next" : "node_48"
},
{
@@ -7660,7 +8786,7 @@
}
}
},
- "true_next" : "tbl_act_11",
+ "true_next" : "tbl_act_10",
"false_next" : "node_50"
},
{
@@ -7788,7 +8914,7 @@
}
}
},
- "true_next" : "tbl_act_14",
+ "true_next" : "tbl_act_13",
"false_next" : "node_64"
},
{
@@ -7814,8 +8940,8 @@
}
}
},
- "true_next" : "tbl_act_15",
- "false_next" : "tbl_act_18"
+ "true_next" : "tbl_act_14",
+ "false_next" : "node_68"
},
{
"name" : "node_64",
@@ -7857,8 +8983,8 @@
}
}
},
- "true_next" : "tbl_act_16",
- "false_next" : "tbl_act_18"
+ "true_next" : "tbl_act_15",
+ "false_next" : "node_68"
},
{
"name" : "node_66",
@@ -7883,17 +9009,17 @@
}
}
},
- "true_next" : "tbl_act_17",
- "false_next" : "tbl_act_18"
+ "true_next" : "tbl_act_16",
+ "false_next" : "node_68"
},
{
- "name" : "node_69",
+ "name" : "node_68",
"id" : 26,
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 343,
+ "line" : 328,
"column" : 12,
- "source_fragment" : "fabric_md.spgw.skip_spgw == true"
+ "source_fragment" : "fabric_md.spgw.skip_spgw == false"
},
"expression" : {
"type" : "expression",
@@ -7906,50 +9032,26 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw28"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw27"]
}
}
},
"right" : {
"type" : "bool",
- "value" : true
- }
- }
- },
- "true_next" : "tbl_act_19",
- "false_next" : "node_71"
- },
- {
- "name" : "node_71",
- "id" : 27,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_egress_hasReturned"]
- }
- }
+ "value" : false
}
}
},
"false_next" : null,
- "true_next" : "tbl_act_20"
+ "true_next" : "node_69"
},
{
- "name" : "node_73",
- "id" : 28,
+ "name" : "node_69",
+ "id" : 27,
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 346,
- "column" : 12,
+ "line" : 329,
+ "column" : 16,
"source_fragment" : "fabric_md.spgw.needs_gtpu_encap == true"
},
"expression" : {
@@ -7963,7 +9065,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap32"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap29"]
}
}
},
@@ -7973,8 +9075,41 @@
}
}
},
+ "true_next" : "tbl_spgw_gtpu_encap",
+ "false_next" : "node_71"
+ },
+ {
+ "name" : "node_71",
+ "id" : 28,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 332,
+ "column" : 16,
+ "source_fragment" : "fabric_md.spgw.skip_egress_pdr_ctr == false"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_egress_pdr_ctr31"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : false
+ }
+ }
+ },
"false_next" : null,
- "true_next" : "tbl_spgw_egress_gtpu_encap"
+ "true_next" : "tbl_act_17"
}
]
}
@@ -8011,7 +9146,7 @@
"id" : 1,
"source_info" : {
"filename" : "include/control/spgw.p4",
- "line" : 362,
+ "line" : 349,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},