Backport fabric-spgw TNA changes to v1model
Allow building fabric.p4 with custom S1U_SGW_PREFIX
Change-Id: I4fcaf3f2b56e6d024e54f8897467c280be73e001
Backport fabric-spgw TNA changes to v1model
This branch ports the SPGW pipeline of fabric-tna back to v1model to
make the tables and actions consistent across the two versions. This
consistency will allow for testing of ONOS apps on both software and
hardware targets, since the only available software target that works
with ONOS requires v1model p4 programs. Changes to the fabric testing
suite (fabric-p4test) will be pushed in parallel.
Change-Id: Iad393b27f08a4fcd29f82e59d181871475ef2b10
diff --git a/pipelines/fabric/impl/src/main/java/org/onosproject/pipelines/fabric/impl/behaviour/FabricConstants.java b/pipelines/fabric/impl/src/main/java/org/onosproject/pipelines/fabric/impl/behaviour/FabricConstants.java
index 97da065..b8a3143 100644
--- a/pipelines/fabric/impl/src/main/java/org/onosproject/pipelines/fabric/impl/behaviour/FabricConstants.java
+++ b/pipelines/fabric/impl/src/main/java/org/onosproject/pipelines/fabric/impl/behaviour/FabricConstants.java
@@ -53,53 +53,51 @@
PiMatchFieldId.of("ipv6_src");
public static final PiMatchFieldId HDR_ETH_SRC =
PiMatchFieldId.of("eth_src");
- public static final PiMatchFieldId HDR_FAR_ID = PiMatchFieldId.of("far_id");
+ public static final PiMatchFieldId HDR_S_TAG = PiMatchFieldId.of("s_tag");
public static final PiMatchFieldId HDR_VLAN_ID =
PiMatchFieldId.of("vlan_id");
- public static final PiMatchFieldId HDR_ICMP_CODE =
- PiMatchFieldId.of("icmp_code");
public static final PiMatchFieldId HDR_ETH_DST =
PiMatchFieldId.of("eth_dst");
- public static final PiMatchFieldId HDR_S_TAG = PiMatchFieldId.of("s_tag");
+ public static final PiMatchFieldId HDR_ICMP_TYPE =
+ PiMatchFieldId.of("icmp_type");
public static final PiMatchFieldId HDR_IPV4_DST =
PiMatchFieldId.of("ipv4_dst");
public static final PiMatchFieldId HDR_IPV6_TRAFFIC_CLASS =
PiMatchFieldId.of("ipv6_traffic_class");
- public static final PiMatchFieldId HDR_IPV4_PREFIX =
- PiMatchFieldId.of("ipv4_prefix");
+ public static final PiMatchFieldId HDR_TUNNEL_IPV4_DST =
+ PiMatchFieldId.of("tunnel_ipv4_dst");
public static final PiMatchFieldId HDR_ETH_TYPE =
PiMatchFieldId.of("eth_type");
- public static final PiMatchFieldId HDR_PPPOE_SESSION_ID =
- PiMatchFieldId.of("pppoe_session_id");
+ public static final PiMatchFieldId HDR_GTPU_IS_VALID =
+ PiMatchFieldId.of("gtpu_is_valid");
+ public static final PiMatchFieldId HDR_NEXT_ID =
+ PiMatchFieldId.of("next_id");
public static final PiMatchFieldId HDR_IP_ETH_TYPE =
PiMatchFieldId.of("ip_eth_type");
public static final PiMatchFieldId HDR_L4_SPORT =
PiMatchFieldId.of("l4_sport");
- public static final PiMatchFieldId HDR_ICMP_TYPE =
- PiMatchFieldId.of("icmp_type");
+ public static final PiMatchFieldId HDR_ICMP_CODE =
+ PiMatchFieldId.of("icmp_code");
public static final PiMatchFieldId HDR_INNER_VLAN_ID =
PiMatchFieldId.of("inner_vlan_id");
public static final PiMatchFieldId HDR_IPV4_ECN =
PiMatchFieldId.of("ipv4_ecn");
- public static final PiMatchFieldId HDR_TUNNEL_IPV4_DST =
- PiMatchFieldId.of("tunnel_ipv4_dst");
+ public static final PiMatchFieldId HDR_PPPOE_SESSION_ID =
+ PiMatchFieldId.of("pppoe_session_id");
public static final PiMatchFieldId HDR_EG_SPEC =
PiMatchFieldId.of("eg_spec");
+ public static final PiMatchFieldId HDR_IPV4_DST_ADDR =
+ PiMatchFieldId.of("ipv4_dst_addr");
public static final PiMatchFieldId HDR_LINE_ID =
PiMatchFieldId.of("line_id");
- public static final PiMatchFieldId HDR_SPGW_DIRECTION =
- PiMatchFieldId.of("spgw_direction");
public static final PiMatchFieldId HDR_IPV4_DSCP =
PiMatchFieldId.of("ipv4_dscp");
- public static final PiMatchFieldId HDR_NEXT_ID =
- PiMatchFieldId.of("next_id");
+ public static final PiMatchFieldId HDR_FAR_ID = PiMatchFieldId.of("far_id");
public static final PiMatchFieldId HDR_EG_PORT =
PiMatchFieldId.of("eg_port");
public static final PiMatchFieldId HDR_UE_ADDR =
PiMatchFieldId.of("ue_addr");
public static final PiMatchFieldId HDR_TEID = PiMatchFieldId.of("teid");
- public static final PiMatchFieldId HDR_GTP_IPV4_DST =
- PiMatchFieldId.of("gtp_ipv4_dst");
public static final PiMatchFieldId HDR_INT_IS_VALID =
PiMatchFieldId.of("int_is_valid");
public static final PiMatchFieldId HDR_MPLS_LABEL =
@@ -149,14 +147,12 @@
PiTableId.of("FabricIngress.bng_ingress.upstream.t_pppoe_term_v4");
public static final PiTableId FABRIC_INGRESS_BNG_INGRESS_UPSTREAM_T_PPPOE_TERM_V6 =
PiTableId.of("FabricIngress.bng_ingress.upstream.t_pppoe_term_v6");
- public static final PiTableId FABRIC_INGRESS_SPGW_INGRESS_DOWNLINK_FILTER_TABLE =
- PiTableId.of("FabricIngress.spgw_ingress.downlink_filter_table");
- public static final PiTableId FABRIC_INGRESS_SPGW_INGRESS_FLEXIBLE_PDR_LOOKUP =
- PiTableId.of("FabricIngress.spgw_ingress.flexible_pdr_lookup");
- public static final PiTableId FABRIC_INGRESS_SPGW_INGRESS_UPLINK_FILTER_TABLE =
- PiTableId.of("FabricIngress.spgw_ingress.uplink_filter_table");
+ public static final PiTableId FABRIC_INGRESS_FORWARDING_BRIDGING =
+ PiTableId.of("FabricIngress.forwarding.bridging");
public static final PiTableId FABRIC_INGRESS_BNG_INGRESS_DOWNSTREAM_T_LINE_SESSION_MAP =
PiTableId.of("FabricIngress.bng_ingress.downstream.t_line_session_map");
+ public static final PiTableId FABRIC_INGRESS_SPGW_INGRESS_INTERFACE_LOOKUP =
+ PiTableId.of("FabricIngress.spgw_ingress.interface_lookup");
public static final PiTableId FABRIC_EGRESS_EGRESS_NEXT_EGRESS_VLAN =
PiTableId.of("FabricEgress.egress_next.egress_vlan");
public static final PiTableId FABRIC_INGRESS_PROCESS_SET_SOURCE_SINK_TB_SET_SINK =
@@ -169,15 +165,13 @@
PiTableId.of("FabricIngress.bng_ingress.downstream.t_qos_v6");
public static final PiTableId FABRIC_INGRESS_BNG_INGRESS_DOWNSTREAM_T_QOS_V4 =
PiTableId.of("FabricIngress.bng_ingress.downstream.t_qos_v4");
- public static final PiTableId FABRIC_INGRESS_FORWARDING_BRIDGING =
- PiTableId.of("FabricIngress.forwarding.bridging");
// Indirect Counter IDs
+ public static final PiCounterId FABRIC_EGRESS_SPGW_EGRESS_PDR_COUNTER =
+ PiCounterId.of("FabricEgress.spgw_egress.pdr_counter");
public static final PiCounterId FABRIC_INGRESS_SPGW_INGRESS_PDR_COUNTER =
PiCounterId.of("FabricIngress.spgw_ingress.pdr_counter");
public static final PiCounterId FABRIC_EGRESS_BNG_EGRESS_DOWNSTREAM_C_LINE_TX =
PiCounterId.of("FabricEgress.bng_egress.downstream.c_line_tx");
- public static final PiCounterId FABRIC_EGRESS_SPGW_EGRESS_PDR_COUNTER =
- PiCounterId.of("FabricEgress.spgw_egress.pdr_counter");
public static final PiCounterId FABRIC_INGRESS_PORT_COUNTERS_CONTROL_EGRESS_PORT_COUNTER =
PiCounterId.of("FabricIngress.port_counters_control.egress_port_counter");
public static final PiCounterId FABRIC_INGRESS_BNG_INGRESS_UPSTREAM_C_DROPPED =
@@ -222,6 +216,8 @@
public static final PiCounterId FABRIC_INGRESS_FORWARDING_MPLS_COUNTER =
PiCounterId.of("FabricIngress.forwarding.mpls_counter");
// Action IDs
+ public static final PiActionId FABRIC_EGRESS_BNG_EGRESS_DOWNSTREAM_ENCAP_V4 =
+ PiActionId.of("FabricEgress.bng_egress.downstream.encap_v4");
public static final PiActionId FABRIC_INGRESS_NEXT_SET_NEXT_ID_XCONNECT =
PiActionId.of("FabricIngress.next.set_next_id_xconnect");
public static final PiActionId FABRIC_INGRESS_FORWARDING_NOP_ROUTING_V4 =
@@ -240,8 +236,8 @@
PiActionId.of("FabricIngress.next.set_double_vlan");
public static final PiActionId FABRIC_EGRESS_PROCESS_INT_MAIN_PROCESS_INT_TRANSIT_INIT_METADATA =
PiActionId.of("FabricEgress.process_int_main.process_int_transit.init_metadata");
- public static final PiActionId FABRIC_INGRESS_SPGW_INGRESS_LOAD_TUNNEL_FAR_ATTRIBUTES =
- PiActionId.of("FabricIngress.spgw_ingress.load_tunnel_far_attributes");
+ public static final PiActionId FABRIC_INGRESS_ACL_DROP =
+ PiActionId.of("FabricIngress.acl.drop");
public static final PiActionId FABRIC_INGRESS_ACL_SET_CLONE_SESSION_ID =
PiActionId.of("FabricIngress.acl.set_clone_session_id");
public static final PiActionId FABRIC_INGRESS_BNG_INGRESS_UPSTREAM_PUNT_TO_CPU =
@@ -270,10 +266,14 @@
PiActionId.of("FabricIngress.forwarding.set_next_id_routing_v6");
public static final PiActionId FABRIC_INGRESS_NEXT_ROUTING_SIMPLE =
PiActionId.of("FabricIngress.next.routing_simple");
- public static final PiActionId FABRIC_EGRESS_BNG_EGRESS_DOWNSTREAM_ENCAP_V4 =
- PiActionId.of("FabricEgress.bng_egress.downstream.encap_v4");
+ public static final PiActionId FABRIC_INGRESS_SPGW_INGRESS_DECAP_INNER_TCP =
+ PiActionId.of("FabricIngress.spgw_ingress.decap_inner_tcp");
+ public static final PiActionId FABRIC_INGRESS_SPGW_INGRESS_DECAP_INNER_ICMP =
+ PiActionId.of("FabricIngress.spgw_ingress.decap_inner_icmp");
public static final PiActionId FABRIC_INGRESS_NEXT_OUTPUT_HASHED =
PiActionId.of("FabricIngress.next.output_hashed");
+ public static final PiActionId FABRIC_INGRESS_SPGW_INGRESS_DECAP_INNER_UDP =
+ PiActionId.of("FabricIngress.spgw_ingress.decap_inner_udp");
public static final PiActionId FABRIC_INGRESS_FORWARDING_POP_MPLS_AND_NEXT =
PiActionId.of("FabricIngress.forwarding.pop_mpls_and_next");
public static final PiActionId FABRIC_EGRESS_BNG_EGRESS_DOWNSTREAM_ENCAP_V6 =
@@ -294,11 +294,15 @@
PiActionId.of("FabricIngress.bng_ingress.upstream.term_enabled_v6");
public static final PiActionId FABRIC_INGRESS_BNG_INGRESS_UPSTREAM_TERM_ENABLED_V4 =
PiActionId.of("FabricIngress.bng_ingress.upstream.term_enabled_v4");
+ public static final PiActionId FABRIC_INGRESS_SPGW_INGRESS_DECAP_INNER_UNKNOWN =
+ PiActionId.of("FabricIngress.spgw_ingress.decap_inner_unknown");
public static final PiActionId FABRIC_INGRESS_PROCESS_SET_SOURCE_SINK_INT_SET_SOURCE =
PiActionId.of("FabricIngress.process_set_source_sink.int_set_source");
public static final PiActionId NOP = PiActionId.of("nop");
public static final PiActionId FABRIC_INGRESS_NEXT_OUTPUT_SIMPLE =
PiActionId.of("FabricIngress.next.output_simple");
+ public static final PiActionId FABRIC_INGRESS_SPGW_INGRESS_SET_SOURCE_IFACE =
+ PiActionId.of("FabricIngress.spgw_ingress.set_source_iface");
public static final PiActionId FABRIC_INGRESS_FILTERING_DENY =
PiActionId.of("FabricIngress.filtering.deny");
public static final PiActionId FABRIC_INGRESS_BNG_INGRESS_DOWNSTREAM_SET_SESSION =
@@ -312,14 +316,16 @@
public static final PiActionId NO_ACTION = PiActionId.of("NoAction");
public static final PiActionId FABRIC_INGRESS_NEXT_OUTPUT_XCONNECT =
PiActionId.of("FabricIngress.next.output_xconnect");
- public static final PiActionId FABRIC_INGRESS_ACL_DROP =
- PiActionId.of("FabricIngress.acl.drop");
+ public static final PiActionId FABRIC_INGRESS_SPGW_INGRESS_LOAD_TUNNEL_FAR_ATTRIBUTES =
+ PiActionId.of("FabricIngress.spgw_ingress.load_tunnel_far_attributes");
// Action Param IDs
public static final PiActionParamId DMAC = PiActionParamId.of("dmac");
public static final PiActionParamId MON_PORT =
PiActionParamId.of("mon_port");
public static final PiActionParamId NOTIFY_CP =
PiActionParamId.of("notify_cp");
+ public static final PiActionParamId SRC_IFACE =
+ PiActionParamId.of("src_iface");
public static final PiActionParamId SWITCH_ID =
PiActionParamId.of("switch_id");
public static final PiActionParamId SMAC = PiActionParamId.of("smac");
@@ -329,14 +335,20 @@
public static final PiActionParamId VLAN_ID = PiActionParamId.of("vlan_id");
public static final PiActionParamId TUNNEL_SRC_ADDR =
PiActionParamId.of("tunnel_src_addr");
+ public static final PiActionParamId TUNNEL_SRC_PORT =
+ PiActionParamId.of("tunnel_src_port");
public static final PiActionParamId LABEL = PiActionParamId.of("label");
public static final PiActionParamId SRC_IP = PiActionParamId.of("src_ip");
+ public static final PiActionParamId SKIP_SPGW =
+ PiActionParamId.of("skip_spgw");
public static final PiActionParamId MON_MAC = PiActionParamId.of("mon_mac");
public static final PiActionParamId NEXT_ID = PiActionParamId.of("next_id");
public static final PiActionParamId INS_CNT = PiActionParamId.of("ins_cnt");
public static final PiActionParamId SRC_MAC = PiActionParamId.of("src_mac");
public static final PiActionParamId INNER_VLAN_ID =
PiActionParamId.of("inner_vlan_id");
+ public static final PiActionParamId DIRECTION =
+ PiActionParamId.of("direction");
public static final PiActionParamId PPPOE_SESSION_ID =
PiActionParamId.of("pppoe_session_id");
public static final PiActionParamId CTR_ID = PiActionParamId.of("ctr_id");
@@ -348,6 +360,8 @@
PiActionParamId.of("fwd_type");
public static final PiActionParamId OUTER_VLAN_ID =
PiActionParamId.of("outer_vlan_id");
+ public static final PiActionParamId NEEDS_GTPU_DECAP =
+ PiActionParamId.of("needs_gtpu_decap");
public static final PiActionParamId INS_MASK0407 =
PiActionParamId.of("ins_mask0407");
public static final PiActionParamId TEID = PiActionParamId.of("teid");
diff --git a/pipelines/fabric/impl/src/main/resources/fabric.p4 b/pipelines/fabric/impl/src/main/resources/fabric.p4
index 86bd764..9f6b27d 100644
--- a/pipelines/fabric/impl/src/main/resources/fabric.p4
+++ b/pipelines/fabric/impl/src/main/resources/fabric.p4
@@ -32,7 +32,7 @@
#endif // WITH_PORT_COUNTER
#ifdef WITH_SPGW
-#include "include/spgw.p4"
+#include "include/control/spgw.p4"
#endif // WITH_SPGW
#ifdef WITH_BNG
@@ -55,19 +55,17 @@
#ifdef WITH_PORT_COUNTER
PortCountersControl() port_counters_control;
#endif // WITH_PORT_COUNTER
+#ifdef WITH_SPGW
+ SpgwIngress() spgw_ingress;
+#endif // WITH_SPGW
apply {
_PRE_INGRESS
-#ifdef WITH_SPGW
- spgw_normalizer.apply(hdr.gtpu.isValid(), hdr.gtpu_ipv4, hdr.gtpu_udp,
- hdr.ipv4, hdr.udp, hdr.inner_ipv4, hdr.inner_udp);
-#endif // WITH_SPGW
pkt_io_ingress.apply(hdr, fabric_metadata, standard_metadata);
- filtering.apply(hdr, fabric_metadata, standard_metadata);
#ifdef WITH_SPGW
- spgw_ingress.apply(hdr.gtpu_ipv4, hdr.gtpu_udp, hdr.gtpu,
- hdr.ipv4, hdr.udp, fabric_metadata, standard_metadata);
+ spgw_ingress.apply(hdr, fabric_metadata, standard_metadata);
#endif // WITH_SPGW
+ filtering.apply(hdr, fabric_metadata, standard_metadata);
if (fabric_metadata.skip_forwarding == _FALSE) {
forwarding.apply(hdr, fabric_metadata, standard_metadata);
}
@@ -96,14 +94,16 @@
PacketIoEgress() pkt_io_egress;
EgressNextControl() egress_next;
+#ifdef WITH_SPGW
+ SpgwEgress() spgw_egress;
+#endif // WITH_SPGW
apply {
_PRE_EGRESS
pkt_io_egress.apply(hdr, fabric_metadata, standard_metadata);
egress_next.apply(hdr, fabric_metadata, standard_metadata);
#ifdef WITH_SPGW
- spgw_egress.apply(hdr.ipv4, hdr.gtpu_ipv4, hdr.gtpu_udp, hdr.gtpu,
- fabric_metadata, standard_metadata);
+ spgw_egress.apply(hdr, fabric_metadata);
#endif // WITH_SPGW
#ifdef WITH_BNG
bng_egress.apply(hdr, fabric_metadata, standard_metadata);
diff --git a/pipelines/fabric/impl/src/main/resources/include/checksum.p4 b/pipelines/fabric/impl/src/main/resources/include/checksum.p4
index a10a393..2496002 100644
--- a/pipelines/fabric/impl/src/main/resources/include/checksum.p4
+++ b/pipelines/fabric/impl/src/main/resources/include/checksum.p4
@@ -18,7 +18,7 @@
#define __CHECKSUM__
#ifdef WITH_SPGW
-#include "spgw.p4"
+#include "control/spgw.p4"
#endif // WITH_SPGW
control FabricComputeChecksum(inout parsed_headers_t hdr,
diff --git a/pipelines/fabric/impl/src/main/resources/include/control/spgw.p4 b/pipelines/fabric/impl/src/main/resources/include/control/spgw.p4
new file mode 100644
index 0000000..b1bbcaf
--- /dev/null
+++ b/pipelines/fabric/impl/src/main/resources/include/control/spgw.p4
@@ -0,0 +1,408 @@
+/*
+ * Copyright 2017-present Open Networking Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __SPGW__
+#define __SPGW__
+
+#define DEFAULT_PDR_CTR_ID 0
+#define DEFAULT_FAR_ID 0
+
+#ifndef MAX_UES
+#define MAX_UES 1024
+#endif // MAX_UES
+#define MAX_INTERFACES 128
+
+#define MAX_UPLINK_PDRS MAX_UES
+#define MAX_DOWNLINK_PDRS MAX_UES
+#define MAX_PDR_COUNTERS 2 * MAX_UES
+#define MAX_FARS 2 * MAX_UES
+
+
+
+control SpgwIngress(inout parsed_headers_t hdr,
+ inout fabric_metadata_t fabric_md,
+ inout standard_metadata_t standard_metadata) {
+
+
+
+
+ //=============================//
+ //===== Interface Tables ======//
+ //=============================//
+
+ action set_source_iface(spgw_interface_t src_iface, direction_t direction,
+ bit<1> skip_spgw) {
+ // Interface type can be access, core, n6_lan, etc (see InterfaceType enum)
+ // If interface is from the control plane, direction can be either up or down
+ fabric_md.spgw.src_iface = src_iface;
+ fabric_md.spgw.direction = direction;
+ fabric_md.spgw.skip_spgw = (_BOOL)skip_spgw;
+ }
+ // TODO: check also that gtpu.msgtype == GTP_GPDU... somewhere
+ table interface_lookup {
+ key = {
+ hdr.ipv4.dst_addr : lpm @name("ipv4_dst_addr"); // outermost header
+ hdr.gtpu.isValid() : exact @name("gtpu_is_valid");
+ }
+ actions = {
+ set_source_iface;
+ }
+ const default_action = set_source_iface(SPGW_IFACE_UNKNOWN, SPGW_DIR_UNKNOWN, 1);
+ size = MAX_INTERFACES;
+ }
+
+
+ //=============================//
+ //===== PDR Tables ======//
+ //=============================//
+
+ action set_pdr_attributes(pdr_ctr_id_t ctr_id,
+ far_id_t far_id,
+ bit<1> needs_gtpu_decap) {
+ fabric_md.spgw.pdr_hit = _TRUE;
+ fabric_md.spgw.ctr_id = ctr_id;
+ fabric_md.spgw.far_id = far_id;
+ fabric_md.spgw.needs_gtpu_decap = (_BOOL)needs_gtpu_decap;
+ }
+
+ // These two tables scale well and cover the average case PDR
+ table downlink_pdr_lookup {
+ key = {
+ // only available ipv4 header
+ hdr.ipv4.dst_addr : exact @name("ue_addr");
+ }
+ actions = {
+ set_pdr_attributes;
+ }
+ const default_action = set_pdr_attributes(DEFAULT_PDR_CTR_ID, DEFAULT_FAR_ID, 0);
+ size = MAX_DOWNLINK_PDRS;
+ }
+ table uplink_pdr_lookup {
+ key = {
+ // tunnel_dst_addr will be static for Q2 target. Can remove if need more scaling
+ hdr.ipv4.dst_addr : exact @name("tunnel_ipv4_dst");
+ hdr.gtpu.teid : exact @name("teid");
+ hdr.inner_ipv4.src_addr : exact @name("ue_addr");
+ }
+ actions = {
+ set_pdr_attributes;
+ }
+ const default_action = set_pdr_attributes(DEFAULT_PDR_CTR_ID, DEFAULT_FAR_ID, 0);
+ size = MAX_UPLINK_PDRS;
+ }
+ // This table scales poorly and covers uncommon PDRs
+ table flexible_pdr_lookup {
+ key = {
+ fabric_md.spgw.src_iface : ternary @name("src_iface");
+ // GTPU
+ hdr.gtpu.isValid() : ternary @name("gtpu_is_valid");
+ hdr.gtpu.teid : ternary @name("teid");
+ // SDF
+ // outer 5-tuple
+ hdr.ipv4.src_addr : ternary @name("ipv4_src");
+ hdr.ipv4.dst_addr : ternary @name("ipv4_dst");
+ hdr.ipv4.protocol : ternary @name("ip_proto");
+ fabric_md.l4_sport : ternary @name("l4_sport");
+ fabric_md.l4_dport : ternary @name("l4_dport");
+ // inner 5-tuple
+ hdr.inner_ipv4.src_addr : ternary @name("inner_ipv4_src");
+ hdr.inner_ipv4.dst_addr : ternary @name("inner_ipv4_dst");
+ hdr.inner_ipv4.protocol : ternary @name("inner_ip_proto");
+ fabric_md.inner_l4_sport : ternary @name("inner_l4_sport");
+ fabric_md.inner_l4_dport : ternary @name("inner_l4_dport");
+ }
+ actions = {
+ set_pdr_attributes;
+ }
+ const default_action = set_pdr_attributes(DEFAULT_PDR_CTR_ID, DEFAULT_FAR_ID, 0);
+ }
+
+ //=============================//
+ //===== FAR Tables ======//
+ //=============================//
+
+ action load_normal_far_attributes(bit<1> drop,
+ bit<1> notify_cp) {
+ // general far attributes
+ fabric_md.spgw.far_dropped = (_BOOL)drop;
+ fabric_md.spgw.notify_spgwc = (_BOOL)notify_cp;
+ }
+ action load_tunnel_far_attributes(bit<1> drop,
+ bit<1> notify_cp,
+ bit<16> tunnel_src_port,
+ bit<32> tunnel_src_addr,
+ bit<32> tunnel_dst_addr,
+ teid_t teid) {
+ // general far attributes
+ fabric_md.spgw.far_dropped = (_BOOL)drop;
+ fabric_md.spgw.notify_spgwc = (_BOOL)notify_cp;
+ // GTP tunnel attributes
+ fabric_md.spgw.needs_gtpu_encap = _TRUE;
+ fabric_md.spgw.teid = teid;
+ fabric_md.spgw.tunnel_src_port = tunnel_src_port;
+ fabric_md.spgw.tunnel_src_addr = tunnel_src_addr;
+ fabric_md.spgw.tunnel_dst_addr = tunnel_dst_addr;
+ // update metadata for correct routing/hashing
+ fabric_md.ipv4_src_addr = tunnel_src_addr;
+ fabric_md.ipv4_dst_addr = tunnel_dst_addr;
+ fabric_md.l4_sport = tunnel_src_port;
+ fabric_md.l4_dport = UDP_PORT_GTPU;
+ }
+
+ table far_lookup {
+ key = {
+ fabric_md.spgw.far_id : exact @name("far_id");
+ }
+ actions = {
+ load_normal_far_attributes;
+ load_tunnel_far_attributes;
+ }
+ // default is drop and don't notify CP
+ const default_action = load_normal_far_attributes(1, 1);
+ size = MAX_FARS;
+ }
+
+ //=============================//
+ //===== Misc Things ======//
+ //=============================//
+
+ counter(MAX_PDR_COUNTERS, CounterType.packets_and_bytes) pdr_counter;
+
+
+ @hidden
+ action decap_inner_common() {
+ // Correct parser-set metadata to use the inner header values
+ fabric_md.ip_eth_type = ETHERTYPE_IPV4;
+ fabric_md.ip_proto = hdr.inner_ipv4.protocol;
+ fabric_md.ipv4_src_addr = hdr.inner_ipv4.src_addr;
+ fabric_md.ipv4_dst_addr = hdr.inner_ipv4.dst_addr;
+ fabric_md.l4_sport = fabric_md.inner_l4_sport;
+ fabric_md.l4_dport = fabric_md.inner_l4_dport;
+ // Move GTPU and inner L3 headers out
+ hdr.ipv4 = hdr.inner_ipv4;
+ hdr.inner_ipv4.setInvalid();
+ hdr.gtpu.setInvalid();
+ }
+ action decap_inner_tcp() {
+ decap_inner_common();
+ hdr.udp.setInvalid();
+ hdr.tcp = hdr.inner_tcp;
+ hdr.inner_tcp.setInvalid();
+ }
+ action decap_inner_udp() {
+ decap_inner_common();
+ hdr.udp = hdr.inner_udp;
+ hdr.inner_udp.setInvalid();
+ }
+ action decap_inner_icmp() {
+ decap_inner_common();
+ hdr.udp.setInvalid();
+ hdr.icmp = hdr.inner_icmp;
+ hdr.inner_icmp.setInvalid();
+ }
+ action decap_inner_unknown() {
+ decap_inner_common();
+ hdr.udp.setInvalid();
+ }
+ @hidden
+ table decap_gtpu {
+ key = {
+ hdr.inner_tcp.isValid() : exact;
+ hdr.inner_udp.isValid() : exact;
+ hdr.inner_icmp.isValid() : exact;
+ }
+ actions = {
+ decap_inner_tcp;
+ decap_inner_udp;
+ decap_inner_icmp;
+ decap_inner_unknown;
+ }
+ const default_action = decap_inner_unknown;
+ const entries = {
+ (true, false, false) : decap_inner_tcp();
+ (false, true, false) : decap_inner_udp();
+ (false, false, true) : decap_inner_icmp();
+ }
+ }
+
+
+ //=============================//
+ //===== Apply Block ======//
+ //=============================//
+ apply {
+
+ // Interfaces
+ interface_lookup.apply();
+
+ // If interface table missed, or the interface skips PDRs/FARs (TODO: is that a thing?)
+ if (fabric_md.spgw.skip_spgw == _TRUE) return;
+
+ // PDRs
+ // Currently only best-case PDR tables to make v1model-to-tofino compiler happy
+ if (hdr.gtpu.isValid()) {
+ uplink_pdr_lookup.apply();
+ } else {
+ downlink_pdr_lookup.apply();
+ }
+ // Inefficient PDR table if efficient tables missed
+ // Removed to make v1model-to-tofino compiler happy. Not removed in TNA port
+ //if (fabric_md.spgw.pdr_hit == _FALSE) {
+ // flexible_pdr_lookup.apply();
+ //}
+ pdr_counter.count(fabric_md.spgw.ctr_id);
+
+ // GTPU Decapsulate
+ if (fabric_md.spgw.needs_gtpu_decap == _TRUE) {
+ decap_gtpu.apply();
+ }
+
+ // FARs
+ // Load FAR info
+ far_lookup.apply();
+
+ if (fabric_md.spgw.notify_spgwc == _TRUE) {
+ // TODO: cpu clone action here
+ }
+ if (fabric_md.spgw.far_dropped == _TRUE) {
+ // Do dropping in the same way as fabric's filtering.p4, so we can traverse
+ // the ACL table, which is good for cases like DHCP.
+ fabric_md.skip_forwarding = _TRUE;
+ fabric_md.skip_next = _TRUE;
+ }
+
+ // Nothing to be done immediately for forwarding or encapsulation.
+ // Forwarding is done by other parts of fabric.p4, and
+ // encapsulation is done in the egress
+
+ // Needed for correct GTPU encapsulation in egress
+ fabric_md.spgw.ipv4_len = hdr.ipv4.total_len;
+ }
+}
+
+
+//====================================//
+//============== Egress ==============//
+//====================================//
+control SpgwEgress(
+ inout parsed_headers_t hdr,
+ inout fabric_metadata_t fabric_md) {
+
+ counter(MAX_PDR_COUNTERS, CounterType.packets_and_bytes) pdr_counter;
+
+
+ @hidden
+ action gtpu_encap() {
+ hdr.gtpu_ipv4.setValid();
+ hdr.gtpu_ipv4.version = IP_VERSION_4;
+ hdr.gtpu_ipv4.ihl = IPV4_MIN_IHL;
+ hdr.gtpu_ipv4.dscp = 0;
+ hdr.gtpu_ipv4.ecn = 0;
+ hdr.gtpu_ipv4.total_len = hdr.ipv4.total_len
+ + (IPV4_HDR_SIZE + UDP_HDR_SIZE + GTP_HDR_SIZE);
+ hdr.gtpu_ipv4.identification = 0x1513; /* From NGIC. TODO: Needs to be dynamic */
+ hdr.gtpu_ipv4.flags = 0;
+ hdr.gtpu_ipv4.frag_offset = 0;
+ hdr.gtpu_ipv4.ttl = DEFAULT_IPV4_TTL;
+ hdr.gtpu_ipv4.protocol = PROTO_UDP;
+ hdr.gtpu_ipv4.src_addr = fabric_md.spgw.tunnel_src_addr;
+ hdr.gtpu_ipv4.dst_addr = fabric_md.spgw.tunnel_dst_addr;
+ hdr.gtpu_ipv4.hdr_checksum = 0; // Updated later
+
+ hdr.gtpu_udp.setValid();
+ hdr.gtpu_udp.sport = fabric_md.spgw.tunnel_src_port;
+ hdr.gtpu_udp.dport = UDP_PORT_GTPU;
+ hdr.gtpu_udp.len = fabric_md.spgw.ipv4_len
+ + (UDP_HDR_SIZE + GTP_HDR_SIZE);
+ hdr.gtpu_udp.checksum = 0; // Updated later, if WITH_SPGW_UDP_CSUM_UPDATE
+
+
+ hdr.outer_gtpu.setValid();
+ hdr.outer_gtpu.version = GTPU_VERSION;
+ hdr.outer_gtpu.pt = GTP_PROTOCOL_TYPE_GTP;
+ hdr.outer_gtpu.spare = 0;
+ hdr.outer_gtpu.ex_flag = 0;
+ hdr.outer_gtpu.seq_flag = 0;
+ hdr.outer_gtpu.npdu_flag = 0;
+ hdr.outer_gtpu.msgtype = GTP_GPDU;
+ hdr.outer_gtpu.msglen = fabric_md.spgw.ipv4_len;
+ hdr.outer_gtpu.teid = fabric_md.spgw.teid;
+ }
+
+ apply {
+ if (fabric_md.spgw.skip_spgw == _TRUE) return;
+ pdr_counter.count(fabric_md.spgw.ctr_id);
+
+ if (fabric_md.spgw.needs_gtpu_encap == _TRUE) {
+ gtpu_encap();
+ }
+ }
+}
+
+
+control update_gtpu_checksum(
+ inout ipv4_t gtpu_ipv4,
+ inout udp_t gtpu_udp,
+ in gtpu_t gtpu,
+ in ipv4_t ipv4,
+ in udp_t udp
+ ) {
+ apply {
+ // Compute outer IPv4 checksum.
+ update_checksum(gtpu_ipv4.isValid(),
+ {
+ gtpu_ipv4.version,
+ gtpu_ipv4.ihl,
+ gtpu_ipv4.dscp,
+ gtpu_ipv4.ecn,
+ gtpu_ipv4.total_len,
+ gtpu_ipv4.identification,
+ gtpu_ipv4.flags,
+ gtpu_ipv4.frag_offset,
+ gtpu_ipv4.ttl,
+ gtpu_ipv4.protocol,
+ gtpu_ipv4.src_addr,
+ gtpu_ipv4.dst_addr
+ },
+ gtpu_ipv4.hdr_checksum,
+ HashAlgorithm.csum16
+ );
+
+#ifdef WITH_SPGW_UDP_CSUM_UPDATE
+ // Compute outer UDP checksum.
+ update_checksum_with_payload(gtpu_udp.isValid(),
+ {
+ gtpu_ipv4.src_addr,
+ gtpu_ipv4.dst_addr,
+ 8w0,
+ gtpu_ipv4.protocol,
+ gtpu_udp.len,
+ gtpu_udp.sport,
+ gtpu_udp.dport,
+ gtpu_udp.len,
+ gtpu,
+ ipv4,
+ // FIXME: we are assuming only UDP for downlink packets
+ // How to conditionally switch between UDP/TCP/ICMP?
+ udp
+ },
+ gtpu_udp.checksum,
+ HashAlgorithm.csum16
+ );
+#endif // WITH_SPGW_UDP_CSUM_UPDATE
+ }
+}
+
+#endif
diff --git a/pipelines/fabric/impl/src/main/resources/include/define.p4 b/pipelines/fabric/impl/src/main/resources/include/define.p4
index 8501516..bfb7b44 100644
--- a/pipelines/fabric/impl/src/main/resources/include/define.p4
+++ b/pipelines/fabric/impl/src/main/resources/include/define.p4
@@ -97,17 +97,28 @@
// SPGW types
typedef bit<2> direction_t;
+typedef bit<8> spgw_interface_t;
typedef bit pcc_gate_status_t;
typedef bit<32> sdf_rule_id_t;
typedef bit<32> pcc_rule_id_t;
typedef bit<32> far_id_t;
-typedef bit<32> ctr_id_t;
+typedef bit<32> pdr_ctr_id_t;
typedef bit<32> teid_t;
-// spgw.p4 expects uplink packets with IP dst on this subnet
-// 140.0.0.0/8
-const ipv4_addr_t S1U_SGW_PREFIX = 2348810240;
+const spgw_interface_t SPGW_IFACE_UNKNOWN = 8w0;
+const spgw_interface_t SPGW_IFACE_ACCESS = 8w1;
+const spgw_interface_t SPGW_IFACE_CORE = 8w2;
+const direction_t SPGW_DIR_UNKNOWN = 2w0;
+const direction_t SPGW_DIR_UPLINK = 2w1;
+const direction_t SPGW_DIR_DOWNLINK = 2w2;
+
+#ifndef S1U_SGW_PREFIX
+// By default spgw.p4 expects uplink packets with IP dst matching 140.0.0.0/8
+// FIXME: refactor pipeline to remove dependency on this value or allow setting it at runtime
+// (e.g. via parser value sets)
+#define S1U_SGW_PREFIX (8w140++8w0++8w0++8w0)
#define S1U_SGW_PREFIX_LEN 8
+#endif
const bit<16> ETHERTYPE_QINQ = 0x88A8;
const bit<16> ETHERTYPE_QINQ_NON_STD = 0x9100;
@@ -144,13 +155,7 @@
const bit<8> DEFAULT_MPLS_TTL = 64;
const bit<8> DEFAULT_IPV4_TTL = 64;
-const sdf_rule_id_t DEFAULT_SDF_RULE_ID = 0;
-const pcc_rule_id_t DEFAULT_PCC_RULE_ID = 0;
-const direction_t SPGW_DIR_UNKNOWN = 2w0;
-const direction_t SPGW_DIR_UPLINK = 2w1;
-const direction_t SPGW_DIR_DOWNLINK = 2w2;
-const pcc_gate_status_t PCC_GATE_OPEN = 1w0;
-const pcc_gate_status_t PCC_GATE_CLOSED = 1w1;
+
/* indicate INT at LSB of DSCP */
const bit<6> INT_DSCP = 0x1;
diff --git a/pipelines/fabric/impl/src/main/resources/include/header.p4 b/pipelines/fabric/impl/src/main/resources/include/header.p4
index decad94..17b36fe 100644
--- a/pipelines/fabric/impl/src/main/resources/include/header.p4
+++ b/pipelines/fabric/impl/src/main/resources/include/header.p4
@@ -142,14 +142,18 @@
direction_t direction;
bit<16> ipv4_len;
teid_t teid;
+ bit<16> tunnel_src_port;
bit<32> tunnel_src_addr;
bit<32> tunnel_dst_addr;
- ctr_id_t ctr_id;
+ pdr_ctr_id_t ctr_id;
far_id_t far_id;
+ spgw_interface_t src_iface;
+ _BOOL skip_spgw;
_BOOL pdr_hit;
_BOOL far_dropped;
- _BOOL notify_cp;
- _BOOL outer_header_creation;
+ _BOOL notify_spgwc;
+ _BOOL needs_gtpu_encap;
+ _BOOL needs_gtpu_decap;
}
#endif // WITH_SPGW
@@ -196,6 +200,8 @@
bit<32> ipv4_src_addr;
bit<32> ipv4_dst_addr;
#ifdef WITH_SPGW
+ bit<16> inner_l4_sport;
+ bit<16> inner_l4_dport;
spgw_meta_t spgw;
#endif // WITH_SPGW
#ifdef WITH_BNG
@@ -220,9 +226,12 @@
#ifdef WITH_SPGW
ipv4_t gtpu_ipv4;
udp_t gtpu_udp;
+ gtpu_t outer_gtpu;
gtpu_t gtpu;
ipv4_t inner_ipv4;
udp_t inner_udp;
+ tcp_t inner_tcp;
+ icmp_t inner_icmp;
#endif // WITH_SPGW
ipv4_t ipv4;
#ifdef WITH_IPV6
diff --git a/pipelines/fabric/impl/src/main/resources/include/parser.p4 b/pipelines/fabric/impl/src/main/resources/include/parser.p4
index efbb74a..de0a76b 100644
--- a/pipelines/fabric/impl/src/main/resources/include/parser.p4
+++ b/pipelines/fabric/impl/src/main/resources/include/parser.p4
@@ -185,17 +185,6 @@
#ifdef WITH_SPGW
state parse_gtpu {
- transition select(hdr.ipv4.dst_addr[31:32-S1U_SGW_PREFIX_LEN]) {
- // Avoid parsing GTP and inner headers if we know this GTP packet
- // is not to be processed by this switch.
- // FIXME: use parser value sets when support is ready in ONOS.
- // To set the S1U_SGW_PREFIX value at runtime.
- S1U_SGW_PREFIX[31:32-S1U_SGW_PREFIX_LEN]: do_parse_gtpu;
- default: accept;
- }
- }
-
- state do_parse_gtpu {
packet.extract(hdr.gtpu);
transition parse_inner_ipv4;
}
@@ -213,14 +202,26 @@
state parse_inner_udp {
packet.extract(hdr.inner_udp);
- fabric_metadata.l4_sport = hdr.inner_udp.sport;
- fabric_metadata.l4_dport = hdr.inner_udp.dport;
+ fabric_metadata.inner_l4_sport = hdr.inner_udp.sport;
+ fabric_metadata.inner_l4_dport = hdr.inner_udp.dport;
#ifdef WITH_INT
transition parse_int;
#else
transition accept;
#endif // WITH_INT
}
+
+ state parse_inner_tcp {
+ packet.extract(hdr.inner_tcp);
+ fabric_metadata.inner_l4_sport = hdr.inner_tcp.sport;
+ fabric_metadata.inner_l4_dport = hdr.inner_tcp.dport;
+ transition accept;
+ }
+
+ state parse_inner_icmp {
+ packet.extract(hdr.inner_icmp);
+ transition accept;
+ }
#endif // WITH_SPGW
#ifdef WITH_INT
@@ -288,7 +289,7 @@
#ifdef WITH_SPGW
packet.emit(hdr.gtpu_ipv4);
packet.emit(hdr.gtpu_udp);
- packet.emit(hdr.gtpu);
+ packet.emit(hdr.outer_gtpu);
#endif // WITH_SPGW
packet.emit(hdr.ipv4);
#ifdef WITH_IPV6
@@ -297,6 +298,14 @@
packet.emit(hdr.tcp);
packet.emit(hdr.udp);
packet.emit(hdr.icmp);
+#ifdef WITH_SPGW
+ // if we parsed a GTPU packet but did not decap it
+ packet.emit(hdr.gtpu);
+ packet.emit(hdr.inner_ipv4);
+ packet.emit(hdr.inner_tcp);
+ packet.emit(hdr.inner_udp);
+ packet.emit(hdr.inner_icmp);
+#endif // WITH_SPGW
#ifdef WITH_INT
packet.emit(hdr.intl4_shim);
packet.emit(hdr.int_header);
diff --git a/pipelines/fabric/impl/src/main/resources/include/spgw.p4 b/pipelines/fabric/impl/src/main/resources/include/spgw.p4
deleted file mode 100644
index 0aa78c0..0000000
--- a/pipelines/fabric/impl/src/main/resources/include/spgw.p4
+++ /dev/null
@@ -1,350 +0,0 @@
-/*
- * Copyright 2017-present Open Networking Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __SPGW__
-#define __SPGW__
-
-#define MAX_PDR_COUNTERS 1024
-#define DEFAULT_PDR_CTR_ID 0
-#define DEFAULT_FAR_ID 0
-
-control spgw_normalizer(
- in bool is_gtpu_encapped,
- out ipv4_t gtpu_ipv4,
- out udp_t gtpu_udp,
- inout ipv4_t ipv4,
- inout udp_t udp,
- in ipv4_t inner_ipv4,
- in udp_t inner_udp
- ) {
- apply {
- if (! is_gtpu_encapped) return;
- gtpu_ipv4 = ipv4;
- ipv4 = inner_ipv4;
- gtpu_udp = udp;
- if (inner_udp.isValid()) {
- udp = inner_udp;
- } else {
- udp.setInvalid();
- }
- }
-}
-
-control spgw_ingress(
- inout ipv4_t gtpu_ipv4,
- inout udp_t gtpu_udp,
- inout gtpu_t gtpu,
- inout ipv4_t ipv4,
- inout udp_t udp,
- inout fabric_metadata_t fabric_meta,
- inout standard_metadata_t standard_metadata
- ) {
-
- counter(MAX_PDR_COUNTERS, CounterType.packets_and_bytes) pdr_counter;
-
- @hidden
- action gtpu_decap() {
- // grab information from the tunnel that we'll need later
- fabric_meta.spgw.teid = gtpu.teid;
- fabric_meta.spgw.tunnel_dst_addr = gtpu_ipv4.dst_addr;
- // update metadata src and dst addresses with the inner packet
- fabric_meta.ipv4_src_addr = ipv4.src_addr;
- fabric_meta.ipv4_dst_addr = ipv4.dst_addr;
- // decap
- gtpu_ipv4.setInvalid();
- gtpu_udp.setInvalid();
- gtpu.setInvalid();
-
- }
-
- table downlink_filter_table {
- key = {
- // UE addr pool for downlink
- ipv4.dst_addr : lpm @name("ipv4_prefix");
- }
- actions = {
- nop();
- }
- const default_action = nop();
- }
-
- table uplink_filter_table {
- key = {
- // IP addresses of the S1U interfaces of this SPGW-U instance (when uplink)
- gtpu_ipv4.dst_addr : exact @name("gtp_ipv4_dst");
- }
- actions = {
- nop();
- }
- const default_action = nop();
- }
-
- action set_pdr_attributes(ctr_id_t ctr_id,
- far_id_t far_id) {
- fabric_meta.spgw.pdr_hit = _TRUE;
- fabric_meta.spgw.ctr_id = ctr_id;
- fabric_meta.spgw.far_id = far_id;
- }
-
- // These two tables scale well and cover the average case PDR
- table downlink_pdr_lookup {
- key = {
- ipv4.dst_addr : exact @name("ue_addr");
- }
- actions = {
- set_pdr_attributes;
- }
- }
- table uplink_pdr_lookup {
- key = {
- // tunnel_dst_addr will be static for Q2 target. Can remove if need more scaling
- fabric_meta.spgw.tunnel_dst_addr : exact @name("tunnel_ipv4_dst");
- fabric_meta.spgw.teid : exact @name("teid");
- ipv4.src_addr : exact @name("ue_addr");
- }
- actions = {
- set_pdr_attributes;
- }
- }
- // This table scales poorly and covers uncommon PDRs
- table flexible_pdr_lookup {
- key = {
- // Direction. Eventually change to interface
- fabric_meta.spgw.direction : ternary @name("spgw_direction");
- // F-TEID
- fabric_meta.spgw.tunnel_dst_addr : ternary @name("tunnel_ipv4_dst");
- fabric_meta.spgw.teid : ternary @name("teid");
- // SDF (5-tuple)
- ipv4.src_addr : ternary @name("ipv4_src");
- ipv4.dst_addr : ternary @name("ipv4_dst");
- ipv4.protocol : ternary @name("ip_proto");
- fabric_meta.l4_sport : ternary @name("l4_sport");
- fabric_meta.l4_dport : ternary @name("l4_dport");
- }
- actions = {
- set_pdr_attributes;
- }
- const default_action = set_pdr_attributes(DEFAULT_PDR_CTR_ID, DEFAULT_FAR_ID);
- }
-
- action load_normal_far_attributes(bit<1> drop,
- bit<1> notify_cp) {
- // general far attributes
- fabric_meta.spgw.far_dropped = (_BOOL)drop;
- fabric_meta.spgw.notify_cp = (_BOOL)notify_cp;
- }
- action load_tunnel_far_attributes(bit<1> drop,
- bit<1> notify_cp,
- ipv4_addr_t tunnel_src_addr,
- ipv4_addr_t tunnel_dst_addr,
- teid_t teid) {
- // general far attributes
- fabric_meta.spgw.far_dropped = (_BOOL)drop;
- fabric_meta.spgw.notify_cp = (_BOOL)notify_cp;
- // GTP tunnel attributes
- fabric_meta.spgw.outer_header_creation = _TRUE;
- fabric_meta.spgw.teid = teid;
- fabric_meta.spgw.tunnel_src_addr = tunnel_src_addr;
- fabric_meta.spgw.tunnel_dst_addr = tunnel_dst_addr;
- // update metadata IP addresses for correct routing/hashing
- fabric_meta.ipv4_src_addr = tunnel_src_addr;
- fabric_meta.ipv4_dst_addr = tunnel_dst_addr;
- }
-
-
- table far_lookup {
- key = {
- fabric_meta.spgw.far_id : exact @name("far_id");
- }
- actions = {
- load_normal_far_attributes;
- load_tunnel_far_attributes;
- }
- // default is drop and don't notify CP
- const default_action = load_normal_far_attributes(1w1, 1w0);
- }
-
- apply {
- if (gtpu.isValid()) {
- // If here, pkt has outer IP dst on
- // S1U_SGW_PREFIX/S1U_SGW_PREFIX_LEN subnet.
- // TODO: check also that gtpu.msgtype == GTP_GPDU
- if (!uplink_filter_table.apply().hit) {
- // Should this be changed to a forwarding/next skip instead of a drop?
- mark_to_drop(standard_metadata);
- }
- fabric_meta.spgw.direction = SPGW_DIR_UPLINK;
- gtpu_decap();
- } else if (downlink_filter_table.apply().hit) {
- fabric_meta.spgw.direction = SPGW_DIR_DOWNLINK;
- } else {
- fabric_meta.spgw.direction = SPGW_DIR_UNKNOWN;
- // No SPGW processing needed.
- return;
- }
-
- // Try the efficient PDR tables first (This PDR partitioning only works
- // if the PDRs do not overlap. Will need fixing later.)
- if (fabric_meta.spgw.direction == SPGW_DIR_UPLINK) {
- uplink_pdr_lookup.apply();
- } else if (fabric_meta.spgw.direction == SPGW_DIR_DOWNLINK) {
- downlink_pdr_lookup.apply();
- } else { // SPGW_DIR_UNKNOWN
- return;
- }
- // If those fail to find a match, use the wildcard tables
- if (fabric_meta.spgw.pdr_hit == _FALSE) {
- flexible_pdr_lookup.apply();
- }
-
- pdr_counter.count(fabric_meta.spgw.ctr_id);
- // Load FAR info
- far_lookup.apply();
-
- if (fabric_meta.spgw.notify_cp == _TRUE) {
- // TODO: cpu clone session here
- }
- if (fabric_meta.spgw.far_dropped == _TRUE) {
- // Do dropping in the same way as fabric's filtering.p4, so we can traverse
- // the ACL table, which is good for cases like DHCP.
- fabric_meta.skip_forwarding = _TRUE;
- fabric_meta.skip_next = _TRUE;
- }
-
- // Nothing to be done immediately for forwarding or encapsulation.
- // Forwarding is done by other parts of fabric.p4, and
- // encapsulation is done in the egress
-
- // Needed for correct GTPU encapsulation in egress
- fabric_meta.spgw.ipv4_len = ipv4.total_len;
- }
-}
-
-
-control spgw_egress(
- in ipv4_t ipv4,
- inout ipv4_t gtpu_ipv4,
- inout udp_t gtpu_udp,
- inout gtpu_t gtpu,
- in fabric_metadata_t fabric_meta,
- in standard_metadata_t std_meta
- ) {
-
- counter(MAX_PDR_COUNTERS, CounterType.packets_and_bytes) pdr_counter;
-
-
- @hidden
- action gtpu_encap() {
- gtpu_ipv4.setValid();
- gtpu_ipv4.version = IP_VERSION_4;
- gtpu_ipv4.ihl = IPV4_MIN_IHL;
- gtpu_ipv4.dscp = 0;
- gtpu_ipv4.ecn = 0;
- gtpu_ipv4.total_len = ipv4.total_len
- + (IPV4_HDR_SIZE + UDP_HDR_SIZE + GTP_HDR_SIZE);
- gtpu_ipv4.identification = 0x1513; /* From NGIC. TODO: Needs to be dynamic */
- gtpu_ipv4.flags = 0;
- gtpu_ipv4.frag_offset = 0;
- gtpu_ipv4.ttl = DEFAULT_IPV4_TTL;
- gtpu_ipv4.protocol = PROTO_UDP;
- gtpu_ipv4.src_addr = fabric_meta.spgw.tunnel_src_addr;
- gtpu_ipv4.dst_addr = fabric_meta.spgw.tunnel_dst_addr;
- gtpu_ipv4.hdr_checksum = 0; // Updated later
-
- gtpu_udp.setValid();
- gtpu_udp.sport = UDP_PORT_GTPU; // TODO: make this dynamic per 3GPP specs
- gtpu_udp.dport = UDP_PORT_GTPU;
- gtpu_udp.len = fabric_meta.spgw.ipv4_len
- + (UDP_HDR_SIZE + GTP_HDR_SIZE);
- gtpu_udp.checksum = 0; // Updated later, if WITH_SPGW_UDP_CSUM_UPDATE
-
-
- gtpu.setValid();
- gtpu.version = GTPU_VERSION;
- gtpu.pt = GTP_PROTOCOL_TYPE_GTP;
- gtpu.spare = 0;
- gtpu.ex_flag = 0;
- gtpu.seq_flag = 0;
- gtpu.npdu_flag = 0;
- gtpu.msgtype = GTP_GPDU;
- gtpu.msglen = fabric_meta.spgw.ipv4_len;
- gtpu.teid = fabric_meta.spgw.teid;
- }
-
- apply {
- pdr_counter.count(fabric_meta.spgw.ctr_id);
-
- if (fabric_meta.spgw.outer_header_creation == _TRUE) {
- gtpu_encap();
- }
- }
-}
-
-
-control update_gtpu_checksum(
- inout ipv4_t gtpu_ipv4,
- inout udp_t gtpu_udp,
- in gtpu_t gtpu,
- in ipv4_t ipv4,
- in udp_t udp
- ) {
- apply {
- // Compute outer IPv4 checksum.
- update_checksum(gtpu_ipv4.isValid(),
- {
- gtpu_ipv4.version,
- gtpu_ipv4.ihl,
- gtpu_ipv4.dscp,
- gtpu_ipv4.ecn,
- gtpu_ipv4.total_len,
- gtpu_ipv4.identification,
- gtpu_ipv4.flags,
- gtpu_ipv4.frag_offset,
- gtpu_ipv4.ttl,
- gtpu_ipv4.protocol,
- gtpu_ipv4.src_addr,
- gtpu_ipv4.dst_addr
- },
- gtpu_ipv4.hdr_checksum,
- HashAlgorithm.csum16
- );
-
-#ifdef WITH_SPGW_UDP_CSUM_UPDATE
- // Compute outer UDP checksum.
- update_checksum_with_payload(gtpu_udp.isValid(),
- {
- gtpu_ipv4.src_addr,
- gtpu_ipv4.dst_addr,
- 8w0,
- gtpu_ipv4.protocol,
- gtpu_udp.len,
- gtpu_udp.sport,
- gtpu_udp.dport,
- gtpu_udp.len,
- gtpu,
- ipv4,
- // FIXME: we are assuming only UDP for downlink packets
- // How to conditionally switch between UDP/TCP/ICMP?
- udp
- },
- gtpu_udp.checksum,
- HashAlgorithm.csum16
- );
-#endif // WITH_SPGW_UDP_CSUM_UPDATE
- }
-}
-
-#endif
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-bng/bmv2/default/bmv2.json b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-bng/bmv2/default/bmv2.json
index c8e585a..33b9159 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-bng/bmv2/default/bmv2.json
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-bng/bmv2/default/bmv2.json
@@ -946,7 +946,7 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 267,
+ "line" : 268,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
@@ -1435,7 +1435,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 159,
+ "line" : 163,
"column" : 36,
"source_fragment" : "2w0x0; ..."
}
@@ -1476,7 +1476,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 117,
+ "line" : 128,
"column" : 31,
"source_fragment" : "0x0800; ..."
}
@@ -1541,7 +1541,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 161,
+ "line" : 165,
"column" : 39,
"source_fragment" : "2w0x2;; ..."
}
@@ -1605,7 +1605,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 161,
+ "line" : 165,
"column" : 39,
"source_fragment" : "2w0x2;; ..."
}
@@ -2963,7 +2963,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 160,
+ "line" : 164,
"column" : 37,
"source_fragment" : "2w0x1; ..."
}
@@ -3200,7 +3200,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 121,
+ "line" : 132,
"column" : 33,
"source_fragment" : "0x8864; ..."
}
@@ -3371,7 +3371,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 123,
+ "line" : 134,
"column" : 35,
"source_fragment" : "0x0021; ..."
}
@@ -3529,7 +3529,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 115,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -3608,7 +3608,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 114,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -3706,7 +3706,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 114,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -3823,7 +3823,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 114,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -3842,7 +3842,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 114,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -5422,7 +5422,7 @@
"id" : 4,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -5533,7 +5533,7 @@
"id" : 8,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -5747,7 +5747,7 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-full/bmv2/default/bmv2.json b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-full/bmv2/default/bmv2.json
index b7ccb36..806d421 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-full/bmv2/default/bmv2.json
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-full/bmv2/default/bmv2.json
@@ -5,22 +5,19 @@
"id" : 0,
"fields" : [
["last_ipv4_dscp_0", 6, false],
- ["tmp_2", 16, false],
- ["tmp_3", 16, false],
- ["tmp_4", 4, false],
- ["tmp", 8, false],
- ["tmp_0", 32, false],
- ["tmp_1", 32, false],
- ["tmp_5", 32, false],
- ["spgw_ingress_tmp", 1, false],
- ["spgw_ingress_tmp_0", 1, false],
+ ["tmp_0", 16, false],
+ ["tmp_1", 16, false],
+ ["tmp_2", 4, false],
+ ["tmp", 32, false],
+ ["tmp_3", 32, false],
+ ["tmp_4", 32, false],
["bng_ingress_upstream_tmp", 1, false],
["bng_ingress_downstream_tmp", 1, false],
- ["spgw_normalizer_hasReturned", 1, false],
["spgw_ingress_hasReturned", 1, false],
["bng_ingress_upstream_hasReturned", 1, false],
["key_0", 64, false],
["egress_next_tmp", 1, false],
+ ["spgw_egress_hasReturned", 1, false],
["process_int_main_process_int_transit_hasReturned", 1, false],
["fabric_metadata_t._ip_eth_type0", 16, false],
["fabric_metadata_t._vlan_id1", 12, false],
@@ -43,31 +40,37 @@
["fabric_metadata_t._l4_dport18", 16, false],
["fabric_metadata_t._ipv4_src_addr19", 32, false],
["fabric_metadata_t._ipv4_dst_addr20", 32, false],
- ["fabric_metadata_t._spgw_direction21", 2, false],
- ["fabric_metadata_t._spgw_ipv4_len22", 16, false],
- ["fabric_metadata_t._spgw_teid23", 32, false],
- ["fabric_metadata_t._spgw_tunnel_src_addr24", 32, false],
- ["fabric_metadata_t._spgw_tunnel_dst_addr25", 32, false],
- ["fabric_metadata_t._spgw_ctr_id26", 32, false],
- ["fabric_metadata_t._spgw_far_id27", 32, false],
- ["fabric_metadata_t._spgw_pdr_hit28", 1, false],
- ["fabric_metadata_t._spgw_far_dropped29", 1, false],
- ["fabric_metadata_t._spgw_notify_cp30", 1, false],
- ["fabric_metadata_t._spgw_outer_header_creation31", 1, false],
- ["fabric_metadata_t._bng_type32", 2, false],
- ["fabric_metadata_t._bng_line_id33", 32, false],
- ["fabric_metadata_t._bng_pppoe_session_id34", 16, false],
- ["fabric_metadata_t._bng_ds_meter_result35", 32, false],
- ["fabric_metadata_t._bng_s_tag36", 12, false],
- ["fabric_metadata_t._bng_c_tag37", 12, false],
- ["fabric_metadata_t._int_meta_source38", 1, false],
- ["fabric_metadata_t._int_meta_transit39", 1, false],
- ["fabric_metadata_t._int_meta_sink40", 1, false],
- ["fabric_metadata_t._int_meta_switch_id41", 32, false],
- ["fabric_metadata_t._int_meta_new_words42", 8, false],
- ["fabric_metadata_t._int_meta_new_bytes43", 16, false],
- ["fabric_metadata_t._int_meta_ig_tstamp44", 32, false],
- ["fabric_metadata_t._int_meta_eg_tstamp45", 32, false],
+ ["fabric_metadata_t._inner_l4_sport21", 16, false],
+ ["fabric_metadata_t._inner_l4_dport22", 16, false],
+ ["fabric_metadata_t._spgw_direction23", 2, false],
+ ["fabric_metadata_t._spgw_ipv4_len24", 16, false],
+ ["fabric_metadata_t._spgw_teid25", 32, false],
+ ["fabric_metadata_t._spgw_tunnel_src_port26", 16, false],
+ ["fabric_metadata_t._spgw_tunnel_src_addr27", 32, false],
+ ["fabric_metadata_t._spgw_tunnel_dst_addr28", 32, false],
+ ["fabric_metadata_t._spgw_ctr_id29", 32, false],
+ ["fabric_metadata_t._spgw_far_id30", 32, false],
+ ["fabric_metadata_t._spgw_src_iface31", 8, false],
+ ["fabric_metadata_t._spgw_skip_spgw32", 1, false],
+ ["fabric_metadata_t._spgw_pdr_hit33", 1, false],
+ ["fabric_metadata_t._spgw_far_dropped34", 1, false],
+ ["fabric_metadata_t._spgw_notify_spgwc35", 1, false],
+ ["fabric_metadata_t._spgw_needs_gtpu_encap36", 1, false],
+ ["fabric_metadata_t._spgw_needs_gtpu_decap37", 1, false],
+ ["fabric_metadata_t._bng_type38", 2, false],
+ ["fabric_metadata_t._bng_line_id39", 32, false],
+ ["fabric_metadata_t._bng_pppoe_session_id40", 16, false],
+ ["fabric_metadata_t._bng_ds_meter_result41", 32, false],
+ ["fabric_metadata_t._bng_s_tag42", 12, false],
+ ["fabric_metadata_t._bng_c_tag43", 12, false],
+ ["fabric_metadata_t._int_meta_source44", 1, false],
+ ["fabric_metadata_t._int_meta_transit45", 1, false],
+ ["fabric_metadata_t._int_meta_sink46", 1, false],
+ ["fabric_metadata_t._int_meta_switch_id47", 32, false],
+ ["fabric_metadata_t._int_meta_new_words48", 8, false],
+ ["fabric_metadata_t._int_meta_new_bytes49", 16, false],
+ ["fabric_metadata_t._int_meta_ig_tstamp50", 32, false],
+ ["fabric_metadata_t._int_meta_eg_tstamp51", 32, false],
["_padding_0", 6, false]
]
},
@@ -192,22 +195,8 @@
]
},
{
- "name" : "ipv6_t",
- "id" : 10,
- "fields" : [
- ["version", 4, false],
- ["traffic_class", 8, false],
- ["flow_label", 20, false],
- ["payload_len", 16, false],
- ["next_hdr", 8, false],
- ["hop_limit", 8, false],
- ["src_addr", 128, false],
- ["dst_addr", 128, false]
- ]
- },
- {
"name" : "tcp_t",
- "id" : 11,
+ "id" : 10,
"fields" : [
["sport", 16, false],
["dport", 16, false],
@@ -224,7 +213,7 @@
},
{
"name" : "icmp_t",
- "id" : 12,
+ "id" : 11,
"fields" : [
["icmp_type", 8, false],
["icmp_code", 8, false],
@@ -235,6 +224,20 @@
]
},
{
+ "name" : "ipv6_t",
+ "id" : 12,
+ "fields" : [
+ ["version", 4, false],
+ ["traffic_class", 8, false],
+ ["flow_label", 20, false],
+ ["payload_len", 16, false],
+ ["next_hdr", 8, false],
+ ["hop_limit", 8, false],
+ ["src_addr", 128, false],
+ ["dst_addr", 128, false]
+ ]
+ },
+ {
"name" : "packet_out_header_t",
"id" : 13,
"fields" : [
@@ -444,190 +447,211 @@
"pi_omit" : true
},
{
- "name" : "gtpu",
+ "name" : "outer_gtpu",
"id" : 10,
"header_type" : "gtpu_t",
"metadata" : false,
"pi_omit" : true
},
{
- "name" : "inner_ipv4",
+ "name" : "gtpu",
"id" : 11,
+ "header_type" : "gtpu_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "inner_ipv4",
+ "id" : 12,
"header_type" : "ipv4_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "inner_udp",
- "id" : 12,
+ "id" : 13,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
+ "name" : "inner_tcp",
+ "id" : 14,
+ "header_type" : "tcp_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "inner_icmp",
+ "id" : 15,
+ "header_type" : "icmp_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
"name" : "ipv4",
- "id" : 13,
+ "id" : 16,
"header_type" : "ipv4_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "ipv6",
- "id" : 14,
+ "id" : 17,
"header_type" : "ipv6_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "tcp",
- "id" : 15,
+ "id" : 18,
"header_type" : "tcp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "udp",
- "id" : 16,
+ "id" : 19,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "icmp",
- "id" : 17,
+ "id" : 20,
"header_type" : "icmp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_out",
- "id" : 18,
+ "id" : 21,
"header_type" : "packet_out_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_in",
- "id" : 19,
+ "id" : 22,
"header_type" : "packet_in_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "report_ethernet",
- "id" : 20,
+ "id" : 23,
"header_type" : "ethernet_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "report_eth_type",
- "id" : 21,
+ "id" : 24,
"header_type" : "eth_type_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "report_ipv4",
- "id" : 22,
+ "id" : 25,
"header_type" : "ipv4_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "report_udp",
- "id" : 23,
+ "id" : 26,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "report_fixed_header",
- "id" : 24,
+ "id" : 27,
"header_type" : "report_fixed_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "intl4_shim",
- "id" : 25,
+ "id" : 28,
"header_type" : "intl4_shim_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_header",
- "id" : 26,
+ "id" : 29,
"header_type" : "int_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_switch_id",
- "id" : 27,
+ "id" : 30,
"header_type" : "int_switch_id_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_port_ids",
- "id" : 28,
+ "id" : 31,
"header_type" : "int_port_ids_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_hop_latency",
- "id" : 29,
+ "id" : 32,
"header_type" : "int_hop_latency_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_q_occupancy",
- "id" : 30,
+ "id" : 33,
"header_type" : "int_q_occupancy_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_ingress_tstamp",
- "id" : 31,
+ "id" : 34,
"header_type" : "int_ingress_tstamp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_egress_tstamp",
- "id" : 32,
+ "id" : 35,
"header_type" : "int_egress_tstamp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_q_congestion",
- "id" : 33,
+ "id" : 36,
"header_type" : "int_q_congestion_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_egress_tx_util",
- "id" : 34,
+ "id" : 37,
"header_type" : "int_egress_port_tx_util_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_data",
- "id" : 35,
+ "id" : 38,
"header_type" : "int_data_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "intl4_tail",
- "id" : 36,
+ "id" : 39,
"header_type" : "intl4_tail_t",
"metadata" : false,
"pi_omit" : true
@@ -778,7 +802,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
},
{
"type" : "lookahead",
@@ -816,7 +840,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
}
]
},
@@ -837,7 +861,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_s_tag36"]
+ "value" : ["scalars", "fabric_metadata_t._bng_s_tag42"]
},
{
"type" : "field",
@@ -850,7 +874,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
},
{
"type" : "lookahead",
@@ -876,7 +900,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
}
]
},
@@ -897,7 +921,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_c_tag37"]
+ "value" : ["scalars", "fabric_metadata_t._bng_c_tag43"]
},
{
"type" : "field",
@@ -1063,7 +1087,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
},
{
"type" : "lookahead",
@@ -1095,7 +1119,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
}
]
},
@@ -1421,77 +1445,6 @@
{
"parameters" : [
{
- "type" : "field",
- "value" : ["scalars", "tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : ">>",
- "left" : {
- "type" : "field",
- "value" : ["ipv4", "dst_addr"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x18"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffffff"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "op" : "set"
- }
- ],
- "transitions" : [
- {
- "type" : "hexstr",
- "value" : "0x8c",
- "mask" : null,
- "next_state" : "do_parse_gtpu"
- },
- {
- "value" : "default",
- "mask" : null,
- "next_state" : null
- }
- ],
- "transition_key" : [
- {
- "type" : "field",
- "value" : ["scalars", "tmp"]
- }
- ]
- },
- {
- "name" : "do_parse_gtpu",
- "id" : 14,
- "parser_ops" : [
- {
- "parameters" : [
- {
"type" : "regular",
"value" : "gtpu"
}
@@ -1555,7 +1508,7 @@
},
{
"name" : "parse_inner_udp",
- "id" : 15,
+ "id" : 14,
"parser_ops" : [
{
"parameters" : [
@@ -1570,7 +1523,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_sport17"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport21"]
},
{
"type" : "field",
@@ -1583,7 +1536,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_dport18"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport22"]
},
{
"type" : "field",
@@ -1604,7 +1557,7 @@
},
{
"name" : "parse_int",
- "id" : 16,
+ "id" : 15,
"parser_ops" : [],
"transitions" : [
{
@@ -1628,7 +1581,7 @@
},
{
"name" : "parse_intl4_shim",
- "id" : 17,
+ "id" : 16,
"parser_ops" : [
{
"parameters" : [
@@ -1671,13 +1624,13 @@
},
{
"name" : "parse_int_data",
- "id" : 18,
+ "id" : 17,
"parser_ops" : [
{
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
},
{
"type" : "expression",
@@ -1749,7 +1702,7 @@
"type" : "expression",
"value" : {
"type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
}
}
],
@@ -1767,7 +1720,7 @@
},
{
"name" : "parse_intl4_tail",
- "id" : 19,
+ "id" : 18,
"parser_ops" : [
{
"parameters" : [
@@ -1798,11 +1751,11 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 267,
+ "line" : 268,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
- "order" : ["packet_in", "report_ethernet", "report_eth_type", "report_ipv4", "report_udp", "report_fixed_header", "ethernet", "vlan_tag", "inner_vlan_tag", "eth_type", "pppoe", "mpls", "gtpu_ipv4", "gtpu_udp", "gtpu", "ipv4", "ipv6", "tcp", "udp", "icmp", "intl4_shim", "int_header", "int_switch_id", "int_port_ids", "int_hop_latency", "int_q_occupancy", "int_ingress_tstamp", "int_egress_tstamp", "int_q_congestion", "int_egress_tx_util", "int_data", "intl4_tail"]
+ "order" : ["packet_in", "report_ethernet", "report_eth_type", "report_ipv4", "report_udp", "report_fixed_header", "ethernet", "vlan_tag", "inner_vlan_tag", "eth_type", "pppoe", "mpls", "gtpu_ipv4", "gtpu_udp", "outer_gtpu", "ipv4", "ipv6", "tcp", "udp", "icmp", "gtpu", "inner_ipv4", "inner_tcp", "inner_udp", "inner_icmp", "intl4_shim", "int_header", "int_switch_id", "int_port_ids", "int_hop_latency", "int_q_occupancy", "int_ingress_tstamp", "int_egress_tstamp", "int_q_congestion", "int_egress_tx_util", "int_data", "intl4_tail"]
}
],
"meter_arrays" : [
@@ -1837,20 +1790,8 @@
],
"counter_arrays" : [
{
- "name" : "FabricIngress.spgw_ingress.pdr_counter",
- "id" : 0,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 56,
- "column" : 49,
- "source_fragment" : "pdr_counter"
- },
- "size" : 1024,
- "is_direct" : false
- },
- {
"name" : "FabricIngress.process_set_source_sink.counter_set_source",
- "id" : 1,
+ "id" : 0,
"is_direct" : true,
"binding" : "FabricIngress.process_set_source_sink.tb_set_source",
"source_info" : {
@@ -1862,7 +1803,7 @@
},
{
"name" : "FabricIngress.process_set_source_sink.counter_set_sink",
- "id" : 2,
+ "id" : 1,
"is_direct" : true,
"binding" : "FabricIngress.process_set_source_sink.tb_set_sink",
"source_info" : {
@@ -1874,7 +1815,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.c_terminated",
- "id" : 3,
+ "id" : 2,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 36,
@@ -1886,7 +1827,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.c_dropped",
- "id" : 4,
+ "id" : 3,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 37,
@@ -1898,7 +1839,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.c_control",
- "id" : 5,
+ "id" : 4,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 38,
@@ -1910,7 +1851,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.c_line_rx",
- "id" : 6,
+ "id" : 5,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 152,
@@ -1922,7 +1863,7 @@
},
{
"name" : "FabricIngress.filtering.ingress_port_vlan_counter",
- "id" : 7,
+ "id" : 6,
"is_direct" : true,
"binding" : "FabricIngress.filtering.ingress_port_vlan",
"source_info" : {
@@ -1934,7 +1875,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier_counter",
- "id" : 8,
+ "id" : 7,
"is_direct" : true,
"binding" : "FabricIngress.filtering.fwd_classifier",
"source_info" : {
@@ -1946,7 +1887,7 @@
},
{
"name" : "FabricIngress.forwarding.bridging_counter",
- "id" : 9,
+ "id" : 8,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.bridging",
"source_info" : {
@@ -1958,7 +1899,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls_counter",
- "id" : 10,
+ "id" : 9,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.mpls",
"source_info" : {
@@ -1970,7 +1911,7 @@
},
{
"name" : "FabricIngress.forwarding.routing_v6_counter",
- "id" : 11,
+ "id" : 10,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.routing_v6",
"source_info" : {
@@ -1982,7 +1923,7 @@
},
{
"name" : "FabricIngress.acl.acl_counter",
- "id" : 12,
+ "id" : 11,
"is_direct" : true,
"binding" : "FabricIngress.acl.acl",
"source_info" : {
@@ -1994,7 +1935,7 @@
},
{
"name" : "FabricIngress.next.next_vlan_counter",
- "id" : 13,
+ "id" : 12,
"is_direct" : true,
"binding" : "FabricIngress.next.next_vlan",
"source_info" : {
@@ -2006,7 +1947,7 @@
},
{
"name" : "FabricIngress.next.xconnect_counter",
- "id" : 14,
+ "id" : 13,
"is_direct" : true,
"binding" : "FabricIngress.next.xconnect",
"source_info" : {
@@ -2018,7 +1959,7 @@
},
{
"name" : "FabricIngress.next.simple_counter",
- "id" : 15,
+ "id" : 14,
"is_direct" : true,
"binding" : "FabricIngress.next.simple",
"source_info" : {
@@ -2030,7 +1971,7 @@
},
{
"name" : "FabricIngress.next.hashed_counter",
- "id" : 16,
+ "id" : 15,
"is_direct" : true,
"binding" : "FabricIngress.next.hashed",
"source_info" : {
@@ -2042,7 +1983,7 @@
},
{
"name" : "FabricIngress.next.multicast_counter",
- "id" : 17,
+ "id" : 16,
"is_direct" : true,
"binding" : "FabricIngress.next.multicast",
"source_info" : {
@@ -2054,7 +1995,7 @@
},
{
"name" : "FabricIngress.port_counters_control.egress_port_counter",
- "id" : 18,
+ "id" : 17,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 26,
@@ -2066,7 +2007,7 @@
},
{
"name" : "FabricIngress.port_counters_control.ingress_port_counter",
- "id" : 19,
+ "id" : 18,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 27,
@@ -2077,20 +2018,20 @@
"is_direct" : false
},
{
- "name" : "FabricEgress.spgw_egress.pdr_counter",
- "id" : 20,
+ "name" : "FabricIngress.spgw_ingress.pdr_counter",
+ "id" : 19,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 246,
- "column" : 49,
+ "filename" : "include/control/spgw.p4",
+ "line" : 182,
+ "column" : 53,
"source_fragment" : "pdr_counter"
},
- "size" : 1024,
+ "size" : 2048,
"is_direct" : false
},
{
"name" : "FabricEgress.bng_egress.downstream.c_line_tx",
- "id" : 21,
+ "id" : 20,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 267,
@@ -2102,7 +2043,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_source.counter_int_source",
- "id" : 22,
+ "id" : 21,
"is_direct" : true,
"binding" : "FabricEgress.process_int_main.process_int_source.tb_int_source",
"source_info" : {
@@ -2114,7 +2055,7 @@
},
{
"name" : "FabricEgress.egress_next.egress_vlan_counter",
- "id" : 23,
+ "id" : 22,
"is_direct" : true,
"binding" : "FabricEgress.egress_next.egress_vlan",
"source_info" : {
@@ -2123,6 +2064,18 @@
"column" : 50,
"source_fragment" : "egress_vlan_counter"
}
+ },
+ {
+ "name" : "FabricEgress.spgw_egress.pdr_counter",
+ "id" : 23,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 303,
+ "column" : 53,
+ "source_fragment" : "pdr_counter"
+ },
+ "size" : 2048,
+ "is_direct" : false
}
],
"register_arrays" : [],
@@ -2192,8 +2145,8 @@
"name" : "calc_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 306,
+ "filename" : "include/control/spgw.p4",
+ "line" : 364,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
@@ -2392,741 +2345,16 @@
"primitives" : []
},
{
- "name" : "nop",
+ "name" : "FabricIngress.process_set_source_sink.int_set_source",
"id" : 13,
"runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "nop",
- "id" : 14,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "NoAction",
- "id" : 15,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "NoAction",
- "id" : 16,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "FabricIngress.spgw_ingress.gtpu_decap",
- "id" : 17,
- "runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid23"]
- },
- {
- "type" : "field",
- "value" : ["gtpu", "teid"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 61,
- "column" : 30,
- "source_fragment" : "= gtpu.teid; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr25"]
- },
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dst_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 62,
- "column" : 41,
- "source_fragment" : "= gtpu_ipv4.dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "src_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 64,
- "column" : 34,
- "source_fragment" : "= ipv4.src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "dst_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 65,
- "column" : 34,
- "source_fragment" : "= ipv4.dst_addr; ..."
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 67,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "gtpu_udp.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "gtpu.setInvalid()"
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 18,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit28"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id26"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id27"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 19,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit28"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id26"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id27"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 20,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit28"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id26"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id27"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.load_normal_far_attributes",
- "id" : 21,
- "runtime_data" : [
- {
- "name" : "drop",
- "bitwidth" : 1
- },
- {
- "name" : "notify_cp",
- "bitwidth" : 1
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped29"]
- },
- {
- "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/spgw.p4",
- "line" : 146,
- "column" : 37,
- "source_fragment" : "= (bool)drop; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_notify_cp30"]
- },
- {
- "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/spgw.p4",
- "line" : 147,
- "column" : 35,
- "source_fragment" : "= (bool)notify_cp; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.load_tunnel_far_attributes",
- "id" : 22,
- "runtime_data" : [
- {
- "name" : "drop",
- "bitwidth" : 1
- },
- {
- "name" : "notify_cp",
- "bitwidth" : 1
- },
- {
- "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._spgw_far_dropped29"]
- },
- {
- "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/spgw.p4",
- "line" : 155,
- "column" : 37,
- "source_fragment" : "= (bool)drop; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_notify_cp30"]
- },
- {
- "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/spgw.p4",
- "line" : 156,
- "column" : 35,
- "source_fragment" : "= (bool)notify_cp; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_outer_header_creation31"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 158,
- "column" : 47,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid23"]
- },
- {
- "type" : "runtime_data",
- "value" : 4
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 159,
- "column" : 30,
- "source_fragment" : "= teid; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr24"]
- },
- {
- "type" : "runtime_data",
- "value" : 2
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 160,
- "column" : 41,
- "source_fragment" : "= tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr25"]
- },
- {
- "type" : "runtime_data",
- "value" : 3
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 161,
- "column" : 41,
- "source_fragment" : "= tunnel_dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
- },
- {
- "type" : "runtime_data",
- "value" : 2
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 163,
- "column" : 34,
- "source_fragment" : "= tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
- },
- {
- "type" : "runtime_data",
- "value" : 3
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 164,
- "column" : 34,
- "source_fragment" : "= tunnel_dst_addr; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.process_set_source_sink.int_set_source",
- "id" : 23,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_source38"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_source44"]
},
{
"type" : "expression",
@@ -3154,7 +2382,7 @@
},
{
"name" : "FabricIngress.process_set_source_sink.int_set_sink",
- "id" : 24,
+ "id" : 14,
"runtime_data" : [],
"primitives" : [
{
@@ -3162,7 +2390,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_sink40"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_sink46"]
},
{
"type" : "expression",
@@ -3190,7 +2418,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.punt_to_cpu",
- "id" : 25,
+ "id" : 15,
"runtime_data" : [],
"primitives" : [
{
@@ -3240,7 +2468,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -3254,7 +2482,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.term_disabled",
- "id" : 26,
+ "id" : 16,
"runtime_data" : [],
"primitives" : [
{
@@ -3262,7 +2490,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type32"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
{
"type" : "hexstr",
@@ -3271,7 +2499,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 159,
+ "line" : 163,
"column" : 36,
"source_fragment" : "2w0x0; ..."
}
@@ -3295,7 +2523,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.term_disabled",
- "id" : 27,
+ "id" : 17,
"runtime_data" : [],
"primitives" : [
{
@@ -3303,7 +2531,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type32"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
{
"type" : "hexstr",
@@ -3312,7 +2540,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 159,
+ "line" : 163,
"column" : 36,
"source_fragment" : "2w0x0; ..."
}
@@ -3336,7 +2564,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.term_enabled_v4",
- "id" : 28,
+ "id" : 18,
"runtime_data" : [],
"primitives" : [
{
@@ -3353,7 +2581,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 117,
+ "line" : 128,
"column" : 31,
"source_fragment" : "0x0800; ..."
}
@@ -3382,7 +2610,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -3396,7 +2624,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.term_enabled_v6",
- "id" : 29,
+ "id" : 19,
"runtime_data" : [],
"primitives" : [
{
@@ -3413,7 +2641,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 118,
+ "line" : 129,
"column" : 31,
"source_fragment" : "0x86dd; ..."
}
@@ -3442,7 +2670,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -3456,7 +2684,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.set_session",
- "id" : 30,
+ "id" : 20,
"runtime_data" : [
{
"name" : "pppoe_session_id",
@@ -3469,7 +2697,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type32"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
{
"type" : "hexstr",
@@ -3478,7 +2706,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 161,
+ "line" : 165,
"column" : 39,
"source_fragment" : "2w0x2;; ..."
}
@@ -3488,7 +2716,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id34"]
+ "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id40"]
},
{
"type" : "runtime_data",
@@ -3511,7 +2739,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -3525,7 +2753,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.drop",
- "id" : 31,
+ "id" : 21,
"runtime_data" : [],
"primitives" : [
{
@@ -3533,7 +2761,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type32"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
{
"type" : "hexstr",
@@ -3542,7 +2770,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 161,
+ "line" : 165,
"column" : 39,
"source_fragment" : "2w0x2;; ..."
}
@@ -3556,7 +2784,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -3585,31 +2813,31 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.qos_prio",
- "id" : 32,
+ "id" : 22,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.bng_ingress.downstream.qos_prio",
- "id" : 33,
+ "id" : 23,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.bng_ingress.downstream.qos_besteff",
- "id" : 34,
+ "id" : 24,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.bng_ingress.downstream.qos_besteff",
- "id" : 35,
+ "id" : 25,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.bng_ingress.set_line",
- "id" : 36,
+ "id" : 26,
"runtime_data" : [
{
"name" : "line_id",
@@ -3622,7 +2850,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
},
{
"type" : "runtime_data",
@@ -3640,7 +2868,7 @@
},
{
"name" : "FabricIngress.filtering.deny",
- "id" : 37,
+ "id" : 27,
"runtime_data" : [],
"primitives" : [
{
@@ -3705,13 +2933,13 @@
},
{
"name" : "FabricIngress.filtering.permit",
- "id" : 38,
+ "id" : 28,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.filtering.permit_with_internal_vlan",
- "id" : 39,
+ "id" : 29,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -3742,7 +2970,7 @@
},
{
"name" : "FabricIngress.filtering.set_forwarding_type",
- "id" : 40,
+ "id" : 30,
"runtime_data" : [
{
"name" : "fwd_type",
@@ -3773,7 +3001,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_bridging",
- "id" : 41,
+ "id" : 31,
"runtime_data" : [
{
"name" : "next_id",
@@ -3804,7 +3032,7 @@
},
{
"name" : "FabricIngress.forwarding.pop_mpls_and_next",
- "id" : 42,
+ "id" : 32,
"runtime_data" : [
{
"name" : "next_id",
@@ -3854,7 +3082,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_routing_v4",
- "id" : 43,
+ "id" : 33,
"runtime_data" : [
{
"name" : "next_id",
@@ -3885,13 +3113,13 @@
},
{
"name" : "FabricIngress.forwarding.nop_routing_v4",
- "id" : 44,
+ "id" : 34,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.forwarding.set_next_id_routing_v6",
- "id" : 45,
+ "id" : 35,
"runtime_data" : [
{
"name" : "next_id",
@@ -3922,7 +3150,7 @@
},
{
"name" : "FabricIngress.acl.set_next_id_acl",
- "id" : 46,
+ "id" : 36,
"runtime_data" : [
{
"name" : "next_id",
@@ -3953,7 +3181,7 @@
},
{
"name" : "FabricIngress.acl.punt_to_cpu",
- "id" : 47,
+ "id" : 37,
"runtime_data" : [],
"primitives" : [
{
@@ -4008,7 +3236,7 @@
},
{
"name" : "FabricIngress.acl.set_clone_session_id",
- "id" : 48,
+ "id" : 38,
"runtime_data" : [
{
"name" : "clone_id",
@@ -4039,7 +3267,7 @@
},
{
"name" : "FabricIngress.acl.drop",
- "id" : 49,
+ "id" : 39,
"runtime_data" : [],
"primitives" : [
{
@@ -4090,13 +3318,13 @@
},
{
"name" : "FabricIngress.acl.nop_acl",
- "id" : 50,
+ "id" : 40,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.next.set_vlan",
- "id" : 51,
+ "id" : 41,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -4127,7 +3355,7 @@
},
{
"name" : "FabricIngress.next.set_double_vlan",
- "id" : 52,
+ "id" : 42,
"runtime_data" : [
{
"name" : "outer_vlan_id",
@@ -4211,7 +3439,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_s_tag36"]
+ "value" : ["scalars", "fabric_metadata_t._bng_s_tag42"]
},
{
"type" : "runtime_data",
@@ -4230,7 +3458,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_c_tag37"]
+ "value" : ["scalars", "fabric_metadata_t._bng_c_tag43"]
},
{
"type" : "runtime_data",
@@ -4248,7 +3476,7 @@
},
{
"name" : "FabricIngress.next.output_xconnect",
- "id" : 53,
+ "id" : 43,
"runtime_data" : [
{
"name" : "port_num",
@@ -4279,7 +3507,7 @@
},
{
"name" : "FabricIngress.next.set_next_id_xconnect",
- "id" : 54,
+ "id" : 44,
"runtime_data" : [
{
"name" : "next_id",
@@ -4310,7 +3538,7 @@
},
{
"name" : "FabricIngress.next.output_simple",
- "id" : 55,
+ "id" : 45,
"runtime_data" : [
{
"name" : "port_num",
@@ -4341,7 +3569,7 @@
},
{
"name" : "FabricIngress.next.routing_simple",
- "id" : 56,
+ "id" : 46,
"runtime_data" : [
{
"name" : "port_num",
@@ -4418,7 +3646,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_simple",
- "id" : 57,
+ "id" : 47,
"runtime_data" : [
{
"name" : "port_num",
@@ -4518,7 +3746,7 @@
},
{
"name" : "FabricIngress.next.output_hashed",
- "id" : 58,
+ "id" : 48,
"runtime_data" : [
{
"name" : "port_num",
@@ -4549,7 +3777,7 @@
},
{
"name" : "FabricIngress.next.routing_hashed",
- "id" : 59,
+ "id" : 49,
"runtime_data" : [
{
"name" : "port_num",
@@ -4626,7 +3854,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_hashed",
- "id" : 60,
+ "id" : 50,
"runtime_data" : [
{
"name" : "port_num",
@@ -4726,7 +3954,7 @@
},
{
"name" : "FabricIngress.next.set_mcast_group_id",
- "id" : 61,
+ "id" : 51,
"runtime_data" : [
{
"name" : "group_id",
@@ -4785,16 +4013,126 @@
]
},
{
- "name" : "act",
- "id" : 62,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.set_source_iface",
+ "id" : 52,
+ "runtime_data" : [
+ {
+ "name" : "src_iface",
+ "bitwidth" : 8
+ },
+ {
+ "name" : "direction",
+ "bitwidth" : 2
+ },
+ {
+ "name" : "skip_spgw",
+ "bitwidth" : 1
+ }
+ ],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_src_iface31"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 0
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 50,
+ "column" : 33,
+ "source_fragment" : "= src_iface; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_direction23"]
+ },
+ {
+ "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_spgw32"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 52,
+ "column" : 33,
+ "source_fragment" : "= (bool)skip_spgw; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
+ "id" : 53,
+ "runtime_data" : [
+ {
+ "name" : "ctr_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "far_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "needs_gtpu_decap",
+ "bitwidth" : 1
+ }
+ ],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit33"]
},
{
"type" : "expression",
@@ -4812,47 +4150,10 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 32,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_0",
- "id" : 63,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 50,
- "source_fragment" : "hdr.gtpu_ipv4"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 65,
- "source_fragment" : "hdr.gtpu_udp"
+ "filename" : "include/control/spgw.p4",
+ "line" : 75,
+ "column" : 31,
+ "source_fragment" : "= true; ..."
}
},
{
@@ -4860,7 +4161,104 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id29"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 0
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 76,
+ "column" : 30,
+ "source_fragment" : "= ctr_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_id30"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 1
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 77,
+ "column" : 30,
+ "source_fragment" : "= far_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap37"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 78,
+ "column" : 40,
+ "source_fragment" : "= (bool)needs_gtpu_decap; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
+ "id" : 54,
+ "runtime_data" : [
+ {
+ "name" : "ctr_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "far_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "needs_gtpu_decap",
+ "bitwidth" : 1
+ }
+ ],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit33"]
},
{
"type" : "expression",
@@ -4871,85 +4269,600 @@
"left" : null,
"right" : {
"type" : "bool",
- "value" : false
+ "value" : true
}
}
}
}
- ]
- }
- ]
- },
- {
- "name" : "act_1",
- "id" : 64,
- "runtime_data" : [],
- "primitives" : [
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 75,
+ "column" : 31,
+ "source_fragment" : "= true; ..."
+ }
+ },
{
- "op" : "assign_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "udp"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id29"]
},
{
- "type" : "header",
- "value" : "inner_udp"
+ "type" : "runtime_data",
+ "value" : 0
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 39,
- "column" : 16,
- "source_fragment" : "= inner_udp; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 76,
+ "column" : 30,
+ "source_fragment" : "= ctr_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_id30"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 1
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 77,
+ "column" : 30,
+ "source_fragment" : "= far_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap37"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 78,
+ "column" : 40,
+ "source_fragment" : "= (bool)needs_gtpu_decap; ..."
}
}
]
},
{
- "name" : "act_2",
- "id" : 65,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.load_normal_far_attributes",
+ "id" : 55,
+ "runtime_data" : [
+ {
+ "name" : "drop",
+ "bitwidth" : 1
+ },
+ {
+ "name" : "notify_cp",
+ "bitwidth" : 1
+ }
+ ],
"primitives" : [
{
- "op" : "remove_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "udp"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped34"]
+ },
+ {
+ "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/spgw.p4",
- "line" : 41,
- "column" : 12,
- "source_fragment" : "udp.setInvalid()"
+ "filename" : "include/control/spgw.p4",
+ "line" : 140,
+ "column" : 35,
+ "source_fragment" : "= (bool)drop; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc35"]
+ },
+ {
+ "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" : 141,
+ "column" : 36,
+ "source_fragment" : "= (bool)notify_cp; ..."
}
}
]
},
{
- "name" : "act_3",
- "id" : 66,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.load_tunnel_far_attributes",
+ "id" : 56,
+ "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_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "gtpu_ipv4"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped34"]
},
{
- "type" : "header",
- "value" : "ipv4"
+ "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/spgw.p4",
- "line" : 35,
- "column" : 18,
- "source_fragment" : "= ipv4; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 150,
+ "column" : 35,
+ "source_fragment" : "= (bool)drop; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc35"]
+ },
+ {
+ "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" : 151,
+ "column" : 36,
+ "source_fragment" : "= (bool)notify_cp; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap36"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 153,
+ "column" : 40,
+ "source_fragment" : "= true; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_teid25"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 5
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 154,
+ "column" : 28,
+ "source_fragment" : "= teid; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port26"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 2
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 155,
+ "column" : 39,
+ "source_fragment" : "= tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr27"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 3
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 156,
+ "column" : 39,
+ "source_fragment" : "= tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr28"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 4
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 157,
+ "column" : 39,
+ "source_fragment" : "= tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 3
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 159,
+ "column" : 32,
+ "source_fragment" : "= tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 4
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 160,
+ "column" : 32,
+ "source_fragment" : "= tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport17"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 2
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 161,
+ "column" : 27,
+ "source_fragment" : "= tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport18"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0868"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 162,
+ "column" : 27,
+ "source_fragment" : "= 2152; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_inner_tcp",
+ "id" : 57,
+ "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_proto16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 189,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 190,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 191,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport17"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport21"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 192,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport18"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport22"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 193,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
}
},
{
@@ -4965,10 +4878,55 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 36,
- "column" : 13,
- "source_fragment" : "= inner_ipv4; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 195,
+ "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" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 201,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
}
},
{
@@ -4976,25 +4934,648 @@
"parameters" : [
{
"type" : "header",
- "value" : "gtpu_udp"
+ "value" : "tcp"
},
{
"type" : "header",
+ "value" : "inner_tcp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 202,
+ "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" : 203,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_tcp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_inner_udp",
+ "id" : 58,
+ "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_proto16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 189,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 190,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 191,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport17"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport21"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 192,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport18"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport22"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 193,
+ "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" : 195,
+ "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" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "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" : 207,
+ "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" : 208,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_udp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_inner_icmp",
+ "id" : 59,
+ "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_proto16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 189,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 190,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 191,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport17"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport21"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 192,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport18"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport22"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 193,
+ "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" : 195,
+ "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" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "udp"
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 37,
- "column" : 17,
- "source_fragment" : "= udp; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 212,
+ "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" : 213,
+ "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" : 214,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_icmp.setInvalid()"
}
}
]
},
{
- "name" : "act_4",
- "id" : 67,
+ "name" : "FabricIngress.spgw_ingress.decap_inner_unknown",
+ "id" : 60,
+ "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_proto16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 189,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 190,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 191,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport17"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport21"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 192,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport18"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport22"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 193,
+ "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" : 195,
+ "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" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 218,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act",
+ "id" : 61,
"runtime_data" : [],
"primitives" : [
{
@@ -5073,8 +5654,191 @@
]
},
{
+ "name" : "act_0",
+ "id" : 62,
+ "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" : false
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name" : "act_1",
+ "id" : 63,
+ "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" : 251,
+ "column" : 46,
+ "source_fragment" : "return"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_2",
+ "id" : 64,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "count",
+ "parameters" : [
+ {
+ "type" : "counter_array",
+ "value" : "FabricIngress.spgw_ingress.pdr_counter"
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id29"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 265,
+ "column" : 8,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_3",
+ "id" : 65,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._skip_forwarding10"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 282,
+ "column" : 38,
+ "source_fragment" : "= true; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._skip_next11"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 283,
+ "column" : 32,
+ "source_fragment" : "= true; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_4",
+ "id" : 66,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len24"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 291,
+ "column" : 32,
+ "source_fragment" : "= hdr.ipv4.total_len; ..."
+ }
+ }
+ ]
+ },
+ {
"name" : "act_5",
- "id" : 68,
+ "id" : 67,
"runtime_data" : [],
"primitives" : [
{
@@ -5138,7 +5902,7 @@
},
{
"name" : "act_6",
- "id" : 69,
+ "id" : 68,
"runtime_data" : [],
"primitives" : [
{
@@ -5202,7 +5966,7 @@
},
{
"name" : "act_7",
- "id" : 70,
+ "id" : 69,
"runtime_data" : [],
"primitives" : [
{
@@ -5228,7 +5992,7 @@
},
{
"name" : "act_8",
- "id" : 71,
+ "id" : 70,
"runtime_data" : [],
"primitives" : [
{
@@ -5236,439 +6000,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_9",
- "id" : 72,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_10",
- "id" : 73,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "mark_to_drop",
- "parameters" : [
- {
- "type" : "header",
- "value" : "standard_metadata"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 187,
- "column" : 16,
- "source_fragment" : "mark_to_drop(standard_metadata)"
- }
- }
- ]
- },
- {
- "name" : "act_11",
- "id" : 74,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction21"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 150,
- "column" : 36,
- "source_fragment" : "2w1; ..."
- }
- }
- ]
- },
- {
- "name" : "act_12",
- "id" : 75,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_13",
- "id" : 76,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_14",
- "id" : 77,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction21"]
- },
- {
- "type" : "hexstr",
- "value" : "0x02"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 151,
- "column" : 38,
- "source_fragment" : "2w2; ..."
- }
- }
- ]
- },
- {
- "name" : "act_15",
- "id" : 78,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction21"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 149,
- "column" : 37,
- "source_fragment" : "2w0; ..."
- }
- },
- {
- "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/spgw.p4",
- "line" : 196,
- "column" : 12,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_16",
- "id" : 79,
- "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" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_17",
- "id" : 80,
- "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/spgw.p4",
- "line" : 206,
- "column" : 12,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_18",
- "id" : 81,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "count",
- "parameters" : [
- {
- "type" : "counter_array",
- "value" : "FabricIngress.spgw_ingress.pdr_counter"
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id26"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 213,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
- }
- }
- ]
- },
- {
- "name" : "act_19",
- "id" : 82,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._skip_forwarding10"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 223,
- "column" : 40,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._skip_next11"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 224,
- "column" : 34,
- "source_fragment" : "= true; ..."
- }
- }
- ]
- },
- {
- "name" : "act_20",
- "id" : 83,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len22"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "total_len"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 232,
- "column" : 34,
- "source_fragment" : "= ipv4.total_len; ..."
- }
- }
- ]
- },
- {
- "name" : "act_21",
- "id" : 84,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
},
{
"type" : "expression",
@@ -5704,7 +6036,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
}
],
"source_info" : {
@@ -5717,8 +6049,8 @@
]
},
{
- "name" : "act_22",
- "id" : 85,
+ "name" : "act_9",
+ "id" : 71,
"runtime_data" : [],
"primitives" : [
{
@@ -5726,7 +6058,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_5"]
+ "value" : ["scalars", "tmp_4"]
},
{
"type" : "expression",
@@ -5762,7 +6094,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_5"]
+ "value" : ["scalars", "tmp_4"]
}
],
"source_info" : {
@@ -5775,8 +6107,8 @@
]
},
{
- "name" : "act_23",
- "id" : 86,
+ "name" : "act_10",
+ "id" : 72,
"runtime_data" : [],
"primitives" : [
{
@@ -5801,8 +6133,8 @@
]
},
{
- "name" : "act_24",
- "id" : 87,
+ "name" : "act_11",
+ "id" : 73,
"runtime_data" : [],
"primitives" : [
{
@@ -5831,8 +6163,8 @@
]
},
{
- "name" : "act_25",
- "id" : 88,
+ "name" : "act_12",
+ "id" : 74,
"runtime_data" : [],
"primitives" : [
{
@@ -5861,8 +6193,8 @@
]
},
{
- "name" : "act_26",
- "id" : 89,
+ "name" : "act_13",
+ "id" : 75,
"runtime_data" : [],
"primitives" : [
{
@@ -5870,7 +6202,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type32"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
{
"type" : "hexstr",
@@ -5879,7 +6211,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 160,
+ "line" : 164,
"column" : 37,
"source_fragment" : "2w0x1; ..."
}
@@ -5910,8 +6242,8 @@
]
},
{
- "name" : "act_27",
- "id" : 90,
+ "name" : "act_14",
+ "id" : 76,
"runtime_data" : [],
"primitives" : [
{
@@ -5946,8 +6278,8 @@
]
},
{
- "name" : "act_28",
- "id" : 91,
+ "name" : "act_15",
+ "id" : 77,
"runtime_data" : [],
"primitives" : [
{
@@ -5959,7 +6291,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -5972,8 +6304,8 @@
]
},
{
- "name" : "act_29",
- "id" : 92,
+ "name" : "act_16",
+ "id" : 78,
"runtime_data" : [],
"primitives" : [
{
@@ -5985,7 +6317,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -5998,8 +6330,8 @@
]
},
{
- "name" : "act_30",
- "id" : 93,
+ "name" : "act_17",
+ "id" : 79,
"runtime_data" : [],
"primitives" : [
{
@@ -6057,8 +6389,8 @@
]
},
{
- "name" : "act_31",
- "id" : 94,
+ "name" : "act_18",
+ "id" : 80,
"runtime_data" : [],
"primitives" : [
{
@@ -6087,8 +6419,8 @@
]
},
{
- "name" : "act_32",
- "id" : 95,
+ "name" : "act_19",
+ "id" : 81,
"runtime_data" : [],
"primitives" : [
{
@@ -6117,8 +6449,8 @@
]
},
{
- "name" : "act_33",
- "id" : 96,
+ "name" : "act_20",
+ "id" : 82,
"runtime_data" : [],
"primitives" : [
{
@@ -6130,11 +6462,11 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result35"]
+ "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result41"]
}
],
"source_info" : {
@@ -6147,8 +6479,8 @@
]
},
{
- "name" : "act_34",
- "id" : 97,
+ "name" : "act_21",
+ "id" : 83,
"runtime_data" : [],
"primitives" : [
{
@@ -6160,11 +6492,11 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result35"]
+ "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result41"]
}
],
"source_info" : {
@@ -6177,8 +6509,8 @@
]
},
{
- "name" : "act_35",
- "id" : 98,
+ "name" : "act_22",
+ "id" : 84,
"runtime_data" : [],
"primitives" : [
{
@@ -6190,11 +6522,11 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result35"]
+ "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result41"]
}
],
"source_info" : {
@@ -6207,8 +6539,8 @@
]
},
{
- "name" : "act_36",
- "id" : 99,
+ "name" : "act_23",
+ "id" : 85,
"runtime_data" : [],
"primitives" : [
{
@@ -6220,11 +6552,11 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result35"]
+ "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result41"]
}
],
"source_info" : {
@@ -6238,635 +6570,43 @@
},
{
"name" : "nop",
- "id" : 100,
+ "id" : 86,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "nop",
- "id" : 101,
+ "id" : 87,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "nop",
- "id" : 102,
+ "id" : 88,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "nop",
- "id" : 103,
+ "id" : 89,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
- "id" : 104,
+ "id" : 90,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
- "id" : 105,
+ "id" : 91,
"runtime_data" : [],
"primitives" : []
},
{
- "name" : "FabricEgress.spgw_egress.gtpu_encap",
- "id" : 106,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 251,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "version"]
- },
- {
- "type" : "hexstr",
- "value" : "0x04"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 252,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.version = 4"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ihl"]
- },
- {
- "type" : "hexstr",
- "value" : "0x05"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 132,
- "column" : 28,
- "source_fragment" : "5; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dscp"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 254,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.dscp = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ecn"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 255,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.ecn = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "total_len"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["ipv4", "total_len"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0024"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 256,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.total_len = ipv4.total_len ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "identification"]
- },
- {
- "type" : "hexstr",
- "value" : "0x1513"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 258,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.identification = 0x1513"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "flags"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 259,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.flags = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "frag_offset"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 260,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.frag_offset = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ttl"]
- },
- {
- "type" : "hexstr",
- "value" : "0x40"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 145,
- "column" : 32,
- "source_fragment" : "64; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "protocol"]
- },
- {
- "type" : "hexstr",
- "value" : "0x11"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 129,
- "column" : 25,
- "source_fragment" : "17; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "src_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr24"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 263,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.src_addr = fabric_meta.spgw.tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dst_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr25"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 264,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.dst_addr = fabric_meta.spgw.tunnel_dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "hdr_checksum"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 265,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.hdr_checksum = 0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 267,
- "column" : 8,
- "source_fragment" : "gtpu_udp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "sport"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0868"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 268,
- "column" : 8,
- "source_fragment" : "gtpu_udp.sport = 2152"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "dport"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0868"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 269,
- "column" : 8,
- "source_fragment" : "gtpu_udp.dport = 2152"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "len"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len22"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0010"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 270,
- "column" : 8,
- "source_fragment" : "gtpu_udp.len = fabric_meta.spgw.ipv4_len ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "checksum"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 272,
- "column" : 8,
- "source_fragment" : "gtpu_udp.checksum = 0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 275,
- "column" : 8,
- "source_fragment" : "gtpu.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "version"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 276,
- "column" : 8,
- "source_fragment" : "gtpu.version = 0x01"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "pt"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 277,
- "column" : 8,
- "source_fragment" : "gtpu.pt = 0x01"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "spare"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 278,
- "column" : 8,
- "source_fragment" : "gtpu.spare = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "ex_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 279,
- "column" : 8,
- "source_fragment" : "gtpu.ex_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "seq_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 280,
- "column" : 8,
- "source_fragment" : "gtpu.seq_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "npdu_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 281,
- "column" : 8,
- "source_fragment" : "gtpu.npdu_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "msgtype"]
- },
- {
- "type" : "hexstr",
- "value" : "0xff"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 282,
- "column" : 8,
- "source_fragment" : "gtpu.msgtype = 0xff"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "msglen"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len22"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 283,
- "column" : 8,
- "source_fragment" : "gtpu.msglen = fabric_meta.spgw.ipv4_len; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "teid"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid23"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 284,
- "column" : 8,
- "source_fragment" : "gtpu.teid = fabric_meta.spgw.teid; ..."
- }
- }
- ]
- },
- {
"name" : "FabricEgress.bng_egress.downstream.encap_v4",
- "id" : 107,
+ "id" : 92,
"runtime_data" : [],
"primitives" : [
{
@@ -6883,7 +6623,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 121,
+ "line" : 132,
"column" : 33,
"source_fragment" : "0x8864; ..."
}
@@ -6969,7 +6709,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id34"]
+ "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id40"]
}
],
"source_info" : {
@@ -6988,7 +6728,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -7054,7 +6794,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 123,
+ "line" : 134,
"column" : 35,
"source_fragment" : "0x0021; ..."
}
@@ -7063,7 +6803,7 @@
},
{
"name" : "FabricEgress.bng_egress.downstream.encap_v6",
- "id" : 108,
+ "id" : 93,
"runtime_data" : [],
"primitives" : [
{
@@ -7080,7 +6820,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 121,
+ "line" : 132,
"column" : 33,
"source_fragment" : "0x8864; ..."
}
@@ -7166,7 +6906,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id34"]
+ "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id40"]
}
],
"source_info" : {
@@ -7185,7 +6925,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -7251,7 +6991,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 124,
+ "line" : 135,
"column" : 35,
"source_fragment" : "0x0057; ..."
}
@@ -7260,7 +7000,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_source.int_source_dscp",
- "id" : 109,
+ "id" : 94,
"runtime_data" : [
{
"name" : "max_hop",
@@ -7328,7 +7068,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 160,
+ "line" : 165,
"column" : 36,
"source_fragment" : "4; ..."
}
@@ -7746,7 +7486,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 156,
+ "line" : 161,
"column" : 24,
"source_fragment" : "0x1; ..."
}
@@ -7755,7 +7495,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.init_metadata",
- "id" : 110,
+ "id" : 95,
"runtime_data" : [
{
"name" : "switch_id",
@@ -7768,7 +7508,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_transit39"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_transit45"]
},
{
"type" : "expression",
@@ -7797,7 +7537,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
},
{
"type" : "runtime_data",
@@ -7815,13 +7555,13 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i0",
- "id" : 111,
+ "id" : 96,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i1",
- "id" : 112,
+ "id" : 97,
"runtime_data" : [],
"primitives" : [
{
@@ -7895,7 +7635,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -7909,7 +7649,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -7937,7 +7677,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -7951,7 +7691,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -7978,7 +7718,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i2",
- "id" : 113,
+ "id" : 98,
"runtime_data" : [],
"primitives" : [
{
@@ -8020,7 +7760,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -8034,7 +7774,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -8062,7 +7802,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -8076,7 +7816,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -8103,7 +7843,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i3",
- "id" : 114,
+ "id" : 99,
"runtime_data" : [],
"primitives" : [
{
@@ -8211,7 +7951,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -8225,7 +7965,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -8253,7 +7993,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -8267,7 +8007,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -8294,7 +8034,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i4",
- "id" : 115,
+ "id" : 100,
"runtime_data" : [],
"primitives" : [
{
@@ -8381,7 +8121,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -8395,7 +8135,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -8423,7 +8163,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -8437,7 +8177,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -8464,7 +8204,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i5",
- "id" : 116,
+ "id" : 101,
"runtime_data" : [],
"primitives" : [
{
@@ -8617,7 +8357,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -8631,7 +8371,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -8659,7 +8399,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -8673,7 +8413,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -8700,7 +8440,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i6",
- "id" : 117,
+ "id" : 102,
"runtime_data" : [],
"primitives" : [
{
@@ -8821,7 +8561,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -8835,7 +8575,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -8863,7 +8603,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -8877,7 +8617,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -8904,7 +8644,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i7",
- "id" : 118,
+ "id" : 103,
"runtime_data" : [],
"primitives" : [
{
@@ -9091,7 +8831,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -9105,7 +8845,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -9133,7 +8873,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -9147,7 +8887,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -9174,7 +8914,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i8",
- "id" : 119,
+ "id" : 104,
"runtime_data" : [],
"primitives" : [
{
@@ -9201,7 +8941,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -9216,7 +8956,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -9230,7 +8970,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -9258,7 +8998,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -9272,7 +9012,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -9299,7 +9039,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i9",
- "id" : 120,
+ "id" : 105,
"runtime_data" : [],
"primitives" : [
{
@@ -9392,7 +9132,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -9407,7 +9147,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -9421,7 +9161,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -9449,7 +9189,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -9463,7 +9203,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -9490,7 +9230,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i10",
- "id" : 121,
+ "id" : 106,
"runtime_data" : [],
"primitives" : [
{
@@ -9551,7 +9291,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -9566,7 +9306,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -9580,7 +9320,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -9608,7 +9348,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -9622,7 +9362,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -9649,7 +9389,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i11",
- "id" : 122,
+ "id" : 107,
"runtime_data" : [],
"primitives" : [
{
@@ -9776,7 +9516,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -9791,7 +9531,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -9805,7 +9545,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -9833,7 +9573,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -9847,7 +9587,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -9874,7 +9614,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i12",
- "id" : 123,
+ "id" : 108,
"runtime_data" : [],
"primitives" : [
{
@@ -9980,7 +9720,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -9995,7 +9735,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -10009,7 +9749,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -10037,7 +9777,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -10051,7 +9791,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -10078,7 +9818,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i13",
- "id" : 124,
+ "id" : 109,
"runtime_data" : [],
"primitives" : [
{
@@ -10250,7 +9990,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -10265,7 +10005,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -10279,7 +10019,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -10307,7 +10047,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -10321,7 +10061,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -10348,7 +10088,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i14",
- "id" : 125,
+ "id" : 110,
"runtime_data" : [],
"primitives" : [
{
@@ -10488,7 +10228,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -10503,7 +10243,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -10517,7 +10257,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -10545,7 +10285,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -10559,7 +10299,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -10586,7 +10326,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i15",
- "id" : 126,
+ "id" : 111,
"runtime_data" : [],
"primitives" : [
{
@@ -10792,7 +10532,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -10807,7 +10547,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -10821,7 +10561,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -10849,7 +10589,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -10863,7 +10603,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -10890,13 +10630,13 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0",
- "id" : 127,
+ "id" : 112,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1",
- "id" : 128,
+ "id" : 113,
"runtime_data" : [],
"primitives" : [
{
@@ -10938,7 +10678,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -10952,7 +10692,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -10980,7 +10720,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -10994,7 +10734,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -11021,7 +10761,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2",
- "id" : 129,
+ "id" : 114,
"runtime_data" : [],
"primitives" : [
{
@@ -11082,7 +10822,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -11096,7 +10836,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -11124,7 +10864,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -11138,7 +10878,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -11165,7 +10905,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3",
- "id" : 130,
+ "id" : 115,
"runtime_data" : [],
"primitives" : [
{
@@ -11260,7 +11000,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -11274,7 +11014,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -11302,7 +11042,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -11316,7 +11056,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -11343,7 +11083,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4",
- "id" : 131,
+ "id" : 116,
"runtime_data" : [],
"primitives" : [
{
@@ -11408,7 +11148,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -11422,7 +11162,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -11450,7 +11190,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -11464,7 +11204,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -11491,7 +11231,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5",
- "id" : 132,
+ "id" : 117,
"runtime_data" : [],
"primitives" : [
{
@@ -11590,7 +11330,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -11604,7 +11344,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -11632,7 +11372,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -11646,7 +11386,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -11673,7 +11413,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6",
- "id" : 133,
+ "id" : 118,
"runtime_data" : [],
"primitives" : [
{
@@ -11791,7 +11531,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -11805,7 +11545,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -11833,7 +11573,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -11847,7 +11587,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -11874,7 +11614,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7",
- "id" : 134,
+ "id" : 119,
"runtime_data" : [],
"primitives" : [
{
@@ -12026,7 +11766,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -12040,7 +11780,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -12068,7 +11808,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -12082,7 +11822,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -12109,7 +11849,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8",
- "id" : 135,
+ "id" : 120,
"runtime_data" : [],
"primitives" : [
{
@@ -12151,7 +11891,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -12165,7 +11905,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -12193,7 +11933,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -12207,7 +11947,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -12234,7 +11974,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9",
- "id" : 136,
+ "id" : 121,
"runtime_data" : [],
"primitives" : [
{
@@ -12310,7 +12050,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -12324,7 +12064,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -12352,7 +12092,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -12366,7 +12106,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -12393,7 +12133,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10",
- "id" : 137,
+ "id" : 122,
"runtime_data" : [],
"primitives" : [
{
@@ -12488,7 +12228,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -12502,7 +12242,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -12530,7 +12270,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -12544,7 +12284,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -12571,7 +12311,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11",
- "id" : 138,
+ "id" : 123,
"runtime_data" : [],
"primitives" : [
{
@@ -12700,7 +12440,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -12714,7 +12454,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -12742,7 +12482,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -12756,7 +12496,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -12783,7 +12523,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12",
- "id" : 139,
+ "id" : 124,
"runtime_data" : [],
"primitives" : [
{
@@ -12882,7 +12622,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -12896,7 +12636,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -12924,7 +12664,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -12938,7 +12678,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -12965,7 +12705,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13",
- "id" : 140,
+ "id" : 125,
"runtime_data" : [],
"primitives" : [
{
@@ -13098,7 +12838,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -13112,7 +12852,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -13140,7 +12880,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -13154,7 +12894,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -13181,7 +12921,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14",
- "id" : 141,
+ "id" : 126,
"runtime_data" : [],
"primitives" : [
{
@@ -13333,7 +13073,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -13347,7 +13087,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -13375,7 +13115,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -13389,7 +13129,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -13416,7 +13156,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15",
- "id" : 142,
+ "id" : 127,
"runtime_data" : [],
"primitives" : [
{
@@ -13602,7 +13342,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -13616,7 +13356,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -13644,7 +13384,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -13658,7 +13398,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -13685,7 +13425,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_report.do_report_encapsulation",
- "id" : 143,
+ "id" : 128,
"runtime_data" : [
{
"name" : "src_mac",
@@ -13791,7 +13531,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 117,
+ "line" : 128,
"column" : 31,
"source_fragment" : "0x0800; ..."
}
@@ -14019,7 +13759,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 129,
+ "line" : 140,
"column" : 25,
"source_fragment" : "17; ..."
}
@@ -14205,7 +13945,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 166,
+ "line" : 171,
"column" : 31,
"source_fragment" : "0; ..."
}
@@ -14300,7 +14040,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 170,
+ "line" : 175,
"column" : 21,
"source_fragment" : "1; ..."
}
@@ -14347,7 +14087,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_sink.restore_header",
- "id" : 144,
+ "id" : 129,
"runtime_data" : [],
"primitives" : [
{
@@ -14392,7 +14132,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_sink.int_sink",
- "id" : 145,
+ "id" : 130,
"runtime_data" : [],
"primitives" : [
{
@@ -14723,7 +14463,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_mpls_if_present",
- "id" : 146,
+ "id" : 131,
"runtime_data" : [],
"primitives" : [
{
@@ -14764,7 +14504,7 @@
},
{
"name" : "FabricEgress.egress_next.set_mpls",
- "id" : 147,
+ "id" : 132,
"runtime_data" : [],
"primitives" : [
{
@@ -14872,7 +14612,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 115,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -14881,7 +14621,7 @@
},
{
"name" : "FabricEgress.egress_next.push_vlan",
- "id" : 148,
+ "id" : 133,
"runtime_data" : [],
"primitives" : [
{
@@ -14951,7 +14691,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 114,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -14979,7 +14719,7 @@
},
{
"name" : "FabricEgress.egress_next.push_vlan",
- "id" : 149,
+ "id" : 134,
"runtime_data" : [],
"primitives" : [
{
@@ -15049,7 +14789,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 114,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -15077,7 +14817,7 @@
},
{
"name" : "FabricEgress.egress_next.push_inner_vlan",
- "id" : 150,
+ "id" : 135,
"runtime_data" : [],
"primitives" : [
{
@@ -15166,7 +14906,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 114,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -15185,7 +14925,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 114,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -15194,7 +14934,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_vlan",
- "id" : 151,
+ "id" : 136,
"runtime_data" : [],
"primitives" : [
{
@@ -15215,8 +14955,600 @@
]
},
{
- "name" : "act_37",
- "id" : 152,
+ "name" : "FabricEgress.spgw_egress.gtpu_encap",
+ "id" : 137,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 308,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "version"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x04"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 309,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.version = 4"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ihl"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x05"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 143,
+ "column" : 28,
+ "source_fragment" : "5; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "dscp"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 311,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.dscp = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ecn"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 312,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.ecn = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "total_len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0024"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 313,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.total_len = hdr.ipv4.total_len ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "identification"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x1513"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 315,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.identification = 0x1513"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "flags"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 316,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.flags = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "frag_offset"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 317,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.frag_offset = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ttl"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x40"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 156,
+ "column" : 32,
+ "source_fragment" : "64; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "protocol"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x11"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 140,
+ "column" : 25,
+ "source_fragment" : "17; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "src_addr"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr27"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 320,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.src_addr = fabric_md.spgw.tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "dst_addr"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr28"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 321,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.dst_addr = fabric_md.spgw.tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "hdr_checksum"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 322,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.hdr_checksum = 0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 324,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "sport"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port26"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 325,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.sport = fabric_md.spgw.tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "dport"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0868"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 326,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.dport = 2152"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len24"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0010"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 327,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.len = fabric_md.spgw.ipv4_len ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "checksum"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 329,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.checksum = 0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "outer_gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 332,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "version"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 333,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.version = 0x01"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "pt"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 334,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.pt = 0x01"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "spare"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 335,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.spare = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "ex_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 336,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.ex_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "seq_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 337,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.seq_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "npdu_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 338,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.npdu_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "msgtype"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 339,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.msgtype = 0xff"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "msglen"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len24"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 340,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.msglen = fabric_md.spgw.ipv4_len; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "teid"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_teid25"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 341,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.teid = fabric_md.spgw.teid; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_24",
+ "id" : 138,
"runtime_data" : [],
"primitives" : [
{
@@ -15232,8 +15564,8 @@
]
},
{
- "name" : "act_38",
- "id" : 153,
+ "name" : "act_25",
+ "id" : 139,
"runtime_data" : [],
"primitives" : [
{
@@ -15283,8 +15615,8 @@
]
},
{
- "name" : "act_39",
- "id" : 154,
+ "name" : "act_26",
+ "id" : 140,
"runtime_data" : [],
"primitives" : [
{
@@ -15305,8 +15637,8 @@
]
},
{
- "name" : "act_40",
- "id" : 155,
+ "name" : "act_27",
+ "id" : 141,
"runtime_data" : [],
"primitives" : [
{
@@ -15335,8 +15667,8 @@
]
},
{
- "name" : "act_41",
- "id" : 156,
+ "name" : "act_28",
+ "id" : 142,
"runtime_data" : [],
"primitives" : [
{
@@ -15365,8 +15697,8 @@
]
},
{
- "name" : "act_42",
- "id" : 157,
+ "name" : "act_29",
+ "id" : 143,
"runtime_data" : [],
"primitives" : [
{
@@ -15387,8 +15719,8 @@
]
},
{
- "name" : "act_43",
- "id" : 158,
+ "name" : "act_30",
+ "id" : 144,
"runtime_data" : [],
"primitives" : [
{
@@ -15409,8 +15741,8 @@
]
},
{
- "name" : "act_44",
- "id" : 159,
+ "name" : "act_31",
+ "id" : 145,
"runtime_data" : [],
"primitives" : [
{
@@ -15458,8 +15790,8 @@
]
},
{
- "name" : "act_45",
- "id" : 160,
+ "name" : "act_32",
+ "id" : 146,
"runtime_data" : [],
"primitives" : [
{
@@ -15480,8 +15812,8 @@
]
},
{
- "name" : "act_46",
- "id" : 161,
+ "name" : "act_33",
+ "id" : 147,
"runtime_data" : [],
"primitives" : [
{
@@ -15529,8 +15861,8 @@
]
},
{
- "name" : "act_47",
- "id" : 162,
+ "name" : "act_34",
+ "id" : 148,
"runtime_data" : [],
"primitives" : [
{
@@ -15551,8 +15883,8 @@
]
},
{
- "name" : "act_48",
- "id" : 163,
+ "name" : "act_35",
+ "id" : 149,
"runtime_data" : [],
"primitives" : [
{
@@ -15600,8 +15932,74 @@
]
},
{
- "name" : "act_49",
- "id" : 164,
+ "name" : "act_36",
+ "id" : 150,
+ "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" : 345,
+ "column" : 46,
+ "source_fragment" : "return"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_37",
+ "id" : 151,
+ "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_38",
+ "id" : 152,
"runtime_data" : [],
"primitives" : [
{
@@ -15613,21 +16011,21 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id26"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id29"]
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 288,
+ "filename" : "include/control/spgw.p4",
+ "line" : 346,
"column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
}
}
]
},
{
- "name" : "act_50",
- "id" : 165,
+ "name" : "act_39",
+ "id" : 153,
"runtime_data" : [],
"primitives" : [
{
@@ -15656,8 +16054,8 @@
]
},
{
- "name" : "act_51",
- "id" : 166,
+ "name" : "act_40",
+ "id" : 154,
"runtime_data" : [],
"primitives" : [
{
@@ -15692,8 +16090,8 @@
]
},
{
- "name" : "act_52",
- "id" : 167,
+ "name" : "act_41",
+ "id" : 155,
"runtime_data" : [],
"primitives" : [
{
@@ -15719,7 +16117,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
}
}
},
@@ -15741,8 +16139,8 @@
]
},
{
- "name" : "act_53",
- "id" : 168,
+ "name" : "act_42",
+ "id" : 156,
"runtime_data" : [],
"primitives" : [
{
@@ -15790,8 +16188,8 @@
]
},
{
- "name" : "act_54",
- "id" : 169,
+ "name" : "act_43",
+ "id" : 157,
"runtime_data" : [],
"primitives" : [
{
@@ -15817,7 +16215,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
}
}
},
@@ -15839,8 +16237,8 @@
]
},
{
- "name" : "act_55",
- "id" : 170,
+ "name" : "act_44",
+ "id" : 158,
"runtime_data" : [],
"primitives" : [
{
@@ -15866,7 +16264,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
}
}
},
@@ -15898,157 +16296,12 @@
"column" : 8,
"source_fragment" : "FabricIngress"
},
- "init_table" : "tbl_act",
+ "init_table" : "node_2",
"tables" : [
{
"name" : "tbl_act",
"id" : 0,
"source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 50,
- "source_fragment" : "hdr.gtpu_ipv4, hdr.gtpu_udp"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [63],
- "actions" : ["act_0"],
- "base_default_next" : "node_3",
- "next_tables" : {
- "act_0" : "node_3"
- },
- "default_entry" : {
- "action_id" : 63,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_0",
- "id" : 1,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 32,
- "source_fragment" : "return"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [62],
- "actions" : ["act"],
- "base_default_next" : "node_5",
- "next_tables" : {
- "act" : "node_5"
- },
- "default_entry" : {
- "action_id" : 62,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_1",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 35,
- "column" : 18,
- "source_fragment" : "= ipv4; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [66],
- "actions" : ["act_3"],
- "base_default_next" : "node_7",
- "next_tables" : {
- "act_3" : "node_7"
- },
- "default_entry" : {
- "action_id" : 66,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_2",
- "id" : 3,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 39,
- "column" : 16,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [64],
- "actions" : ["act_1"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_1" : "node_10"
- },
- "default_entry" : {
- "action_id" : 64,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_3",
- "id" : 4,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 41,
- "column" : 12,
- "source_fragment" : "udp.setInvalid()"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [65],
- "actions" : ["act_2"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_2" : "node_10"
- },
- "default_entry" : {
- "action_id" : 65,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_4",
- "id" : 5,
- "source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 25,
"column" : 42,
@@ -16061,14 +16314,450 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [67],
- "actions" : ["act_4"],
- "base_default_next" : "node_12",
+ "action_ids" : [61],
+ "actions" : ["act"],
+ "base_default_next" : "tbl_act_0",
"next_tables" : {
- "act_4" : "node_12"
+ "act" : "tbl_act_0"
},
"default_entry" : {
- "action_id" : 67,
+ "action_id" : 61,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_0",
+ "id" : 1,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [62],
+ "actions" : ["act_0"],
+ "base_default_next" : "FabricIngress.spgw_ingress.interface_lookup",
+ "next_tables" : {
+ "act_0" : "FabricIngress.spgw_ingress.interface_lookup"
+ },
+ "default_entry" : {
+ "action_id" : 62,
+ "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,
+ "column" : 10,
+ "source_fragment" : "interface_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "lpm",
+ "name" : "ipv4_dst_addr",
+ "target" : ["ipv4", "dst_addr"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "gtpu_is_valid",
+ "target" : ["gtpu", "$valid$"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "lpm",
+ "type" : "simple",
+ "max_size" : 128,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [52],
+ "actions" : ["FabricIngress.spgw_ingress.set_source_iface"],
+ "base_default_next" : "node_6",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.set_source_iface" : "node_6"
+ },
+ "default_entry" : {
+ "action_id" : 52,
+ "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" : 251,
+ "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" : [63],
+ "actions" : ["act_1"],
+ "base_default_next" : "node_8",
+ "next_tables" : {
+ "act_1" : "node_8"
+ },
+ "default_entry" : {
+ "action_id" : 63,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "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",
+ "name" : "ue_addr",
+ "target" : ["inner_ipv4", "src_addr"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [54],
+ "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" : 54,
+ "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" : [53],
+ "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" : 53,
+ "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" : 265,
+ "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" : [64],
+ "actions" : ["act_2"],
+ "base_default_next" : "node_13",
+ "next_tables" : {
+ "act_2" : "node_13"
+ },
+ "default_entry" : {
+ "action_id" : 64,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_gtpu",
+ "id" : 7,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 221,
+ "column" : 10,
+ "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" : [57, 58, 59, 60],
+ "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",
+ "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"
+ },
+ "default_entry" : {
+ "action_id" : 60,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ },
+ "entries" : [
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 235,
+ "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" : 57,
+ "action_data" : []
+ },
+ "priority" : 1
+ },
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 236,
+ "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" : 58,
+ "action_data" : []
+ },
+ "priority" : 2
+ },
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 237,
+ "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" : 59,
+ "action_data" : []
+ },
+ "priority" : 3
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.far_lookup",
+ "id" : 8,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 165,
+ "column" : 10,
+ "source_fragment" : "far_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "far_id",
+ "target" : ["scalars", "fabric_metadata_t._spgw_far_id30"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 2048,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [55, 56],
+ "actions" : ["FabricIngress.spgw_ingress.load_normal_far_attributes", "FabricIngress.spgw_ingress.load_tunnel_far_attributes"],
+ "base_default_next" : "node_16",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.load_normal_far_attributes" : "node_16",
+ "FabricIngress.spgw_ingress.load_tunnel_far_attributes" : "node_16"
+ },
+ "default_entry" : {
+ "action_id" : 55,
+ "action_const" : true,
+ "action_data" : ["0x1", "0x1"],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_3",
+ "id" : 9,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 282,
+ "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" : [65],
+ "actions" : ["act_3"],
+ "base_default_next" : "tbl_act_4",
+ "next_tables" : {
+ "act_3" : "tbl_act_4"
+ },
+ "default_entry" : {
+ "action_id" : 65,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_4",
+ "id" : 10,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 291,
+ "column" : 32,
+ "source_fragment" : "="
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [66],
+ "actions" : ["act_4"],
+ "base_default_next" : "node_19",
+ "next_tables" : {
+ "act_4" : "node_19"
+ },
+ "default_entry" : {
+ "action_id" : 66,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16076,7 +16765,7 @@
},
{
"name" : "tbl_act_5",
- "id" : 6,
+ "id" : 11,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 111,
@@ -16090,14 +16779,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [68],
+ "action_ids" : [67],
"actions" : ["act_5"],
- "base_default_next" : "node_14",
+ "base_default_next" : "node_21",
"next_tables" : {
- "act_5" : "node_14"
+ "act_5" : "node_21"
},
"default_entry" : {
- "action_id" : 68,
+ "action_id" : 67,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16105,7 +16794,7 @@
},
{
"name" : "tbl_act_6",
- "id" : 7,
+ "id" : 12,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 117,
@@ -16119,14 +16808,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [69],
+ "action_ids" : [68],
"actions" : ["act_6"],
- "base_default_next" : "node_16",
+ "base_default_next" : "node_23",
"next_tables" : {
- "act_6" : "node_16"
+ "act_6" : "node_23"
},
"default_entry" : {
- "action_id" : 69,
+ "action_id" : 68,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16134,7 +16823,7 @@
},
{
"name" : "tbl_act_7",
- "id" : 8,
+ "id" : 13,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 127,
@@ -16148,14 +16837,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [70],
+ "action_ids" : [69],
"actions" : ["act_7"],
"base_default_next" : "FabricIngress.filtering.ingress_port_vlan",
"next_tables" : {
"act_7" : "FabricIngress.filtering.ingress_port_vlan"
},
"default_entry" : {
- "action_id" : 70,
+ "action_id" : 69,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16163,7 +16852,7 @@
},
{
"name" : "FabricIngress.filtering.ingress_port_vlan",
- "id" : 9,
+ "id" : 14,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 53,
@@ -16202,7 +16891,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [37, 38, 39],
+ "action_ids" : [27, 28, 29],
"actions" : ["FabricIngress.filtering.deny", "FabricIngress.filtering.permit", "FabricIngress.filtering.permit_with_internal_vlan"],
"base_default_next" : "FabricIngress.filtering.fwd_classifier",
"next_tables" : {
@@ -16211,7 +16900,7 @@
"FabricIngress.filtering.permit_with_internal_vlan" : "FabricIngress.filtering.fwd_classifier"
},
"default_entry" : {
- "action_id" : 37,
+ "action_id" : 27,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16219,7 +16908,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier",
- "id" : 10,
+ "id" : 15,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 92,
@@ -16258,673 +16947,22 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [40],
+ "action_ids" : [30],
"actions" : ["FabricIngress.filtering.set_forwarding_type"],
- "base_default_next" : "tbl_act_8",
+ "base_default_next" : "node_27",
"next_tables" : {
- "FabricIngress.filtering.set_forwarding_type" : "tbl_act_8"
+ "FabricIngress.filtering.set_forwarding_type" : "node_27"
},
"default_entry" : {
- "action_id" : 40,
+ "action_id" : 30,
"action_const" : true,
"action_data" : ["0x0"],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_8",
- "id" : 11,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [79],
- "actions" : ["act_16"],
- "base_default_next" : "node_21",
- "next_tables" : {
- "act_16" : "node_21"
- },
- "default_entry" : {
- "action_id" : 79,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.uplink_filter_table",
- "id" : 12,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 84,
- "column" : 10,
- "source_fragment" : "uplink_filter_table"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "gtp_ipv4_dst",
- "target" : ["gtpu_ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [1],
- "actions" : ["nop"],
- "base_default_next" : null,
- "next_tables" : {
- "__HIT__" : "tbl_act_9",
- "__MISS__" : "tbl_act_10"
- },
- "default_entry" : {
- "action_id" : 1,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_9",
- "id" : 13,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [71],
- "actions" : ["act_8"],
- "base_default_next" : "node_25",
- "next_tables" : {
- "act_8" : "node_25"
- },
- "default_entry" : {
- "action_id" : 71,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_10",
- "id" : 14,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [72],
- "actions" : ["act_9"],
- "base_default_next" : "node_25",
- "next_tables" : {
- "act_9" : "node_25"
- },
- "default_entry" : {
- "action_id" : 72,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_11",
- "id" : 15,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 187,
- "column" : 16,
- "source_fragment" : "mark_to_drop(standard_metadata)"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [73],
- "actions" : ["act_10"],
- "base_default_next" : "tbl_act_12",
- "next_tables" : {
- "act_10" : "tbl_act_12"
- },
- "default_entry" : {
- "action_id" : 73,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_12",
- "id" : 16,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 189,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [74],
- "actions" : ["act_11"],
- "base_default_next" : "tbl_spgw_ingress_gtpu_decap",
- "next_tables" : {
- "act_11" : "tbl_spgw_ingress_gtpu_decap"
- },
- "default_entry" : {
- "action_id" : 74,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_spgw_ingress_gtpu_decap",
- "id" : 17,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 190,
- "column" : 12,
- "source_fragment" : "gtpu_decap()"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [17],
- "actions" : ["FabricIngress.spgw_ingress.gtpu_decap"],
- "base_default_next" : "node_35",
- "next_tables" : {
- "FabricIngress.spgw_ingress.gtpu_decap" : "node_35"
- },
- "default_entry" : {
- "action_id" : 17,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.downlink_filter_table",
- "id" : 18,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 73,
- "column" : 10,
- "source_fragment" : "downlink_filter_table"
- },
- "key" : [
- {
- "match_type" : "lpm",
- "name" : "ipv4_prefix",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "lpm",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [0],
- "actions" : ["nop"],
- "base_default_next" : null,
- "next_tables" : {
- "__HIT__" : "tbl_act_13",
- "__MISS__" : "tbl_act_14"
- },
- "default_entry" : {
- "action_id" : 0,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_13",
- "id" : 19,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [75],
- "actions" : ["act_12"],
- "base_default_next" : "node_32",
- "next_tables" : {
- "act_12" : "node_32"
- },
- "default_entry" : {
- "action_id" : 75,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_14",
- "id" : 20,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [76],
- "actions" : ["act_13"],
- "base_default_next" : "node_32",
- "next_tables" : {
- "act_13" : "node_32"
- },
- "default_entry" : {
- "action_id" : 76,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_15",
- "id" : 21,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 192,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [77],
- "actions" : ["act_14"],
- "base_default_next" : "node_35",
- "next_tables" : {
- "act_14" : "node_35"
- },
- "default_entry" : {
- "action_id" : 77,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_16",
- "id" : 22,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 194,
- "column" : 39,
- "source_fragment" : "= SPGW_DIR_UNKNOWN; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [78],
- "actions" : ["act_15"],
- "base_default_next" : "node_35",
- "next_tables" : {
- "act_15" : "node_35"
- },
- "default_entry" : {
- "action_id" : 78,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
- "id" : 23,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 111,
- "column" : 10,
- "source_fragment" : "uplink_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "tunnel_ipv4_dst",
- "target" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr25"],
- "mask" : null
- },
- {
- "match_type" : "exact",
- "name" : "teid",
- "target" : ["scalars", "fabric_metadata_t._spgw_teid23"],
- "mask" : null
- },
- {
- "match_type" : "exact",
- "name" : "ue_addr",
- "target" : ["ipv4", "src_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [19, 16],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes", "NoAction"],
- "base_default_next" : "node_41",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "node_41",
- "NoAction" : "node_41"
- },
- "default_entry" : {
- "action_id" : 16,
- "action_const" : false,
- "action_data" : [],
- "action_entry_const" : false
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.downlink_pdr_lookup",
- "id" : 24,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 103,
- "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" : [18, 15],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes", "NoAction"],
- "base_default_next" : "node_41",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "node_41",
- "NoAction" : "node_41"
- },
- "default_entry" : {
- "action_id" : 15,
- "action_const" : false,
- "action_data" : [],
- "action_entry_const" : false
- }
- },
- {
- "name" : "tbl_act_17",
- "id" : 25,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 206,
- "column" : 12,
- "source_fragment" : "return"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [80],
- "actions" : ["act_17"],
- "base_default_next" : "node_41",
- "next_tables" : {
- "act_17" : "node_41"
- },
- "default_entry" : {
- "action_id" : 80,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.flexible_pdr_lookup",
- "id" : 26,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 123,
- "column" : 10,
- "source_fragment" : "flexible_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "ternary",
- "name" : "spgw_direction",
- "target" : ["scalars", "fabric_metadata_t._spgw_direction21"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "tunnel_ipv4_dst",
- "target" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr25"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "teid",
- "target" : ["scalars", "fabric_metadata_t._spgw_teid23"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ipv4_src",
- "target" : ["ipv4", "src_addr"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ipv4_dst",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ip_proto",
- "target" : ["ipv4", "protocol"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "l4_sport",
- "target" : ["scalars", "fabric_metadata_t._l4_sport17"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "l4_dport",
- "target" : ["scalars", "fabric_metadata_t._l4_dport18"],
- "mask" : null
- }
- ],
- "match_type" : "ternary",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [20],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes"],
- "base_default_next" : "tbl_act_18",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "tbl_act_18"
- },
- "default_entry" : {
- "action_id" : 20,
- "action_const" : true,
- "action_data" : ["0x0", "0x0"],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_18",
- "id" : 27,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 213,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [81],
- "actions" : ["act_18"],
- "base_default_next" : "FabricIngress.spgw_ingress.far_lookup",
- "next_tables" : {
- "act_18" : "FabricIngress.spgw_ingress.far_lookup"
- },
- "default_entry" : {
- "action_id" : 81,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.far_lookup",
- "id" : 28,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 168,
- "column" : 10,
- "source_fragment" : "far_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "far_id",
- "target" : ["scalars", "fabric_metadata_t._spgw_far_id27"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [21, 22],
- "actions" : ["FabricIngress.spgw_ingress.load_normal_far_attributes", "FabricIngress.spgw_ingress.load_tunnel_far_attributes"],
- "base_default_next" : "node_46",
- "next_tables" : {
- "FabricIngress.spgw_ingress.load_normal_far_attributes" : "node_46",
- "FabricIngress.spgw_ingress.load_tunnel_far_attributes" : "node_46"
- },
- "default_entry" : {
- "action_id" : 21,
- "action_const" : true,
- "action_data" : ["0x1", "0x0"],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_19",
- "id" : 29,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 223,
- "column" : 40,
- "source_fragment" : "= true; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [82],
- "actions" : ["act_19"],
- "base_default_next" : "tbl_act_20",
- "next_tables" : {
- "act_19" : "tbl_act_20"
- },
- "default_entry" : {
- "action_id" : 82,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_20",
- "id" : 30,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 232,
- "column" : 34,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [83],
- "actions" : ["act_20"],
- "base_default_next" : "node_49",
- "next_tables" : {
- "act_20" : "node_49"
- },
- "default_entry" : {
- "action_id" : 83,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
"name" : "FabricIngress.forwarding.bridging",
- "id" : 31,
+ "id" : 16,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 46,
@@ -16951,7 +16989,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [41, 6],
+ "action_ids" : [31, 4],
"actions" : ["FabricIngress.forwarding.set_next_id_bridging", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -16959,7 +16997,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 6,
+ "action_id" : 4,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16967,7 +17005,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls",
- "id" : 32,
+ "id" : 17,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 71,
@@ -16988,7 +17026,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [42, 7],
+ "action_ids" : [32, 5],
"actions" : ["FabricIngress.forwarding.pop_mpls_and_next", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -16996,7 +17034,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 7,
+ "action_id" : 5,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17004,7 +17042,7 @@
},
{
"name" : "FabricIngress.forwarding.routing_v4",
- "id" : 33,
+ "id" : 18,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 108,
@@ -17025,7 +17063,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [43, 44, 8],
+ "action_ids" : [33, 34, 6],
"actions" : ["FabricIngress.forwarding.set_next_id_routing_v4", "FabricIngress.forwarding.nop_routing_v4", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -17034,7 +17072,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 8,
+ "action_id" : 6,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -17042,7 +17080,7 @@
},
{
"name" : "FabricIngress.forwarding.routing_v6",
- "id" : 34,
+ "id" : 19,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 135,
@@ -17063,7 +17101,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [45, 9],
+ "action_ids" : [35, 7],
"actions" : ["FabricIngress.forwarding.set_next_id_routing_v6", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -17071,7 +17109,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 9,
+ "action_id" : 7,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17079,7 +17117,7 @@
},
{
"name" : "FabricIngress.acl.acl",
- "id" : 35,
+ "id" : 20,
"source_info" : {
"filename" : "include/control/acl.p4",
"line" : 60,
@@ -17166,18 +17204,18 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [46, 47, 48, 49, 50],
+ "action_ids" : [36, 37, 38, 39, 40],
"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_59",
+ "base_default_next" : "node_37",
"next_tables" : {
- "FabricIngress.acl.set_next_id_acl" : "node_59",
- "FabricIngress.acl.punt_to_cpu" : "node_59",
- "FabricIngress.acl.set_clone_session_id" : "node_59",
- "FabricIngress.acl.drop" : "node_59",
- "FabricIngress.acl.nop_acl" : "node_59"
+ "FabricIngress.acl.set_next_id_acl" : "node_37",
+ "FabricIngress.acl.punt_to_cpu" : "node_37",
+ "FabricIngress.acl.set_clone_session_id" : "node_37",
+ "FabricIngress.acl.drop" : "node_37",
+ "FabricIngress.acl.nop_acl" : "node_37"
},
"default_entry" : {
- "action_id" : 50,
+ "action_id" : 40,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17185,7 +17223,7 @@
},
{
"name" : "FabricIngress.next.xconnect",
- "id" : 36,
+ "id" : 21,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 119,
@@ -17212,7 +17250,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [53, 54, 11],
+ "action_ids" : [43, 44, 9],
"actions" : ["FabricIngress.next.output_xconnect", "FabricIngress.next.set_next_id_xconnect", "nop"],
"base_default_next" : "FabricIngress.next.simple",
"next_tables" : {
@@ -17221,7 +17259,7 @@
"nop" : "FabricIngress.next.simple"
},
"default_entry" : {
- "action_id" : 11,
+ "action_id" : 9,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17229,7 +17267,7 @@
},
{
"name" : "FabricIngress.next.simple",
- "id" : 37,
+ "id" : 22,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 158,
@@ -17250,7 +17288,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [55, 56, 57, 12],
+ "action_ids" : [45, 46, 47, 10],
"actions" : ["FabricIngress.next.output_simple", "FabricIngress.next.routing_simple", "FabricIngress.next.mpls_routing_simple", "nop"],
"base_default_next" : "FabricIngress.next.hashed",
"next_tables" : {
@@ -17260,7 +17298,7 @@
"nop" : "FabricIngress.next.hashed"
},
"default_entry" : {
- "action_id" : 12,
+ "action_id" : 10,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17268,7 +17306,7 @@
},
{
"name" : "FabricIngress.next.hashed",
- "id" : 38,
+ "id" : 23,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 202,
@@ -17290,7 +17328,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [58, 59, 60, 13],
+ "action_ids" : [48, 49, 50, 11],
"actions" : ["FabricIngress.next.output_hashed", "FabricIngress.next.routing_hashed", "FabricIngress.next.mpls_routing_hashed", "nop"],
"base_default_next" : "FabricIngress.next.multicast",
"next_tables" : {
@@ -17302,7 +17340,7 @@
},
{
"name" : "FabricIngress.next.multicast",
- "id" : 39,
+ "id" : 24,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 236,
@@ -17323,7 +17361,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [61, 14],
+ "action_ids" : [51, 12],
"actions" : ["FabricIngress.next.set_mcast_group_id", "nop"],
"base_default_next" : "FabricIngress.next.next_vlan",
"next_tables" : {
@@ -17331,7 +17369,7 @@
"nop" : "FabricIngress.next.next_vlan"
},
"default_entry" : {
- "action_id" : 14,
+ "action_id" : 12,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17339,7 +17377,7 @@
},
{
"name" : "FabricIngress.next.next_vlan",
- "id" : 40,
+ "id" : 25,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 86,
@@ -17360,24 +17398,24 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [51, 52, 10],
+ "action_ids" : [41, 42, 8],
"actions" : ["FabricIngress.next.set_vlan", "FabricIngress.next.set_double_vlan", "nop"],
- "base_default_next" : "node_65",
+ "base_default_next" : "node_43",
"next_tables" : {
- "FabricIngress.next.set_vlan" : "node_65",
- "FabricIngress.next.set_double_vlan" : "node_65",
- "nop" : "node_65"
+ "FabricIngress.next.set_vlan" : "node_43",
+ "FabricIngress.next.set_double_vlan" : "node_43",
+ "nop" : "node_43"
},
"default_entry" : {
- "action_id" : 10,
+ "action_id" : 8,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_21",
- "id" : 41,
+ "name" : "tbl_act_8",
+ "id" : 26,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 31,
@@ -17391,22 +17429,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [84],
- "actions" : ["act_21"],
- "base_default_next" : "node_67",
+ "action_ids" : [70],
+ "actions" : ["act_8"],
+ "base_default_next" : "node_45",
"next_tables" : {
- "act_21" : "node_67"
+ "act_8" : "node_45"
},
"default_entry" : {
- "action_id" : 84,
+ "action_id" : 70,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_22",
- "id" : 42,
+ "name" : "tbl_act_9",
+ "id" : 27,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 34,
@@ -17420,14 +17458,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [85],
- "actions" : ["act_22"],
+ "action_ids" : [71],
+ "actions" : ["act_9"],
"base_default_next" : "FabricIngress.process_set_source_sink.tb_set_source",
"next_tables" : {
- "act_22" : "FabricIngress.process_set_source_sink.tb_set_source"
+ "act_9" : "FabricIngress.process_set_source_sink.tb_set_source"
},
"default_entry" : {
- "action_id" : 85,
+ "action_id" : 71,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17435,7 +17473,7 @@
},
{
"name" : "FabricIngress.process_set_source_sink.tb_set_source",
- "id" : 43,
+ "id" : 28,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 46,
@@ -17456,7 +17494,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [23, 2],
+ "action_ids" : [13, 0],
"actions" : ["FabricIngress.process_set_source_sink.int_set_source", "nop"],
"base_default_next" : "FabricIngress.process_set_source_sink.tb_set_sink",
"next_tables" : {
@@ -17464,7 +17502,7 @@
"nop" : "FabricIngress.process_set_source_sink.tb_set_sink"
},
"default_entry" : {
- "action_id" : 2,
+ "action_id" : 0,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17472,7 +17510,7 @@
},
{
"name" : "FabricIngress.process_set_source_sink.tb_set_sink",
- "id" : 44,
+ "id" : 29,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 67,
@@ -17493,23 +17531,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [24, 3],
+ "action_ids" : [14, 1],
"actions" : ["FabricIngress.process_set_source_sink.int_set_sink", "nop"],
- "base_default_next" : "node_71",
+ "base_default_next" : "node_49",
"next_tables" : {
- "FabricIngress.process_set_source_sink.int_set_sink" : "node_71",
- "nop" : "node_71"
+ "FabricIngress.process_set_source_sink.int_set_sink" : "node_49",
+ "nop" : "node_49"
},
"default_entry" : {
- "action_id" : 3,
+ "action_id" : 1,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_23",
- "id" : 45,
+ "name" : "tbl_act_10",
+ "id" : 30,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 89,
@@ -17523,14 +17561,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [86],
- "actions" : ["act_23"],
+ "action_ids" : [72],
+ "actions" : ["act_10"],
"base_default_next" : "FabricIngress.bng_ingress.t_line_map",
"next_tables" : {
- "act_23" : "FabricIngress.bng_ingress.t_line_map"
+ "act_10" : "FabricIngress.bng_ingress.t_line_map"
},
"default_entry" : {
- "action_id" : 86,
+ "action_id" : 72,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17538,7 +17576,7 @@
},
{
"name" : "FabricIngress.bng_ingress.t_line_map",
- "id" : 46,
+ "id" : 31,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 323,
@@ -17549,13 +17587,13 @@
{
"match_type" : "exact",
"name" : "s_tag",
- "target" : ["scalars", "fabric_metadata_t._bng_s_tag36"],
+ "target" : ["scalars", "fabric_metadata_t._bng_s_tag42"],
"mask" : null
},
{
"match_type" : "exact",
"name" : "c_tag",
- "target" : ["scalars", "fabric_metadata_t._bng_c_tag37"],
+ "target" : ["scalars", "fabric_metadata_t._bng_c_tag43"],
"mask" : null
}
],
@@ -17565,22 +17603,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [36],
+ "action_ids" : [26],
"actions" : ["FabricIngress.bng_ingress.set_line"],
- "base_default_next" : "node_74",
+ "base_default_next" : "node_52",
"next_tables" : {
- "FabricIngress.bng_ingress.set_line" : "node_74"
+ "FabricIngress.bng_ingress.set_line" : "node_52"
},
"default_entry" : {
- "action_id" : 36,
+ "action_id" : 26,
"action_const" : true,
"action_data" : ["0x0"],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_24",
- "id" : 47,
+ "name" : "tbl_act_11",
+ "id" : 32,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 342,
@@ -17594,14 +17632,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [89],
- "actions" : ["act_26"],
+ "action_ids" : [75],
+ "actions" : ["act_13"],
"base_default_next" : "FabricIngress.bng_ingress.upstream.t_pppoe_cp",
"next_tables" : {
- "act_26" : "FabricIngress.bng_ingress.upstream.t_pppoe_cp"
+ "act_13" : "FabricIngress.bng_ingress.upstream.t_pppoe_cp"
},
"default_entry" : {
- "action_id" : 89,
+ "action_id" : 75,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17609,7 +17647,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.t_pppoe_cp",
- "id" : 48,
+ "id" : 33,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 51,
@@ -17636,23 +17674,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [25, 4],
+ "action_ids" : [15, 2],
"actions" : ["FabricIngress.bng_ingress.upstream.punt_to_cpu", "nop"],
"base_default_next" : null,
"next_tables" : {
- "__HIT__" : "tbl_act_25",
- "__MISS__" : "tbl_act_26"
+ "__HIT__" : "tbl_act_12",
+ "__MISS__" : "tbl_act_13"
},
"default_entry" : {
- "action_id" : 4,
+ "action_id" : 2,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_25",
- "id" : 49,
+ "name" : "tbl_act_12",
+ "id" : 34,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -17660,22 +17698,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [87],
- "actions" : ["act_24"],
- "base_default_next" : "node_79",
+ "action_ids" : [73],
+ "actions" : ["act_11"],
+ "base_default_next" : "node_57",
"next_tables" : {
- "act_24" : "node_79"
+ "act_11" : "node_57"
},
"default_entry" : {
- "action_id" : 87,
+ "action_id" : 73,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_26",
- "id" : 50,
+ "name" : "tbl_act_13",
+ "id" : 35,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -17683,22 +17721,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [88],
- "actions" : ["act_25"],
- "base_default_next" : "node_79",
+ "action_ids" : [74],
+ "actions" : ["act_12"],
+ "base_default_next" : "node_57",
"next_tables" : {
- "act_25" : "node_79"
+ "act_12" : "node_57"
},
"default_entry" : {
- "action_id" : 88,
+ "action_id" : 74,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_27",
- "id" : 51,
+ "name" : "tbl_act_14",
+ "id" : 36,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 126,
@@ -17712,14 +17750,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [90],
- "actions" : ["act_27"],
- "base_default_next" : "node_81",
+ "action_ids" : [76],
+ "actions" : ["act_14"],
+ "base_default_next" : "node_59",
"next_tables" : {
- "act_27" : "node_81"
+ "act_14" : "node_59"
},
"default_entry" : {
- "action_id" : 90,
+ "action_id" : 76,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17727,7 +17765,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v4",
- "id" : 52,
+ "id" : 37,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 87,
@@ -17738,7 +17776,7 @@
{
"match_type" : "exact",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id33"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id39"],
"mask" : null
},
{
@@ -17760,23 +17798,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [28, 26],
+ "action_ids" : [18, 16],
"actions" : ["FabricIngress.bng_ingress.upstream.term_enabled_v4", "FabricIngress.bng_ingress.upstream.term_disabled"],
"base_default_next" : null,
"next_tables" : {
- "FabricIngress.bng_ingress.upstream.term_disabled" : "tbl_act_28",
+ "FabricIngress.bng_ingress.upstream.term_disabled" : "tbl_act_15",
"FabricIngress.bng_ingress.upstream.term_enabled_v4" : null
},
"default_entry" : {
- "action_id" : 26,
+ "action_id" : 16,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_28",
- "id" : 53,
+ "name" : "tbl_act_15",
+ "id" : 38,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 131,
@@ -17790,22 +17828,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [91],
- "actions" : ["act_28"],
+ "action_ids" : [77],
+ "actions" : ["act_15"],
"base_default_next" : null,
"next_tables" : {
- "act_28" : null
+ "act_15" : null
},
"default_entry" : {
- "action_id" : 91,
+ "action_id" : 77,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_29",
- "id" : 54,
+ "name" : "tbl_act_16",
+ "id" : 39,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 112,
@@ -17819,14 +17857,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [93],
- "actions" : ["act_30"],
+ "action_ids" : [79],
+ "actions" : ["act_17"],
"base_default_next" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v6",
"next_tables" : {
- "act_30" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v6"
+ "act_17" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v6"
},
"default_entry" : {
- "action_id" : 93,
+ "action_id" : 79,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17834,7 +17872,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v6",
- "id" : 55,
+ "id" : 40,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 109,
@@ -17845,7 +17883,7 @@
{
"match_type" : "exact",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id33"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id39"],
"mask" : null
},
{
@@ -17867,23 +17905,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [29, 27],
+ "action_ids" : [19, 17],
"actions" : ["FabricIngress.bng_ingress.upstream.term_enabled_v6", "FabricIngress.bng_ingress.upstream.term_disabled"],
"base_default_next" : null,
"next_tables" : {
- "FabricIngress.bng_ingress.upstream.term_disabled" : "tbl_act_30",
+ "FabricIngress.bng_ingress.upstream.term_disabled" : "tbl_act_17",
"FabricIngress.bng_ingress.upstream.term_enabled_v6" : null
},
"default_entry" : {
- "action_id" : 27,
+ "action_id" : 17,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_30",
- "id" : 56,
+ "name" : "tbl_act_17",
+ "id" : 41,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 139,
@@ -17897,14 +17935,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [92],
- "actions" : ["act_29"],
+ "action_ids" : [78],
+ "actions" : ["act_16"],
"base_default_next" : null,
"next_tables" : {
- "act_29" : null
+ "act_16" : null
},
"default_entry" : {
- "action_id" : 92,
+ "action_id" : 78,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17912,7 +17950,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.t_line_session_map",
- "id" : 57,
+ "id" : 42,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 169,
@@ -17923,7 +17961,7 @@
{
"match_type" : "exact",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id33"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id39"],
"mask" : null
}
],
@@ -17933,23 +17971,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [5, 30, 31],
+ "action_ids" : [3, 20, 21],
"actions" : ["nop", "FabricIngress.bng_ingress.downstream.set_session", "FabricIngress.bng_ingress.downstream.drop"],
"base_default_next" : null,
"next_tables" : {
- "__HIT__" : "tbl_act_31",
- "__MISS__" : "tbl_act_32"
+ "__HIT__" : "tbl_act_18",
+ "__MISS__" : "tbl_act_19"
},
"default_entry" : {
- "action_id" : 5,
+ "action_id" : 3,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_31",
- "id" : 58,
+ "name" : "tbl_act_18",
+ "id" : 43,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -17957,22 +17995,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [94],
- "actions" : ["act_31"],
- "base_default_next" : "node_92",
+ "action_ids" : [80],
+ "actions" : ["act_18"],
+ "base_default_next" : "node_70",
"next_tables" : {
- "act_31" : "node_92"
+ "act_18" : "node_70"
},
"default_entry" : {
- "action_id" : 94,
+ "action_id" : 80,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_32",
- "id" : 59,
+ "name" : "tbl_act_19",
+ "id" : 44,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -17980,14 +18018,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [95],
- "actions" : ["act_32"],
- "base_default_next" : "node_92",
+ "action_ids" : [81],
+ "actions" : ["act_19"],
+ "base_default_next" : "node_70",
"next_tables" : {
- "act_32" : "node_92"
+ "act_19" : "node_70"
},
"default_entry" : {
- "action_id" : 95,
+ "action_id" : 81,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17995,7 +18033,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.t_qos_v4",
- "id" : 60,
+ "id" : 45,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 194,
@@ -18006,7 +18044,7 @@
{
"match_type" : "ternary",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id33"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id39"],
"mask" : null
},
{
@@ -18034,23 +18072,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [32, 34],
+ "action_ids" : [22, 24],
"actions" : ["FabricIngress.bng_ingress.downstream.qos_prio", "FabricIngress.bng_ingress.downstream.qos_besteff"],
"base_default_next" : null,
"next_tables" : {
- "FabricIngress.bng_ingress.downstream.qos_prio" : "tbl_act_33",
- "FabricIngress.bng_ingress.downstream.qos_besteff" : "tbl_act_34"
+ "FabricIngress.bng_ingress.downstream.qos_prio" : "tbl_act_20",
+ "FabricIngress.bng_ingress.downstream.qos_besteff" : "tbl_act_21"
},
"default_entry" : {
- "action_id" : 34,
+ "action_id" : 24,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_33",
- "id" : 61,
+ "name" : "tbl_act_20",
+ "id" : 46,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 238,
@@ -18064,22 +18102,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [96],
- "actions" : ["act_33"],
+ "action_ids" : [82],
+ "actions" : ["act_20"],
"base_default_next" : null,
"next_tables" : {
- "act_33" : null
+ "act_20" : null
},
"default_entry" : {
- "action_id" : 96,
+ "action_id" : 82,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_34",
- "id" : 62,
+ "name" : "tbl_act_21",
+ "id" : 47,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 241,
@@ -18093,14 +18131,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [97],
- "actions" : ["act_34"],
+ "action_ids" : [83],
+ "actions" : ["act_21"],
"base_default_next" : null,
"next_tables" : {
- "act_34" : null
+ "act_21" : null
},
"default_entry" : {
- "action_id" : 97,
+ "action_id" : 83,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -18108,7 +18146,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.t_qos_v6",
- "id" : 63,
+ "id" : 48,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 210,
@@ -18119,7 +18157,7 @@
{
"match_type" : "ternary",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id33"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id39"],
"mask" : null
},
{
@@ -18141,23 +18179,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [33, 35],
+ "action_ids" : [23, 25],
"actions" : ["FabricIngress.bng_ingress.downstream.qos_prio", "FabricIngress.bng_ingress.downstream.qos_besteff"],
"base_default_next" : null,
"next_tables" : {
- "FabricIngress.bng_ingress.downstream.qos_prio" : "tbl_act_35",
- "FabricIngress.bng_ingress.downstream.qos_besteff" : "tbl_act_36"
+ "FabricIngress.bng_ingress.downstream.qos_prio" : "tbl_act_22",
+ "FabricIngress.bng_ingress.downstream.qos_besteff" : "tbl_act_23"
},
"default_entry" : {
- "action_id" : 35,
+ "action_id" : 25,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_35",
- "id" : 64,
+ "name" : "tbl_act_22",
+ "id" : 49,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 250,
@@ -18171,22 +18209,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [98],
- "actions" : ["act_35"],
+ "action_ids" : [84],
+ "actions" : ["act_22"],
"base_default_next" : null,
"next_tables" : {
- "act_35" : null
+ "act_22" : null
},
"default_entry" : {
- "action_id" : 98,
+ "action_id" : 84,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_36",
- "id" : 65,
+ "name" : "tbl_act_23",
+ "id" : 50,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 253,
@@ -18200,14 +18238,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [99],
- "actions" : ["act_36"],
+ "action_ids" : [85],
+ "actions" : ["act_23"],
"base_default_next" : null,
"next_tables" : {
- "act_36" : null
+ "act_23" : null
},
"default_entry" : {
- "action_id" : 99,
+ "action_id" : 85,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -18254,86 +18292,9 @@
],
"conditionals" : [
{
- "name" : "node_3",
+ "name" : "node_2",
"id" : 0,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 12,
- "source_fragment" : "! is_gtpu_encapped"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_0",
- "false_next" : "node_5"
- },
- {
- "name" : "node_5",
- "id" : 1,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_1",
- "false_next" : "node_10"
- },
- {
- "name" : "node_7",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 38,
- "column" : 12,
- "source_fragment" : "inner_udp.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["inner_udp", "$valid$"]
- }
- }
- },
- "true_next" : "tbl_act_2",
- "false_next" : "tbl_act_3"
- },
- {
- "name" : "node_10",
- "id" : 3,
- "source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 24,
"column" : 12,
@@ -18350,13 +18311,159 @@
}
}
},
- "true_next" : "tbl_act_4",
- "false_next" : "node_12"
+ "true_next" : "tbl_act",
+ "false_next" : "tbl_act_0"
},
{
- "name" : "node_12",
+ "name" : "node_6",
+ "id" : 1,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 251,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.skip_spgw == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw32"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "true_next" : "tbl_act_1",
+ "false_next" : "node_8"
+ },
+ {
+ "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",
+ "id" : 3,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 255,
+ "column" : 12,
+ "source_fragment" : "hdr.gtpu.isValid()"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["gtpu", "$valid$"]
+ }
+ }
+ },
+ "true_next" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
+ "false_next" : "FabricIngress.spgw_ingress.downlink_pdr_lookup"
+ },
+ {
+ "name" : "node_13",
"id" : 4,
"source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 268,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.needs_gtpu_decap == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap37"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "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" : 279,
+ "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_dropped34"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "true_next" : "tbl_act_3",
+ "false_next" : "tbl_act_4"
+ },
+ {
+ "name" : "node_19",
+ "id" : 6,
+ "source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 110,
"column" : 12,
@@ -18374,11 +18481,11 @@
}
},
"true_next" : "tbl_act_5",
- "false_next" : "node_14"
+ "false_next" : "node_21"
},
{
- "name" : "node_14",
- "id" : 5,
+ "name" : "node_21",
+ "id" : 7,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 116,
@@ -18397,11 +18504,11 @@
}
},
"true_next" : "tbl_act_6",
- "false_next" : "node_16"
+ "false_next" : "node_23"
},
{
- "name" : "node_16",
- "id" : 6,
+ "name" : "node_23",
+ "id" : 8,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 122,
@@ -18430,247 +18537,11 @@
"false_next" : "FabricIngress.filtering.ingress_port_vlan"
},
{
- "name" : "node_21",
- "id" : 7,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 181,
- "column" : 12,
- "source_fragment" : "gtpu.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.uplink_filter_table",
- "false_next" : "FabricIngress.spgw_ingress.downlink_filter_table"
- },
- {
- "name" : "node_25",
- "id" : 8,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 185,
- "column" : 16,
- "source_fragment" : "!uplink_filter_table.apply().hit"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_11",
- "false_next" : "tbl_act_12"
- },
- {
- "name" : "node_32",
+ "name" : "node_27",
"id" : 9,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- }
- }
- },
- "true_next" : "tbl_act_15",
- "false_next" : "tbl_act_16"
- },
- {
- "name" : "node_35",
- "id" : 10,
- "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_36",
- "false_next" : "node_41"
- },
- {
- "name" : "node_36",
- "id" : 11,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 201,
- "column" : 12,
- "source_fragment" : "fabric_meta.spgw.direction == SPGW_DIR_UPLINK"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction21"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x01"
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
- "false_next" : "node_38"
- },
- {
- "name" : "node_38",
- "id" : 12,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 203,
- "column" : 19,
- "source_fragment" : "fabric_meta.spgw.direction == SPGW_DIR_DOWNLINK"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction21"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.downlink_pdr_lookup",
- "false_next" : "tbl_act_17"
- },
- {
- "name" : "node_41",
- "id" : 13,
- "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_42",
- "false_next" : "node_49"
- },
- {
- "name" : "node_42",
- "id" : 14,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 209,
- "column" : 12,
- "source_fragment" : "fabric_meta.spgw.pdr_hit == false"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit28"]
- }
- }
- },
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.flexible_pdr_lookup",
- "false_next" : "tbl_act_18"
- },
- {
- "name" : "node_46",
- "id" : 15,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 220,
- "column" : 12,
- "source_fragment" : "fabric_meta.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_dropped29"]
- }
- }
- },
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- },
- "true_next" : "tbl_act_19",
- "false_next" : "tbl_act_20"
- },
- {
- "name" : "node_49",
- "id" : 16,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -18695,12 +18566,12 @@
}
}
},
- "true_next" : "node_50",
+ "true_next" : "node_28",
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_50",
- "id" : 17,
+ "name" : "node_28",
+ "id" : 10,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 150,
@@ -18722,11 +18593,11 @@
}
},
"true_next" : "FabricIngress.forwarding.bridging",
- "false_next" : "node_52"
+ "false_next" : "node_30"
},
{
- "name" : "node_52",
- "id" : 18,
+ "name" : "node_30",
+ "id" : 11,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 151,
@@ -18748,11 +18619,11 @@
}
},
"true_next" : "FabricIngress.forwarding.mpls",
- "false_next" : "node_54"
+ "false_next" : "node_32"
},
{
- "name" : "node_54",
- "id" : 19,
+ "name" : "node_32",
+ "id" : 12,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 152,
@@ -18774,11 +18645,11 @@
}
},
"true_next" : "FabricIngress.forwarding.routing_v4",
- "false_next" : "node_56"
+ "false_next" : "node_34"
},
{
- "name" : "node_56",
- "id" : 20,
+ "name" : "node_34",
+ "id" : 13,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 154,
@@ -18803,11 +18674,11 @@
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_59",
- "id" : 21,
+ "name" : "node_37",
+ "id" : 14,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -18836,8 +18707,8 @@
"false_next" : "FabricIngress.bng_ingress.t_line_map"
},
{
- "name" : "node_65",
- "id" : 22,
+ "name" : "node_43",
+ "id" : 15,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 30,
@@ -18858,12 +18729,12 @@
}
}
},
- "true_next" : "tbl_act_21",
- "false_next" : "node_67"
+ "true_next" : "tbl_act_8",
+ "false_next" : "node_45"
},
{
- "name" : "node_67",
- "id" : 23,
+ "name" : "node_45",
+ "id" : 16,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 33,
@@ -18884,12 +18755,12 @@
}
}
},
- "true_next" : "tbl_act_22",
+ "true_next" : "tbl_act_9",
"false_next" : "FabricIngress.process_set_source_sink.tb_set_source"
},
{
- "name" : "node_71",
- "id" : 24,
+ "name" : "node_49",
+ "id" : 17,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 86,
@@ -18907,7 +18778,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_sink40"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_sink46"]
}
}
},
@@ -18917,12 +18788,12 @@
}
}
},
- "true_next" : "tbl_act_23",
+ "true_next" : "tbl_act_10",
"false_next" : "FabricIngress.bng_ingress.t_line_map"
},
{
- "name" : "node_74",
- "id" : 25,
+ "name" : "node_52",
+ "id" : 18,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 341,
@@ -18940,12 +18811,12 @@
}
}
},
- "true_next" : "tbl_act_24",
+ "true_next" : "tbl_act_11",
"false_next" : "FabricIngress.bng_ingress.downstream.t_line_session_map"
},
{
- "name" : "node_79",
- "id" : 26,
+ "name" : "node_57",
+ "id" : 19,
"expression" : {
"type" : "expression",
"value" : {
@@ -18957,12 +18828,12 @@
}
}
},
- "true_next" : "tbl_act_27",
- "false_next" : "node_81"
+ "true_next" : "tbl_act_14",
+ "false_next" : "node_59"
},
{
- "name" : "node_81",
- "id" : 27,
+ "name" : "node_59",
+ "id" : 20,
"expression" : {
"type" : "expression",
"value" : {
@@ -18982,11 +18853,11 @@
}
},
"false_next" : null,
- "true_next" : "node_82"
+ "true_next" : "node_60"
},
{
- "name" : "node_82",
- "id" : 28,
+ "name" : "node_60",
+ "id" : 21,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 128,
@@ -19005,11 +18876,11 @@
}
},
"true_next" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v4",
- "false_next" : "node_85"
+ "false_next" : "node_63"
},
{
- "name" : "node_85",
- "id" : 29,
+ "name" : "node_63",
+ "id" : 22,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 136,
@@ -19028,11 +18899,11 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_29"
+ "true_next" : "tbl_act_16"
},
{
- "name" : "node_92",
- "id" : 30,
+ "name" : "node_70",
+ "id" : 23,
"expression" : {
"type" : "expression",
"value" : {
@@ -19045,11 +18916,11 @@
}
},
"false_next" : null,
- "true_next" : "node_93"
+ "true_next" : "node_71"
},
{
- "name" : "node_93",
- "id" : 31,
+ "name" : "node_71",
+ "id" : 24,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 235,
@@ -19068,11 +18939,11 @@
}
},
"true_next" : "FabricIngress.bng_ingress.downstream.t_qos_v4",
- "false_next" : "node_97"
+ "false_next" : "node_75"
},
{
- "name" : "node_97",
- "id" : 32,
+ "name" : "node_75",
+ "id" : 25,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 247,
@@ -19100,15 +18971,15 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},
- "init_table" : "node_103",
+ "init_table" : "node_81",
"tables" : [
{
- "name" : "tbl_act_37",
- "id" : 66,
+ "name" : "tbl_act_24",
+ "id" : 51,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 41,
@@ -19122,22 +18993,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [152],
- "actions" : ["act_37"],
- "base_default_next" : "node_105",
+ "action_ids" : [138],
+ "actions" : ["act_24"],
+ "base_default_next" : "node_83",
"next_tables" : {
- "act_37" : "node_105"
+ "act_24" : "node_83"
},
"default_entry" : {
- "action_id" : 152,
+ "action_id" : 138,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_38",
- "id" : 67,
+ "name" : "tbl_act_25",
+ "id" : 52,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 44,
@@ -19151,22 +19022,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [153],
- "actions" : ["act_38"],
- "base_default_next" : "node_107",
+ "action_ids" : [139],
+ "actions" : ["act_25"],
+ "base_default_next" : "node_85",
"next_tables" : {
- "act_38" : "node_107"
+ "act_25" : "node_85"
},
"default_entry" : {
- "action_id" : 153,
+ "action_id" : 139,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_39",
- "id" : 68,
+ "name" : "tbl_act_26",
+ "id" : 53,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 337,
@@ -19180,14 +19051,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [154],
- "actions" : ["act_39"],
- "base_default_next" : "node_109",
+ "action_ids" : [140],
+ "actions" : ["act_26"],
+ "base_default_next" : "node_87",
"next_tables" : {
- "act_39" : "node_109"
+ "act_26" : "node_87"
},
"default_entry" : {
- "action_id" : 154,
+ "action_id" : 140,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19195,7 +19066,7 @@
},
{
"name" : "tbl_egress_next_pop_mpls_if_present",
- "id" : 69,
+ "id" : 54,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -19209,14 +19080,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [146],
+ "action_ids" : [131],
"actions" : ["FabricEgress.egress_next.pop_mpls_if_present"],
- "base_default_next" : "node_113",
+ "base_default_next" : "node_91",
"next_tables" : {
- "FabricEgress.egress_next.pop_mpls_if_present" : "node_113"
+ "FabricEgress.egress_next.pop_mpls_if_present" : "node_91"
},
"default_entry" : {
- "action_id" : 146,
+ "action_id" : 131,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19224,7 +19095,7 @@
},
{
"name" : "tbl_egress_next_set_mpls",
- "id" : 70,
+ "id" : 55,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 343,
@@ -19238,14 +19109,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [147],
+ "action_ids" : [132],
"actions" : ["FabricEgress.egress_next.set_mpls"],
- "base_default_next" : "node_113",
+ "base_default_next" : "node_91",
"next_tables" : {
- "FabricEgress.egress_next.set_mpls" : "node_113"
+ "FabricEgress.egress_next.set_mpls" : "node_91"
},
"default_entry" : {
- "action_id" : 147,
+ "action_id" : 132,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19253,7 +19124,7 @@
},
{
"name" : "tbl_egress_next_push_vlan",
- "id" : 71,
+ "id" : 56,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 349,
@@ -19267,14 +19138,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [148],
+ "action_ids" : [133],
"actions" : ["FabricEgress.egress_next.push_vlan"],
"base_default_next" : "tbl_egress_next_push_inner_vlan",
"next_tables" : {
"FabricEgress.egress_next.push_vlan" : "tbl_egress_next_push_inner_vlan"
},
"default_entry" : {
- "action_id" : 148,
+ "action_id" : 133,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19282,7 +19153,7 @@
},
{
"name" : "tbl_egress_next_push_inner_vlan",
- "id" : 72,
+ "id" : 57,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 350,
@@ -19296,22 +19167,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [150],
+ "action_ids" : [135],
"actions" : ["FabricEgress.egress_next.push_inner_vlan"],
- "base_default_next" : "node_123",
+ "base_default_next" : "node_101",
"next_tables" : {
- "FabricEgress.egress_next.push_inner_vlan" : "node_123"
+ "FabricEgress.egress_next.push_inner_vlan" : "node_101"
},
"default_entry" : {
- "action_id" : 150,
+ "action_id" : 135,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_40",
- "id" : 73,
+ "name" : "tbl_act_27",
+ "id" : 58,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 353,
@@ -19325,14 +19196,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [157],
- "actions" : ["act_42"],
+ "action_ids" : [143],
+ "actions" : ["act_29"],
"base_default_next" : "FabricEgress.egress_next.egress_vlan",
"next_tables" : {
- "act_42" : "FabricEgress.egress_next.egress_vlan"
+ "act_29" : "FabricEgress.egress_next.egress_vlan"
},
"default_entry" : {
- "action_id" : 157,
+ "action_id" : 143,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19340,7 +19211,7 @@
},
{
"name" : "FabricEgress.egress_next.egress_vlan",
- "id" : 74,
+ "id" : 59,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 320,
@@ -19367,23 +19238,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [151, 103],
+ "action_ids" : [136, 89],
"actions" : ["FabricEgress.egress_next.pop_vlan", "nop"],
"base_default_next" : null,
"next_tables" : {
- "__HIT__" : "tbl_act_41",
- "__MISS__" : "tbl_act_42"
+ "__HIT__" : "tbl_act_28",
+ "__MISS__" : "tbl_act_29"
},
"default_entry" : {
- "action_id" : 103,
+ "action_id" : 89,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_41",
- "id" : 75,
+ "name" : "tbl_act_28",
+ "id" : 60,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -19391,22 +19262,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [155],
- "actions" : ["act_40"],
- "base_default_next" : "node_120",
+ "action_ids" : [141],
+ "actions" : ["act_27"],
+ "base_default_next" : "node_98",
"next_tables" : {
- "act_40" : "node_120"
+ "act_27" : "node_98"
},
"default_entry" : {
- "action_id" : 155,
+ "action_id" : 141,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_42",
- "id" : 76,
+ "name" : "tbl_act_29",
+ "id" : 61,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -19414,14 +19285,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [156],
- "actions" : ["act_41"],
- "base_default_next" : "node_120",
+ "action_ids" : [142],
+ "actions" : ["act_28"],
+ "base_default_next" : "node_98",
"next_tables" : {
- "act_41" : "node_120"
+ "act_28" : "node_98"
},
"default_entry" : {
- "action_id" : 156,
+ "action_id" : 142,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19429,7 +19300,7 @@
},
{
"name" : "tbl_egress_next_push_vlan_0",
- "id" : 77,
+ "id" : 62,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 360,
@@ -19443,22 +19314,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [149],
+ "action_ids" : [134],
"actions" : ["FabricEgress.egress_next.push_vlan"],
- "base_default_next" : "node_123",
+ "base_default_next" : "node_101",
"next_tables" : {
- "FabricEgress.egress_next.push_vlan" : "node_123"
+ "FabricEgress.egress_next.push_vlan" : "node_101"
},
"default_entry" : {
- "action_id" : 149,
+ "action_id" : 134,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_43",
- "id" : 78,
+ "name" : "tbl_act_30",
+ "id" : 63,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 369,
@@ -19472,22 +19343,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [159],
- "actions" : ["act_44"],
- "base_default_next" : "node_125",
+ "action_ids" : [145],
+ "actions" : ["act_31"],
+ "base_default_next" : "node_103",
"next_tables" : {
- "act_44" : "node_125"
+ "act_31" : "node_103"
},
"default_entry" : {
- "action_id" : 159,
+ "action_id" : 145,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_44",
- "id" : 79,
+ "name" : "tbl_act_31",
+ "id" : 64,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -19501,22 +19372,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [158],
- "actions" : ["act_43"],
- "base_default_next" : "tbl_act_49",
+ "action_ids" : [144],
+ "actions" : ["act_30"],
+ "base_default_next" : "tbl_act_36",
"next_tables" : {
- "act_43" : "tbl_act_49"
+ "act_30" : "tbl_act_36"
},
"default_entry" : {
- "action_id" : 158,
+ "action_id" : 144,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_45",
- "id" : 80,
+ "name" : "tbl_act_32",
+ "id" : 65,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 373,
@@ -19530,22 +19401,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [161],
- "actions" : ["act_46"],
- "base_default_next" : "node_129",
+ "action_ids" : [147],
+ "actions" : ["act_33"],
+ "base_default_next" : "node_107",
"next_tables" : {
- "act_46" : "node_129"
+ "act_33" : "node_107"
},
"default_entry" : {
- "action_id" : 161,
+ "action_id" : 147,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_46",
- "id" : 81,
+ "name" : "tbl_act_33",
+ "id" : 66,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -19559,22 +19430,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [160],
- "actions" : ["act_45"],
- "base_default_next" : "tbl_act_49",
+ "action_ids" : [146],
+ "actions" : ["act_32"],
+ "base_default_next" : "tbl_act_36",
"next_tables" : {
- "act_45" : "tbl_act_49"
+ "act_32" : "tbl_act_36"
},
"default_entry" : {
- "action_id" : 160,
+ "action_id" : 146,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_47",
- "id" : 82,
+ "name" : "tbl_act_34",
+ "id" : 67,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 378,
@@ -19588,22 +19459,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [163],
- "actions" : ["act_48"],
- "base_default_next" : "node_133",
+ "action_ids" : [149],
+ "actions" : ["act_35"],
+ "base_default_next" : "node_111",
"next_tables" : {
- "act_48" : "node_133"
+ "act_35" : "node_111"
},
"default_entry" : {
- "action_id" : 163,
+ "action_id" : 149,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_48",
- "id" : 83,
+ "name" : "tbl_act_35",
+ "id" : 68,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 379,
@@ -19617,27 +19488,50 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [162],
- "actions" : ["act_47"],
- "base_default_next" : "tbl_act_49",
+ "action_ids" : [148],
+ "actions" : ["act_34"],
+ "base_default_next" : "tbl_act_36",
"next_tables" : {
- "act_47" : "tbl_act_49"
+ "act_34" : "tbl_act_36"
},
"default_entry" : {
- "action_id" : 162,
+ "action_id" : 148,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_49",
- "id" : 84,
+ "name" : "tbl_act_36",
+ "id" : 69,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [151],
+ "actions" : ["act_37"],
+ "base_default_next" : "node_114",
+ "next_tables" : {
+ "act_37" : "node_114"
+ },
+ "default_entry" : {
+ "action_id" : 151,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_37",
+ "id" : 70,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 288,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
+ "column" : 46,
+ "source_fragment" : "return"
},
"key" : [],
"match_type" : "exact",
@@ -19646,14 +19540,43 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [164],
- "actions" : ["act_49"],
- "base_default_next" : "node_136",
+ "action_ids" : [150],
+ "actions" : ["act_36"],
+ "base_default_next" : "node_116",
"next_tables" : {
- "act_49" : "node_136"
+ "act_36" : "node_116"
},
"default_entry" : {
- "action_id" : 164,
+ "action_id" : 150,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_38",
+ "id" : 71,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 346,
+ "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" : [152],
+ "actions" : ["act_38"],
+ "base_default_next" : "node_118",
+ "next_tables" : {
+ "act_38" : "node_118"
+ },
+ "default_entry" : {
+ "action_id" : 152,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19661,10 +19584,10 @@
},
{
"name" : "tbl_spgw_egress_gtpu_encap",
- "id" : 85,
+ "id" : 72,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 291,
+ "filename" : "include/control/spgw.p4",
+ "line" : 349,
"column" : 12,
"source_fragment" : "gtpu_encap()"
},
@@ -19675,14 +19598,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [106],
+ "action_ids" : [137],
"actions" : ["FabricEgress.spgw_egress.gtpu_encap"],
- "base_default_next" : "node_138",
+ "base_default_next" : "node_120",
"next_tables" : {
- "FabricEgress.spgw_egress.gtpu_encap" : "node_138"
+ "FabricEgress.spgw_egress.gtpu_encap" : "node_120"
},
"default_entry" : {
- "action_id" : 106,
+ "action_id" : 137,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19690,7 +19613,7 @@
},
{
"name" : "tbl_bng_egress_downstream_encap_v4",
- "id" : 86,
+ "id" : 73,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 297,
@@ -19704,14 +19627,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [107],
+ "action_ids" : [92],
"actions" : ["FabricEgress.bng_egress.downstream.encap_v4"],
- "base_default_next" : "node_143",
+ "base_default_next" : "node_125",
"next_tables" : {
- "FabricEgress.bng_egress.downstream.encap_v4" : "node_143"
+ "FabricEgress.bng_egress.downstream.encap_v4" : "node_125"
},
"default_entry" : {
- "action_id" : 107,
+ "action_id" : 92,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19719,7 +19642,7 @@
},
{
"name" : "tbl_bng_egress_downstream_encap_v6",
- "id" : 87,
+ "id" : 74,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 302,
@@ -19733,14 +19656,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [108],
+ "action_ids" : [93],
"actions" : ["FabricEgress.bng_egress.downstream.encap_v6"],
- "base_default_next" : "node_143",
+ "base_default_next" : "node_125",
"next_tables" : {
- "FabricEgress.bng_egress.downstream.encap_v6" : "node_143"
+ "FabricEgress.bng_egress.downstream.encap_v6" : "node_125"
},
"default_entry" : {
- "action_id" : 108,
+ "action_id" : 93,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19748,7 +19671,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_source.tb_int_source",
- "id" : 88,
+ "id" : 75,
"source_info" : {
"filename" : "include/int/int_source.p4",
"line" : 66,
@@ -19787,23 +19710,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [109, 100],
+ "action_ids" : [94, 86],
"actions" : ["FabricEgress.process_int_main.process_int_source.int_source_dscp", "nop"],
- "base_default_next" : "node_146",
+ "base_default_next" : "node_128",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_source.int_source_dscp" : "node_146",
- "nop" : "node_146"
+ "FabricEgress.process_int_main.process_int_source.int_source_dscp" : "node_128",
+ "nop" : "node_128"
},
"default_entry" : {
- "action_id" : 100,
+ "action_id" : 86,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_50",
- "id" : 89,
+ "name" : "tbl_act_39",
+ "id" : 76,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -19811,14 +19734,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [165],
- "actions" : ["act_50"],
+ "action_ids" : [153],
+ "actions" : ["act_39"],
"base_default_next" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert",
"next_tables" : {
- "act_50" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert"
+ "act_39" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert"
},
"default_entry" : {
- "action_id" : 165,
+ "action_id" : 153,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19826,7 +19749,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert",
- "id" : 90,
+ "id" : 77,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 315,
@@ -19847,23 +19770,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [110, 101],
+ "action_ids" : [95, 87],
"actions" : ["FabricEgress.process_int_main.process_int_transit.init_metadata", "nop"],
- "base_default_next" : "node_149",
+ "base_default_next" : "node_131",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_transit.init_metadata" : "node_149",
- "nop" : "node_149"
+ "FabricEgress.process_int_main.process_int_transit.init_metadata" : "node_131",
+ "nop" : "node_131"
},
"default_entry" : {
- "action_id" : 101,
+ "action_id" : 87,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_51",
- "id" : 91,
+ "name" : "tbl_act_40",
+ "id" : 78,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 420,
@@ -19877,14 +19800,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [166],
- "actions" : ["act_51"],
- "base_default_next" : "node_151",
+ "action_ids" : [154],
+ "actions" : ["act_40"],
+ "base_default_next" : "node_133",
"next_tables" : {
- "act_51" : "node_151"
+ "act_40" : "node_133"
},
"default_entry" : {
- "action_id" : 166,
+ "action_id" : 154,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19892,7 +19815,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0003",
- "id" : 92,
+ "id" : 79,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 331,
@@ -19913,7 +19836,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 104],
+ "action_ids" : [96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 90],
"actions" : ["FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i0", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i1", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i2", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i3", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i4", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i5", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i6", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i7", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i8", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i9", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i10", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i11", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i12", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i13", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i14", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i15", "NoAction"],
"base_default_next" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407",
"next_tables" : {
@@ -19936,7 +19859,7 @@
"NoAction" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407"
},
"default_entry" : {
- "action_id" : 104,
+ "action_id" : 90,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -19956,7 +19879,7 @@
}
],
"action_entry" : {
- "action_id" : 111,
+ "action_id" : 96,
"action_data" : []
},
"priority" : 1
@@ -19975,7 +19898,7 @@
}
],
"action_entry" : {
- "action_id" : 112,
+ "action_id" : 97,
"action_data" : []
},
"priority" : 2
@@ -19994,7 +19917,7 @@
}
],
"action_entry" : {
- "action_id" : 113,
+ "action_id" : 98,
"action_data" : []
},
"priority" : 3
@@ -20013,7 +19936,7 @@
}
],
"action_entry" : {
- "action_id" : 114,
+ "action_id" : 99,
"action_data" : []
},
"priority" : 4
@@ -20032,7 +19955,7 @@
}
],
"action_entry" : {
- "action_id" : 115,
+ "action_id" : 100,
"action_data" : []
},
"priority" : 5
@@ -20051,7 +19974,7 @@
}
],
"action_entry" : {
- "action_id" : 116,
+ "action_id" : 101,
"action_data" : []
},
"priority" : 6
@@ -20070,7 +19993,7 @@
}
],
"action_entry" : {
- "action_id" : 117,
+ "action_id" : 102,
"action_data" : []
},
"priority" : 7
@@ -20089,7 +20012,7 @@
}
],
"action_entry" : {
- "action_id" : 118,
+ "action_id" : 103,
"action_data" : []
},
"priority" : 8
@@ -20108,7 +20031,7 @@
}
],
"action_entry" : {
- "action_id" : 119,
+ "action_id" : 104,
"action_data" : []
},
"priority" : 9
@@ -20127,7 +20050,7 @@
}
],
"action_entry" : {
- "action_id" : 120,
+ "action_id" : 105,
"action_data" : []
},
"priority" : 10
@@ -20146,7 +20069,7 @@
}
],
"action_entry" : {
- "action_id" : 121,
+ "action_id" : 106,
"action_data" : []
},
"priority" : 11
@@ -20165,7 +20088,7 @@
}
],
"action_entry" : {
- "action_id" : 122,
+ "action_id" : 107,
"action_data" : []
},
"priority" : 12
@@ -20184,7 +20107,7 @@
}
],
"action_entry" : {
- "action_id" : 123,
+ "action_id" : 108,
"action_data" : []
},
"priority" : 13
@@ -20203,7 +20126,7 @@
}
],
"action_entry" : {
- "action_id" : 124,
+ "action_id" : 109,
"action_data" : []
},
"priority" : 14
@@ -20222,7 +20145,7 @@
}
],
"action_entry" : {
- "action_id" : 125,
+ "action_id" : 110,
"action_data" : []
},
"priority" : 15
@@ -20241,7 +20164,7 @@
}
],
"action_entry" : {
- "action_id" : 126,
+ "action_id" : 111,
"action_data" : []
},
"priority" : 16
@@ -20250,7 +20173,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407",
- "id" : 93,
+ "id" : 80,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 375,
@@ -20271,30 +20194,30 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 105],
+ "action_ids" : [112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 91],
"actions" : ["FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15", "NoAction"],
- "base_default_next" : "tbl_act_52",
+ "base_default_next" : "tbl_act_41",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15" : "tbl_act_52",
- "NoAction" : "tbl_act_52"
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15" : "tbl_act_41",
+ "NoAction" : "tbl_act_41"
},
"default_entry" : {
- "action_id" : 105,
+ "action_id" : 91,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -20314,7 +20237,7 @@
}
],
"action_entry" : {
- "action_id" : 127,
+ "action_id" : 112,
"action_data" : []
},
"priority" : 1
@@ -20333,7 +20256,7 @@
}
],
"action_entry" : {
- "action_id" : 128,
+ "action_id" : 113,
"action_data" : []
},
"priority" : 2
@@ -20352,7 +20275,7 @@
}
],
"action_entry" : {
- "action_id" : 129,
+ "action_id" : 114,
"action_data" : []
},
"priority" : 3
@@ -20371,7 +20294,7 @@
}
],
"action_entry" : {
- "action_id" : 130,
+ "action_id" : 115,
"action_data" : []
},
"priority" : 4
@@ -20390,7 +20313,7 @@
}
],
"action_entry" : {
- "action_id" : 131,
+ "action_id" : 116,
"action_data" : []
},
"priority" : 5
@@ -20409,7 +20332,7 @@
}
],
"action_entry" : {
- "action_id" : 132,
+ "action_id" : 117,
"action_data" : []
},
"priority" : 6
@@ -20428,7 +20351,7 @@
}
],
"action_entry" : {
- "action_id" : 133,
+ "action_id" : 118,
"action_data" : []
},
"priority" : 7
@@ -20447,7 +20370,7 @@
}
],
"action_entry" : {
- "action_id" : 134,
+ "action_id" : 119,
"action_data" : []
},
"priority" : 8
@@ -20466,7 +20389,7 @@
}
],
"action_entry" : {
- "action_id" : 135,
+ "action_id" : 120,
"action_data" : []
},
"priority" : 9
@@ -20485,7 +20408,7 @@
}
],
"action_entry" : {
- "action_id" : 136,
+ "action_id" : 121,
"action_data" : []
},
"priority" : 10
@@ -20504,7 +20427,7 @@
}
],
"action_entry" : {
- "action_id" : 137,
+ "action_id" : 122,
"action_data" : []
},
"priority" : 11
@@ -20523,7 +20446,7 @@
}
],
"action_entry" : {
- "action_id" : 138,
+ "action_id" : 123,
"action_data" : []
},
"priority" : 12
@@ -20542,7 +20465,7 @@
}
],
"action_entry" : {
- "action_id" : 139,
+ "action_id" : 124,
"action_data" : []
},
"priority" : 13
@@ -20561,7 +20484,7 @@
}
],
"action_entry" : {
- "action_id" : 140,
+ "action_id" : 125,
"action_data" : []
},
"priority" : 14
@@ -20580,7 +20503,7 @@
}
],
"action_entry" : {
- "action_id" : 141,
+ "action_id" : 126,
"action_data" : []
},
"priority" : 15
@@ -20599,7 +20522,7 @@
}
],
"action_entry" : {
- "action_id" : 142,
+ "action_id" : 127,
"action_data" : []
},
"priority" : 16
@@ -20607,8 +20530,8 @@
]
},
{
- "name" : "tbl_act_52",
- "id" : 94,
+ "name" : "tbl_act_41",
+ "id" : 81,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 425,
@@ -20622,22 +20545,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [168],
- "actions" : ["act_53"],
- "base_default_next" : "node_155",
+ "action_ids" : [156],
+ "actions" : ["act_42"],
+ "base_default_next" : "node_137",
"next_tables" : {
- "act_53" : "node_155"
+ "act_42" : "node_137"
},
"default_entry" : {
- "action_id" : 168,
+ "action_id" : 156,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_53",
- "id" : 95,
+ "name" : "tbl_act_42",
+ "id" : 82,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 428,
@@ -20651,22 +20574,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [167],
- "actions" : ["act_52"],
- "base_default_next" : "node_157",
+ "action_ids" : [155],
+ "actions" : ["act_41"],
+ "base_default_next" : "node_139",
"next_tables" : {
- "act_52" : "node_157"
+ "act_41" : "node_139"
},
"default_entry" : {
- "action_id" : 167,
+ "action_id" : 155,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_54",
- "id" : 96,
+ "name" : "tbl_act_43",
+ "id" : 83,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 431,
@@ -20680,22 +20603,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [169],
- "actions" : ["act_54"],
- "base_default_next" : "node_159",
+ "action_ids" : [157],
+ "actions" : ["act_43"],
+ "base_default_next" : "node_141",
"next_tables" : {
- "act_54" : "node_159"
+ "act_43" : "node_141"
},
"default_entry" : {
- "action_id" : 169,
+ "action_id" : 157,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_55",
- "id" : 97,
+ "name" : "tbl_act_44",
+ "id" : 84,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 434,
@@ -20709,14 +20632,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [170],
- "actions" : ["act_55"],
- "base_default_next" : "node_161",
+ "action_ids" : [158],
+ "actions" : ["act_44"],
+ "base_default_next" : "node_143",
"next_tables" : {
- "act_55" : "node_161"
+ "act_44" : "node_143"
},
"default_entry" : {
- "action_id" : 170,
+ "action_id" : 158,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -20724,7 +20647,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_report.tb_generate_report",
- "id" : 98,
+ "id" : 85,
"source_info" : {
"filename" : "include/int/int_report.p4",
"line" : 87,
@@ -20738,15 +20661,15 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [143, 102],
+ "action_ids" : [128, 88],
"actions" : ["FabricEgress.process_int_main.process_int_report.do_report_encapsulation", "nop"],
- "base_default_next" : "node_163",
+ "base_default_next" : "node_145",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_report.do_report_encapsulation" : "node_163",
- "nop" : "node_163"
+ "FabricEgress.process_int_main.process_int_report.do_report_encapsulation" : "node_145",
+ "nop" : "node_145"
},
"default_entry" : {
- "action_id" : 102,
+ "action_id" : 88,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -20754,7 +20677,7 @@
},
{
"name" : "tbl_process_int_main_process_int_sink_restore_header",
- "id" : 99,
+ "id" : 86,
"source_info" : {
"filename" : "include/int/int_sink.p4",
"line" : 53,
@@ -20768,14 +20691,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [144],
+ "action_ids" : [129],
"actions" : ["FabricEgress.process_int_main.process_int_sink.restore_header"],
"base_default_next" : "tbl_process_int_main_process_int_sink_int_sink",
"next_tables" : {
"FabricEgress.process_int_main.process_int_sink.restore_header" : "tbl_process_int_main_process_int_sink_int_sink"
},
"default_entry" : {
- "action_id" : 144,
+ "action_id" : 129,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -20783,7 +20706,7 @@
},
{
"name" : "tbl_process_int_main_process_int_sink_int_sink",
- "id" : 100,
+ "id" : 87,
"source_info" : {
"filename" : "include/int/int_sink.p4",
"line" : 54,
@@ -20797,14 +20720,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [145],
+ "action_ids" : [130],
"actions" : ["FabricEgress.process_int_main.process_int_sink.int_sink"],
"base_default_next" : null,
"next_tables" : {
"FabricEgress.process_int_main.process_int_sink.int_sink" : null
},
"default_entry" : {
- "action_id" : 145,
+ "action_id" : 130,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -20814,8 +20737,8 @@
"action_profiles" : [],
"conditionals" : [
{
- "name" : "node_103",
- "id" : 33,
+ "name" : "node_81",
+ "id" : 26,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 39,
@@ -20843,12 +20766,12 @@
}
}
},
- "true_next" : "tbl_act_37",
- "false_next" : "node_105"
+ "true_next" : "tbl_act_24",
+ "false_next" : "node_83"
},
{
- "name" : "node_105",
- "id" : 34,
+ "name" : "node_83",
+ "id" : 27,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 43,
@@ -20869,12 +20792,12 @@
}
}
},
- "true_next" : "tbl_act_38",
- "false_next" : "node_107"
+ "true_next" : "tbl_act_25",
+ "false_next" : "node_85"
},
{
- "name" : "node_107",
- "id" : 35,
+ "name" : "node_85",
+ "id" : 28,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 335,
@@ -20922,12 +20845,12 @@
}
}
},
- "true_next" : "tbl_act_39",
- "false_next" : "node_109"
+ "true_next" : "tbl_act_26",
+ "false_next" : "node_87"
},
{
- "name" : "node_109",
- "id" : 36,
+ "name" : "node_87",
+ "id" : 29,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 340,
@@ -20948,12 +20871,12 @@
}
}
},
- "true_next" : "node_110",
+ "true_next" : "node_88",
"false_next" : "tbl_egress_next_set_mpls"
},
{
- "name" : "node_110",
- "id" : 37,
+ "name" : "node_88",
+ "id" : 30,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -20972,11 +20895,11 @@
}
},
"true_next" : "tbl_egress_next_pop_mpls_if_present",
- "false_next" : "node_113"
+ "false_next" : "node_91"
},
{
- "name" : "node_113",
- "id" : 38,
+ "name" : "node_91",
+ "id" : 31,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 347,
@@ -21005,11 +20928,11 @@
}
},
"true_next" : "tbl_egress_next_push_vlan",
- "false_next" : "tbl_act_40"
+ "false_next" : "tbl_act_27"
},
{
- "name" : "node_120",
- "id" : 39,
+ "name" : "node_98",
+ "id" : 32,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 357,
@@ -21034,12 +20957,12 @@
}
}
},
- "true_next" : "node_121",
- "false_next" : "node_123"
+ "true_next" : "node_99",
+ "false_next" : "node_101"
},
{
- "name" : "node_121",
- "id" : 40,
+ "name" : "node_99",
+ "id" : 33,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 359,
@@ -21061,11 +20984,11 @@
}
},
"true_next" : "tbl_egress_next_push_vlan_0",
- "false_next" : "node_123"
+ "false_next" : "node_101"
},
{
- "name" : "node_123",
- "id" : 41,
+ "name" : "node_101",
+ "id" : 34,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 368,
@@ -21083,12 +21006,12 @@
}
}
},
- "true_next" : "tbl_act_43",
- "false_next" : "node_127"
+ "true_next" : "tbl_act_30",
+ "false_next" : "node_105"
},
{
- "name" : "node_125",
- "id" : 42,
+ "name" : "node_103",
+ "id" : 35,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -21109,12 +21032,12 @@
}
}
},
- "true_next" : "tbl_act_44",
- "false_next" : "tbl_act_49"
+ "true_next" : "tbl_act_31",
+ "false_next" : "tbl_act_36"
},
{
- "name" : "node_127",
- "id" : 43,
+ "name" : "node_105",
+ "id" : 36,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 372,
@@ -21132,12 +21055,12 @@
}
}
},
- "true_next" : "tbl_act_45",
- "false_next" : "node_131"
+ "true_next" : "tbl_act_32",
+ "false_next" : "node_109"
},
{
- "name" : "node_129",
- "id" : 44,
+ "name" : "node_107",
+ "id" : 37,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -21158,12 +21081,12 @@
}
}
},
- "true_next" : "tbl_act_46",
- "false_next" : "tbl_act_49"
+ "true_next" : "tbl_act_33",
+ "false_next" : "tbl_act_36"
},
{
- "name" : "node_131",
- "id" : 45,
+ "name" : "node_109",
+ "id" : 38,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 377,
@@ -21181,12 +21104,12 @@
}
}
},
- "true_next" : "tbl_act_47",
- "false_next" : "tbl_act_49"
+ "true_next" : "tbl_act_34",
+ "false_next" : "tbl_act_36"
},
{
- "name" : "node_133",
- "id" : 46,
+ "name" : "node_111",
+ "id" : 39,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 379,
@@ -21207,17 +21130,17 @@
}
}
},
- "true_next" : "tbl_act_48",
- "false_next" : "tbl_act_49"
+ "true_next" : "tbl_act_35",
+ "false_next" : "tbl_act_36"
},
{
- "name" : "node_136",
- "id" : 47,
+ "name" : "node_114",
+ "id" : 40,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 290,
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
"column" : 12,
- "source_fragment" : "fabric_meta.spgw.outer_header_creation == true"
+ "source_fragment" : "fabric_md.spgw.skip_spgw == true"
},
"expression" : {
"type" : "expression",
@@ -21230,7 +21153,64 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_outer_header_creation31"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw32"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "true_next" : "tbl_act_37",
+ "false_next" : "node_116"
+ },
+ {
+ "name" : "node_116",
+ "id" : 41,
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "not",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "spgw_egress_hasReturned"]
+ }
+ }
+ }
+ }
+ },
+ "true_next" : "tbl_act_38",
+ "false_next" : "node_120"
+ },
+ {
+ "name" : "node_118",
+ "id" : 42,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 348,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.needs_gtpu_encap == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap36"]
}
}
},
@@ -21241,11 +21221,11 @@
}
},
"true_next" : "tbl_spgw_egress_gtpu_encap",
- "false_next" : "node_138"
+ "false_next" : "node_120"
},
{
- "name" : "node_138",
- "id" : 48,
+ "name" : "node_120",
+ "id" : 43,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 358,
@@ -21258,7 +21238,7 @@
"op" : "==",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type32"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
"right" : {
"type" : "hexstr",
@@ -21266,12 +21246,12 @@
}
}
},
- "true_next" : "node_139",
- "false_next" : "node_143"
+ "true_next" : "node_121",
+ "false_next" : "node_125"
},
{
- "name" : "node_139",
- "id" : 49,
+ "name" : "node_121",
+ "id" : 44,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 296,
@@ -21290,11 +21270,11 @@
}
},
"true_next" : "tbl_bng_egress_downstream_encap_v4",
- "false_next" : "node_141"
+ "false_next" : "node_123"
},
{
- "name" : "node_141",
- "id" : 50,
+ "name" : "node_123",
+ "id" : 45,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 301,
@@ -21313,11 +21293,11 @@
}
},
"true_next" : "tbl_bng_egress_downstream_encap_v6",
- "false_next" : "node_143"
+ "false_next" : "node_125"
},
{
- "name" : "node_143",
- "id" : 51,
+ "name" : "node_125",
+ "id" : 46,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 102,
@@ -21393,11 +21373,11 @@
}
},
"false_next" : null,
- "true_next" : "node_144"
+ "true_next" : "node_126"
},
{
- "name" : "node_144",
- "id" : 52,
+ "name" : "node_126",
+ "id" : 47,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 106,
@@ -21415,7 +21395,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_source38"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_source44"]
}
}
},
@@ -21426,11 +21406,11 @@
}
},
"true_next" : "FabricEgress.process_int_main.process_int_source.tb_int_source",
- "false_next" : "node_146"
+ "false_next" : "node_128"
},
{
- "name" : "node_146",
- "id" : 53,
+ "name" : "node_128",
+ "id" : 48,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 110,
@@ -21449,11 +21429,11 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_50"
+ "true_next" : "tbl_act_39"
},
{
- "name" : "node_149",
- "id" : 54,
+ "name" : "node_131",
+ "id" : 49,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 419,
@@ -21471,7 +21451,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_transit39"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_transit45"]
}
}
},
@@ -21481,12 +21461,12 @@
}
}
},
- "true_next" : "tbl_act_51",
- "false_next" : "node_151"
+ "true_next" : "tbl_act_40",
+ "false_next" : "node_133"
},
{
- "name" : "node_151",
- "id" : 55,
+ "name" : "node_133",
+ "id" : 50,
"expression" : {
"type" : "expression",
"value" : {
@@ -21506,11 +21486,11 @@
}
},
"true_next" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0003",
- "false_next" : "node_161"
+ "false_next" : "node_143"
},
{
- "name" : "node_155",
- "id" : 56,
+ "name" : "node_137",
+ "id" : 51,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 427,
@@ -21528,12 +21508,12 @@
}
}
},
- "true_next" : "tbl_act_53",
- "false_next" : "node_157"
+ "true_next" : "tbl_act_42",
+ "false_next" : "node_139"
},
{
- "name" : "node_157",
- "id" : 57,
+ "name" : "node_139",
+ "id" : 52,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 430,
@@ -21551,12 +21531,12 @@
}
}
},
- "true_next" : "tbl_act_54",
- "false_next" : "node_159"
+ "true_next" : "tbl_act_43",
+ "false_next" : "node_141"
},
{
- "name" : "node_159",
- "id" : 58,
+ "name" : "node_141",
+ "id" : 53,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 433,
@@ -21574,12 +21554,12 @@
}
}
},
- "true_next" : "tbl_act_55",
- "false_next" : "node_161"
+ "true_next" : "tbl_act_44",
+ "false_next" : "node_143"
},
{
- "name" : "node_161",
- "id" : 59,
+ "name" : "node_143",
+ "id" : 54,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 115,
@@ -21601,11 +21581,11 @@
}
},
"true_next" : "FabricEgress.process_int_main.process_int_report.tb_generate_report",
- "false_next" : "node_163"
+ "false_next" : "node_145"
},
{
- "name" : "node_163",
- "id" : 60,
+ "name" : "node_145",
+ "id" : 55,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 119,
@@ -21623,7 +21603,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_sink40"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_sink46"]
}
}
},
@@ -21670,8 +21650,8 @@
"name" : "cksum_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 306,
+ "filename" : "include/control/spgw.p4",
+ "line" : 364,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-full/bmv2/default/p4info.txt b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-full/bmv2/default/p4info.txt
index 7a83ba9..4fd6025 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-full/bmv2/default/p4info.txt
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-full/bmv2/default/p4info.txt
@@ -3,179 +3,6 @@
}
tables {
preamble {
- id: 33586632
- name: "FabricIngress.spgw_ingress.downlink_filter_table"
- alias: "downlink_filter_table"
- }
- match_fields {
- id: 1
- name: "ipv4_prefix"
- bitwidth: 32
- match_type: LPM
- }
- action_refs {
- id: 16819938
- }
- const_default_action_id: 16819938
- size: 1024
-}
-tables {
- preamble {
- id: 33567046
- name: "FabricIngress.spgw_ingress.uplink_filter_table"
- alias: "uplink_filter_table"
- }
- match_fields {
- id: 1
- name: "gtp_ipv4_dst"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16819938
- }
- const_default_action_id: 16819938
- size: 1024
-}
-tables {
- preamble {
- id: 33586958
- name: "FabricIngress.spgw_ingress.downlink_pdr_lookup"
- alias: "downlink_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "ue_addr"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16799934
- }
- action_refs {
- id: 16800567
- annotations: "@defaultonly"
- scope: DEFAULT_ONLY
- }
- size: 1024
-}
-tables {
- preamble {
- id: 33587070
- name: "FabricIngress.spgw_ingress.uplink_pdr_lookup"
- alias: "uplink_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "tunnel_ipv4_dst"
- bitwidth: 32
- match_type: EXACT
- }
- match_fields {
- id: 2
- name: "teid"
- bitwidth: 32
- match_type: EXACT
- }
- match_fields {
- id: 3
- name: "ue_addr"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16799934
- }
- action_refs {
- id: 16800567
- annotations: "@defaultonly"
- scope: DEFAULT_ONLY
- }
- size: 1024
-}
-tables {
- preamble {
- id: 33582573
- name: "FabricIngress.spgw_ingress.flexible_pdr_lookup"
- alias: "flexible_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "spgw_direction"
- bitwidth: 2
- match_type: TERNARY
- }
- match_fields {
- id: 2
- name: "tunnel_ipv4_dst"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 3
- name: "teid"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 4
- name: "ipv4_src"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 5
- name: "ipv4_dst"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 6
- name: "ip_proto"
- bitwidth: 8
- match_type: TERNARY
- }
- match_fields {
- id: 7
- name: "l4_sport"
- bitwidth: 16
- match_type: TERNARY
- }
- match_fields {
- id: 8
- name: "l4_dport"
- bitwidth: 16
- match_type: TERNARY
- }
- action_refs {
- id: 16799934
- }
- const_default_action_id: 16799934
- size: 1024
-}
-tables {
- preamble {
- id: 33613200
- name: "FabricIngress.spgw_ingress.far_lookup"
- alias: "far_lookup"
- }
- match_fields {
- id: 1
- name: "far_id"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16834935
- }
- action_refs {
- id: 16787606
- }
- const_default_action_id: 16834935
- size: 1024
-}
-tables {
- preamble {
id: 33581620
name: "FabricIngress.process_set_source_sink.tb_set_source"
alias: "tb_set_source"
@@ -870,6 +697,99 @@
}
tables {
preamble {
+ id: 33584493
+ name: "FabricIngress.spgw_ingress.interface_lookup"
+ alias: "interface_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "ipv4_dst_addr"
+ bitwidth: 32
+ match_type: LPM
+ }
+ match_fields {
+ id: 2
+ name: "gtpu_is_valid"
+ bitwidth: 1
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16797935
+ }
+ const_default_action_id: 16797935
+ size: 128
+}
+tables {
+ preamble {
+ id: 33586958
+ name: "FabricIngress.spgw_ingress.downlink_pdr_lookup"
+ alias: "downlink_pdr_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "ue_addr"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16799934
+ }
+ const_default_action_id: 16799934
+ size: 1024
+}
+tables {
+ preamble {
+ id: 33587070
+ name: "FabricIngress.spgw_ingress.uplink_pdr_lookup"
+ alias: "uplink_pdr_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "tunnel_ipv4_dst"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ match_fields {
+ id: 2
+ name: "teid"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ match_fields {
+ id: 3
+ name: "ue_addr"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16799934
+ }
+ const_default_action_id: 16799934
+ size: 1024
+}
+tables {
+ preamble {
+ id: 33613200
+ name: "FabricIngress.spgw_ingress.far_lookup"
+ alias: "far_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "far_id"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16834935
+ }
+ action_refs {
+ id: 16787606
+ }
+ const_default_action_id: 16834935
+ size: 2048
+}
+tables {
+ preamble {
id: 33612258
name: "FabricEgress.process_int_main.process_int_source.tb_int_source"
alias: "tb_int_source"
@@ -988,79 +908,6 @@
}
actions {
preamble {
- id: 16800567
- name: "NoAction"
- alias: "NoAction"
- }
-}
-actions {
- preamble {
- id: 16799934
- name: "FabricIngress.spgw_ingress.set_pdr_attributes"
- alias: "set_pdr_attributes"
- }
- params {
- id: 1
- name: "ctr_id"
- bitwidth: 32
- }
- params {
- id: 2
- name: "far_id"
- bitwidth: 32
- }
-}
-actions {
- preamble {
- id: 16834935
- name: "FabricIngress.spgw_ingress.load_normal_far_attributes"
- alias: "load_normal_far_attributes"
- }
- params {
- id: 1
- name: "drop"
- bitwidth: 1
- }
- params {
- id: 2
- name: "notify_cp"
- bitwidth: 1
- }
-}
-actions {
- preamble {
- id: 16787606
- name: "FabricIngress.spgw_ingress.load_tunnel_far_attributes"
- alias: "load_tunnel_far_attributes"
- }
- params {
- id: 1
- name: "drop"
- bitwidth: 1
- }
- params {
- id: 2
- name: "notify_cp"
- bitwidth: 1
- }
- params {
- id: 3
- name: "tunnel_src_addr"
- bitwidth: 32
- }
- params {
- id: 4
- name: "tunnel_dst_addr"
- bitwidth: 32
- }
- params {
- id: 5
- name: "teid"
- bitwidth: 32
- }
-}
-actions {
- preamble {
id: 16778827
name: "FabricIngress.process_set_source_sink.int_set_source"
alias: "int_set_source"
@@ -1473,6 +1320,139 @@
}
actions {
preamble {
+ id: 16797935
+ name: "FabricIngress.spgw_ingress.set_source_iface"
+ alias: "set_source_iface"
+ }
+ params {
+ id: 1
+ name: "src_iface"
+ bitwidth: 8
+ }
+ params {
+ id: 2
+ name: "direction"
+ bitwidth: 2
+ }
+ params {
+ id: 3
+ name: "skip_spgw"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16799934
+ name: "FabricIngress.spgw_ingress.set_pdr_attributes"
+ alias: "set_pdr_attributes"
+ }
+ params {
+ id: 1
+ name: "ctr_id"
+ bitwidth: 32
+ }
+ params {
+ id: 2
+ name: "far_id"
+ bitwidth: 32
+ }
+ params {
+ id: 3
+ name: "needs_gtpu_decap"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16834935
+ name: "FabricIngress.spgw_ingress.load_normal_far_attributes"
+ alias: "load_normal_far_attributes"
+ }
+ params {
+ id: 1
+ name: "drop"
+ bitwidth: 1
+ }
+ params {
+ id: 2
+ name: "notify_cp"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16787606
+ name: "FabricIngress.spgw_ingress.load_tunnel_far_attributes"
+ alias: "load_tunnel_far_attributes"
+ }
+ params {
+ id: 1
+ name: "drop"
+ bitwidth: 1
+ }
+ params {
+ id: 2
+ name: "notify_cp"
+ bitwidth: 1
+ }
+ params {
+ id: 3
+ name: "tunnel_src_port"
+ bitwidth: 16
+ }
+ params {
+ id: 4
+ name: "tunnel_src_addr"
+ bitwidth: 32
+ }
+ params {
+ id: 5
+ name: "tunnel_dst_addr"
+ bitwidth: 32
+ }
+ params {
+ id: 6
+ name: "teid"
+ bitwidth: 32
+ }
+}
+actions {
+ preamble {
+ id: 16829280
+ name: "FabricIngress.spgw_ingress.decap_inner_tcp"
+ alias: "decap_inner_tcp"
+ }
+}
+actions {
+ preamble {
+ id: 16815878
+ name: "FabricIngress.spgw_ingress.decap_inner_udp"
+ alias: "decap_inner_udp"
+ }
+}
+actions {
+ preamble {
+ id: 16801274
+ name: "FabricIngress.spgw_ingress.decap_inner_icmp"
+ alias: "decap_inner_icmp"
+ }
+}
+actions {
+ preamble {
+ id: 16830582
+ name: "FabricIngress.spgw_ingress.decap_inner_unknown"
+ alias: "decap_inner_unknown"
+ }
+}
+actions {
+ preamble {
+ id: 16800567
+ name: "NoAction"
+ alias: "NoAction"
+ }
+}
+actions {
+ preamble {
id: 16784000
name: "FabricEgress.bng_egress.downstream.encap_v4"
alias: "encap_v4"
@@ -1576,17 +1556,6 @@
}
counters {
preamble {
- id: 302029884
- name: "FabricIngress.spgw_ingress.pdr_counter"
- alias: "spgw_ingress.pdr_counter"
- }
- spec {
- unit: BOTH
- }
- size: 1024
-}
-counters {
- preamble {
id: 302022672
name: "FabricIngress.bng_ingress.upstream.c_terminated"
alias: "c_terminated"
@@ -1653,14 +1622,14 @@
}
counters {
preamble {
- id: 302012289
- name: "FabricEgress.spgw_egress.pdr_counter"
- alias: "spgw_egress.pdr_counter"
+ id: 302029884
+ name: "FabricIngress.spgw_ingress.pdr_counter"
+ alias: "spgw_ingress.pdr_counter"
}
spec {
unit: BOTH
}
- size: 1024
+ size: 2048
}
counters {
preamble {
@@ -1673,6 +1642,17 @@
}
size: 8192
}
+counters {
+ preamble {
+ id: 302012289
+ name: "FabricEgress.spgw_egress.pdr_counter"
+ alias: "spgw_egress.pdr_counter"
+ }
+ spec {
+ unit: BOTH
+ }
+ size: 2048
+}
direct_counters {
preamble {
id: 318787614
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-int/bmv2/default/bmv2.json b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-int/bmv2/default/bmv2.json
index 13aa90f..581f0e6 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-int/bmv2/default/bmv2.json
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-int/bmv2/default/bmv2.json
@@ -1137,7 +1137,7 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 267,
+ "line" : 268,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
@@ -2698,7 +2698,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 160,
+ "line" : 165,
"column" : 36,
"source_fragment" : "4; ..."
}
@@ -3116,7 +3116,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 156,
+ "line" : 161,
"column" : 24,
"source_fragment" : "0x1; ..."
}
@@ -9204,7 +9204,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 115,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -9283,7 +9283,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 114,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -10681,7 +10681,7 @@
"id" : 3,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -10792,7 +10792,7 @@
"id" : 7,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -10879,7 +10879,7 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/bmv2.json b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/bmv2.json
index 9e0d9a5..66cdf74 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/bmv2.json
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/bmv2.json
@@ -5,17 +5,14 @@
"id" : 0,
"fields" : [
["last_ipv4_dscp_0", 6, false],
- ["tmp_2", 16, false],
- ["tmp_3", 16, false],
- ["tmp_4", 4, false],
- ["tmp", 8, false],
- ["tmp_0", 32, false],
- ["tmp_1", 32, false],
- ["spgw_ingress_tmp", 1, false],
- ["spgw_ingress_tmp_0", 1, false],
- ["spgw_normalizer_hasReturned", 1, false],
+ ["tmp_0", 16, false],
+ ["tmp_1", 16, false],
+ ["tmp_2", 4, false],
+ ["tmp", 32, false],
+ ["tmp_3", 32, false],
["spgw_ingress_hasReturned", 1, false],
["egress_next_tmp", 1, false],
+ ["spgw_egress_hasReturned", 1, false],
["process_int_main_process_int_transit_hasReturned", 1, false],
["fabric_metadata_t._ip_eth_type0", 16, false],
["fabric_metadata_t._vlan_id1", 12, false],
@@ -34,25 +31,31 @@
["fabric_metadata_t._l4_dport14", 16, false],
["fabric_metadata_t._ipv4_src_addr15", 32, false],
["fabric_metadata_t._ipv4_dst_addr16", 32, false],
- ["fabric_metadata_t._spgw_direction17", 2, false],
- ["fabric_metadata_t._spgw_ipv4_len18", 16, false],
- ["fabric_metadata_t._spgw_teid19", 32, false],
- ["fabric_metadata_t._spgw_tunnel_src_addr20", 32, false],
- ["fabric_metadata_t._spgw_tunnel_dst_addr21", 32, false],
- ["fabric_metadata_t._spgw_ctr_id22", 32, false],
- ["fabric_metadata_t._spgw_far_id23", 32, false],
- ["fabric_metadata_t._spgw_pdr_hit24", 1, false],
- ["fabric_metadata_t._spgw_far_dropped25", 1, false],
- ["fabric_metadata_t._spgw_notify_cp26", 1, false],
- ["fabric_metadata_t._spgw_outer_header_creation27", 1, false],
- ["fabric_metadata_t._int_meta_source28", 1, false],
- ["fabric_metadata_t._int_meta_transit29", 1, false],
- ["fabric_metadata_t._int_meta_sink30", 1, false],
- ["fabric_metadata_t._int_meta_switch_id31", 32, false],
- ["fabric_metadata_t._int_meta_new_words32", 8, false],
- ["fabric_metadata_t._int_meta_new_bytes33", 16, false],
- ["fabric_metadata_t._int_meta_ig_tstamp34", 32, false],
- ["fabric_metadata_t._int_meta_eg_tstamp35", 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],
+ ["fabric_metadata_t._int_meta_source34", 1, false],
+ ["fabric_metadata_t._int_meta_transit35", 1, false],
+ ["fabric_metadata_t._int_meta_sink36", 1, false],
+ ["fabric_metadata_t._int_meta_switch_id37", 32, false],
+ ["fabric_metadata_t._int_meta_new_words38", 8, false],
+ ["fabric_metadata_t._int_meta_new_bytes39", 16, false],
+ ["fabric_metadata_t._int_meta_ig_tstamp40", 32, false],
+ ["fabric_metadata_t._int_meta_eg_tstamp41", 32, false],
["_padding_0", 4, false]
]
},
@@ -373,141 +376,162 @@
"pi_omit" : true
},
{
- "name" : "gtpu",
+ "name" : "outer_gtpu",
"id" : 9,
"header_type" : "gtpu_t",
"metadata" : false,
"pi_omit" : true
},
{
- "name" : "inner_ipv4",
+ "name" : "gtpu",
"id" : 10,
+ "header_type" : "gtpu_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "inner_ipv4",
+ "id" : 11,
"header_type" : "ipv4_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "inner_udp",
- "id" : 11,
+ "id" : 12,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
- "name" : "ipv4",
- "id" : 12,
- "header_type" : "ipv4_t",
- "metadata" : false,
- "pi_omit" : true
- },
- {
- "name" : "tcp",
+ "name" : "inner_tcp",
"id" : 13,
"header_type" : "tcp_t",
"metadata" : false,
"pi_omit" : true
},
{
- "name" : "udp",
+ "name" : "inner_icmp",
"id" : 14,
+ "header_type" : "icmp_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "ipv4",
+ "id" : 15,
+ "header_type" : "ipv4_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "tcp",
+ "id" : 16,
+ "header_type" : "tcp_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "udp",
+ "id" : 17,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "icmp",
- "id" : 15,
+ "id" : 18,
"header_type" : "icmp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_out",
- "id" : 16,
+ "id" : 19,
"header_type" : "packet_out_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_in",
- "id" : 17,
+ "id" : 20,
"header_type" : "packet_in_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "intl4_shim",
- "id" : 18,
+ "id" : 21,
"header_type" : "intl4_shim_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_header",
- "id" : 19,
+ "id" : 22,
"header_type" : "int_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_switch_id",
- "id" : 20,
+ "id" : 23,
"header_type" : "int_switch_id_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_port_ids",
- "id" : 21,
+ "id" : 24,
"header_type" : "int_port_ids_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_hop_latency",
- "id" : 22,
+ "id" : 25,
"header_type" : "int_hop_latency_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_q_occupancy",
- "id" : 23,
+ "id" : 26,
"header_type" : "int_q_occupancy_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_ingress_tstamp",
- "id" : 24,
+ "id" : 27,
"header_type" : "int_ingress_tstamp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_egress_tstamp",
- "id" : 25,
+ "id" : 28,
"header_type" : "int_egress_tstamp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_q_congestion",
- "id" : 26,
+ "id" : 29,
"header_type" : "int_q_congestion_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_egress_tx_util",
- "id" : 27,
+ "id" : 30,
"header_type" : "int_egress_port_tx_util_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "intl4_tail",
- "id" : 28,
+ "id" : 31,
"header_type" : "intl4_tail_t",
"metadata" : false,
"pi_omit" : true
@@ -628,7 +652,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
},
{
"type" : "lookahead",
@@ -666,7 +690,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
}
]
},
@@ -687,7 +711,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
},
{
"type" : "lookahead",
@@ -713,7 +737,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
}
]
},
@@ -823,7 +847,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
},
{
"type" : "lookahead",
@@ -849,7 +873,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
}
]
},
@@ -1103,77 +1127,6 @@
{
"parameters" : [
{
- "type" : "field",
- "value" : ["scalars", "tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : ">>",
- "left" : {
- "type" : "field",
- "value" : ["ipv4", "dst_addr"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x18"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffffff"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "op" : "set"
- }
- ],
- "transitions" : [
- {
- "type" : "hexstr",
- "value" : "0x8c",
- "mask" : null,
- "next_state" : "do_parse_gtpu"
- },
- {
- "value" : "default",
- "mask" : null,
- "next_state" : null
- }
- ],
- "transition_key" : [
- {
- "type" : "field",
- "value" : ["scalars", "tmp"]
- }
- ]
- },
- {
- "name" : "do_parse_gtpu",
- "id" : 12,
- "parser_ops" : [
- {
- "parameters" : [
- {
"type" : "regular",
"value" : "gtpu"
}
@@ -1237,7 +1190,7 @@
},
{
"name" : "parse_inner_udp",
- "id" : 13,
+ "id" : 12,
"parser_ops" : [
{
"parameters" : [
@@ -1252,7 +1205,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
},
{
"type" : "field",
@@ -1265,7 +1218,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
},
{
"type" : "field",
@@ -1286,7 +1239,7 @@
},
{
"name" : "parse_int",
- "id" : 14,
+ "id" : 13,
"parser_ops" : [],
"transitions" : [
{
@@ -1310,7 +1263,7 @@
},
{
"name" : "parse_intl4_shim",
- "id" : 15,
+ "id" : 14,
"parser_ops" : [
{
"parameters" : [
@@ -1353,7 +1306,7 @@
},
{
"name" : "parse_int_data",
- "id" : 16,
+ "id" : 15,
"parser_ops" : [],
"transitions" : [
{
@@ -1366,7 +1319,7 @@
},
{
"name" : "parse_intl4_tail",
- "id" : 17,
+ "id" : 16,
"parser_ops" : [
{
"parameters" : [
@@ -1397,30 +1350,18 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 267,
+ "line" : 268,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
- "order" : ["packet_in", "ethernet", "vlan_tag", "inner_vlan_tag", "eth_type", "mpls", "gtpu_ipv4", "gtpu_udp", "gtpu", "ipv4", "tcp", "udp", "icmp", "intl4_shim", "int_header", "int_switch_id", "int_port_ids", "int_hop_latency", "int_q_occupancy", "int_ingress_tstamp", "int_egress_tstamp", "int_q_congestion", "int_egress_tx_util", "intl4_tail"]
+ "order" : ["packet_in", "ethernet", "vlan_tag", "inner_vlan_tag", "eth_type", "mpls", "gtpu_ipv4", "gtpu_udp", "outer_gtpu", "ipv4", "tcp", "udp", "icmp", "gtpu", "inner_ipv4", "inner_tcp", "inner_udp", "inner_icmp", "intl4_shim", "int_header", "int_switch_id", "int_port_ids", "int_hop_latency", "int_q_occupancy", "int_ingress_tstamp", "int_egress_tstamp", "int_q_congestion", "int_egress_tx_util", "intl4_tail"]
}
],
"meter_arrays" : [],
"counter_arrays" : [
{
- "name" : "FabricIngress.spgw_ingress.pdr_counter",
- "id" : 0,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 56,
- "column" : 49,
- "source_fragment" : "pdr_counter"
- },
- "size" : 1024,
- "is_direct" : false
- },
- {
"name" : "FabricIngress.process_set_source_sink.counter_set_source",
- "id" : 1,
+ "id" : 0,
"is_direct" : true,
"binding" : "FabricIngress.process_set_source_sink.tb_set_source",
"source_info" : {
@@ -1432,7 +1373,7 @@
},
{
"name" : "FabricIngress.filtering.ingress_port_vlan_counter",
- "id" : 2,
+ "id" : 1,
"is_direct" : true,
"binding" : "FabricIngress.filtering.ingress_port_vlan",
"source_info" : {
@@ -1444,7 +1385,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier_counter",
- "id" : 3,
+ "id" : 2,
"is_direct" : true,
"binding" : "FabricIngress.filtering.fwd_classifier",
"source_info" : {
@@ -1456,7 +1397,7 @@
},
{
"name" : "FabricIngress.forwarding.bridging_counter",
- "id" : 4,
+ "id" : 3,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.bridging",
"source_info" : {
@@ -1468,7 +1409,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls_counter",
- "id" : 5,
+ "id" : 4,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.mpls",
"source_info" : {
@@ -1480,7 +1421,7 @@
},
{
"name" : "FabricIngress.acl.acl_counter",
- "id" : 6,
+ "id" : 5,
"is_direct" : true,
"binding" : "FabricIngress.acl.acl",
"source_info" : {
@@ -1492,7 +1433,7 @@
},
{
"name" : "FabricIngress.next.next_vlan_counter",
- "id" : 7,
+ "id" : 6,
"is_direct" : true,
"binding" : "FabricIngress.next.next_vlan",
"source_info" : {
@@ -1504,7 +1445,7 @@
},
{
"name" : "FabricIngress.next.xconnect_counter",
- "id" : 8,
+ "id" : 7,
"is_direct" : true,
"binding" : "FabricIngress.next.xconnect",
"source_info" : {
@@ -1516,7 +1457,7 @@
},
{
"name" : "FabricIngress.next.hashed_counter",
- "id" : 9,
+ "id" : 8,
"is_direct" : true,
"binding" : "FabricIngress.next.hashed",
"source_info" : {
@@ -1528,7 +1469,7 @@
},
{
"name" : "FabricIngress.next.multicast_counter",
- "id" : 10,
+ "id" : 9,
"is_direct" : true,
"binding" : "FabricIngress.next.multicast",
"source_info" : {
@@ -1540,7 +1481,7 @@
},
{
"name" : "FabricIngress.port_counters_control.egress_port_counter",
- "id" : 11,
+ "id" : 10,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 26,
@@ -1552,7 +1493,7 @@
},
{
"name" : "FabricIngress.port_counters_control.ingress_port_counter",
- "id" : 12,
+ "id" : 11,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 27,
@@ -1563,20 +1504,20 @@
"is_direct" : false
},
{
- "name" : "FabricEgress.spgw_egress.pdr_counter",
- "id" : 13,
+ "name" : "FabricIngress.spgw_ingress.pdr_counter",
+ "id" : 12,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 246,
- "column" : 49,
+ "filename" : "include/control/spgw.p4",
+ "line" : 182,
+ "column" : 53,
"source_fragment" : "pdr_counter"
},
- "size" : 1024,
+ "size" : 2048,
"is_direct" : false
},
{
"name" : "FabricEgress.process_int_main.process_int_source.counter_int_source",
- "id" : 14,
+ "id" : 13,
"is_direct" : true,
"binding" : "FabricEgress.process_int_main.process_int_source.tb_int_source",
"source_info" : {
@@ -1588,7 +1529,7 @@
},
{
"name" : "FabricEgress.egress_next.egress_vlan_counter",
- "id" : 15,
+ "id" : 14,
"is_direct" : true,
"binding" : "FabricEgress.egress_next.egress_vlan",
"source_info" : {
@@ -1597,6 +1538,18 @@
"column" : 50,
"source_fragment" : "egress_vlan_counter"
}
+ },
+ {
+ "name" : "FabricEgress.spgw_egress.pdr_counter",
+ "id" : 15,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 303,
+ "column" : 53,
+ "source_fragment" : "pdr_counter"
+ },
+ "size" : 2048,
+ "is_direct" : false
}
],
"register_arrays" : [],
@@ -1666,8 +1619,8 @@
"name" : "calc_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 306,
+ "filename" : "include/control/spgw.p4",
+ "line" : 364,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
@@ -1836,741 +1789,16 @@
"primitives" : []
},
{
- "name" : "nop",
+ "name" : "FabricIngress.process_set_source_sink.int_set_source",
"id" : 8,
"runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "nop",
- "id" : 9,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "NoAction",
- "id" : 10,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "NoAction",
- "id" : 11,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "FabricIngress.spgw_ingress.gtpu_decap",
- "id" : 12,
- "runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid19"]
- },
- {
- "type" : "field",
- "value" : ["gtpu", "teid"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 61,
- "column" : 30,
- "source_fragment" : "= gtpu.teid; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"]
- },
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dst_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 62,
- "column" : 41,
- "source_fragment" : "= gtpu_ipv4.dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "src_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 64,
- "column" : 34,
- "source_fragment" : "= ipv4.src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "dst_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 65,
- "column" : 34,
- "source_fragment" : "= ipv4.dst_addr; ..."
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 67,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "gtpu_udp.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "gtpu.setInvalid()"
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 13,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id23"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 14,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id23"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 15,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id23"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.load_normal_far_attributes",
- "id" : 16,
- "runtime_data" : [
- {
- "name" : "drop",
- "bitwidth" : 1
- },
- {
- "name" : "notify_cp",
- "bitwidth" : 1
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped25"]
- },
- {
- "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/spgw.p4",
- "line" : 146,
- "column" : 37,
- "source_fragment" : "= (bool)drop; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_notify_cp26"]
- },
- {
- "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/spgw.p4",
- "line" : 147,
- "column" : 35,
- "source_fragment" : "= (bool)notify_cp; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.load_tunnel_far_attributes",
- "id" : 17,
- "runtime_data" : [
- {
- "name" : "drop",
- "bitwidth" : 1
- },
- {
- "name" : "notify_cp",
- "bitwidth" : 1
- },
- {
- "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._spgw_far_dropped25"]
- },
- {
- "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/spgw.p4",
- "line" : 155,
- "column" : 37,
- "source_fragment" : "= (bool)drop; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_notify_cp26"]
- },
- {
- "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/spgw.p4",
- "line" : 156,
- "column" : 35,
- "source_fragment" : "= (bool)notify_cp; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_outer_header_creation27"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 158,
- "column" : 47,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid19"]
- },
- {
- "type" : "runtime_data",
- "value" : 4
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 159,
- "column" : 30,
- "source_fragment" : "= teid; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr20"]
- },
- {
- "type" : "runtime_data",
- "value" : 2
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 160,
- "column" : 41,
- "source_fragment" : "= tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"]
- },
- {
- "type" : "runtime_data",
- "value" : 3
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 161,
- "column" : 41,
- "source_fragment" : "= tunnel_dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
- },
- {
- "type" : "runtime_data",
- "value" : 2
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 163,
- "column" : 34,
- "source_fragment" : "= tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
- },
- {
- "type" : "runtime_data",
- "value" : 3
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 164,
- "column" : 34,
- "source_fragment" : "= tunnel_dst_addr; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.process_set_source_sink.int_set_source",
- "id" : 18,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_source28"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_source34"]
},
{
"type" : "expression",
@@ -2598,7 +1826,7 @@
},
{
"name" : "FabricIngress.filtering.deny",
- "id" : 19,
+ "id" : 9,
"runtime_data" : [],
"primitives" : [
{
@@ -2663,13 +1891,13 @@
},
{
"name" : "FabricIngress.filtering.permit",
- "id" : 20,
+ "id" : 10,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.filtering.permit_with_internal_vlan",
- "id" : 21,
+ "id" : 11,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -2700,7 +1928,7 @@
},
{
"name" : "FabricIngress.filtering.set_forwarding_type",
- "id" : 22,
+ "id" : 12,
"runtime_data" : [
{
"name" : "fwd_type",
@@ -2731,7 +1959,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_bridging",
- "id" : 23,
+ "id" : 13,
"runtime_data" : [
{
"name" : "next_id",
@@ -2762,7 +1990,7 @@
},
{
"name" : "FabricIngress.forwarding.pop_mpls_and_next",
- "id" : 24,
+ "id" : 14,
"runtime_data" : [
{
"name" : "next_id",
@@ -2812,7 +2040,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_routing_v4",
- "id" : 25,
+ "id" : 15,
"runtime_data" : [
{
"name" : "next_id",
@@ -2843,13 +2071,13 @@
},
{
"name" : "FabricIngress.forwarding.nop_routing_v4",
- "id" : 26,
+ "id" : 16,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.acl.set_next_id_acl",
- "id" : 27,
+ "id" : 17,
"runtime_data" : [
{
"name" : "next_id",
@@ -2880,7 +2108,7 @@
},
{
"name" : "FabricIngress.acl.punt_to_cpu",
- "id" : 28,
+ "id" : 18,
"runtime_data" : [],
"primitives" : [
{
@@ -2935,7 +2163,7 @@
},
{
"name" : "FabricIngress.acl.set_clone_session_id",
- "id" : 29,
+ "id" : 19,
"runtime_data" : [
{
"name" : "clone_id",
@@ -2966,7 +2194,7 @@
},
{
"name" : "FabricIngress.acl.drop",
- "id" : 30,
+ "id" : 20,
"runtime_data" : [],
"primitives" : [
{
@@ -3017,13 +2245,13 @@
},
{
"name" : "FabricIngress.acl.nop_acl",
- "id" : 31,
+ "id" : 21,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.next.set_vlan",
- "id" : 32,
+ "id" : 22,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -3054,7 +2282,7 @@
},
{
"name" : "FabricIngress.next.output_xconnect",
- "id" : 33,
+ "id" : 23,
"runtime_data" : [
{
"name" : "port_num",
@@ -3085,7 +2313,7 @@
},
{
"name" : "FabricIngress.next.set_next_id_xconnect",
- "id" : 34,
+ "id" : 24,
"runtime_data" : [
{
"name" : "next_id",
@@ -3116,7 +2344,7 @@
},
{
"name" : "FabricIngress.next.output_hashed",
- "id" : 35,
+ "id" : 25,
"runtime_data" : [
{
"name" : "port_num",
@@ -3147,7 +2375,7 @@
},
{
"name" : "FabricIngress.next.routing_hashed",
- "id" : 36,
+ "id" : 26,
"runtime_data" : [
{
"name" : "port_num",
@@ -3224,7 +2452,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_hashed",
- "id" : 37,
+ "id" : 27,
"runtime_data" : [
{
"name" : "port_num",
@@ -3324,7 +2552,7 @@
},
{
"name" : "FabricIngress.next.set_mcast_group_id",
- "id" : 38,
+ "id" : 28,
"runtime_data" : [
{
"name" : "group_id",
@@ -3383,16 +2611,126 @@
]
},
{
- "name" : "act",
- "id" : 39,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.set_source_iface",
+ "id" : 29,
+ "runtime_data" : [
+ {
+ "name" : "src_iface",
+ "bitwidth" : 8
+ },
+ {
+ "name" : "direction",
+ "bitwidth" : 2
+ },
+ {
+ "name" : "skip_spgw",
+ "bitwidth" : 1
+ }
+ ],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_src_iface27"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 0
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 50,
+ "column" : 33,
+ "source_fragment" : "= src_iface; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "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"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 52,
+ "column" : 33,
+ "source_fragment" : "= (bool)skip_spgw; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
+ "id" : 30,
+ "runtime_data" : [
+ {
+ "name" : "ctr_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "far_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "needs_gtpu_decap",
+ "bitwidth" : 1
+ }
+ ],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit29"]
},
{
"type" : "expression",
@@ -3410,47 +2748,10 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 32,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_0",
- "id" : 40,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 50,
- "source_fragment" : "hdr.gtpu_ipv4"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 65,
- "source_fragment" : "hdr.gtpu_udp"
+ "filename" : "include/control/spgw.p4",
+ "line" : 75,
+ "column" : 31,
+ "source_fragment" : "= true; ..."
}
},
{
@@ -3458,7 +2759,104 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 0
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 76,
+ "column" : 30,
+ "source_fragment" : "= ctr_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_id26"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 1
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 77,
+ "column" : 30,
+ "source_fragment" : "= far_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap33"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 78,
+ "column" : 40,
+ "source_fragment" : "= (bool)needs_gtpu_decap; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
+ "id" : 31,
+ "runtime_data" : [
+ {
+ "name" : "ctr_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "far_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "needs_gtpu_decap",
+ "bitwidth" : 1
+ }
+ ],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit29"]
},
{
"type" : "expression",
@@ -3469,85 +2867,600 @@
"left" : null,
"right" : {
"type" : "bool",
- "value" : false
+ "value" : true
}
}
}
}
- ]
- }
- ]
- },
- {
- "name" : "act_1",
- "id" : 41,
- "runtime_data" : [],
- "primitives" : [
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 75,
+ "column" : 31,
+ "source_fragment" : "= true; ..."
+ }
+ },
{
- "op" : "assign_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "udp"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
},
{
- "type" : "header",
- "value" : "inner_udp"
+ "type" : "runtime_data",
+ "value" : 0
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 39,
- "column" : 16,
- "source_fragment" : "= inner_udp; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 76,
+ "column" : 30,
+ "source_fragment" : "= ctr_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_id26"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 1
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 77,
+ "column" : 30,
+ "source_fragment" : "= far_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap33"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 78,
+ "column" : 40,
+ "source_fragment" : "= (bool)needs_gtpu_decap; ..."
}
}
]
},
{
- "name" : "act_2",
- "id" : 42,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.load_normal_far_attributes",
+ "id" : 32,
+ "runtime_data" : [
+ {
+ "name" : "drop",
+ "bitwidth" : 1
+ },
+ {
+ "name" : "notify_cp",
+ "bitwidth" : 1
+ }
+ ],
"primitives" : [
{
- "op" : "remove_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "udp"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped30"]
+ },
+ {
+ "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/spgw.p4",
- "line" : 41,
- "column" : 12,
- "source_fragment" : "udp.setInvalid()"
+ "filename" : "include/control/spgw.p4",
+ "line" : 140,
+ "column" : 35,
+ "source_fragment" : "= (bool)drop; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc31"]
+ },
+ {
+ "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" : 141,
+ "column" : 36,
+ "source_fragment" : "= (bool)notify_cp; ..."
}
}
]
},
{
- "name" : "act_3",
- "id" : 43,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.load_tunnel_far_attributes",
+ "id" : 33,
+ "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_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "gtpu_ipv4"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped30"]
},
{
- "type" : "header",
- "value" : "ipv4"
+ "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/spgw.p4",
- "line" : 35,
- "column" : 18,
- "source_fragment" : "= ipv4; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 150,
+ "column" : 35,
+ "source_fragment" : "= (bool)drop; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc31"]
+ },
+ {
+ "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" : 151,
+ "column" : 36,
+ "source_fragment" : "= (bool)notify_cp; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap32"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 153,
+ "column" : 40,
+ "source_fragment" : "= true; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_teid21"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 5
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 154,
+ "column" : 28,
+ "source_fragment" : "= teid; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port22"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 2
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 155,
+ "column" : 39,
+ "source_fragment" : "= tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr23"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 3
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 156,
+ "column" : 39,
+ "source_fragment" : "= tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr24"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 4
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 157,
+ "column" : 39,
+ "source_fragment" : "= tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 3
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 159,
+ "column" : 32,
+ "source_fragment" : "= tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 4
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 160,
+ "column" : 32,
+ "source_fragment" : "= tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 2
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 161,
+ "column" : 27,
+ "source_fragment" : "= tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0868"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 162,
+ "column" : 27,
+ "source_fragment" : "= 2152; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_inner_tcp",
+ "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" : 189,
+ "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" : 190,
+ "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" : 191,
+ "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" : 192,
+ "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" : 193,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
}
},
{
@@ -3563,10 +3476,55 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 36,
- "column" : 13,
- "source_fragment" : "= inner_ipv4; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 195,
+ "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" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 201,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
}
},
{
@@ -3574,25 +3532,648 @@
"parameters" : [
{
"type" : "header",
- "value" : "gtpu_udp"
+ "value" : "tcp"
},
{
"type" : "header",
+ "value" : "inner_tcp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 202,
+ "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" : 203,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_tcp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_inner_udp",
+ "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" : 189,
+ "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" : 190,
+ "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" : 191,
+ "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" : 192,
+ "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" : 193,
+ "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" : 195,
+ "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" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "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" : 207,
+ "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" : 208,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_udp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_inner_icmp",
+ "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" : 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" : 189,
+ "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" : 190,
+ "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" : 191,
+ "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" : 192,
+ "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" : 193,
+ "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" : 195,
+ "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" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "udp"
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 37,
- "column" : 17,
- "source_fragment" : "= udp; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 212,
+ "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" : 213,
+ "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" : 214,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_icmp.setInvalid()"
}
}
]
},
{
- "name" : "act_4",
- "id" : 44,
+ "name" : "FabricIngress.spgw_ingress.decap_inner_unknown",
+ "id" : 37,
+ "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" : 189,
+ "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" : 190,
+ "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" : 191,
+ "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" : 192,
+ "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" : 193,
+ "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" : 195,
+ "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" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 218,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act",
+ "id" : 38,
"runtime_data" : [],
"primitives" : [
{
@@ -3671,8 +4252,191 @@
]
},
{
+ "name" : "act_0",
+ "id" : 39,
+ "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" : false
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name" : "act_1",
+ "id" : 40,
+ "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" : 251,
+ "column" : 46,
+ "source_fragment" : "return"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_2",
+ "id" : 41,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "count",
+ "parameters" : [
+ {
+ "type" : "counter_array",
+ "value" : "FabricIngress.spgw_ingress.pdr_counter"
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 265,
+ "column" : 8,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_3",
+ "id" : 42,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "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" : 282,
+ "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" : 283,
+ "column" : 32,
+ "source_fragment" : "= true; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_4",
+ "id" : 43,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len20"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 291,
+ "column" : 32,
+ "source_fragment" : "= hdr.ipv4.total_len; ..."
+ }
+ }
+ ]
+ },
+ {
"name" : "act_5",
- "id" : 45,
+ "id" : 44,
"runtime_data" : [],
"primitives" : [
{
@@ -3736,7 +4500,7 @@
},
{
"name" : "act_6",
- "id" : 46,
+ "id" : 45,
"runtime_data" : [],
"primitives" : [
{
@@ -3762,7 +4526,7 @@
},
{
"name" : "act_7",
- "id" : 47,
+ "id" : 46,
"runtime_data" : [],
"primitives" : [
{
@@ -3770,439 +4534,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_8",
- "id" : 48,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_9",
- "id" : 49,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "mark_to_drop",
- "parameters" : [
- {
- "type" : "header",
- "value" : "standard_metadata"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 187,
- "column" : 16,
- "source_fragment" : "mark_to_drop(standard_metadata)"
- }
- }
- ]
- },
- {
- "name" : "act_10",
- "id" : 50,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 150,
- "column" : 36,
- "source_fragment" : "2w1; ..."
- }
- }
- ]
- },
- {
- "name" : "act_11",
- "id" : 51,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_12",
- "id" : 52,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_13",
- "id" : 53,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- {
- "type" : "hexstr",
- "value" : "0x02"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 151,
- "column" : 38,
- "source_fragment" : "2w2; ..."
- }
- }
- ]
- },
- {
- "name" : "act_14",
- "id" : 54,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 149,
- "column" : 37,
- "source_fragment" : "2w0; ..."
- }
- },
- {
- "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/spgw.p4",
- "line" : 196,
- "column" : 12,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_15",
- "id" : 55,
- "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" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_16",
- "id" : 56,
- "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/spgw.p4",
- "line" : 206,
- "column" : 12,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_17",
- "id" : 57,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "count",
- "parameters" : [
- {
- "type" : "counter_array",
- "value" : "FabricIngress.spgw_ingress.pdr_counter"
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 213,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
- }
- }
- ]
- },
- {
- "name" : "act_18",
- "id" : 58,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "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/spgw.p4",
- "line" : 223,
- "column" : 40,
- "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/spgw.p4",
- "line" : 224,
- "column" : 34,
- "source_fragment" : "= true; ..."
- }
- }
- ]
- },
- {
- "name" : "act_19",
- "id" : 59,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len18"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "total_len"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 232,
- "column" : 34,
- "source_fragment" : "= ipv4.total_len; ..."
- }
- }
- ]
- },
- {
- "name" : "act_20",
- "id" : 60,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
},
{
"type" : "expression",
@@ -4238,7 +4570,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
}
],
"source_info" : {
@@ -4251,8 +4583,8 @@
]
},
{
- "name" : "act_21",
- "id" : 61,
+ "name" : "act_8",
+ "id" : 47,
"runtime_data" : [],
"primitives" : [
{
@@ -4260,7 +4592,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
},
{
"type" : "expression",
@@ -4296,7 +4628,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
}
],
"source_info" : {
@@ -4310,629 +4642,37 @@
},
{
"name" : "nop",
- "id" : 62,
+ "id" : 48,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "nop",
- "id" : 63,
+ "id" : 49,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "nop",
- "id" : 64,
+ "id" : 50,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
- "id" : 65,
+ "id" : 51,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
- "id" : 66,
+ "id" : 52,
"runtime_data" : [],
"primitives" : []
},
{
- "name" : "FabricEgress.spgw_egress.gtpu_encap",
- "id" : 67,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 251,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "version"]
- },
- {
- "type" : "hexstr",
- "value" : "0x04"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 252,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.version = 4"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ihl"]
- },
- {
- "type" : "hexstr",
- "value" : "0x05"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 132,
- "column" : 28,
- "source_fragment" : "5; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dscp"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 254,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.dscp = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ecn"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 255,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.ecn = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "total_len"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["ipv4", "total_len"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0024"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 256,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.total_len = ipv4.total_len ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "identification"]
- },
- {
- "type" : "hexstr",
- "value" : "0x1513"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 258,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.identification = 0x1513"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "flags"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 259,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.flags = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "frag_offset"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 260,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.frag_offset = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ttl"]
- },
- {
- "type" : "hexstr",
- "value" : "0x40"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 145,
- "column" : 32,
- "source_fragment" : "64; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "protocol"]
- },
- {
- "type" : "hexstr",
- "value" : "0x11"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 129,
- "column" : 25,
- "source_fragment" : "17; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "src_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr20"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 263,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.src_addr = fabric_meta.spgw.tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dst_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 264,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.dst_addr = fabric_meta.spgw.tunnel_dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "hdr_checksum"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 265,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.hdr_checksum = 0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 267,
- "column" : 8,
- "source_fragment" : "gtpu_udp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "sport"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0868"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 268,
- "column" : 8,
- "source_fragment" : "gtpu_udp.sport = 2152"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "dport"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0868"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 269,
- "column" : 8,
- "source_fragment" : "gtpu_udp.dport = 2152"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "len"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len18"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0010"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 270,
- "column" : 8,
- "source_fragment" : "gtpu_udp.len = fabric_meta.spgw.ipv4_len ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "checksum"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 272,
- "column" : 8,
- "source_fragment" : "gtpu_udp.checksum = 0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 275,
- "column" : 8,
- "source_fragment" : "gtpu.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "version"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 276,
- "column" : 8,
- "source_fragment" : "gtpu.version = 0x01"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "pt"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 277,
- "column" : 8,
- "source_fragment" : "gtpu.pt = 0x01"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "spare"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 278,
- "column" : 8,
- "source_fragment" : "gtpu.spare = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "ex_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 279,
- "column" : 8,
- "source_fragment" : "gtpu.ex_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "seq_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 280,
- "column" : 8,
- "source_fragment" : "gtpu.seq_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "npdu_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 281,
- "column" : 8,
- "source_fragment" : "gtpu.npdu_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "msgtype"]
- },
- {
- "type" : "hexstr",
- "value" : "0xff"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 282,
- "column" : 8,
- "source_fragment" : "gtpu.msgtype = 0xff"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "msglen"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len18"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 283,
- "column" : 8,
- "source_fragment" : "gtpu.msglen = fabric_meta.spgw.ipv4_len; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "teid"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid19"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 284,
- "column" : 8,
- "source_fragment" : "gtpu.teid = fabric_meta.spgw.teid; ..."
- }
- }
- ]
- },
- {
"name" : "FabricEgress.process_int_main.process_int_source.int_source_dscp",
- "id" : 68,
+ "id" : 53,
"runtime_data" : [
{
"name" : "max_hop",
@@ -5000,7 +4740,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 160,
+ "line" : 165,
"column" : 36,
"source_fragment" : "4; ..."
}
@@ -5418,7 +5158,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 156,
+ "line" : 161,
"column" : 24,
"source_fragment" : "0x1; ..."
}
@@ -5427,7 +5167,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.init_metadata",
- "id" : 69,
+ "id" : 54,
"runtime_data" : [
{
"name" : "switch_id",
@@ -5440,7 +5180,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_transit29"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_transit35"]
},
{
"type" : "expression",
@@ -5469,7 +5209,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
},
{
"type" : "runtime_data",
@@ -5487,13 +5227,13 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i0",
- "id" : 70,
+ "id" : 55,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i1",
- "id" : 71,
+ "id" : 56,
"runtime_data" : [],
"primitives" : [
{
@@ -5567,7 +5307,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -5581,7 +5321,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -5609,7 +5349,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -5623,7 +5363,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -5650,7 +5390,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i2",
- "id" : 72,
+ "id" : 57,
"runtime_data" : [],
"primitives" : [
{
@@ -5692,7 +5432,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -5706,7 +5446,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -5734,7 +5474,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -5748,7 +5488,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -5775,7 +5515,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i3",
- "id" : 73,
+ "id" : 58,
"runtime_data" : [],
"primitives" : [
{
@@ -5883,7 +5623,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -5897,7 +5637,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -5925,7 +5665,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -5939,7 +5679,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -5966,7 +5706,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i4",
- "id" : 74,
+ "id" : 59,
"runtime_data" : [],
"primitives" : [
{
@@ -6053,7 +5793,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -6067,7 +5807,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -6095,7 +5835,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -6109,7 +5849,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -6136,7 +5876,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i5",
- "id" : 75,
+ "id" : 60,
"runtime_data" : [],
"primitives" : [
{
@@ -6289,7 +6029,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -6303,7 +6043,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -6331,7 +6071,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -6345,7 +6085,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -6372,7 +6112,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i6",
- "id" : 76,
+ "id" : 61,
"runtime_data" : [],
"primitives" : [
{
@@ -6493,7 +6233,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -6507,7 +6247,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -6535,7 +6275,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -6549,7 +6289,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -6576,7 +6316,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i7",
- "id" : 77,
+ "id" : 62,
"runtime_data" : [],
"primitives" : [
{
@@ -6763,7 +6503,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -6777,7 +6517,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -6805,7 +6545,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -6819,7 +6559,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -6846,7 +6586,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i8",
- "id" : 78,
+ "id" : 63,
"runtime_data" : [],
"primitives" : [
{
@@ -6873,7 +6613,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -6888,7 +6628,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -6902,7 +6642,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -6930,7 +6670,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -6944,7 +6684,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -6971,7 +6711,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i9",
- "id" : 79,
+ "id" : 64,
"runtime_data" : [],
"primitives" : [
{
@@ -7064,7 +6804,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -7079,7 +6819,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -7093,7 +6833,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -7121,7 +6861,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -7135,7 +6875,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -7162,7 +6902,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i10",
- "id" : 80,
+ "id" : 65,
"runtime_data" : [],
"primitives" : [
{
@@ -7223,7 +6963,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -7238,7 +6978,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -7252,7 +6992,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -7280,7 +7020,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -7294,7 +7034,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -7321,7 +7061,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i11",
- "id" : 81,
+ "id" : 66,
"runtime_data" : [],
"primitives" : [
{
@@ -7448,7 +7188,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -7463,7 +7203,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -7477,7 +7217,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -7505,7 +7245,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -7519,7 +7259,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -7546,7 +7286,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i12",
- "id" : 82,
+ "id" : 67,
"runtime_data" : [],
"primitives" : [
{
@@ -7652,7 +7392,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -7667,7 +7407,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -7681,7 +7421,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -7709,7 +7449,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -7723,7 +7463,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -7750,7 +7490,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i13",
- "id" : 83,
+ "id" : 68,
"runtime_data" : [],
"primitives" : [
{
@@ -7922,7 +7662,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -7937,7 +7677,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -7951,7 +7691,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -7979,7 +7719,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -7993,7 +7733,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -8020,7 +7760,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i14",
- "id" : 84,
+ "id" : 69,
"runtime_data" : [],
"primitives" : [
{
@@ -8160,7 +7900,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -8175,7 +7915,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -8189,7 +7929,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -8217,7 +7957,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -8231,7 +7971,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -8258,7 +7998,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i15",
- "id" : 85,
+ "id" : 70,
"runtime_data" : [],
"primitives" : [
{
@@ -8464,7 +8204,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -8479,7 +8219,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -8493,7 +8233,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -8521,7 +8261,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -8535,7 +8275,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -8562,13 +8302,13 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0",
- "id" : 86,
+ "id" : 71,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1",
- "id" : 87,
+ "id" : 72,
"runtime_data" : [],
"primitives" : [
{
@@ -8610,7 +8350,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -8624,7 +8364,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -8652,7 +8392,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -8666,7 +8406,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -8693,7 +8433,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2",
- "id" : 88,
+ "id" : 73,
"runtime_data" : [],
"primitives" : [
{
@@ -8754,7 +8494,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -8768,7 +8508,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -8796,7 +8536,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -8810,7 +8550,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -8837,7 +8577,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3",
- "id" : 89,
+ "id" : 74,
"runtime_data" : [],
"primitives" : [
{
@@ -8932,7 +8672,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -8946,7 +8686,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -8974,7 +8714,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -8988,7 +8728,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -9015,7 +8755,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4",
- "id" : 90,
+ "id" : 75,
"runtime_data" : [],
"primitives" : [
{
@@ -9080,7 +8820,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -9094,7 +8834,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -9122,7 +8862,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -9136,7 +8876,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -9163,7 +8903,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5",
- "id" : 91,
+ "id" : 76,
"runtime_data" : [],
"primitives" : [
{
@@ -9262,7 +9002,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -9276,7 +9016,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -9304,7 +9044,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -9318,7 +9058,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -9345,7 +9085,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6",
- "id" : 92,
+ "id" : 77,
"runtime_data" : [],
"primitives" : [
{
@@ -9463,7 +9203,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -9477,7 +9217,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -9505,7 +9245,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -9519,7 +9259,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -9546,7 +9286,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7",
- "id" : 93,
+ "id" : 78,
"runtime_data" : [],
"primitives" : [
{
@@ -9698,7 +9438,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -9712,7 +9452,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -9740,7 +9480,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -9754,7 +9494,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -9781,7 +9521,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8",
- "id" : 94,
+ "id" : 79,
"runtime_data" : [],
"primitives" : [
{
@@ -9823,7 +9563,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -9837,7 +9577,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -9865,7 +9605,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -9879,7 +9619,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -9906,7 +9646,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9",
- "id" : 95,
+ "id" : 80,
"runtime_data" : [],
"primitives" : [
{
@@ -9982,7 +9722,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -9996,7 +9736,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -10024,7 +9764,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -10038,7 +9778,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -10065,7 +9805,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10",
- "id" : 96,
+ "id" : 81,
"runtime_data" : [],
"primitives" : [
{
@@ -10160,7 +9900,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -10174,7 +9914,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -10202,7 +9942,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -10216,7 +9956,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -10243,7 +9983,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11",
- "id" : 97,
+ "id" : 82,
"runtime_data" : [],
"primitives" : [
{
@@ -10372,7 +10112,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -10386,7 +10126,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -10414,7 +10154,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -10428,7 +10168,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -10455,7 +10195,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12",
- "id" : 98,
+ "id" : 83,
"runtime_data" : [],
"primitives" : [
{
@@ -10554,7 +10294,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -10568,7 +10308,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -10596,7 +10336,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -10610,7 +10350,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -10637,7 +10377,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13",
- "id" : 99,
+ "id" : 84,
"runtime_data" : [],
"primitives" : [
{
@@ -10770,7 +10510,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -10784,7 +10524,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -10812,7 +10552,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -10826,7 +10566,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -10853,7 +10593,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14",
- "id" : 100,
+ "id" : 85,
"runtime_data" : [],
"primitives" : [
{
@@ -11005,7 +10745,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -11019,7 +10759,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -11047,7 +10787,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -11061,7 +10801,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -11088,7 +10828,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15",
- "id" : 101,
+ "id" : 86,
"runtime_data" : [],
"primitives" : [
{
@@ -11274,7 +11014,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -11288,7 +11028,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -11316,7 +11056,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -11330,7 +11070,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -11357,7 +11097,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_mpls_if_present",
- "id" : 102,
+ "id" : 87,
"runtime_data" : [],
"primitives" : [
{
@@ -11398,7 +11138,7 @@
},
{
"name" : "FabricEgress.egress_next.set_mpls",
- "id" : 103,
+ "id" : 88,
"runtime_data" : [],
"primitives" : [
{
@@ -11506,7 +11246,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 115,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -11515,7 +11255,7 @@
},
{
"name" : "FabricEgress.egress_next.push_vlan",
- "id" : 104,
+ "id" : 89,
"runtime_data" : [],
"primitives" : [
{
@@ -11585,7 +11325,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 114,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -11613,7 +11353,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_vlan",
- "id" : 105,
+ "id" : 90,
"runtime_data" : [],
"primitives" : [
{
@@ -11634,8 +11374,600 @@
]
},
{
- "name" : "act_22",
- "id" : 106,
+ "name" : "FabricEgress.spgw_egress.gtpu_encap",
+ "id" : 91,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 308,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "version"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x04"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 309,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.version = 4"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ihl"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x05"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 143,
+ "column" : 28,
+ "source_fragment" : "5; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "dscp"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 311,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.dscp = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ecn"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 312,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.ecn = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "total_len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0024"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 313,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.total_len = hdr.ipv4.total_len ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "identification"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x1513"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 315,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.identification = 0x1513"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "flags"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 316,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.flags = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "frag_offset"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 317,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.frag_offset = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ttl"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x40"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 156,
+ "column" : 32,
+ "source_fragment" : "64; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "protocol"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x11"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 140,
+ "column" : 25,
+ "source_fragment" : "17; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "src_addr"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr23"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 320,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.src_addr = fabric_md.spgw.tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "dst_addr"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr24"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 321,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.dst_addr = fabric_md.spgw.tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "hdr_checksum"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 322,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.hdr_checksum = 0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 324,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "sport"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port22"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 325,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.sport = fabric_md.spgw.tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "dport"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0868"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 326,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.dport = 2152"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len20"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0010"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 327,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.len = fabric_md.spgw.ipv4_len ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "checksum"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 329,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.checksum = 0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "outer_gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 332,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "version"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 333,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.version = 0x01"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "pt"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 334,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.pt = 0x01"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "spare"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 335,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.spare = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "ex_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 336,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.ex_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "seq_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 337,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.seq_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "npdu_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 338,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.npdu_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "msgtype"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 339,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.msgtype = 0xff"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "msglen"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len20"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 340,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.msglen = fabric_md.spgw.ipv4_len; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "teid"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_teid21"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 341,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.teid = fabric_md.spgw.teid; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_9",
+ "id" : 92,
"runtime_data" : [],
"primitives" : [
{
@@ -11651,8 +11983,8 @@
]
},
{
- "name" : "act_23",
- "id" : 107,
+ "name" : "act_10",
+ "id" : 93,
"runtime_data" : [],
"primitives" : [
{
@@ -11702,8 +12034,8 @@
]
},
{
- "name" : "act_24",
- "id" : 108,
+ "name" : "act_11",
+ "id" : 94,
"runtime_data" : [],
"primitives" : [
{
@@ -11724,8 +12056,8 @@
]
},
{
- "name" : "act_25",
- "id" : 109,
+ "name" : "act_12",
+ "id" : 95,
"runtime_data" : [],
"primitives" : [
{
@@ -11754,8 +12086,8 @@
]
},
{
- "name" : "act_26",
- "id" : 110,
+ "name" : "act_13",
+ "id" : 96,
"runtime_data" : [],
"primitives" : [
{
@@ -11784,8 +12116,8 @@
]
},
{
- "name" : "act_27",
- "id" : 111,
+ "name" : "act_14",
+ "id" : 97,
"runtime_data" : [],
"primitives" : [
{
@@ -11806,8 +12138,8 @@
]
},
{
- "name" : "act_28",
- "id" : 112,
+ "name" : "act_15",
+ "id" : 98,
"runtime_data" : [],
"primitives" : [
{
@@ -11855,8 +12187,8 @@
]
},
{
- "name" : "act_29",
- "id" : 113,
+ "name" : "act_16",
+ "id" : 99,
"runtime_data" : [],
"primitives" : [
{
@@ -11877,8 +12209,8 @@
]
},
{
- "name" : "act_30",
- "id" : 114,
+ "name" : "act_17",
+ "id" : 100,
"runtime_data" : [],
"primitives" : [
{
@@ -11926,8 +12258,74 @@
]
},
{
- "name" : "act_31",
- "id" : 115,
+ "name" : "act_18",
+ "id" : 101,
+ "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" : 345,
+ "column" : 46,
+ "source_fragment" : "return"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_19",
+ "id" : 102,
+ "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" : 103,
"runtime_data" : [],
"primitives" : [
{
@@ -11939,21 +12337,21 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 288,
+ "filename" : "include/control/spgw.p4",
+ "line" : 346,
"column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
}
}
]
},
{
- "name" : "act_32",
- "id" : 116,
+ "name" : "act_21",
+ "id" : 104,
"runtime_data" : [],
"primitives" : [
{
@@ -11982,8 +12380,8 @@
]
},
{
- "name" : "act_33",
- "id" : 117,
+ "name" : "act_22",
+ "id" : 105,
"runtime_data" : [],
"primitives" : [
{
@@ -12018,8 +12416,8 @@
]
},
{
- "name" : "act_34",
- "id" : 118,
+ "name" : "act_23",
+ "id" : 106,
"runtime_data" : [],
"primitives" : [
{
@@ -12045,7 +12443,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
}
}
},
@@ -12067,8 +12465,8 @@
]
},
{
- "name" : "act_35",
- "id" : 119,
+ "name" : "act_24",
+ "id" : 107,
"runtime_data" : [],
"primitives" : [
{
@@ -12116,8 +12514,8 @@
]
},
{
- "name" : "act_36",
- "id" : 120,
+ "name" : "act_25",
+ "id" : 108,
"runtime_data" : [],
"primitives" : [
{
@@ -12143,7 +12541,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
}
}
},
@@ -12165,8 +12563,8 @@
]
},
{
- "name" : "act_37",
- "id" : 121,
+ "name" : "act_26",
+ "id" : 109,
"runtime_data" : [],
"primitives" : [
{
@@ -12192,7 +12590,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
}
}
},
@@ -12224,157 +12622,12 @@
"column" : 8,
"source_fragment" : "FabricIngress"
},
- "init_table" : "tbl_act",
+ "init_table" : "node_2",
"tables" : [
{
"name" : "tbl_act",
"id" : 0,
"source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 50,
- "source_fragment" : "hdr.gtpu_ipv4, hdr.gtpu_udp"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [40],
- "actions" : ["act_0"],
- "base_default_next" : "node_3",
- "next_tables" : {
- "act_0" : "node_3"
- },
- "default_entry" : {
- "action_id" : 40,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_0",
- "id" : 1,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 32,
- "source_fragment" : "return"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [39],
- "actions" : ["act"],
- "base_default_next" : "node_5",
- "next_tables" : {
- "act" : "node_5"
- },
- "default_entry" : {
- "action_id" : 39,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_1",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 35,
- "column" : 18,
- "source_fragment" : "= ipv4; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [43],
- "actions" : ["act_3"],
- "base_default_next" : "node_7",
- "next_tables" : {
- "act_3" : "node_7"
- },
- "default_entry" : {
- "action_id" : 43,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_2",
- "id" : 3,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 39,
- "column" : 16,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [41],
- "actions" : ["act_1"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_1" : "node_10"
- },
- "default_entry" : {
- "action_id" : 41,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_3",
- "id" : 4,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 41,
- "column" : 12,
- "source_fragment" : "udp.setInvalid()"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [42],
- "actions" : ["act_2"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_2" : "node_10"
- },
- "default_entry" : {
- "action_id" : 42,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_4",
- "id" : 5,
- "source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 25,
"column" : 42,
@@ -12387,14 +12640,450 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [44],
- "actions" : ["act_4"],
- "base_default_next" : "node_12",
+ "action_ids" : [38],
+ "actions" : ["act"],
+ "base_default_next" : "tbl_act_0",
"next_tables" : {
- "act_4" : "node_12"
+ "act" : "tbl_act_0"
},
"default_entry" : {
- "action_id" : 44,
+ "action_id" : 38,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_0",
+ "id" : 1,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [39],
+ "actions" : ["act_0"],
+ "base_default_next" : "FabricIngress.spgw_ingress.interface_lookup",
+ "next_tables" : {
+ "act_0" : "FabricIngress.spgw_ingress.interface_lookup"
+ },
+ "default_entry" : {
+ "action_id" : 39,
+ "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,
+ "column" : 10,
+ "source_fragment" : "interface_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "lpm",
+ "name" : "ipv4_dst_addr",
+ "target" : ["ipv4", "dst_addr"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "gtpu_is_valid",
+ "target" : ["gtpu", "$valid$"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "lpm",
+ "type" : "simple",
+ "max_size" : 128,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [29],
+ "actions" : ["FabricIngress.spgw_ingress.set_source_iface"],
+ "base_default_next" : "node_6",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.set_source_iface" : "node_6"
+ },
+ "default_entry" : {
+ "action_id" : 29,
+ "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" : 251,
+ "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" : [40],
+ "actions" : ["act_1"],
+ "base_default_next" : "node_8",
+ "next_tables" : {
+ "act_1" : "node_8"
+ },
+ "default_entry" : {
+ "action_id" : 40,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "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",
+ "name" : "ue_addr",
+ "target" : ["inner_ipv4", "src_addr"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [31],
+ "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" : 31,
+ "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" : [30],
+ "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" : 30,
+ "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" : 265,
+ "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" : [41],
+ "actions" : ["act_2"],
+ "base_default_next" : "node_13",
+ "next_tables" : {
+ "act_2" : "node_13"
+ },
+ "default_entry" : {
+ "action_id" : 41,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_gtpu",
+ "id" : 7,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 221,
+ "column" : 10,
+ "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" : [34, 35, 36, 37],
+ "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",
+ "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"
+ },
+ "default_entry" : {
+ "action_id" : 37,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ },
+ "entries" : [
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 235,
+ "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" : 34,
+ "action_data" : []
+ },
+ "priority" : 1
+ },
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 236,
+ "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" : 35,
+ "action_data" : []
+ },
+ "priority" : 2
+ },
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 237,
+ "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" : 36,
+ "action_data" : []
+ },
+ "priority" : 3
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.far_lookup",
+ "id" : 8,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 165,
+ "column" : 10,
+ "source_fragment" : "far_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "far_id",
+ "target" : ["scalars", "fabric_metadata_t._spgw_far_id26"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 2048,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [32, 33],
+ "actions" : ["FabricIngress.spgw_ingress.load_normal_far_attributes", "FabricIngress.spgw_ingress.load_tunnel_far_attributes"],
+ "base_default_next" : "node_16",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.load_normal_far_attributes" : "node_16",
+ "FabricIngress.spgw_ingress.load_tunnel_far_attributes" : "node_16"
+ },
+ "default_entry" : {
+ "action_id" : 32,
+ "action_const" : true,
+ "action_data" : ["0x1", "0x1"],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_3",
+ "id" : 9,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 282,
+ "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" : [42],
+ "actions" : ["act_3"],
+ "base_default_next" : "tbl_act_4",
+ "next_tables" : {
+ "act_3" : "tbl_act_4"
+ },
+ "default_entry" : {
+ "action_id" : 42,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_4",
+ "id" : 10,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 291,
+ "column" : 32,
+ "source_fragment" : "="
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [43],
+ "actions" : ["act_4"],
+ "base_default_next" : "node_19",
+ "next_tables" : {
+ "act_4" : "node_19"
+ },
+ "default_entry" : {
+ "action_id" : 43,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -12402,7 +13091,7 @@
},
{
"name" : "tbl_act_5",
- "id" : 6,
+ "id" : 11,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 111,
@@ -12416,14 +13105,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [45],
+ "action_ids" : [44],
"actions" : ["act_5"],
- "base_default_next" : "node_14",
+ "base_default_next" : "node_21",
"next_tables" : {
- "act_5" : "node_14"
+ "act_5" : "node_21"
},
"default_entry" : {
- "action_id" : 45,
+ "action_id" : 44,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -12431,7 +13120,7 @@
},
{
"name" : "tbl_act_6",
- "id" : 7,
+ "id" : 12,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 127,
@@ -12445,14 +13134,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [46],
+ "action_ids" : [45],
"actions" : ["act_6"],
"base_default_next" : "FabricIngress.filtering.ingress_port_vlan",
"next_tables" : {
"act_6" : "FabricIngress.filtering.ingress_port_vlan"
},
"default_entry" : {
- "action_id" : 46,
+ "action_id" : 45,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -12460,7 +13149,7 @@
},
{
"name" : "FabricIngress.filtering.ingress_port_vlan",
- "id" : 8,
+ "id" : 13,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 53,
@@ -12493,7 +13182,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [19, 20, 21],
+ "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" : {
@@ -12502,7 +13191,7 @@
"FabricIngress.filtering.permit_with_internal_vlan" : "FabricIngress.filtering.fwd_classifier"
},
"default_entry" : {
- "action_id" : 19,
+ "action_id" : 9,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -12510,7 +13199,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier",
- "id" : 9,
+ "id" : 14,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 92,
@@ -12549,673 +13238,22 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [22],
+ "action_ids" : [12],
"actions" : ["FabricIngress.filtering.set_forwarding_type"],
- "base_default_next" : "tbl_act_7",
+ "base_default_next" : "node_25",
"next_tables" : {
- "FabricIngress.filtering.set_forwarding_type" : "tbl_act_7"
+ "FabricIngress.filtering.set_forwarding_type" : "node_25"
},
"default_entry" : {
- "action_id" : 22,
+ "action_id" : 12,
"action_const" : true,
"action_data" : ["0x0"],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_7",
- "id" : 10,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [55],
- "actions" : ["act_15"],
- "base_default_next" : "node_19",
- "next_tables" : {
- "act_15" : "node_19"
- },
- "default_entry" : {
- "action_id" : 55,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.uplink_filter_table",
- "id" : 11,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 84,
- "column" : 10,
- "source_fragment" : "uplink_filter_table"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "gtp_ipv4_dst",
- "target" : ["gtpu_ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [1],
- "actions" : ["nop"],
- "base_default_next" : null,
- "next_tables" : {
- "__HIT__" : "tbl_act_8",
- "__MISS__" : "tbl_act_9"
- },
- "default_entry" : {
- "action_id" : 1,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_8",
- "id" : 12,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [47],
- "actions" : ["act_7"],
- "base_default_next" : "node_23",
- "next_tables" : {
- "act_7" : "node_23"
- },
- "default_entry" : {
- "action_id" : 47,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_9",
- "id" : 13,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [48],
- "actions" : ["act_8"],
- "base_default_next" : "node_23",
- "next_tables" : {
- "act_8" : "node_23"
- },
- "default_entry" : {
- "action_id" : 48,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_10",
- "id" : 14,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 187,
- "column" : 16,
- "source_fragment" : "mark_to_drop(standard_metadata)"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [49],
- "actions" : ["act_9"],
- "base_default_next" : "tbl_act_11",
- "next_tables" : {
- "act_9" : "tbl_act_11"
- },
- "default_entry" : {
- "action_id" : 49,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_11",
- "id" : 15,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 189,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [50],
- "actions" : ["act_10"],
- "base_default_next" : "tbl_spgw_ingress_gtpu_decap",
- "next_tables" : {
- "act_10" : "tbl_spgw_ingress_gtpu_decap"
- },
- "default_entry" : {
- "action_id" : 50,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_spgw_ingress_gtpu_decap",
- "id" : 16,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 190,
- "column" : 12,
- "source_fragment" : "gtpu_decap()"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [12],
- "actions" : ["FabricIngress.spgw_ingress.gtpu_decap"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "FabricIngress.spgw_ingress.gtpu_decap" : "node_33"
- },
- "default_entry" : {
- "action_id" : 12,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.downlink_filter_table",
- "id" : 17,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 73,
- "column" : 10,
- "source_fragment" : "downlink_filter_table"
- },
- "key" : [
- {
- "match_type" : "lpm",
- "name" : "ipv4_prefix",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "lpm",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [0],
- "actions" : ["nop"],
- "base_default_next" : null,
- "next_tables" : {
- "__HIT__" : "tbl_act_12",
- "__MISS__" : "tbl_act_13"
- },
- "default_entry" : {
- "action_id" : 0,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_12",
- "id" : 18,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [51],
- "actions" : ["act_11"],
- "base_default_next" : "node_30",
- "next_tables" : {
- "act_11" : "node_30"
- },
- "default_entry" : {
- "action_id" : 51,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_13",
- "id" : 19,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [52],
- "actions" : ["act_12"],
- "base_default_next" : "node_30",
- "next_tables" : {
- "act_12" : "node_30"
- },
- "default_entry" : {
- "action_id" : 52,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_14",
- "id" : 20,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 192,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [53],
- "actions" : ["act_13"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "act_13" : "node_33"
- },
- "default_entry" : {
- "action_id" : 53,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_15",
- "id" : 21,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 194,
- "column" : 39,
- "source_fragment" : "= SPGW_DIR_UNKNOWN; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [54],
- "actions" : ["act_14"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "act_14" : "node_33"
- },
- "default_entry" : {
- "action_id" : 54,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
- "id" : 22,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 111,
- "column" : 10,
- "source_fragment" : "uplink_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "tunnel_ipv4_dst",
- "target" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"],
- "mask" : null
- },
- {
- "match_type" : "exact",
- "name" : "teid",
- "target" : ["scalars", "fabric_metadata_t._spgw_teid19"],
- "mask" : null
- },
- {
- "match_type" : "exact",
- "name" : "ue_addr",
- "target" : ["ipv4", "src_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [14, 11],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes", "NoAction"],
- "base_default_next" : "node_39",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "node_39",
- "NoAction" : "node_39"
- },
- "default_entry" : {
- "action_id" : 11,
- "action_const" : false,
- "action_data" : [],
- "action_entry_const" : false
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.downlink_pdr_lookup",
- "id" : 23,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 103,
- "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" : [13, 10],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes", "NoAction"],
- "base_default_next" : "node_39",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "node_39",
- "NoAction" : "node_39"
- },
- "default_entry" : {
- "action_id" : 10,
- "action_const" : false,
- "action_data" : [],
- "action_entry_const" : false
- }
- },
- {
- "name" : "tbl_act_16",
- "id" : 24,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 206,
- "column" : 12,
- "source_fragment" : "return"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [56],
- "actions" : ["act_16"],
- "base_default_next" : "node_39",
- "next_tables" : {
- "act_16" : "node_39"
- },
- "default_entry" : {
- "action_id" : 56,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.flexible_pdr_lookup",
- "id" : 25,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 123,
- "column" : 10,
- "source_fragment" : "flexible_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "ternary",
- "name" : "spgw_direction",
- "target" : ["scalars", "fabric_metadata_t._spgw_direction17"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "tunnel_ipv4_dst",
- "target" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "teid",
- "target" : ["scalars", "fabric_metadata_t._spgw_teid19"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ipv4_src",
- "target" : ["ipv4", "src_addr"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ipv4_dst",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ip_proto",
- "target" : ["ipv4", "protocol"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "l4_sport",
- "target" : ["scalars", "fabric_metadata_t._l4_sport13"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "l4_dport",
- "target" : ["scalars", "fabric_metadata_t._l4_dport14"],
- "mask" : null
- }
- ],
- "match_type" : "ternary",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [15],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes"],
- "base_default_next" : "tbl_act_17",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "tbl_act_17"
- },
- "default_entry" : {
- "action_id" : 15,
- "action_const" : true,
- "action_data" : ["0x0", "0x0"],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_17",
- "id" : 26,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 213,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [57],
- "actions" : ["act_17"],
- "base_default_next" : "FabricIngress.spgw_ingress.far_lookup",
- "next_tables" : {
- "act_17" : "FabricIngress.spgw_ingress.far_lookup"
- },
- "default_entry" : {
- "action_id" : 57,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.far_lookup",
- "id" : 27,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 168,
- "column" : 10,
- "source_fragment" : "far_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "far_id",
- "target" : ["scalars", "fabric_metadata_t._spgw_far_id23"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [16, 17],
- "actions" : ["FabricIngress.spgw_ingress.load_normal_far_attributes", "FabricIngress.spgw_ingress.load_tunnel_far_attributes"],
- "base_default_next" : "node_44",
- "next_tables" : {
- "FabricIngress.spgw_ingress.load_normal_far_attributes" : "node_44",
- "FabricIngress.spgw_ingress.load_tunnel_far_attributes" : "node_44"
- },
- "default_entry" : {
- "action_id" : 16,
- "action_const" : true,
- "action_data" : ["0x1", "0x0"],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_18",
- "id" : 28,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 223,
- "column" : 40,
- "source_fragment" : "= true; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [58],
- "actions" : ["act_18"],
- "base_default_next" : "tbl_act_19",
- "next_tables" : {
- "act_18" : "tbl_act_19"
- },
- "default_entry" : {
- "action_id" : 58,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_19",
- "id" : 29,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 232,
- "column" : 34,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [59],
- "actions" : ["act_19"],
- "base_default_next" : "node_47",
- "next_tables" : {
- "act_19" : "node_47"
- },
- "default_entry" : {
- "action_id" : 59,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
"name" : "FabricIngress.forwarding.bridging",
- "id" : 30,
+ "id" : 15,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 46,
@@ -13242,7 +13280,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [23, 3],
+ "action_ids" : [13, 1],
"actions" : ["FabricIngress.forwarding.set_next_id_bridging", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -13250,7 +13288,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 3,
+ "action_id" : 1,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13258,7 +13296,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls",
- "id" : 31,
+ "id" : 16,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 71,
@@ -13279,7 +13317,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [24, 4],
+ "action_ids" : [14, 2],
"actions" : ["FabricIngress.forwarding.pop_mpls_and_next", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -13287,7 +13325,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 4,
+ "action_id" : 2,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13295,7 +13333,7 @@
},
{
"name" : "FabricIngress.forwarding.routing_v4",
- "id" : 32,
+ "id" : 17,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 108,
@@ -13316,7 +13354,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [25, 26, 5],
+ "action_ids" : [15, 16, 3],
"actions" : ["FabricIngress.forwarding.set_next_id_routing_v4", "FabricIngress.forwarding.nop_routing_v4", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -13325,7 +13363,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 5,
+ "action_id" : 3,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -13333,7 +13371,7 @@
},
{
"name" : "FabricIngress.acl.acl",
- "id" : 33,
+ "id" : 18,
"source_info" : {
"filename" : "include/control/acl.p4",
"line" : 60,
@@ -13420,18 +13458,18 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [27, 28, 29, 30, 31],
+ "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_55",
+ "base_default_next" : "node_33",
"next_tables" : {
- "FabricIngress.acl.set_next_id_acl" : "node_55",
- "FabricIngress.acl.punt_to_cpu" : "node_55",
- "FabricIngress.acl.set_clone_session_id" : "node_55",
- "FabricIngress.acl.drop" : "node_55",
- "FabricIngress.acl.nop_acl" : "node_55"
+ "FabricIngress.acl.set_next_id_acl" : "node_33",
+ "FabricIngress.acl.punt_to_cpu" : "node_33",
+ "FabricIngress.acl.set_clone_session_id" : "node_33",
+ "FabricIngress.acl.drop" : "node_33",
+ "FabricIngress.acl.nop_acl" : "node_33"
},
"default_entry" : {
- "action_id" : 31,
+ "action_id" : 21,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13439,7 +13477,7 @@
},
{
"name" : "FabricIngress.next.xconnect",
- "id" : 34,
+ "id" : 19,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 119,
@@ -13466,7 +13504,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [33, 34, 7],
+ "action_ids" : [23, 24, 5],
"actions" : ["FabricIngress.next.output_xconnect", "FabricIngress.next.set_next_id_xconnect", "nop"],
"base_default_next" : "FabricIngress.next.hashed",
"next_tables" : {
@@ -13475,7 +13513,7 @@
"nop" : "FabricIngress.next.hashed"
},
"default_entry" : {
- "action_id" : 7,
+ "action_id" : 5,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13483,7 +13521,7 @@
},
{
"name" : "FabricIngress.next.hashed",
- "id" : 35,
+ "id" : 20,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 202,
@@ -13505,7 +13543,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [35, 36, 37, 8],
+ "action_ids" : [25, 26, 27, 6],
"actions" : ["FabricIngress.next.output_hashed", "FabricIngress.next.routing_hashed", "FabricIngress.next.mpls_routing_hashed", "nop"],
"base_default_next" : "FabricIngress.next.multicast",
"next_tables" : {
@@ -13517,7 +13555,7 @@
},
{
"name" : "FabricIngress.next.multicast",
- "id" : 36,
+ "id" : 21,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 236,
@@ -13538,7 +13576,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [38, 9],
+ "action_ids" : [28, 7],
"actions" : ["FabricIngress.next.set_mcast_group_id", "nop"],
"base_default_next" : "FabricIngress.next.next_vlan",
"next_tables" : {
@@ -13546,7 +13584,7 @@
"nop" : "FabricIngress.next.next_vlan"
},
"default_entry" : {
- "action_id" : 9,
+ "action_id" : 7,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13554,7 +13592,7 @@
},
{
"name" : "FabricIngress.next.next_vlan",
- "id" : 37,
+ "id" : 22,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 86,
@@ -13575,23 +13613,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [32, 6],
+ "action_ids" : [22, 4],
"actions" : ["FabricIngress.next.set_vlan", "nop"],
- "base_default_next" : "node_60",
+ "base_default_next" : "node_38",
"next_tables" : {
- "FabricIngress.next.set_vlan" : "node_60",
- "nop" : "node_60"
+ "FabricIngress.next.set_vlan" : "node_38",
+ "nop" : "node_38"
},
"default_entry" : {
- "action_id" : 6,
+ "action_id" : 4,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_20",
- "id" : 38,
+ "name" : "tbl_act_7",
+ "id" : 23,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 31,
@@ -13605,22 +13643,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [60],
- "actions" : ["act_20"],
- "base_default_next" : "node_62",
+ "action_ids" : [46],
+ "actions" : ["act_7"],
+ "base_default_next" : "node_40",
"next_tables" : {
- "act_20" : "node_62"
+ "act_7" : "node_40"
},
"default_entry" : {
- "action_id" : 60,
+ "action_id" : 46,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_21",
- "id" : 39,
+ "name" : "tbl_act_8",
+ "id" : 24,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 34,
@@ -13634,14 +13672,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [61],
- "actions" : ["act_21"],
+ "action_ids" : [47],
+ "actions" : ["act_8"],
"base_default_next" : "FabricIngress.process_set_source_sink.tb_set_source",
"next_tables" : {
- "act_21" : "FabricIngress.process_set_source_sink.tb_set_source"
+ "act_8" : "FabricIngress.process_set_source_sink.tb_set_source"
},
"default_entry" : {
- "action_id" : 61,
+ "action_id" : 47,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13649,7 +13687,7 @@
},
{
"name" : "FabricIngress.process_set_source_sink.tb_set_source",
- "id" : 40,
+ "id" : 25,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 46,
@@ -13670,7 +13708,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [18, 2],
+ "action_ids" : [8, 0],
"actions" : ["FabricIngress.process_set_source_sink.int_set_source", "nop"],
"base_default_next" : null,
"next_tables" : {
@@ -13678,7 +13716,7 @@
"nop" : null
},
"default_entry" : {
- "action_id" : 2,
+ "action_id" : 0,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13725,86 +13763,9 @@
],
"conditionals" : [
{
- "name" : "node_3",
+ "name" : "node_2",
"id" : 0,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 12,
- "source_fragment" : "! is_gtpu_encapped"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_0",
- "false_next" : "node_5"
- },
- {
- "name" : "node_5",
- "id" : 1,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_1",
- "false_next" : "node_10"
- },
- {
- "name" : "node_7",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 38,
- "column" : 12,
- "source_fragment" : "inner_udp.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["inner_udp", "$valid$"]
- }
- }
- },
- "true_next" : "tbl_act_2",
- "false_next" : "tbl_act_3"
- },
- {
- "name" : "node_10",
- "id" : 3,
- "source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 24,
"column" : 12,
@@ -13821,13 +13782,159 @@
}
}
},
- "true_next" : "tbl_act_4",
- "false_next" : "node_12"
+ "true_next" : "tbl_act",
+ "false_next" : "tbl_act_0"
},
{
- "name" : "node_12",
+ "name" : "node_6",
+ "id" : 1,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 251,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.skip_spgw == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw28"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "true_next" : "tbl_act_1",
+ "false_next" : "node_8"
+ },
+ {
+ "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",
+ "id" : 3,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 255,
+ "column" : 12,
+ "source_fragment" : "hdr.gtpu.isValid()"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["gtpu", "$valid$"]
+ }
+ }
+ },
+ "true_next" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
+ "false_next" : "FabricIngress.spgw_ingress.downlink_pdr_lookup"
+ },
+ {
+ "name" : "node_13",
"id" : 4,
"source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 268,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.needs_gtpu_decap == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap33"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "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" : 279,
+ "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"
+ },
+ {
+ "name" : "node_19",
+ "id" : 6,
+ "source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 110,
"column" : 12,
@@ -13845,11 +13952,11 @@
}
},
"true_next" : "tbl_act_5",
- "false_next" : "node_14"
+ "false_next" : "node_21"
},
{
- "name" : "node_14",
- "id" : 5,
+ "name" : "node_21",
+ "id" : 7,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 122,
@@ -13878,247 +13985,11 @@
"false_next" : "FabricIngress.filtering.ingress_port_vlan"
},
{
- "name" : "node_19",
- "id" : 6,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 181,
- "column" : 12,
- "source_fragment" : "gtpu.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.uplink_filter_table",
- "false_next" : "FabricIngress.spgw_ingress.downlink_filter_table"
- },
- {
- "name" : "node_23",
- "id" : 7,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 185,
- "column" : 16,
- "source_fragment" : "!uplink_filter_table.apply().hit"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_10",
- "false_next" : "tbl_act_11"
- },
- {
- "name" : "node_30",
+ "name" : "node_25",
"id" : 8,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- }
- }
- },
- "true_next" : "tbl_act_14",
- "false_next" : "tbl_act_15"
- },
- {
- "name" : "node_33",
- "id" : 9,
- "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_34",
- "false_next" : "node_39"
- },
- {
- "name" : "node_34",
- "id" : 10,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 201,
- "column" : 12,
- "source_fragment" : "fabric_meta.spgw.direction == SPGW_DIR_UPLINK"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x01"
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
- "false_next" : "node_36"
- },
- {
- "name" : "node_36",
- "id" : 11,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 203,
- "column" : 19,
- "source_fragment" : "fabric_meta.spgw.direction == SPGW_DIR_DOWNLINK"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.downlink_pdr_lookup",
- "false_next" : "tbl_act_16"
- },
- {
- "name" : "node_39",
- "id" : 12,
- "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_40",
- "false_next" : "node_47"
- },
- {
- "name" : "node_40",
- "id" : 13,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 209,
- "column" : 12,
- "source_fragment" : "fabric_meta.spgw.pdr_hit == false"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit24"]
- }
- }
- },
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.flexible_pdr_lookup",
- "false_next" : "tbl_act_17"
- },
- {
- "name" : "node_44",
- "id" : 14,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 220,
- "column" : 12,
- "source_fragment" : "fabric_meta.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_dropped25"]
- }
- }
- },
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- },
- "true_next" : "tbl_act_18",
- "false_next" : "tbl_act_19"
- },
- {
- "name" : "node_47",
- "id" : 15,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -14143,12 +14014,12 @@
}
}
},
- "true_next" : "node_48",
+ "true_next" : "node_26",
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_48",
- "id" : 16,
+ "name" : "node_26",
+ "id" : 9,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 150,
@@ -14170,11 +14041,11 @@
}
},
"true_next" : "FabricIngress.forwarding.bridging",
- "false_next" : "node_50"
+ "false_next" : "node_28"
},
{
- "name" : "node_50",
- "id" : 17,
+ "name" : "node_28",
+ "id" : 10,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 151,
@@ -14196,11 +14067,11 @@
}
},
"true_next" : "FabricIngress.forwarding.mpls",
- "false_next" : "node_52"
+ "false_next" : "node_30"
},
{
- "name" : "node_52",
- "id" : 18,
+ "name" : "node_30",
+ "id" : 11,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 152,
@@ -14225,11 +14096,11 @@
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_55",
- "id" : 19,
+ "name" : "node_33",
+ "id" : 12,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -14258,8 +14129,8 @@
"true_next" : "FabricIngress.next.xconnect"
},
{
- "name" : "node_60",
- "id" : 20,
+ "name" : "node_38",
+ "id" : 13,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 30,
@@ -14280,12 +14151,12 @@
}
}
},
- "true_next" : "tbl_act_20",
- "false_next" : "node_62"
+ "true_next" : "tbl_act_7",
+ "false_next" : "node_40"
},
{
- "name" : "node_62",
- "id" : 21,
+ "name" : "node_40",
+ "id" : 14,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 33,
@@ -14306,7 +14177,7 @@
}
}
},
- "true_next" : "tbl_act_21",
+ "true_next" : "tbl_act_8",
"false_next" : "FabricIngress.process_set_source_sink.tb_set_source"
}
]
@@ -14316,15 +14187,15 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},
- "init_table" : "node_67",
+ "init_table" : "node_45",
"tables" : [
{
- "name" : "tbl_act_22",
- "id" : 41,
+ "name" : "tbl_act_9",
+ "id" : 26,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 41,
@@ -14338,22 +14209,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [106],
- "actions" : ["act_22"],
- "base_default_next" : "node_69",
+ "action_ids" : [92],
+ "actions" : ["act_9"],
+ "base_default_next" : "node_47",
"next_tables" : {
- "act_22" : "node_69"
+ "act_9" : "node_47"
},
"default_entry" : {
- "action_id" : 106,
+ "action_id" : 92,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_23",
- "id" : 42,
+ "name" : "tbl_act_10",
+ "id" : 27,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 44,
@@ -14367,22 +14238,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [107],
- "actions" : ["act_23"],
- "base_default_next" : "node_71",
+ "action_ids" : [93],
+ "actions" : ["act_10"],
+ "base_default_next" : "node_49",
"next_tables" : {
- "act_23" : "node_71"
+ "act_10" : "node_49"
},
"default_entry" : {
- "action_id" : 107,
+ "action_id" : 93,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_24",
- "id" : 43,
+ "name" : "tbl_act_11",
+ "id" : 28,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 337,
@@ -14396,14 +14267,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [108],
- "actions" : ["act_24"],
- "base_default_next" : "node_73",
+ "action_ids" : [94],
+ "actions" : ["act_11"],
+ "base_default_next" : "node_51",
"next_tables" : {
- "act_24" : "node_73"
+ "act_11" : "node_51"
},
"default_entry" : {
- "action_id" : 108,
+ "action_id" : 94,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14411,7 +14282,7 @@
},
{
"name" : "tbl_egress_next_pop_mpls_if_present",
- "id" : 44,
+ "id" : 29,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -14425,14 +14296,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [102],
+ "action_ids" : [87],
"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" : 102,
+ "action_id" : 87,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14440,7 +14311,7 @@
},
{
"name" : "tbl_egress_next_set_mpls",
- "id" : 45,
+ "id" : 30,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 343,
@@ -14454,14 +14325,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [103],
+ "action_ids" : [88],
"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" : 103,
+ "action_id" : 88,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14469,7 +14340,7 @@
},
{
"name" : "FabricEgress.egress_next.egress_vlan",
- "id" : 46,
+ "id" : 31,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 320,
@@ -14496,23 +14367,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [105, 64],
+ "action_ids" : [90, 50],
"actions" : ["FabricEgress.egress_next.pop_vlan", "nop"],
"base_default_next" : null,
"next_tables" : {
- "__HIT__" : "tbl_act_25",
- "__MISS__" : "tbl_act_26"
+ "__HIT__" : "tbl_act_12",
+ "__MISS__" : "tbl_act_13"
},
"default_entry" : {
- "action_id" : 64,
+ "action_id" : 50,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_25",
- "id" : 47,
+ "name" : "tbl_act_12",
+ "id" : 32,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -14520,22 +14391,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [109],
- "actions" : ["act_25"],
- "base_default_next" : "node_80",
+ "action_ids" : [95],
+ "actions" : ["act_12"],
+ "base_default_next" : "node_58",
"next_tables" : {
- "act_25" : "node_80"
+ "act_12" : "node_58"
},
"default_entry" : {
- "action_id" : 109,
+ "action_id" : 95,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_26",
- "id" : 48,
+ "name" : "tbl_act_13",
+ "id" : 33,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -14543,14 +14414,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [110],
- "actions" : ["act_26"],
- "base_default_next" : "node_80",
+ "action_ids" : [96],
+ "actions" : ["act_13"],
+ "base_default_next" : "node_58",
"next_tables" : {
- "act_26" : "node_80"
+ "act_13" : "node_58"
},
"default_entry" : {
- "action_id" : 110,
+ "action_id" : 96,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14558,7 +14429,7 @@
},
{
"name" : "tbl_egress_next_push_vlan",
- "id" : 49,
+ "id" : 34,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 360,
@@ -14572,22 +14443,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [104],
+ "action_ids" : [89],
"actions" : ["FabricEgress.egress_next.push_vlan"],
- "base_default_next" : "node_83",
+ "base_default_next" : "node_61",
"next_tables" : {
- "FabricEgress.egress_next.push_vlan" : "node_83"
+ "FabricEgress.egress_next.push_vlan" : "node_61"
},
"default_entry" : {
- "action_id" : 104,
+ "action_id" : 89,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_27",
- "id" : 50,
+ "name" : "tbl_act_14",
+ "id" : 35,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 369,
@@ -14601,22 +14472,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [112],
- "actions" : ["act_28"],
- "base_default_next" : "node_85",
+ "action_ids" : [98],
+ "actions" : ["act_15"],
+ "base_default_next" : "node_63",
"next_tables" : {
- "act_28" : "node_85"
+ "act_15" : "node_63"
},
"default_entry" : {
- "action_id" : 112,
+ "action_id" : 98,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_28",
- "id" : 51,
+ "name" : "tbl_act_15",
+ "id" : 36,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -14630,22 +14501,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [111],
- "actions" : ["act_27"],
- "base_default_next" : "tbl_act_31",
+ "action_ids" : [97],
+ "actions" : ["act_14"],
+ "base_default_next" : "tbl_act_18",
"next_tables" : {
- "act_27" : "tbl_act_31"
+ "act_14" : "tbl_act_18"
},
"default_entry" : {
- "action_id" : 111,
+ "action_id" : 97,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_29",
- "id" : 52,
+ "name" : "tbl_act_16",
+ "id" : 37,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 373,
@@ -14659,22 +14530,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [114],
- "actions" : ["act_30"],
- "base_default_next" : "node_89",
+ "action_ids" : [100],
+ "actions" : ["act_17"],
+ "base_default_next" : "node_67",
"next_tables" : {
- "act_30" : "node_89"
+ "act_17" : "node_67"
},
"default_entry" : {
- "action_id" : 114,
+ "action_id" : 100,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_30",
- "id" : 53,
+ "name" : "tbl_act_17",
+ "id" : 38,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -14688,27 +14559,50 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [113],
- "actions" : ["act_29"],
- "base_default_next" : "tbl_act_31",
+ "action_ids" : [99],
+ "actions" : ["act_16"],
+ "base_default_next" : "tbl_act_18",
"next_tables" : {
- "act_29" : "tbl_act_31"
+ "act_16" : "tbl_act_18"
},
"default_entry" : {
- "action_id" : 113,
+ "action_id" : 99,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_31",
- "id" : 54,
+ "name" : "tbl_act_18",
+ "id" : 39,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [102],
+ "actions" : ["act_19"],
+ "base_default_next" : "node_70",
+ "next_tables" : {
+ "act_19" : "node_70"
+ },
+ "default_entry" : {
+ "action_id" : 102,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_19",
+ "id" : 40,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 288,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
+ "column" : 46,
+ "source_fragment" : "return"
},
"key" : [],
"match_type" : "exact",
@@ -14717,14 +14611,43 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [115],
- "actions" : ["act_31"],
- "base_default_next" : "node_92",
+ "action_ids" : [101],
+ "actions" : ["act_18"],
+ "base_default_next" : "node_72",
"next_tables" : {
- "act_31" : "node_92"
+ "act_18" : "node_72"
},
"default_entry" : {
- "action_id" : 115,
+ "action_id" : 101,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_20",
+ "id" : 41,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 346,
+ "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" : [103],
+ "actions" : ["act_20"],
+ "base_default_next" : "node_74",
+ "next_tables" : {
+ "act_20" : "node_74"
+ },
+ "default_entry" : {
+ "action_id" : 103,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14732,10 +14655,10 @@
},
{
"name" : "tbl_spgw_egress_gtpu_encap",
- "id" : 55,
+ "id" : 42,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 291,
+ "filename" : "include/control/spgw.p4",
+ "line" : 349,
"column" : 12,
"source_fragment" : "gtpu_encap()"
},
@@ -14746,14 +14669,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [67],
+ "action_ids" : [91],
"actions" : ["FabricEgress.spgw_egress.gtpu_encap"],
- "base_default_next" : "node_94",
+ "base_default_next" : "node_76",
"next_tables" : {
- "FabricEgress.spgw_egress.gtpu_encap" : "node_94"
+ "FabricEgress.spgw_egress.gtpu_encap" : "node_76"
},
"default_entry" : {
- "action_id" : 67,
+ "action_id" : 91,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14761,7 +14684,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_source.tb_int_source",
- "id" : 56,
+ "id" : 43,
"source_info" : {
"filename" : "include/int/int_source.p4",
"line" : 66,
@@ -14800,23 +14723,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [68, 62],
+ "action_ids" : [53, 48],
"actions" : ["FabricEgress.process_int_main.process_int_source.int_source_dscp", "nop"],
- "base_default_next" : "node_97",
+ "base_default_next" : "node_79",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_source.int_source_dscp" : "node_97",
- "nop" : "node_97"
+ "FabricEgress.process_int_main.process_int_source.int_source_dscp" : "node_79",
+ "nop" : "node_79"
},
"default_entry" : {
- "action_id" : 62,
+ "action_id" : 48,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_32",
- "id" : 57,
+ "name" : "tbl_act_21",
+ "id" : 44,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -14824,14 +14747,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [116],
- "actions" : ["act_32"],
+ "action_ids" : [104],
+ "actions" : ["act_21"],
"base_default_next" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert",
"next_tables" : {
- "act_32" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert"
+ "act_21" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert"
},
"default_entry" : {
- "action_id" : 116,
+ "action_id" : 104,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14839,7 +14762,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert",
- "id" : 58,
+ "id" : 45,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 315,
@@ -14860,23 +14783,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [69, 63],
+ "action_ids" : [54, 49],
"actions" : ["FabricEgress.process_int_main.process_int_transit.init_metadata", "nop"],
- "base_default_next" : "node_100",
+ "base_default_next" : "node_82",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_transit.init_metadata" : "node_100",
- "nop" : "node_100"
+ "FabricEgress.process_int_main.process_int_transit.init_metadata" : "node_82",
+ "nop" : "node_82"
},
"default_entry" : {
- "action_id" : 63,
+ "action_id" : 49,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_33",
- "id" : 59,
+ "name" : "tbl_act_22",
+ "id" : 46,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 420,
@@ -14890,14 +14813,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [117],
- "actions" : ["act_33"],
- "base_default_next" : "node_102",
+ "action_ids" : [105],
+ "actions" : ["act_22"],
+ "base_default_next" : "node_84",
"next_tables" : {
- "act_33" : "node_102"
+ "act_22" : "node_84"
},
"default_entry" : {
- "action_id" : 117,
+ "action_id" : 105,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14905,7 +14828,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0003",
- "id" : 60,
+ "id" : 47,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 331,
@@ -14926,7 +14849,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 65],
+ "action_ids" : [55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 51],
"actions" : ["FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i0", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i1", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i2", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i3", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i4", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i5", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i6", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i7", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i8", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i9", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i10", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i11", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i12", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i13", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i14", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i15", "NoAction"],
"base_default_next" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407",
"next_tables" : {
@@ -14949,7 +14872,7 @@
"NoAction" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407"
},
"default_entry" : {
- "action_id" : 65,
+ "action_id" : 51,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -14969,7 +14892,7 @@
}
],
"action_entry" : {
- "action_id" : 70,
+ "action_id" : 55,
"action_data" : []
},
"priority" : 1
@@ -14988,7 +14911,7 @@
}
],
"action_entry" : {
- "action_id" : 71,
+ "action_id" : 56,
"action_data" : []
},
"priority" : 2
@@ -15007,7 +14930,7 @@
}
],
"action_entry" : {
- "action_id" : 72,
+ "action_id" : 57,
"action_data" : []
},
"priority" : 3
@@ -15026,7 +14949,7 @@
}
],
"action_entry" : {
- "action_id" : 73,
+ "action_id" : 58,
"action_data" : []
},
"priority" : 4
@@ -15045,7 +14968,7 @@
}
],
"action_entry" : {
- "action_id" : 74,
+ "action_id" : 59,
"action_data" : []
},
"priority" : 5
@@ -15064,7 +14987,7 @@
}
],
"action_entry" : {
- "action_id" : 75,
+ "action_id" : 60,
"action_data" : []
},
"priority" : 6
@@ -15083,7 +15006,7 @@
}
],
"action_entry" : {
- "action_id" : 76,
+ "action_id" : 61,
"action_data" : []
},
"priority" : 7
@@ -15102,7 +15025,7 @@
}
],
"action_entry" : {
- "action_id" : 77,
+ "action_id" : 62,
"action_data" : []
},
"priority" : 8
@@ -15121,7 +15044,7 @@
}
],
"action_entry" : {
- "action_id" : 78,
+ "action_id" : 63,
"action_data" : []
},
"priority" : 9
@@ -15140,7 +15063,7 @@
}
],
"action_entry" : {
- "action_id" : 79,
+ "action_id" : 64,
"action_data" : []
},
"priority" : 10
@@ -15159,7 +15082,7 @@
}
],
"action_entry" : {
- "action_id" : 80,
+ "action_id" : 65,
"action_data" : []
},
"priority" : 11
@@ -15178,7 +15101,7 @@
}
],
"action_entry" : {
- "action_id" : 81,
+ "action_id" : 66,
"action_data" : []
},
"priority" : 12
@@ -15197,7 +15120,7 @@
}
],
"action_entry" : {
- "action_id" : 82,
+ "action_id" : 67,
"action_data" : []
},
"priority" : 13
@@ -15216,7 +15139,7 @@
}
],
"action_entry" : {
- "action_id" : 83,
+ "action_id" : 68,
"action_data" : []
},
"priority" : 14
@@ -15235,7 +15158,7 @@
}
],
"action_entry" : {
- "action_id" : 84,
+ "action_id" : 69,
"action_data" : []
},
"priority" : 15
@@ -15254,7 +15177,7 @@
}
],
"action_entry" : {
- "action_id" : 85,
+ "action_id" : 70,
"action_data" : []
},
"priority" : 16
@@ -15263,7 +15186,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407",
- "id" : 61,
+ "id" : 48,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 375,
@@ -15284,30 +15207,30 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 66],
+ "action_ids" : [71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 52],
"actions" : ["FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15", "NoAction"],
- "base_default_next" : "tbl_act_34",
+ "base_default_next" : "tbl_act_23",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15" : "tbl_act_34",
- "NoAction" : "tbl_act_34"
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15" : "tbl_act_23",
+ "NoAction" : "tbl_act_23"
},
"default_entry" : {
- "action_id" : 66,
+ "action_id" : 52,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -15327,7 +15250,7 @@
}
],
"action_entry" : {
- "action_id" : 86,
+ "action_id" : 71,
"action_data" : []
},
"priority" : 1
@@ -15346,7 +15269,7 @@
}
],
"action_entry" : {
- "action_id" : 87,
+ "action_id" : 72,
"action_data" : []
},
"priority" : 2
@@ -15365,7 +15288,7 @@
}
],
"action_entry" : {
- "action_id" : 88,
+ "action_id" : 73,
"action_data" : []
},
"priority" : 3
@@ -15384,7 +15307,7 @@
}
],
"action_entry" : {
- "action_id" : 89,
+ "action_id" : 74,
"action_data" : []
},
"priority" : 4
@@ -15403,7 +15326,7 @@
}
],
"action_entry" : {
- "action_id" : 90,
+ "action_id" : 75,
"action_data" : []
},
"priority" : 5
@@ -15422,7 +15345,7 @@
}
],
"action_entry" : {
- "action_id" : 91,
+ "action_id" : 76,
"action_data" : []
},
"priority" : 6
@@ -15441,7 +15364,7 @@
}
],
"action_entry" : {
- "action_id" : 92,
+ "action_id" : 77,
"action_data" : []
},
"priority" : 7
@@ -15460,7 +15383,7 @@
}
],
"action_entry" : {
- "action_id" : 93,
+ "action_id" : 78,
"action_data" : []
},
"priority" : 8
@@ -15479,7 +15402,7 @@
}
],
"action_entry" : {
- "action_id" : 94,
+ "action_id" : 79,
"action_data" : []
},
"priority" : 9
@@ -15498,7 +15421,7 @@
}
],
"action_entry" : {
- "action_id" : 95,
+ "action_id" : 80,
"action_data" : []
},
"priority" : 10
@@ -15517,7 +15440,7 @@
}
],
"action_entry" : {
- "action_id" : 96,
+ "action_id" : 81,
"action_data" : []
},
"priority" : 11
@@ -15536,7 +15459,7 @@
}
],
"action_entry" : {
- "action_id" : 97,
+ "action_id" : 82,
"action_data" : []
},
"priority" : 12
@@ -15555,7 +15478,7 @@
}
],
"action_entry" : {
- "action_id" : 98,
+ "action_id" : 83,
"action_data" : []
},
"priority" : 13
@@ -15574,7 +15497,7 @@
}
],
"action_entry" : {
- "action_id" : 99,
+ "action_id" : 84,
"action_data" : []
},
"priority" : 14
@@ -15593,7 +15516,7 @@
}
],
"action_entry" : {
- "action_id" : 100,
+ "action_id" : 85,
"action_data" : []
},
"priority" : 15
@@ -15612,7 +15535,7 @@
}
],
"action_entry" : {
- "action_id" : 101,
+ "action_id" : 86,
"action_data" : []
},
"priority" : 16
@@ -15620,8 +15543,8 @@
]
},
{
- "name" : "tbl_act_34",
- "id" : 62,
+ "name" : "tbl_act_23",
+ "id" : 49,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 425,
@@ -15635,22 +15558,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [119],
- "actions" : ["act_35"],
- "base_default_next" : "node_106",
+ "action_ids" : [107],
+ "actions" : ["act_24"],
+ "base_default_next" : "node_88",
"next_tables" : {
- "act_35" : "node_106"
+ "act_24" : "node_88"
},
"default_entry" : {
- "action_id" : 119,
+ "action_id" : 107,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_35",
- "id" : 63,
+ "name" : "tbl_act_24",
+ "id" : 50,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 428,
@@ -15664,22 +15587,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [118],
- "actions" : ["act_34"],
- "base_default_next" : "node_108",
+ "action_ids" : [106],
+ "actions" : ["act_23"],
+ "base_default_next" : "node_90",
"next_tables" : {
- "act_34" : "node_108"
+ "act_23" : "node_90"
},
"default_entry" : {
- "action_id" : 118,
+ "action_id" : 106,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_36",
- "id" : 64,
+ "name" : "tbl_act_25",
+ "id" : 51,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 431,
@@ -15693,22 +15616,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [120],
- "actions" : ["act_36"],
- "base_default_next" : "node_110",
+ "action_ids" : [108],
+ "actions" : ["act_25"],
+ "base_default_next" : "node_92",
"next_tables" : {
- "act_36" : "node_110"
+ "act_25" : "node_92"
},
"default_entry" : {
- "action_id" : 120,
+ "action_id" : 108,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_37",
- "id" : 65,
+ "name" : "tbl_act_26",
+ "id" : 52,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 434,
@@ -15722,14 +15645,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [121],
- "actions" : ["act_37"],
+ "action_ids" : [109],
+ "actions" : ["act_26"],
"base_default_next" : null,
"next_tables" : {
- "act_37" : null
+ "act_26" : null
},
"default_entry" : {
- "action_id" : 121,
+ "action_id" : 109,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -15739,8 +15662,8 @@
"action_profiles" : [],
"conditionals" : [
{
- "name" : "node_67",
- "id" : 22,
+ "name" : "node_45",
+ "id" : 15,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 39,
@@ -15768,12 +15691,12 @@
}
}
},
- "true_next" : "tbl_act_22",
- "false_next" : "node_69"
+ "true_next" : "tbl_act_9",
+ "false_next" : "node_47"
},
{
- "name" : "node_69",
- "id" : 23,
+ "name" : "node_47",
+ "id" : 16,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 43,
@@ -15794,12 +15717,12 @@
}
}
},
- "true_next" : "tbl_act_23",
- "false_next" : "node_71"
+ "true_next" : "tbl_act_10",
+ "false_next" : "node_49"
},
{
- "name" : "node_71",
- "id" : 24,
+ "name" : "node_49",
+ "id" : 17,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 335,
@@ -15847,12 +15770,12 @@
}
}
},
- "true_next" : "tbl_act_24",
- "false_next" : "node_73"
+ "true_next" : "tbl_act_11",
+ "false_next" : "node_51"
},
{
- "name" : "node_73",
- "id" : 25,
+ "name" : "node_51",
+ "id" : 18,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 340,
@@ -15873,12 +15796,12 @@
}
}
},
- "true_next" : "node_74",
+ "true_next" : "node_52",
"false_next" : "tbl_egress_next_set_mpls"
},
{
- "name" : "node_74",
- "id" : 26,
+ "name" : "node_52",
+ "id" : 19,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -15900,8 +15823,8 @@
"false_next" : "FabricEgress.egress_next.egress_vlan"
},
{
- "name" : "node_80",
- "id" : 27,
+ "name" : "node_58",
+ "id" : 20,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 357,
@@ -15926,12 +15849,12 @@
}
}
},
- "true_next" : "node_81",
- "false_next" : "node_83"
+ "true_next" : "node_59",
+ "false_next" : "node_61"
},
{
- "name" : "node_81",
- "id" : 28,
+ "name" : "node_59",
+ "id" : 21,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 359,
@@ -15953,11 +15876,11 @@
}
},
"true_next" : "tbl_egress_next_push_vlan",
- "false_next" : "node_83"
+ "false_next" : "node_61"
},
{
- "name" : "node_83",
- "id" : 29,
+ "name" : "node_61",
+ "id" : 22,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 368,
@@ -15975,12 +15898,12 @@
}
}
},
- "true_next" : "tbl_act_27",
- "false_next" : "node_87"
+ "true_next" : "tbl_act_14",
+ "false_next" : "node_65"
},
{
- "name" : "node_85",
- "id" : 30,
+ "name" : "node_63",
+ "id" : 23,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -16001,12 +15924,12 @@
}
}
},
- "true_next" : "tbl_act_28",
- "false_next" : "tbl_act_31"
+ "true_next" : "tbl_act_15",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_87",
- "id" : 31,
+ "name" : "node_65",
+ "id" : 24,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 372,
@@ -16024,12 +15947,12 @@
}
}
},
- "true_next" : "tbl_act_29",
- "false_next" : "tbl_act_31"
+ "true_next" : "tbl_act_16",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_89",
- "id" : 32,
+ "name" : "node_67",
+ "id" : 25,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -16050,17 +15973,17 @@
}
}
},
- "true_next" : "tbl_act_30",
- "false_next" : "tbl_act_31"
+ "true_next" : "tbl_act_17",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_92",
- "id" : 33,
+ "name" : "node_70",
+ "id" : 26,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 290,
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
"column" : 12,
- "source_fragment" : "fabric_meta.spgw.outer_header_creation == true"
+ "source_fragment" : "fabric_md.spgw.skip_spgw == true"
},
"expression" : {
"type" : "expression",
@@ -16073,7 +15996,64 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_outer_header_creation27"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw28"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "true_next" : "tbl_act_19",
+ "false_next" : "node_72"
+ },
+ {
+ "name" : "node_72",
+ "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"]
+ }
+ }
+ }
+ }
+ },
+ "true_next" : "tbl_act_20",
+ "false_next" : "node_76"
+ },
+ {
+ "name" : "node_74",
+ "id" : 28,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 348,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.needs_gtpu_encap == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap32"]
}
}
},
@@ -16084,11 +16064,11 @@
}
},
"true_next" : "tbl_spgw_egress_gtpu_encap",
- "false_next" : "node_94"
+ "false_next" : "node_76"
},
{
- "name" : "node_94",
- "id" : 34,
+ "name" : "node_76",
+ "id" : 29,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 102,
@@ -16164,11 +16144,11 @@
}
},
"false_next" : null,
- "true_next" : "node_95"
+ "true_next" : "node_77"
},
{
- "name" : "node_95",
- "id" : 35,
+ "name" : "node_77",
+ "id" : 30,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 106,
@@ -16186,7 +16166,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_source28"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_source34"]
}
}
},
@@ -16197,11 +16177,11 @@
}
},
"true_next" : "FabricEgress.process_int_main.process_int_source.tb_int_source",
- "false_next" : "node_97"
+ "false_next" : "node_79"
},
{
- "name" : "node_97",
- "id" : 36,
+ "name" : "node_79",
+ "id" : 31,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 110,
@@ -16220,11 +16200,11 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_32"
+ "true_next" : "tbl_act_21"
},
{
- "name" : "node_100",
- "id" : 37,
+ "name" : "node_82",
+ "id" : 32,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 419,
@@ -16242,7 +16222,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_transit29"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_transit35"]
}
}
},
@@ -16252,12 +16232,12 @@
}
}
},
- "true_next" : "tbl_act_33",
- "false_next" : "node_102"
+ "true_next" : "tbl_act_22",
+ "false_next" : "node_84"
},
{
- "name" : "node_102",
- "id" : 38,
+ "name" : "node_84",
+ "id" : 33,
"expression" : {
"type" : "expression",
"value" : {
@@ -16280,8 +16260,8 @@
"true_next" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0003"
},
{
- "name" : "node_106",
- "id" : 39,
+ "name" : "node_88",
+ "id" : 34,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 427,
@@ -16299,12 +16279,12 @@
}
}
},
- "true_next" : "tbl_act_35",
- "false_next" : "node_108"
+ "true_next" : "tbl_act_24",
+ "false_next" : "node_90"
},
{
- "name" : "node_108",
- "id" : 40,
+ "name" : "node_90",
+ "id" : 35,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 430,
@@ -16322,12 +16302,12 @@
}
}
},
- "true_next" : "tbl_act_36",
- "false_next" : "node_110"
+ "true_next" : "tbl_act_25",
+ "false_next" : "node_92"
},
{
- "name" : "node_110",
- "id" : 41,
+ "name" : "node_92",
+ "id" : 36,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 433,
@@ -16346,7 +16326,7 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_37"
+ "true_next" : "tbl_act_26"
}
]
}
@@ -16382,8 +16362,8 @@
"name" : "cksum_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 306,
+ "filename" : "include/control/spgw.p4",
+ "line" : 364,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/p4info.txt b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/p4info.txt
index a009b3d..0a41be6 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/p4info.txt
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/p4info.txt
@@ -3,179 +3,6 @@
}
tables {
preamble {
- id: 33586632
- name: "FabricIngress.spgw_ingress.downlink_filter_table"
- alias: "downlink_filter_table"
- }
- match_fields {
- id: 1
- name: "ipv4_prefix"
- bitwidth: 32
- match_type: LPM
- }
- action_refs {
- id: 16819938
- }
- const_default_action_id: 16819938
- size: 1024
-}
-tables {
- preamble {
- id: 33567046
- name: "FabricIngress.spgw_ingress.uplink_filter_table"
- alias: "uplink_filter_table"
- }
- match_fields {
- id: 1
- name: "gtp_ipv4_dst"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16819938
- }
- const_default_action_id: 16819938
- size: 1024
-}
-tables {
- preamble {
- id: 33586958
- name: "FabricIngress.spgw_ingress.downlink_pdr_lookup"
- alias: "downlink_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "ue_addr"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16799934
- }
- action_refs {
- id: 16800567
- annotations: "@defaultonly"
- scope: DEFAULT_ONLY
- }
- size: 1024
-}
-tables {
- preamble {
- id: 33587070
- name: "FabricIngress.spgw_ingress.uplink_pdr_lookup"
- alias: "uplink_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "tunnel_ipv4_dst"
- bitwidth: 32
- match_type: EXACT
- }
- match_fields {
- id: 2
- name: "teid"
- bitwidth: 32
- match_type: EXACT
- }
- match_fields {
- id: 3
- name: "ue_addr"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16799934
- }
- action_refs {
- id: 16800567
- annotations: "@defaultonly"
- scope: DEFAULT_ONLY
- }
- size: 1024
-}
-tables {
- preamble {
- id: 33582573
- name: "FabricIngress.spgw_ingress.flexible_pdr_lookup"
- alias: "flexible_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "spgw_direction"
- bitwidth: 2
- match_type: TERNARY
- }
- match_fields {
- id: 2
- name: "tunnel_ipv4_dst"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 3
- name: "teid"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 4
- name: "ipv4_src"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 5
- name: "ipv4_dst"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 6
- name: "ip_proto"
- bitwidth: 8
- match_type: TERNARY
- }
- match_fields {
- id: 7
- name: "l4_sport"
- bitwidth: 16
- match_type: TERNARY
- }
- match_fields {
- id: 8
- name: "l4_dport"
- bitwidth: 16
- match_type: TERNARY
- }
- action_refs {
- id: 16799934
- }
- const_default_action_id: 16799934
- size: 1024
-}
-tables {
- preamble {
- id: 33613200
- name: "FabricIngress.spgw_ingress.far_lookup"
- alias: "far_lookup"
- }
- match_fields {
- id: 1
- name: "far_id"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16834935
- }
- action_refs {
- id: 16787606
- }
- const_default_action_id: 16834935
- size: 1024
-}
-tables {
- preamble {
id: 33581620
name: "FabricIngress.process_set_source_sink.tb_set_source"
alias: "tb_set_source"
@@ -562,6 +389,99 @@
}
tables {
preamble {
+ id: 33584493
+ name: "FabricIngress.spgw_ingress.interface_lookup"
+ alias: "interface_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "ipv4_dst_addr"
+ bitwidth: 32
+ match_type: LPM
+ }
+ match_fields {
+ id: 2
+ name: "gtpu_is_valid"
+ bitwidth: 1
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16797935
+ }
+ const_default_action_id: 16797935
+ size: 128
+}
+tables {
+ preamble {
+ id: 33586958
+ name: "FabricIngress.spgw_ingress.downlink_pdr_lookup"
+ alias: "downlink_pdr_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "ue_addr"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16799934
+ }
+ const_default_action_id: 16799934
+ size: 1024
+}
+tables {
+ preamble {
+ id: 33587070
+ name: "FabricIngress.spgw_ingress.uplink_pdr_lookup"
+ alias: "uplink_pdr_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "tunnel_ipv4_dst"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ match_fields {
+ id: 2
+ name: "teid"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ match_fields {
+ id: 3
+ name: "ue_addr"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16799934
+ }
+ const_default_action_id: 16799934
+ size: 1024
+}
+tables {
+ preamble {
+ id: 33613200
+ name: "FabricIngress.spgw_ingress.far_lookup"
+ alias: "far_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "far_id"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16834935
+ }
+ action_refs {
+ id: 16787606
+ }
+ const_default_action_id: 16834935
+ size: 2048
+}
+tables {
+ preamble {
id: 33612258
name: "FabricEgress.process_int_main.process_int_source.tb_int_source"
alias: "tb_int_source"
@@ -664,79 +584,6 @@
}
actions {
preamble {
- id: 16800567
- name: "NoAction"
- alias: "NoAction"
- }
-}
-actions {
- preamble {
- id: 16799934
- name: "FabricIngress.spgw_ingress.set_pdr_attributes"
- alias: "set_pdr_attributes"
- }
- params {
- id: 1
- name: "ctr_id"
- bitwidth: 32
- }
- params {
- id: 2
- name: "far_id"
- bitwidth: 32
- }
-}
-actions {
- preamble {
- id: 16834935
- name: "FabricIngress.spgw_ingress.load_normal_far_attributes"
- alias: "load_normal_far_attributes"
- }
- params {
- id: 1
- name: "drop"
- bitwidth: 1
- }
- params {
- id: 2
- name: "notify_cp"
- bitwidth: 1
- }
-}
-actions {
- preamble {
- id: 16787606
- name: "FabricIngress.spgw_ingress.load_tunnel_far_attributes"
- alias: "load_tunnel_far_attributes"
- }
- params {
- id: 1
- name: "drop"
- bitwidth: 1
- }
- params {
- id: 2
- name: "notify_cp"
- bitwidth: 1
- }
- params {
- id: 3
- name: "tunnel_src_addr"
- bitwidth: 32
- }
- params {
- id: 4
- name: "tunnel_dst_addr"
- bitwidth: 32
- }
- params {
- id: 5
- name: "teid"
- bitwidth: 32
- }
-}
-actions {
- preamble {
id: 16778827
name: "FabricIngress.process_set_source_sink.int_set_source"
alias: "int_set_source"
@@ -979,6 +826,139 @@
}
actions {
preamble {
+ id: 16797935
+ name: "FabricIngress.spgw_ingress.set_source_iface"
+ alias: "set_source_iface"
+ }
+ params {
+ id: 1
+ name: "src_iface"
+ bitwidth: 8
+ }
+ params {
+ id: 2
+ name: "direction"
+ bitwidth: 2
+ }
+ params {
+ id: 3
+ name: "skip_spgw"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16799934
+ name: "FabricIngress.spgw_ingress.set_pdr_attributes"
+ alias: "set_pdr_attributes"
+ }
+ params {
+ id: 1
+ name: "ctr_id"
+ bitwidth: 32
+ }
+ params {
+ id: 2
+ name: "far_id"
+ bitwidth: 32
+ }
+ params {
+ id: 3
+ name: "needs_gtpu_decap"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16834935
+ name: "FabricIngress.spgw_ingress.load_normal_far_attributes"
+ alias: "load_normal_far_attributes"
+ }
+ params {
+ id: 1
+ name: "drop"
+ bitwidth: 1
+ }
+ params {
+ id: 2
+ name: "notify_cp"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16787606
+ name: "FabricIngress.spgw_ingress.load_tunnel_far_attributes"
+ alias: "load_tunnel_far_attributes"
+ }
+ params {
+ id: 1
+ name: "drop"
+ bitwidth: 1
+ }
+ params {
+ id: 2
+ name: "notify_cp"
+ bitwidth: 1
+ }
+ params {
+ id: 3
+ name: "tunnel_src_port"
+ bitwidth: 16
+ }
+ params {
+ id: 4
+ name: "tunnel_src_addr"
+ bitwidth: 32
+ }
+ params {
+ id: 5
+ name: "tunnel_dst_addr"
+ bitwidth: 32
+ }
+ params {
+ id: 6
+ name: "teid"
+ bitwidth: 32
+ }
+}
+actions {
+ preamble {
+ id: 16829280
+ name: "FabricIngress.spgw_ingress.decap_inner_tcp"
+ alias: "decap_inner_tcp"
+ }
+}
+actions {
+ preamble {
+ id: 16815878
+ name: "FabricIngress.spgw_ingress.decap_inner_udp"
+ alias: "decap_inner_udp"
+ }
+}
+actions {
+ preamble {
+ id: 16801274
+ name: "FabricIngress.spgw_ingress.decap_inner_icmp"
+ alias: "decap_inner_icmp"
+ }
+}
+actions {
+ preamble {
+ id: 16830582
+ name: "FabricIngress.spgw_ingress.decap_inner_unknown"
+ alias: "decap_inner_unknown"
+ }
+}
+actions {
+ preamble {
+ id: 16800567
+ name: "NoAction"
+ alias: "NoAction"
+ }
+}
+actions {
+ preamble {
id: 16785857
name: "FabricEgress.process_int_main.process_int_source.int_source_dscp"
alias: "int_source_dscp"
@@ -1036,17 +1016,6 @@
}
counters {
preamble {
- id: 302029884
- name: "FabricIngress.spgw_ingress.pdr_counter"
- alias: "spgw_ingress.pdr_counter"
- }
- spec {
- unit: BOTH
- }
- size: 1024
-}
-counters {
- preamble {
id: 302011205
name: "FabricIngress.port_counters_control.egress_port_counter"
alias: "egress_port_counter"
@@ -1069,6 +1038,17 @@
}
counters {
preamble {
+ id: 302029884
+ name: "FabricIngress.spgw_ingress.pdr_counter"
+ alias: "spgw_ingress.pdr_counter"
+ }
+ spec {
+ unit: BOTH
+ }
+ size: 2048
+}
+counters {
+ preamble {
id: 302012289
name: "FabricEgress.spgw_egress.pdr_counter"
alias: "spgw_egress.pdr_counter"
@@ -1076,7 +1056,7 @@
spec {
unit: BOTH
}
- size: 1024
+ size: 2048
}
direct_counters {
preamble {
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 e0a3285..250c226 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,17 +4,14 @@
"name" : "scalars_0",
"id" : 0,
"fields" : [
- ["tmp_2", 16, false],
- ["tmp_3", 16, false],
- ["tmp_4", 4, false],
- ["tmp", 8, false],
- ["tmp_0", 32, false],
- ["tmp_1", 32, false],
- ["spgw_ingress_tmp", 1, false],
- ["spgw_ingress_tmp_0", 1, false],
- ["spgw_normalizer_hasReturned", 1, false],
+ ["tmp_0", 16, false],
+ ["tmp_1", 16, false],
+ ["tmp_2", 4, false],
+ ["tmp", 32, false],
+ ["tmp_3", 32, false],
["spgw_ingress_hasReturned", 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],
@@ -32,17 +29,23 @@
["fabric_metadata_t._l4_dport14", 16, false],
["fabric_metadata_t._ipv4_src_addr15", 32, false],
["fabric_metadata_t._ipv4_dst_addr16", 32, false],
- ["fabric_metadata_t._spgw_direction17", 2, false],
- ["fabric_metadata_t._spgw_ipv4_len18", 16, false],
- ["fabric_metadata_t._spgw_teid19", 32, false],
- ["fabric_metadata_t._spgw_tunnel_src_addr20", 32, false],
- ["fabric_metadata_t._spgw_tunnel_dst_addr21", 32, false],
- ["fabric_metadata_t._spgw_ctr_id22", 32, false],
- ["fabric_metadata_t._spgw_far_id23", 32, false],
- ["fabric_metadata_t._spgw_pdr_hit24", 1, false],
- ["fabric_metadata_t._spgw_far_dropped25", 1, false],
- ["fabric_metadata_t._spgw_notify_cp26", 1, false],
- ["fabric_metadata_t._spgw_outer_header_creation27", 1, 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]
]
},
@@ -265,64 +268,85 @@
"pi_omit" : true
},
{
- "name" : "gtpu",
+ "name" : "outer_gtpu",
"id" : 9,
"header_type" : "gtpu_t",
"metadata" : false,
"pi_omit" : true
},
{
- "name" : "inner_ipv4",
+ "name" : "gtpu",
"id" : 10,
+ "header_type" : "gtpu_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "inner_ipv4",
+ "id" : 11,
"header_type" : "ipv4_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "inner_udp",
- "id" : 11,
+ "id" : 12,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
- "name" : "ipv4",
- "id" : 12,
- "header_type" : "ipv4_t",
- "metadata" : false,
- "pi_omit" : true
- },
- {
- "name" : "tcp",
+ "name" : "inner_tcp",
"id" : 13,
"header_type" : "tcp_t",
"metadata" : false,
"pi_omit" : true
},
{
- "name" : "udp",
+ "name" : "inner_icmp",
"id" : 14,
+ "header_type" : "icmp_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "ipv4",
+ "id" : 15,
+ "header_type" : "ipv4_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "tcp",
+ "id" : 16,
+ "header_type" : "tcp_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "udp",
+ "id" : 17,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "icmp",
- "id" : 15,
+ "id" : 18,
"header_type" : "icmp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_out",
- "id" : 16,
+ "id" : 19,
"header_type" : "packet_out_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_in",
- "id" : 17,
+ "id" : 20,
"header_type" : "packet_in_header_t",
"metadata" : false,
"pi_omit" : true
@@ -443,7 +467,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
},
{
"type" : "lookahead",
@@ -481,7 +505,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
}
]
},
@@ -502,7 +526,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
},
{
"type" : "lookahead",
@@ -528,7 +552,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
}
]
},
@@ -638,7 +662,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
},
{
"type" : "lookahead",
@@ -664,7 +688,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
}
]
},
@@ -905,77 +929,6 @@
{
"parameters" : [
{
- "type" : "field",
- "value" : ["scalars", "tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : ">>",
- "left" : {
- "type" : "field",
- "value" : ["ipv4", "dst_addr"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x18"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffffff"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "op" : "set"
- }
- ],
- "transitions" : [
- {
- "type" : "hexstr",
- "value" : "0x8c",
- "mask" : null,
- "next_state" : "do_parse_gtpu"
- },
- {
- "value" : "default",
- "mask" : null,
- "next_state" : null
- }
- ],
- "transition_key" : [
- {
- "type" : "field",
- "value" : ["scalars", "tmp"]
- }
- ]
- },
- {
- "name" : "do_parse_gtpu",
- "id" : 12,
- "parser_ops" : [
- {
- "parameters" : [
- {
"type" : "regular",
"value" : "gtpu"
}
@@ -1026,7 +979,7 @@
},
{
"name" : "parse_inner_udp",
- "id" : 13,
+ "id" : 12,
"parser_ops" : [
{
"parameters" : [
@@ -1041,7 +994,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
},
{
"type" : "field",
@@ -1054,7 +1007,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
},
{
"type" : "field",
@@ -1083,30 +1036,18 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 267,
+ "line" : 268,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
- "order" : ["packet_in", "ethernet", "vlan_tag", "inner_vlan_tag", "eth_type", "mpls", "gtpu_ipv4", "gtpu_udp", "gtpu", "ipv4", "tcp", "udp", "icmp"]
+ "order" : ["packet_in", "ethernet", "vlan_tag", "inner_vlan_tag", "eth_type", "mpls", "gtpu_ipv4", "gtpu_udp", "outer_gtpu", "ipv4", "tcp", "udp", "icmp", "gtpu", "inner_ipv4", "inner_tcp", "inner_udp", "inner_icmp"]
}
],
"meter_arrays" : [],
"counter_arrays" : [
{
- "name" : "FabricIngress.spgw_ingress.pdr_counter",
- "id" : 0,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 56,
- "column" : 49,
- "source_fragment" : "pdr_counter"
- },
- "size" : 1024,
- "is_direct" : false
- },
- {
"name" : "FabricIngress.filtering.ingress_port_vlan_counter",
- "id" : 1,
+ "id" : 0,
"is_direct" : true,
"binding" : "FabricIngress.filtering.ingress_port_vlan",
"source_info" : {
@@ -1118,7 +1059,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier_counter",
- "id" : 2,
+ "id" : 1,
"is_direct" : true,
"binding" : "FabricIngress.filtering.fwd_classifier",
"source_info" : {
@@ -1130,7 +1071,7 @@
},
{
"name" : "FabricIngress.forwarding.bridging_counter",
- "id" : 3,
+ "id" : 2,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.bridging",
"source_info" : {
@@ -1142,7 +1083,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls_counter",
- "id" : 4,
+ "id" : 3,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.mpls",
"source_info" : {
@@ -1154,7 +1095,7 @@
},
{
"name" : "FabricIngress.acl.acl_counter",
- "id" : 5,
+ "id" : 4,
"is_direct" : true,
"binding" : "FabricIngress.acl.acl",
"source_info" : {
@@ -1166,7 +1107,7 @@
},
{
"name" : "FabricIngress.next.next_vlan_counter",
- "id" : 6,
+ "id" : 5,
"is_direct" : true,
"binding" : "FabricIngress.next.next_vlan",
"source_info" : {
@@ -1178,7 +1119,7 @@
},
{
"name" : "FabricIngress.next.xconnect_counter",
- "id" : 7,
+ "id" : 6,
"is_direct" : true,
"binding" : "FabricIngress.next.xconnect",
"source_info" : {
@@ -1190,7 +1131,7 @@
},
{
"name" : "FabricIngress.next.hashed_counter",
- "id" : 8,
+ "id" : 7,
"is_direct" : true,
"binding" : "FabricIngress.next.hashed",
"source_info" : {
@@ -1202,7 +1143,7 @@
},
{
"name" : "FabricIngress.next.multicast_counter",
- "id" : 9,
+ "id" : 8,
"is_direct" : true,
"binding" : "FabricIngress.next.multicast",
"source_info" : {
@@ -1214,7 +1155,7 @@
},
{
"name" : "FabricIngress.port_counters_control.egress_port_counter",
- "id" : 10,
+ "id" : 9,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 26,
@@ -1226,7 +1167,7 @@
},
{
"name" : "FabricIngress.port_counters_control.ingress_port_counter",
- "id" : 11,
+ "id" : 10,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 27,
@@ -1237,20 +1178,20 @@
"is_direct" : false
},
{
- "name" : "FabricEgress.spgw_egress.pdr_counter",
- "id" : 12,
+ "name" : "FabricIngress.spgw_ingress.pdr_counter",
+ "id" : 11,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 246,
- "column" : 49,
+ "filename" : "include/control/spgw.p4",
+ "line" : 182,
+ "column" : 53,
"source_fragment" : "pdr_counter"
},
- "size" : 1024,
+ "size" : 2048,
"is_direct" : false
},
{
"name" : "FabricEgress.egress_next.egress_vlan_counter",
- "id" : 13,
+ "id" : 12,
"is_direct" : true,
"binding" : "FabricEgress.egress_next.egress_vlan",
"source_info" : {
@@ -1259,6 +1200,18 @@
"column" : 50,
"source_fragment" : "egress_vlan_counter"
}
+ },
+ {
+ "name" : "FabricEgress.spgw_egress.pdr_counter",
+ "id" : 13,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 303,
+ "column" : 53,
+ "source_fragment" : "pdr_counter"
+ },
+ "size" : 2048,
+ "is_direct" : false
}
],
"register_arrays" : [],
@@ -1328,8 +1281,8 @@
"name" : "calc_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 306,
+ "filename" : "include/control/spgw.p4",
+ "line" : 364,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
@@ -1492,733 +1445,8 @@
"primitives" : []
},
{
- "name" : "nop",
- "id" : 7,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "nop",
- "id" : 8,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "NoAction",
- "id" : 9,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "NoAction",
- "id" : 10,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "FabricIngress.spgw_ingress.gtpu_decap",
- "id" : 11,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid19"]
- },
- {
- "type" : "field",
- "value" : ["gtpu", "teid"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 61,
- "column" : 30,
- "source_fragment" : "= gtpu.teid; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"]
- },
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dst_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 62,
- "column" : 41,
- "source_fragment" : "= gtpu_ipv4.dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "src_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 64,
- "column" : 34,
- "source_fragment" : "= ipv4.src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "dst_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 65,
- "column" : 34,
- "source_fragment" : "= ipv4.dst_addr; ..."
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 67,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "gtpu_udp.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "gtpu.setInvalid()"
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 12,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id23"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 13,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id23"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 14,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id23"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.load_normal_far_attributes",
- "id" : 15,
- "runtime_data" : [
- {
- "name" : "drop",
- "bitwidth" : 1
- },
- {
- "name" : "notify_cp",
- "bitwidth" : 1
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped25"]
- },
- {
- "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/spgw.p4",
- "line" : 146,
- "column" : 37,
- "source_fragment" : "= (bool)drop; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_notify_cp26"]
- },
- {
- "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/spgw.p4",
- "line" : 147,
- "column" : 35,
- "source_fragment" : "= (bool)notify_cp; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.load_tunnel_far_attributes",
- "id" : 16,
- "runtime_data" : [
- {
- "name" : "drop",
- "bitwidth" : 1
- },
- {
- "name" : "notify_cp",
- "bitwidth" : 1
- },
- {
- "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._spgw_far_dropped25"]
- },
- {
- "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/spgw.p4",
- "line" : 155,
- "column" : 37,
- "source_fragment" : "= (bool)drop; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_notify_cp26"]
- },
- {
- "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/spgw.p4",
- "line" : 156,
- "column" : 35,
- "source_fragment" : "= (bool)notify_cp; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_outer_header_creation27"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 158,
- "column" : 47,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid19"]
- },
- {
- "type" : "runtime_data",
- "value" : 4
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 159,
- "column" : 30,
- "source_fragment" : "= teid; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr20"]
- },
- {
- "type" : "runtime_data",
- "value" : 2
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 160,
- "column" : 41,
- "source_fragment" : "= tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"]
- },
- {
- "type" : "runtime_data",
- "value" : 3
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 161,
- "column" : 41,
- "source_fragment" : "= tunnel_dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
- },
- {
- "type" : "runtime_data",
- "value" : 2
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 163,
- "column" : 34,
- "source_fragment" : "= tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
- },
- {
- "type" : "runtime_data",
- "value" : 3
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 164,
- "column" : 34,
- "source_fragment" : "= tunnel_dst_addr; ..."
- }
- }
- ]
- },
- {
"name" : "FabricIngress.filtering.deny",
- "id" : 17,
+ "id" : 7,
"runtime_data" : [],
"primitives" : [
{
@@ -2283,13 +1511,13 @@
},
{
"name" : "FabricIngress.filtering.permit",
- "id" : 18,
+ "id" : 8,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.filtering.permit_with_internal_vlan",
- "id" : 19,
+ "id" : 9,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -2320,7 +1548,7 @@
},
{
"name" : "FabricIngress.filtering.set_forwarding_type",
- "id" : 20,
+ "id" : 10,
"runtime_data" : [
{
"name" : "fwd_type",
@@ -2351,7 +1579,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_bridging",
- "id" : 21,
+ "id" : 11,
"runtime_data" : [
{
"name" : "next_id",
@@ -2382,7 +1610,7 @@
},
{
"name" : "FabricIngress.forwarding.pop_mpls_and_next",
- "id" : 22,
+ "id" : 12,
"runtime_data" : [
{
"name" : "next_id",
@@ -2432,7 +1660,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_routing_v4",
- "id" : 23,
+ "id" : 13,
"runtime_data" : [
{
"name" : "next_id",
@@ -2463,13 +1691,13 @@
},
{
"name" : "FabricIngress.forwarding.nop_routing_v4",
- "id" : 24,
+ "id" : 14,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.acl.set_next_id_acl",
- "id" : 25,
+ "id" : 15,
"runtime_data" : [
{
"name" : "next_id",
@@ -2500,7 +1728,7 @@
},
{
"name" : "FabricIngress.acl.punt_to_cpu",
- "id" : 26,
+ "id" : 16,
"runtime_data" : [],
"primitives" : [
{
@@ -2555,7 +1783,7 @@
},
{
"name" : "FabricIngress.acl.set_clone_session_id",
- "id" : 27,
+ "id" : 17,
"runtime_data" : [
{
"name" : "clone_id",
@@ -2586,7 +1814,7 @@
},
{
"name" : "FabricIngress.acl.drop",
- "id" : 28,
+ "id" : 18,
"runtime_data" : [],
"primitives" : [
{
@@ -2637,13 +1865,13 @@
},
{
"name" : "FabricIngress.acl.nop_acl",
- "id" : 29,
+ "id" : 19,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.next.set_vlan",
- "id" : 30,
+ "id" : 20,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -2674,7 +1902,7 @@
},
{
"name" : "FabricIngress.next.output_xconnect",
- "id" : 31,
+ "id" : 21,
"runtime_data" : [
{
"name" : "port_num",
@@ -2705,7 +1933,7 @@
},
{
"name" : "FabricIngress.next.set_next_id_xconnect",
- "id" : 32,
+ "id" : 22,
"runtime_data" : [
{
"name" : "next_id",
@@ -2736,7 +1964,7 @@
},
{
"name" : "FabricIngress.next.output_hashed",
- "id" : 33,
+ "id" : 23,
"runtime_data" : [
{
"name" : "port_num",
@@ -2767,7 +1995,7 @@
},
{
"name" : "FabricIngress.next.routing_hashed",
- "id" : 34,
+ "id" : 24,
"runtime_data" : [
{
"name" : "port_num",
@@ -2844,7 +2072,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_hashed",
- "id" : 35,
+ "id" : 25,
"runtime_data" : [
{
"name" : "port_num",
@@ -2944,7 +2172,7 @@
},
{
"name" : "FabricIngress.next.set_mcast_group_id",
- "id" : 36,
+ "id" : 26,
"runtime_data" : [
{
"name" : "group_id",
@@ -3003,16 +2231,126 @@
]
},
{
- "name" : "act",
- "id" : 37,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.set_source_iface",
+ "id" : 27,
+ "runtime_data" : [
+ {
+ "name" : "src_iface",
+ "bitwidth" : 8
+ },
+ {
+ "name" : "direction",
+ "bitwidth" : 2
+ },
+ {
+ "name" : "skip_spgw",
+ "bitwidth" : 1
+ }
+ ],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_src_iface27"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 0
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 50,
+ "column" : 33,
+ "source_fragment" : "= src_iface; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "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"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 52,
+ "column" : 33,
+ "source_fragment" : "= (bool)skip_spgw; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
+ "id" : 28,
+ "runtime_data" : [
+ {
+ "name" : "ctr_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "far_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "needs_gtpu_decap",
+ "bitwidth" : 1
+ }
+ ],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit29"]
},
{
"type" : "expression",
@@ -3030,47 +2368,10 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 32,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_0",
- "id" : 38,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 50,
- "source_fragment" : "hdr.gtpu_ipv4"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 65,
- "source_fragment" : "hdr.gtpu_udp"
+ "filename" : "include/control/spgw.p4",
+ "line" : 75,
+ "column" : 31,
+ "source_fragment" : "= true; ..."
}
},
{
@@ -3078,7 +2379,104 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 0
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 76,
+ "column" : 30,
+ "source_fragment" : "= ctr_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_id26"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 1
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 77,
+ "column" : 30,
+ "source_fragment" : "= far_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap33"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 78,
+ "column" : 40,
+ "source_fragment" : "= (bool)needs_gtpu_decap; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
+ "id" : 29,
+ "runtime_data" : [
+ {
+ "name" : "ctr_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "far_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "needs_gtpu_decap",
+ "bitwidth" : 1
+ }
+ ],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit29"]
},
{
"type" : "expression",
@@ -3089,85 +2487,600 @@
"left" : null,
"right" : {
"type" : "bool",
- "value" : false
+ "value" : true
}
}
}
}
- ]
- }
- ]
- },
- {
- "name" : "act_1",
- "id" : 39,
- "runtime_data" : [],
- "primitives" : [
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 75,
+ "column" : 31,
+ "source_fragment" : "= true; ..."
+ }
+ },
{
- "op" : "assign_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "udp"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
},
{
- "type" : "header",
- "value" : "inner_udp"
+ "type" : "runtime_data",
+ "value" : 0
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 39,
- "column" : 16,
- "source_fragment" : "= inner_udp; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 76,
+ "column" : 30,
+ "source_fragment" : "= ctr_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_id26"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 1
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 77,
+ "column" : 30,
+ "source_fragment" : "= far_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap33"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 78,
+ "column" : 40,
+ "source_fragment" : "= (bool)needs_gtpu_decap; ..."
}
}
]
},
{
- "name" : "act_2",
- "id" : 40,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.load_normal_far_attributes",
+ "id" : 30,
+ "runtime_data" : [
+ {
+ "name" : "drop",
+ "bitwidth" : 1
+ },
+ {
+ "name" : "notify_cp",
+ "bitwidth" : 1
+ }
+ ],
"primitives" : [
{
- "op" : "remove_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "udp"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped30"]
+ },
+ {
+ "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/spgw.p4",
- "line" : 41,
- "column" : 12,
- "source_fragment" : "udp.setInvalid()"
+ "filename" : "include/control/spgw.p4",
+ "line" : 140,
+ "column" : 35,
+ "source_fragment" : "= (bool)drop; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc31"]
+ },
+ {
+ "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" : 141,
+ "column" : 36,
+ "source_fragment" : "= (bool)notify_cp; ..."
}
}
]
},
{
- "name" : "act_3",
- "id" : 41,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.load_tunnel_far_attributes",
+ "id" : 31,
+ "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_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "gtpu_ipv4"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped30"]
},
{
- "type" : "header",
- "value" : "ipv4"
+ "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/spgw.p4",
- "line" : 35,
- "column" : 18,
- "source_fragment" : "= ipv4; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 150,
+ "column" : 35,
+ "source_fragment" : "= (bool)drop; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc31"]
+ },
+ {
+ "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" : 151,
+ "column" : 36,
+ "source_fragment" : "= (bool)notify_cp; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap32"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 153,
+ "column" : 40,
+ "source_fragment" : "= true; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_teid21"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 5
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 154,
+ "column" : 28,
+ "source_fragment" : "= teid; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port22"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 2
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 155,
+ "column" : 39,
+ "source_fragment" : "= tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr23"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 3
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 156,
+ "column" : 39,
+ "source_fragment" : "= tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr24"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 4
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 157,
+ "column" : 39,
+ "source_fragment" : "= tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 3
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 159,
+ "column" : 32,
+ "source_fragment" : "= tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 4
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 160,
+ "column" : 32,
+ "source_fragment" : "= tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 2
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 161,
+ "column" : 27,
+ "source_fragment" : "= tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0868"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 162,
+ "column" : 27,
+ "source_fragment" : "= 2152; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_inner_tcp",
+ "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" : 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" : 189,
+ "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" : 190,
+ "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" : 191,
+ "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" : 192,
+ "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" : 193,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
}
},
{
@@ -3183,10 +3096,55 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 36,
- "column" : 13,
- "source_fragment" : "= inner_ipv4; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 195,
+ "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" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 201,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
}
},
{
@@ -3194,25 +3152,648 @@
"parameters" : [
{
"type" : "header",
- "value" : "gtpu_udp"
+ "value" : "tcp"
},
{
"type" : "header",
+ "value" : "inner_tcp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 202,
+ "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" : 203,
+ "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; ..."
+ }
+ },
+ {
+ "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" : 189,
+ "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" : 190,
+ "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" : 191,
+ "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" : 192,
+ "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" : 193,
+ "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" : 195,
+ "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" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "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" : 207,
+ "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" : 208,
+ "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" : 189,
+ "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" : 190,
+ "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" : 191,
+ "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" : 192,
+ "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" : 193,
+ "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" : 195,
+ "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" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "udp"
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 37,
- "column" : 17,
- "source_fragment" : "= udp; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 212,
+ "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" : 213,
+ "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" : 214,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_icmp.setInvalid()"
}
}
]
},
{
- "name" : "act_4",
- "id" : 42,
+ "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" : 189,
+ "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" : 190,
+ "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" : 191,
+ "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" : 192,
+ "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" : 193,
+ "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" : 195,
+ "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" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 218,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act",
+ "id" : 36,
"runtime_data" : [],
"primitives" : [
{
@@ -3291,8 +3872,191 @@
]
},
{
+ "name" : "act_0",
+ "id" : 37,
+ "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" : false
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "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" : 251,
+ "column" : 46,
+ "source_fragment" : "return"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_2",
+ "id" : 39,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "count",
+ "parameters" : [
+ {
+ "type" : "counter_array",
+ "value" : "FabricIngress.spgw_ingress.pdr_counter"
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 265,
+ "column" : 8,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_3",
+ "id" : 40,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "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" : 282,
+ "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" : 283,
+ "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"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 291,
+ "column" : 32,
+ "source_fragment" : "= hdr.ipv4.total_len; ..."
+ }
+ }
+ ]
+ },
+ {
"name" : "act_5",
- "id" : 43,
+ "id" : 42,
"runtime_data" : [],
"primitives" : [
{
@@ -3356,7 +4120,7 @@
},
{
"name" : "act_6",
- "id" : 44,
+ "id" : 43,
"runtime_data" : [],
"primitives" : [
{
@@ -3382,7 +4146,7 @@
},
{
"name" : "act_7",
- "id" : 45,
+ "id" : 44,
"runtime_data" : [],
"primitives" : [
{
@@ -3390,439 +4154,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_8",
- "id" : 46,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_9",
- "id" : 47,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "mark_to_drop",
- "parameters" : [
- {
- "type" : "header",
- "value" : "standard_metadata"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 187,
- "column" : 16,
- "source_fragment" : "mark_to_drop(standard_metadata)"
- }
- }
- ]
- },
- {
- "name" : "act_10",
- "id" : 48,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 150,
- "column" : 36,
- "source_fragment" : "2w1; ..."
- }
- }
- ]
- },
- {
- "name" : "act_11",
- "id" : 49,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_12",
- "id" : 50,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_13",
- "id" : 51,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- {
- "type" : "hexstr",
- "value" : "0x02"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 151,
- "column" : 38,
- "source_fragment" : "2w2; ..."
- }
- }
- ]
- },
- {
- "name" : "act_14",
- "id" : 52,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 149,
- "column" : 37,
- "source_fragment" : "2w0; ..."
- }
- },
- {
- "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/spgw.p4",
- "line" : 196,
- "column" : 12,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_15",
- "id" : 53,
- "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" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_16",
- "id" : 54,
- "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/spgw.p4",
- "line" : 206,
- "column" : 12,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_17",
- "id" : 55,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "count",
- "parameters" : [
- {
- "type" : "counter_array",
- "value" : "FabricIngress.spgw_ingress.pdr_counter"
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 213,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
- }
- }
- ]
- },
- {
- "name" : "act_18",
- "id" : 56,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "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/spgw.p4",
- "line" : 223,
- "column" : 40,
- "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/spgw.p4",
- "line" : 224,
- "column" : 34,
- "source_fragment" : "= true; ..."
- }
- }
- ]
- },
- {
- "name" : "act_19",
- "id" : 57,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len18"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "total_len"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 232,
- "column" : 34,
- "source_fragment" : "= ipv4.total_len; ..."
- }
- }
- ]
- },
- {
- "name" : "act_20",
- "id" : 58,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
},
{
"type" : "expression",
@@ -3858,7 +4190,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
}
],
"source_info" : {
@@ -3871,8 +4203,8 @@
]
},
{
- "name" : "act_21",
- "id" : 59,
+ "name" : "act_8",
+ "id" : 45,
"runtime_data" : [],
"primitives" : [
{
@@ -3880,7 +4212,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
},
{
"type" : "expression",
@@ -3916,7 +4248,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
}
],
"source_info" : {
@@ -3930,605 +4262,13 @@
},
{
"name" : "nop",
- "id" : 60,
+ "id" : 46,
"runtime_data" : [],
"primitives" : []
},
{
- "name" : "FabricEgress.spgw_egress.gtpu_encap",
- "id" : 61,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 251,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "version"]
- },
- {
- "type" : "hexstr",
- "value" : "0x04"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 252,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.version = 4"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ihl"]
- },
- {
- "type" : "hexstr",
- "value" : "0x05"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 132,
- "column" : 28,
- "source_fragment" : "5; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dscp"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 254,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.dscp = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ecn"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 255,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.ecn = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "total_len"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["ipv4", "total_len"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0024"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 256,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.total_len = ipv4.total_len ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "identification"]
- },
- {
- "type" : "hexstr",
- "value" : "0x1513"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 258,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.identification = 0x1513"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "flags"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 259,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.flags = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "frag_offset"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 260,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.frag_offset = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ttl"]
- },
- {
- "type" : "hexstr",
- "value" : "0x40"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 145,
- "column" : 32,
- "source_fragment" : "64; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "protocol"]
- },
- {
- "type" : "hexstr",
- "value" : "0x11"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 129,
- "column" : 25,
- "source_fragment" : "17; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "src_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr20"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 263,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.src_addr = fabric_meta.spgw.tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dst_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 264,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.dst_addr = fabric_meta.spgw.tunnel_dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "hdr_checksum"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 265,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.hdr_checksum = 0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 267,
- "column" : 8,
- "source_fragment" : "gtpu_udp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "sport"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0868"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 268,
- "column" : 8,
- "source_fragment" : "gtpu_udp.sport = 2152"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "dport"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0868"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 269,
- "column" : 8,
- "source_fragment" : "gtpu_udp.dport = 2152"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "len"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len18"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0010"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 270,
- "column" : 8,
- "source_fragment" : "gtpu_udp.len = fabric_meta.spgw.ipv4_len ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "checksum"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 272,
- "column" : 8,
- "source_fragment" : "gtpu_udp.checksum = 0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 275,
- "column" : 8,
- "source_fragment" : "gtpu.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "version"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 276,
- "column" : 8,
- "source_fragment" : "gtpu.version = 0x01"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "pt"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 277,
- "column" : 8,
- "source_fragment" : "gtpu.pt = 0x01"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "spare"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 278,
- "column" : 8,
- "source_fragment" : "gtpu.spare = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "ex_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 279,
- "column" : 8,
- "source_fragment" : "gtpu.ex_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "seq_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 280,
- "column" : 8,
- "source_fragment" : "gtpu.seq_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "npdu_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 281,
- "column" : 8,
- "source_fragment" : "gtpu.npdu_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "msgtype"]
- },
- {
- "type" : "hexstr",
- "value" : "0xff"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 282,
- "column" : 8,
- "source_fragment" : "gtpu.msgtype = 0xff"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "msglen"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len18"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 283,
- "column" : 8,
- "source_fragment" : "gtpu.msglen = fabric_meta.spgw.ipv4_len; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "teid"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid19"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 284,
- "column" : 8,
- "source_fragment" : "gtpu.teid = fabric_meta.spgw.teid; ..."
- }
- }
- ]
- },
- {
"name" : "FabricEgress.egress_next.pop_mpls_if_present",
- "id" : 62,
+ "id" : 47,
"runtime_data" : [],
"primitives" : [
{
@@ -4569,7 +4309,7 @@
},
{
"name" : "FabricEgress.egress_next.set_mpls",
- "id" : 63,
+ "id" : 48,
"runtime_data" : [],
"primitives" : [
{
@@ -4677,7 +4417,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 115,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -4686,7 +4426,7 @@
},
{
"name" : "FabricEgress.egress_next.push_vlan",
- "id" : 64,
+ "id" : 49,
"runtime_data" : [],
"primitives" : [
{
@@ -4756,7 +4496,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 114,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -4784,7 +4524,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_vlan",
- "id" : 65,
+ "id" : 50,
"runtime_data" : [],
"primitives" : [
{
@@ -4805,8 +4545,600 @@
]
},
{
- "name" : "act_22",
- "id" : 66,
+ "name" : "FabricEgress.spgw_egress.gtpu_encap",
+ "id" : 51,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 308,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "version"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x04"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 309,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.version = 4"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ihl"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x05"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 143,
+ "column" : 28,
+ "source_fragment" : "5; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "dscp"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 311,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.dscp = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ecn"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 312,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.ecn = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "total_len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0024"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 313,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.total_len = hdr.ipv4.total_len ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "identification"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x1513"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 315,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.identification = 0x1513"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "flags"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 316,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.flags = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "frag_offset"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 317,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.frag_offset = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ttl"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x40"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 156,
+ "column" : 32,
+ "source_fragment" : "64; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "protocol"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x11"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 140,
+ "column" : 25,
+ "source_fragment" : "17; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "src_addr"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr23"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 320,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.src_addr = fabric_md.spgw.tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "dst_addr"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr24"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 321,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.dst_addr = fabric_md.spgw.tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "hdr_checksum"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 322,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.hdr_checksum = 0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 324,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "sport"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port22"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 325,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.sport = fabric_md.spgw.tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "dport"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0868"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 326,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.dport = 2152"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len20"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0010"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 327,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.len = fabric_md.spgw.ipv4_len ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "checksum"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 329,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.checksum = 0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "outer_gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 332,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "version"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 333,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.version = 0x01"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "pt"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 334,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.pt = 0x01"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "spare"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 335,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.spare = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "ex_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 336,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.ex_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "seq_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 337,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.seq_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "npdu_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 338,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.npdu_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "msgtype"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 339,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.msgtype = 0xff"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "msglen"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len20"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 340,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.msglen = fabric_md.spgw.ipv4_len; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "teid"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_teid21"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 341,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.teid = fabric_md.spgw.teid; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_9",
+ "id" : 52,
"runtime_data" : [],
"primitives" : [
{
@@ -4822,8 +5154,8 @@
]
},
{
- "name" : "act_23",
- "id" : 67,
+ "name" : "act_10",
+ "id" : 53,
"runtime_data" : [],
"primitives" : [
{
@@ -4873,8 +5205,8 @@
]
},
{
- "name" : "act_24",
- "id" : 68,
+ "name" : "act_11",
+ "id" : 54,
"runtime_data" : [],
"primitives" : [
{
@@ -4895,8 +5227,8 @@
]
},
{
- "name" : "act_25",
- "id" : 69,
+ "name" : "act_12",
+ "id" : 55,
"runtime_data" : [],
"primitives" : [
{
@@ -4925,8 +5257,8 @@
]
},
{
- "name" : "act_26",
- "id" : 70,
+ "name" : "act_13",
+ "id" : 56,
"runtime_data" : [],
"primitives" : [
{
@@ -4955,8 +5287,8 @@
]
},
{
- "name" : "act_27",
- "id" : 71,
+ "name" : "act_14",
+ "id" : 57,
"runtime_data" : [],
"primitives" : [
{
@@ -4977,8 +5309,8 @@
]
},
{
- "name" : "act_28",
- "id" : 72,
+ "name" : "act_15",
+ "id" : 58,
"runtime_data" : [],
"primitives" : [
{
@@ -5026,8 +5358,8 @@
]
},
{
- "name" : "act_29",
- "id" : 73,
+ "name" : "act_16",
+ "id" : 59,
"runtime_data" : [],
"primitives" : [
{
@@ -5048,8 +5380,8 @@
]
},
{
- "name" : "act_30",
- "id" : 74,
+ "name" : "act_17",
+ "id" : 60,
"runtime_data" : [],
"primitives" : [
{
@@ -5097,8 +5429,74 @@
]
},
{
- "name" : "act_31",
- "id" : 75,
+ "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" : 345,
+ "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,
"runtime_data" : [],
"primitives" : [
{
@@ -5110,14 +5508,14 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 288,
+ "filename" : "include/control/spgw.p4",
+ "line" : 346,
"column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
}
}
]
@@ -5133,157 +5531,12 @@
"column" : 8,
"source_fragment" : "FabricIngress"
},
- "init_table" : "tbl_act",
+ "init_table" : "node_2",
"tables" : [
{
"name" : "tbl_act",
"id" : 0,
"source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 50,
- "source_fragment" : "hdr.gtpu_ipv4, hdr.gtpu_udp"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [38],
- "actions" : ["act_0"],
- "base_default_next" : "node_3",
- "next_tables" : {
- "act_0" : "node_3"
- },
- "default_entry" : {
- "action_id" : 38,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_0",
- "id" : 1,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 32,
- "source_fragment" : "return"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [37],
- "actions" : ["act"],
- "base_default_next" : "node_5",
- "next_tables" : {
- "act" : "node_5"
- },
- "default_entry" : {
- "action_id" : 37,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_1",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 35,
- "column" : 18,
- "source_fragment" : "= ipv4; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [41],
- "actions" : ["act_3"],
- "base_default_next" : "node_7",
- "next_tables" : {
- "act_3" : "node_7"
- },
- "default_entry" : {
- "action_id" : 41,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_2",
- "id" : 3,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 39,
- "column" : 16,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [39],
- "actions" : ["act_1"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_1" : "node_10"
- },
- "default_entry" : {
- "action_id" : 39,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_3",
- "id" : 4,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 41,
- "column" : 12,
- "source_fragment" : "udp.setInvalid()"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [40],
- "actions" : ["act_2"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_2" : "node_10"
- },
- "default_entry" : {
- "action_id" : 40,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_4",
- "id" : 5,
- "source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 25,
"column" : 42,
@@ -5296,14 +5549,450 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [42],
- "actions" : ["act_4"],
- "base_default_next" : "node_12",
+ "action_ids" : [36],
+ "actions" : ["act"],
+ "base_default_next" : "tbl_act_0",
"next_tables" : {
- "act_4" : "node_12"
+ "act" : "tbl_act_0"
},
"default_entry" : {
- "action_id" : 42,
+ "action_id" : 36,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_0",
+ "id" : 1,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [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,
+ "column" : 10,
+ "source_fragment" : "interface_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "lpm",
+ "name" : "ipv4_dst_addr",
+ "target" : ["ipv4", "dst_addr"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "gtpu_is_valid",
+ "target" : ["gtpu", "$valid$"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "lpm",
+ "type" : "simple",
+ "max_size" : 128,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [27],
+ "actions" : ["FabricIngress.spgw_ingress.set_source_iface"],
+ "base_default_next" : "node_6",
+ "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" : 251,
+ "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"
+ },
+ "default_entry" : {
+ "action_id" : 38,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "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",
+ "name" : "ue_addr",
+ "target" : ["inner_ipv4", "src_addr"],
+ "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" : 265,
+ "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" : [39],
+ "actions" : ["act_2"],
+ "base_default_next" : "node_13",
+ "next_tables" : {
+ "act_2" : "node_13"
+ },
+ "default_entry" : {
+ "action_id" : 39,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_gtpu",
+ "id" : 7,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 221,
+ "column" : 10,
+ "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" : [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",
+ "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"
+ },
+ "default_entry" : {
+ "action_id" : 35,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ },
+ "entries" : [
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 235,
+ "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" : 32,
+ "action_data" : []
+ },
+ "priority" : 1
+ },
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 236,
+ "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" : 33,
+ "action_data" : []
+ },
+ "priority" : 2
+ },
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 237,
+ "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" : 34,
+ "action_data" : []
+ },
+ "priority" : 3
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.far_lookup",
+ "id" : 8,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 165,
+ "column" : 10,
+ "source_fragment" : "far_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "far_id",
+ "target" : ["scalars", "fabric_metadata_t._spgw_far_id26"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 2048,
+ "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",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.load_normal_far_attributes" : "node_16",
+ "FabricIngress.spgw_ingress.load_tunnel_far_attributes" : "node_16"
+ },
+ "default_entry" : {
+ "action_id" : 30,
+ "action_const" : true,
+ "action_data" : ["0x1", "0x1"],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_3",
+ "id" : 9,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 282,
+ "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" : 291,
+ "column" : 32,
+ "source_fragment" : "="
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [41],
+ "actions" : ["act_4"],
+ "base_default_next" : "node_19",
+ "next_tables" : {
+ "act_4" : "node_19"
+ },
+ "default_entry" : {
+ "action_id" : 41,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5311,7 +6000,7 @@
},
{
"name" : "tbl_act_5",
- "id" : 6,
+ "id" : 11,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 111,
@@ -5325,14 +6014,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [43],
+ "action_ids" : [42],
"actions" : ["act_5"],
- "base_default_next" : "node_14",
+ "base_default_next" : "node_21",
"next_tables" : {
- "act_5" : "node_14"
+ "act_5" : "node_21"
},
"default_entry" : {
- "action_id" : 43,
+ "action_id" : 42,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5340,7 +6029,7 @@
},
{
"name" : "tbl_act_6",
- "id" : 7,
+ "id" : 12,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 127,
@@ -5354,14 +6043,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [44],
+ "action_ids" : [43],
"actions" : ["act_6"],
"base_default_next" : "FabricIngress.filtering.ingress_port_vlan",
"next_tables" : {
"act_6" : "FabricIngress.filtering.ingress_port_vlan"
},
"default_entry" : {
- "action_id" : 44,
+ "action_id" : 43,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5369,7 +6058,7 @@
},
{
"name" : "FabricIngress.filtering.ingress_port_vlan",
- "id" : 8,
+ "id" : 13,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 53,
@@ -5402,7 +6091,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [17, 18, 19],
+ "action_ids" : [7, 8, 9],
"actions" : ["FabricIngress.filtering.deny", "FabricIngress.filtering.permit", "FabricIngress.filtering.permit_with_internal_vlan"],
"base_default_next" : "FabricIngress.filtering.fwd_classifier",
"next_tables" : {
@@ -5411,7 +6100,7 @@
"FabricIngress.filtering.permit_with_internal_vlan" : "FabricIngress.filtering.fwd_classifier"
},
"default_entry" : {
- "action_id" : 17,
+ "action_id" : 7,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5419,7 +6108,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier",
- "id" : 9,
+ "id" : 14,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 92,
@@ -5458,673 +6147,22 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [20],
+ "action_ids" : [10],
"actions" : ["FabricIngress.filtering.set_forwarding_type"],
- "base_default_next" : "tbl_act_7",
+ "base_default_next" : "node_25",
"next_tables" : {
- "FabricIngress.filtering.set_forwarding_type" : "tbl_act_7"
+ "FabricIngress.filtering.set_forwarding_type" : "node_25"
},
"default_entry" : {
- "action_id" : 20,
+ "action_id" : 10,
"action_const" : true,
"action_data" : ["0x0"],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_7",
- "id" : 10,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [53],
- "actions" : ["act_15"],
- "base_default_next" : "node_19",
- "next_tables" : {
- "act_15" : "node_19"
- },
- "default_entry" : {
- "action_id" : 53,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.uplink_filter_table",
- "id" : 11,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 84,
- "column" : 10,
- "source_fragment" : "uplink_filter_table"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "gtp_ipv4_dst",
- "target" : ["gtpu_ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [1],
- "actions" : ["nop"],
- "base_default_next" : null,
- "next_tables" : {
- "__HIT__" : "tbl_act_8",
- "__MISS__" : "tbl_act_9"
- },
- "default_entry" : {
- "action_id" : 1,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_8",
- "id" : 12,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [45],
- "actions" : ["act_7"],
- "base_default_next" : "node_23",
- "next_tables" : {
- "act_7" : "node_23"
- },
- "default_entry" : {
- "action_id" : 45,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_9",
- "id" : 13,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [46],
- "actions" : ["act_8"],
- "base_default_next" : "node_23",
- "next_tables" : {
- "act_8" : "node_23"
- },
- "default_entry" : {
- "action_id" : 46,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_10",
- "id" : 14,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 187,
- "column" : 16,
- "source_fragment" : "mark_to_drop(standard_metadata)"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [47],
- "actions" : ["act_9"],
- "base_default_next" : "tbl_act_11",
- "next_tables" : {
- "act_9" : "tbl_act_11"
- },
- "default_entry" : {
- "action_id" : 47,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_11",
- "id" : 15,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 189,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [48],
- "actions" : ["act_10"],
- "base_default_next" : "tbl_spgw_ingress_gtpu_decap",
- "next_tables" : {
- "act_10" : "tbl_spgw_ingress_gtpu_decap"
- },
- "default_entry" : {
- "action_id" : 48,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_spgw_ingress_gtpu_decap",
- "id" : 16,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 190,
- "column" : 12,
- "source_fragment" : "gtpu_decap()"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [11],
- "actions" : ["FabricIngress.spgw_ingress.gtpu_decap"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "FabricIngress.spgw_ingress.gtpu_decap" : "node_33"
- },
- "default_entry" : {
- "action_id" : 11,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.downlink_filter_table",
- "id" : 17,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 73,
- "column" : 10,
- "source_fragment" : "downlink_filter_table"
- },
- "key" : [
- {
- "match_type" : "lpm",
- "name" : "ipv4_prefix",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "lpm",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [0],
- "actions" : ["nop"],
- "base_default_next" : null,
- "next_tables" : {
- "__HIT__" : "tbl_act_12",
- "__MISS__" : "tbl_act_13"
- },
- "default_entry" : {
- "action_id" : 0,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_12",
- "id" : 18,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [49],
- "actions" : ["act_11"],
- "base_default_next" : "node_30",
- "next_tables" : {
- "act_11" : "node_30"
- },
- "default_entry" : {
- "action_id" : 49,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_13",
- "id" : 19,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [50],
- "actions" : ["act_12"],
- "base_default_next" : "node_30",
- "next_tables" : {
- "act_12" : "node_30"
- },
- "default_entry" : {
- "action_id" : 50,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_14",
- "id" : 20,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 192,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [51],
- "actions" : ["act_13"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "act_13" : "node_33"
- },
- "default_entry" : {
- "action_id" : 51,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_15",
- "id" : 21,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 194,
- "column" : 39,
- "source_fragment" : "= SPGW_DIR_UNKNOWN; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [52],
- "actions" : ["act_14"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "act_14" : "node_33"
- },
- "default_entry" : {
- "action_id" : 52,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
- "id" : 22,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 111,
- "column" : 10,
- "source_fragment" : "uplink_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "tunnel_ipv4_dst",
- "target" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"],
- "mask" : null
- },
- {
- "match_type" : "exact",
- "name" : "teid",
- "target" : ["scalars", "fabric_metadata_t._spgw_teid19"],
- "mask" : null
- },
- {
- "match_type" : "exact",
- "name" : "ue_addr",
- "target" : ["ipv4", "src_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [13, 10],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes", "NoAction"],
- "base_default_next" : "node_39",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "node_39",
- "NoAction" : "node_39"
- },
- "default_entry" : {
- "action_id" : 10,
- "action_const" : false,
- "action_data" : [],
- "action_entry_const" : false
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.downlink_pdr_lookup",
- "id" : 23,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 103,
- "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" : [12, 9],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes", "NoAction"],
- "base_default_next" : "node_39",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "node_39",
- "NoAction" : "node_39"
- },
- "default_entry" : {
- "action_id" : 9,
- "action_const" : false,
- "action_data" : [],
- "action_entry_const" : false
- }
- },
- {
- "name" : "tbl_act_16",
- "id" : 24,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 206,
- "column" : 12,
- "source_fragment" : "return"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [54],
- "actions" : ["act_16"],
- "base_default_next" : "node_39",
- "next_tables" : {
- "act_16" : "node_39"
- },
- "default_entry" : {
- "action_id" : 54,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.flexible_pdr_lookup",
- "id" : 25,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 123,
- "column" : 10,
- "source_fragment" : "flexible_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "ternary",
- "name" : "spgw_direction",
- "target" : ["scalars", "fabric_metadata_t._spgw_direction17"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "tunnel_ipv4_dst",
- "target" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "teid",
- "target" : ["scalars", "fabric_metadata_t._spgw_teid19"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ipv4_src",
- "target" : ["ipv4", "src_addr"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ipv4_dst",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ip_proto",
- "target" : ["ipv4", "protocol"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "l4_sport",
- "target" : ["scalars", "fabric_metadata_t._l4_sport13"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "l4_dport",
- "target" : ["scalars", "fabric_metadata_t._l4_dport14"],
- "mask" : null
- }
- ],
- "match_type" : "ternary",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [14],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes"],
- "base_default_next" : "tbl_act_17",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "tbl_act_17"
- },
- "default_entry" : {
- "action_id" : 14,
- "action_const" : true,
- "action_data" : ["0x0", "0x0"],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_17",
- "id" : 26,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 213,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [55],
- "actions" : ["act_17"],
- "base_default_next" : "FabricIngress.spgw_ingress.far_lookup",
- "next_tables" : {
- "act_17" : "FabricIngress.spgw_ingress.far_lookup"
- },
- "default_entry" : {
- "action_id" : 55,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.far_lookup",
- "id" : 27,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 168,
- "column" : 10,
- "source_fragment" : "far_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "far_id",
- "target" : ["scalars", "fabric_metadata_t._spgw_far_id23"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [15, 16],
- "actions" : ["FabricIngress.spgw_ingress.load_normal_far_attributes", "FabricIngress.spgw_ingress.load_tunnel_far_attributes"],
- "base_default_next" : "node_44",
- "next_tables" : {
- "FabricIngress.spgw_ingress.load_normal_far_attributes" : "node_44",
- "FabricIngress.spgw_ingress.load_tunnel_far_attributes" : "node_44"
- },
- "default_entry" : {
- "action_id" : 15,
- "action_const" : true,
- "action_data" : ["0x1", "0x0"],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_18",
- "id" : 28,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 223,
- "column" : 40,
- "source_fragment" : "= true; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [56],
- "actions" : ["act_18"],
- "base_default_next" : "tbl_act_19",
- "next_tables" : {
- "act_18" : "tbl_act_19"
- },
- "default_entry" : {
- "action_id" : 56,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_19",
- "id" : 29,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 232,
- "column" : 34,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [57],
- "actions" : ["act_19"],
- "base_default_next" : "node_47",
- "next_tables" : {
- "act_19" : "node_47"
- },
- "default_entry" : {
- "action_id" : 57,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
"name" : "FabricIngress.forwarding.bridging",
- "id" : 30,
+ "id" : 15,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 46,
@@ -6151,7 +6189,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [21, 2],
+ "action_ids" : [11, 0],
"actions" : ["FabricIngress.forwarding.set_next_id_bridging", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -6159,7 +6197,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 2,
+ "action_id" : 0,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6167,7 +6205,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls",
- "id" : 31,
+ "id" : 16,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 71,
@@ -6188,7 +6226,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [22, 3],
+ "action_ids" : [12, 1],
"actions" : ["FabricIngress.forwarding.pop_mpls_and_next", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -6196,7 +6234,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 3,
+ "action_id" : 1,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6204,7 +6242,7 @@
},
{
"name" : "FabricIngress.forwarding.routing_v4",
- "id" : 32,
+ "id" : 17,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 108,
@@ -6225,7 +6263,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [23, 24, 4],
+ "action_ids" : [13, 14, 2],
"actions" : ["FabricIngress.forwarding.set_next_id_routing_v4", "FabricIngress.forwarding.nop_routing_v4", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -6234,7 +6272,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 4,
+ "action_id" : 2,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -6242,7 +6280,7 @@
},
{
"name" : "FabricIngress.acl.acl",
- "id" : 33,
+ "id" : 18,
"source_info" : {
"filename" : "include/control/acl.p4",
"line" : 60,
@@ -6329,18 +6367,18 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [25, 26, 27, 28, 29],
+ "action_ids" : [15, 16, 17, 18, 19],
"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_55",
+ "base_default_next" : "node_33",
"next_tables" : {
- "FabricIngress.acl.set_next_id_acl" : "node_55",
- "FabricIngress.acl.punt_to_cpu" : "node_55",
- "FabricIngress.acl.set_clone_session_id" : "node_55",
- "FabricIngress.acl.drop" : "node_55",
- "FabricIngress.acl.nop_acl" : "node_55"
+ "FabricIngress.acl.set_next_id_acl" : "node_33",
+ "FabricIngress.acl.punt_to_cpu" : "node_33",
+ "FabricIngress.acl.set_clone_session_id" : "node_33",
+ "FabricIngress.acl.drop" : "node_33",
+ "FabricIngress.acl.nop_acl" : "node_33"
},
"default_entry" : {
- "action_id" : 29,
+ "action_id" : 19,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6348,7 +6386,7 @@
},
{
"name" : "FabricIngress.next.xconnect",
- "id" : 34,
+ "id" : 19,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 119,
@@ -6375,7 +6413,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [31, 32, 6],
+ "action_ids" : [21, 22, 4],
"actions" : ["FabricIngress.next.output_xconnect", "FabricIngress.next.set_next_id_xconnect", "nop"],
"base_default_next" : "FabricIngress.next.hashed",
"next_tables" : {
@@ -6384,7 +6422,7 @@
"nop" : "FabricIngress.next.hashed"
},
"default_entry" : {
- "action_id" : 6,
+ "action_id" : 4,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6392,7 +6430,7 @@
},
{
"name" : "FabricIngress.next.hashed",
- "id" : 35,
+ "id" : 20,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 202,
@@ -6414,7 +6452,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [33, 34, 35, 7],
+ "action_ids" : [23, 24, 25, 5],
"actions" : ["FabricIngress.next.output_hashed", "FabricIngress.next.routing_hashed", "FabricIngress.next.mpls_routing_hashed", "nop"],
"base_default_next" : "FabricIngress.next.multicast",
"next_tables" : {
@@ -6426,7 +6464,7 @@
},
{
"name" : "FabricIngress.next.multicast",
- "id" : 36,
+ "id" : 21,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 236,
@@ -6447,7 +6485,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [36, 8],
+ "action_ids" : [26, 6],
"actions" : ["FabricIngress.next.set_mcast_group_id", "nop"],
"base_default_next" : "FabricIngress.next.next_vlan",
"next_tables" : {
@@ -6455,7 +6493,7 @@
"nop" : "FabricIngress.next.next_vlan"
},
"default_entry" : {
- "action_id" : 8,
+ "action_id" : 6,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6463,7 +6501,7 @@
},
{
"name" : "FabricIngress.next.next_vlan",
- "id" : 37,
+ "id" : 22,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 86,
@@ -6484,23 +6522,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [30, 5],
+ "action_ids" : [20, 3],
"actions" : ["FabricIngress.next.set_vlan", "nop"],
- "base_default_next" : "node_60",
+ "base_default_next" : "node_38",
"next_tables" : {
- "FabricIngress.next.set_vlan" : "node_60",
- "nop" : "node_60"
+ "FabricIngress.next.set_vlan" : "node_38",
+ "nop" : "node_38"
},
"default_entry" : {
- "action_id" : 5,
+ "action_id" : 3,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_20",
- "id" : 38,
+ "name" : "tbl_act_7",
+ "id" : 23,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 31,
@@ -6514,22 +6552,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [58],
- "actions" : ["act_20"],
- "base_default_next" : "node_62",
+ "action_ids" : [44],
+ "actions" : ["act_7"],
+ "base_default_next" : "node_40",
"next_tables" : {
- "act_20" : "node_62"
+ "act_7" : "node_40"
},
"default_entry" : {
- "action_id" : 58,
+ "action_id" : 44,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_21",
- "id" : 39,
+ "name" : "tbl_act_8",
+ "id" : 24,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 34,
@@ -6543,14 +6581,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [59],
- "actions" : ["act_21"],
+ "action_ids" : [45],
+ "actions" : ["act_8"],
"base_default_next" : null,
"next_tables" : {
- "act_21" : null
+ "act_8" : null
},
"default_entry" : {
- "action_id" : 59,
+ "action_id" : 45,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6597,86 +6635,9 @@
],
"conditionals" : [
{
- "name" : "node_3",
+ "name" : "node_2",
"id" : 0,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 12,
- "source_fragment" : "! is_gtpu_encapped"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_0",
- "false_next" : "node_5"
- },
- {
- "name" : "node_5",
- "id" : 1,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_1",
- "false_next" : "node_10"
- },
- {
- "name" : "node_7",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 38,
- "column" : 12,
- "source_fragment" : "inner_udp.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["inner_udp", "$valid$"]
- }
- }
- },
- "true_next" : "tbl_act_2",
- "false_next" : "tbl_act_3"
- },
- {
- "name" : "node_10",
- "id" : 3,
- "source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 24,
"column" : 12,
@@ -6693,13 +6654,159 @@
}
}
},
- "true_next" : "tbl_act_4",
- "false_next" : "node_12"
+ "true_next" : "tbl_act",
+ "false_next" : "tbl_act_0"
},
{
- "name" : "node_12",
+ "name" : "node_6",
+ "id" : 1,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 251,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.skip_spgw == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw28"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "true_next" : "tbl_act_1",
+ "false_next" : "node_8"
+ },
+ {
+ "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",
+ "id" : 3,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 255,
+ "column" : 12,
+ "source_fragment" : "hdr.gtpu.isValid()"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["gtpu", "$valid$"]
+ }
+ }
+ },
+ "true_next" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
+ "false_next" : "FabricIngress.spgw_ingress.downlink_pdr_lookup"
+ },
+ {
+ "name" : "node_13",
"id" : 4,
"source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 268,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.needs_gtpu_decap == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap33"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "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" : 279,
+ "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"
+ },
+ {
+ "name" : "node_19",
+ "id" : 6,
+ "source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 110,
"column" : 12,
@@ -6717,11 +6824,11 @@
}
},
"true_next" : "tbl_act_5",
- "false_next" : "node_14"
+ "false_next" : "node_21"
},
{
- "name" : "node_14",
- "id" : 5,
+ "name" : "node_21",
+ "id" : 7,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 122,
@@ -6750,247 +6857,11 @@
"false_next" : "FabricIngress.filtering.ingress_port_vlan"
},
{
- "name" : "node_19",
- "id" : 6,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 181,
- "column" : 12,
- "source_fragment" : "gtpu.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.uplink_filter_table",
- "false_next" : "FabricIngress.spgw_ingress.downlink_filter_table"
- },
- {
- "name" : "node_23",
- "id" : 7,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 185,
- "column" : 16,
- "source_fragment" : "!uplink_filter_table.apply().hit"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_10",
- "false_next" : "tbl_act_11"
- },
- {
- "name" : "node_30",
+ "name" : "node_25",
"id" : 8,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- }
- }
- },
- "true_next" : "tbl_act_14",
- "false_next" : "tbl_act_15"
- },
- {
- "name" : "node_33",
- "id" : 9,
- "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_34",
- "false_next" : "node_39"
- },
- {
- "name" : "node_34",
- "id" : 10,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 201,
- "column" : 12,
- "source_fragment" : "fabric_meta.spgw.direction == SPGW_DIR_UPLINK"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x01"
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
- "false_next" : "node_36"
- },
- {
- "name" : "node_36",
- "id" : 11,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 203,
- "column" : 19,
- "source_fragment" : "fabric_meta.spgw.direction == SPGW_DIR_DOWNLINK"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.downlink_pdr_lookup",
- "false_next" : "tbl_act_16"
- },
- {
- "name" : "node_39",
- "id" : 12,
- "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_40",
- "false_next" : "node_47"
- },
- {
- "name" : "node_40",
- "id" : 13,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 209,
- "column" : 12,
- "source_fragment" : "fabric_meta.spgw.pdr_hit == false"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit24"]
- }
- }
- },
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.flexible_pdr_lookup",
- "false_next" : "tbl_act_17"
- },
- {
- "name" : "node_44",
- "id" : 14,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 220,
- "column" : 12,
- "source_fragment" : "fabric_meta.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_dropped25"]
- }
- }
- },
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- },
- "true_next" : "tbl_act_18",
- "false_next" : "tbl_act_19"
- },
- {
- "name" : "node_47",
- "id" : 15,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -7015,12 +6886,12 @@
}
}
},
- "true_next" : "node_48",
+ "true_next" : "node_26",
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_48",
- "id" : 16,
+ "name" : "node_26",
+ "id" : 9,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 150,
@@ -7042,11 +6913,11 @@
}
},
"true_next" : "FabricIngress.forwarding.bridging",
- "false_next" : "node_50"
+ "false_next" : "node_28"
},
{
- "name" : "node_50",
- "id" : 17,
+ "name" : "node_28",
+ "id" : 10,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 151,
@@ -7068,11 +6939,11 @@
}
},
"true_next" : "FabricIngress.forwarding.mpls",
- "false_next" : "node_52"
+ "false_next" : "node_30"
},
{
- "name" : "node_52",
- "id" : 18,
+ "name" : "node_30",
+ "id" : 11,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 152,
@@ -7097,11 +6968,11 @@
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_55",
- "id" : 19,
+ "name" : "node_33",
+ "id" : 12,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -7130,8 +7001,8 @@
"true_next" : "FabricIngress.next.xconnect"
},
{
- "name" : "node_60",
- "id" : 20,
+ "name" : "node_38",
+ "id" : 13,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 30,
@@ -7152,12 +7023,12 @@
}
}
},
- "true_next" : "tbl_act_20",
- "false_next" : "node_62"
+ "true_next" : "tbl_act_7",
+ "false_next" : "node_40"
},
{
- "name" : "node_62",
- "id" : 21,
+ "name" : "node_40",
+ "id" : 14,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 33,
@@ -7179,7 +7050,7 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_21"
+ "true_next" : "tbl_act_8"
}
]
},
@@ -7188,15 +7059,15 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},
- "init_table" : "node_66",
+ "init_table" : "node_44",
"tables" : [
{
- "name" : "tbl_act_22",
- "id" : 40,
+ "name" : "tbl_act_9",
+ "id" : 25,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 41,
@@ -7210,22 +7081,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [66],
- "actions" : ["act_22"],
- "base_default_next" : "node_68",
+ "action_ids" : [52],
+ "actions" : ["act_9"],
+ "base_default_next" : "node_46",
"next_tables" : {
- "act_22" : "node_68"
+ "act_9" : "node_46"
},
"default_entry" : {
- "action_id" : 66,
+ "action_id" : 52,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_23",
- "id" : 41,
+ "name" : "tbl_act_10",
+ "id" : 26,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 44,
@@ -7239,22 +7110,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [67],
- "actions" : ["act_23"],
- "base_default_next" : "node_70",
+ "action_ids" : [53],
+ "actions" : ["act_10"],
+ "base_default_next" : "node_48",
"next_tables" : {
- "act_23" : "node_70"
+ "act_10" : "node_48"
},
"default_entry" : {
- "action_id" : 67,
+ "action_id" : 53,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_24",
- "id" : 42,
+ "name" : "tbl_act_11",
+ "id" : 27,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 337,
@@ -7268,14 +7139,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [68],
- "actions" : ["act_24"],
- "base_default_next" : "node_72",
+ "action_ids" : [54],
+ "actions" : ["act_11"],
+ "base_default_next" : "node_50",
"next_tables" : {
- "act_24" : "node_72"
+ "act_11" : "node_50"
},
"default_entry" : {
- "action_id" : 68,
+ "action_id" : 54,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7283,7 +7154,7 @@
},
{
"name" : "tbl_egress_next_pop_mpls_if_present",
- "id" : 43,
+ "id" : 28,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -7297,14 +7168,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [62],
+ "action_ids" : [47],
"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" : 62,
+ "action_id" : 47,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7312,7 +7183,7 @@
},
{
"name" : "tbl_egress_next_set_mpls",
- "id" : 44,
+ "id" : 29,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 343,
@@ -7326,14 +7197,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [63],
+ "action_ids" : [48],
"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" : 63,
+ "action_id" : 48,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7341,7 +7212,7 @@
},
{
"name" : "FabricEgress.egress_next.egress_vlan",
- "id" : 45,
+ "id" : 30,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 320,
@@ -7368,23 +7239,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [65, 60],
+ "action_ids" : [50, 46],
"actions" : ["FabricEgress.egress_next.pop_vlan", "nop"],
"base_default_next" : null,
"next_tables" : {
- "__HIT__" : "tbl_act_25",
- "__MISS__" : "tbl_act_26"
+ "__HIT__" : "tbl_act_12",
+ "__MISS__" : "tbl_act_13"
},
"default_entry" : {
- "action_id" : 60,
+ "action_id" : 46,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_25",
- "id" : 46,
+ "name" : "tbl_act_12",
+ "id" : 31,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -7392,22 +7263,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [69],
- "actions" : ["act_25"],
- "base_default_next" : "node_79",
+ "action_ids" : [55],
+ "actions" : ["act_12"],
+ "base_default_next" : "node_57",
"next_tables" : {
- "act_25" : "node_79"
+ "act_12" : "node_57"
},
"default_entry" : {
- "action_id" : 69,
+ "action_id" : 55,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_26",
- "id" : 47,
+ "name" : "tbl_act_13",
+ "id" : 32,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -7415,14 +7286,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [70],
- "actions" : ["act_26"],
- "base_default_next" : "node_79",
+ "action_ids" : [56],
+ "actions" : ["act_13"],
+ "base_default_next" : "node_57",
"next_tables" : {
- "act_26" : "node_79"
+ "act_13" : "node_57"
},
"default_entry" : {
- "action_id" : 70,
+ "action_id" : 56,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7430,7 +7301,7 @@
},
{
"name" : "tbl_egress_next_push_vlan",
- "id" : 48,
+ "id" : 33,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 360,
@@ -7444,22 +7315,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [64],
+ "action_ids" : [49],
"actions" : ["FabricEgress.egress_next.push_vlan"],
- "base_default_next" : "node_82",
+ "base_default_next" : "node_60",
"next_tables" : {
- "FabricEgress.egress_next.push_vlan" : "node_82"
+ "FabricEgress.egress_next.push_vlan" : "node_60"
},
"default_entry" : {
- "action_id" : 64,
+ "action_id" : 49,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_27",
- "id" : 49,
+ "name" : "tbl_act_14",
+ "id" : 34,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 369,
@@ -7473,22 +7344,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [72],
- "actions" : ["act_28"],
- "base_default_next" : "node_84",
+ "action_ids" : [58],
+ "actions" : ["act_15"],
+ "base_default_next" : "node_62",
"next_tables" : {
- "act_28" : "node_84"
+ "act_15" : "node_62"
},
"default_entry" : {
- "action_id" : 72,
+ "action_id" : 58,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_28",
- "id" : 50,
+ "name" : "tbl_act_15",
+ "id" : 35,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -7502,22 +7373,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [71],
- "actions" : ["act_27"],
- "base_default_next" : "tbl_act_31",
+ "action_ids" : [57],
+ "actions" : ["act_14"],
+ "base_default_next" : "tbl_act_18",
"next_tables" : {
- "act_27" : "tbl_act_31"
+ "act_14" : "tbl_act_18"
},
"default_entry" : {
- "action_id" : 71,
+ "action_id" : 57,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_29",
- "id" : 51,
+ "name" : "tbl_act_16",
+ "id" : 36,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 373,
@@ -7531,22 +7402,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [74],
- "actions" : ["act_30"],
- "base_default_next" : "node_88",
+ "action_ids" : [60],
+ "actions" : ["act_17"],
+ "base_default_next" : "node_66",
"next_tables" : {
- "act_30" : "node_88"
+ "act_17" : "node_66"
},
"default_entry" : {
- "action_id" : 74,
+ "action_id" : 60,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_30",
- "id" : 52,
+ "name" : "tbl_act_17",
+ "id" : 37,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -7560,27 +7431,50 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [73],
- "actions" : ["act_29"],
- "base_default_next" : "tbl_act_31",
+ "action_ids" : [59],
+ "actions" : ["act_16"],
+ "base_default_next" : "tbl_act_18",
"next_tables" : {
- "act_29" : "tbl_act_31"
+ "act_16" : "tbl_act_18"
},
"default_entry" : {
- "action_id" : 73,
+ "action_id" : 59,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_31",
- "id" : 53,
+ "name" : "tbl_act_18",
+ "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/spgw.p4",
- "line" : 288,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
+ "column" : 46,
+ "source_fragment" : "return"
},
"key" : [],
"match_type" : "exact",
@@ -7589,14 +7483,43 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [75],
- "actions" : ["act_31"],
- "base_default_next" : "node_91",
+ "action_ids" : [61],
+ "actions" : ["act_18"],
+ "base_default_next" : "node_71",
"next_tables" : {
- "act_31" : "node_91"
+ "act_18" : "node_71"
},
"default_entry" : {
- "action_id" : 75,
+ "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" : 346,
+ "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
@@ -7604,10 +7527,10 @@
},
{
"name" : "tbl_spgw_egress_gtpu_encap",
- "id" : 54,
+ "id" : 41,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 291,
+ "filename" : "include/control/spgw.p4",
+ "line" : 349,
"column" : 12,
"source_fragment" : "gtpu_encap()"
},
@@ -7618,14 +7541,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [61],
+ "action_ids" : [51],
"actions" : ["FabricEgress.spgw_egress.gtpu_encap"],
"base_default_next" : null,
"next_tables" : {
"FabricEgress.spgw_egress.gtpu_encap" : null
},
"default_entry" : {
- "action_id" : 61,
+ "action_id" : 51,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7635,8 +7558,8 @@
"action_profiles" : [],
"conditionals" : [
{
- "name" : "node_66",
- "id" : 22,
+ "name" : "node_44",
+ "id" : 15,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 39,
@@ -7664,12 +7587,12 @@
}
}
},
- "true_next" : "tbl_act_22",
- "false_next" : "node_68"
+ "true_next" : "tbl_act_9",
+ "false_next" : "node_46"
},
{
- "name" : "node_68",
- "id" : 23,
+ "name" : "node_46",
+ "id" : 16,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 43,
@@ -7690,12 +7613,12 @@
}
}
},
- "true_next" : "tbl_act_23",
- "false_next" : "node_70"
+ "true_next" : "tbl_act_10",
+ "false_next" : "node_48"
},
{
- "name" : "node_70",
- "id" : 24,
+ "name" : "node_48",
+ "id" : 17,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 335,
@@ -7743,12 +7666,12 @@
}
}
},
- "true_next" : "tbl_act_24",
- "false_next" : "node_72"
+ "true_next" : "tbl_act_11",
+ "false_next" : "node_50"
},
{
- "name" : "node_72",
- "id" : 25,
+ "name" : "node_50",
+ "id" : 18,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 340,
@@ -7769,12 +7692,12 @@
}
}
},
- "true_next" : "node_73",
+ "true_next" : "node_51",
"false_next" : "tbl_egress_next_set_mpls"
},
{
- "name" : "node_73",
- "id" : 26,
+ "name" : "node_51",
+ "id" : 19,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -7796,8 +7719,8 @@
"false_next" : "FabricEgress.egress_next.egress_vlan"
},
{
- "name" : "node_79",
- "id" : 27,
+ "name" : "node_57",
+ "id" : 20,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 357,
@@ -7822,12 +7745,12 @@
}
}
},
- "true_next" : "node_80",
- "false_next" : "node_82"
+ "true_next" : "node_58",
+ "false_next" : "node_60"
},
{
- "name" : "node_80",
- "id" : 28,
+ "name" : "node_58",
+ "id" : 21,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 359,
@@ -7849,11 +7772,11 @@
}
},
"true_next" : "tbl_egress_next_push_vlan",
- "false_next" : "node_82"
+ "false_next" : "node_60"
},
{
- "name" : "node_82",
- "id" : 29,
+ "name" : "node_60",
+ "id" : 22,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 368,
@@ -7871,12 +7794,12 @@
}
}
},
- "true_next" : "tbl_act_27",
- "false_next" : "node_86"
+ "true_next" : "tbl_act_14",
+ "false_next" : "node_64"
},
{
- "name" : "node_84",
- "id" : 30,
+ "name" : "node_62",
+ "id" : 23,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -7897,12 +7820,12 @@
}
}
},
- "true_next" : "tbl_act_28",
- "false_next" : "tbl_act_31"
+ "true_next" : "tbl_act_15",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_86",
- "id" : 31,
+ "name" : "node_64",
+ "id" : 24,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 372,
@@ -7920,12 +7843,12 @@
}
}
},
- "true_next" : "tbl_act_29",
- "false_next" : "tbl_act_31"
+ "true_next" : "tbl_act_16",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_88",
- "id" : 32,
+ "name" : "node_66",
+ "id" : 25,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -7946,17 +7869,17 @@
}
}
},
- "true_next" : "tbl_act_30",
- "false_next" : "tbl_act_31"
+ "true_next" : "tbl_act_17",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_91",
- "id" : 33,
+ "name" : "node_69",
+ "id" : 26,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 290,
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
"column" : 12,
- "source_fragment" : "fabric_meta.spgw.outer_header_creation == true"
+ "source_fragment" : "fabric_md.spgw.skip_spgw == true"
},
"expression" : {
"type" : "expression",
@@ -7969,7 +7892,64 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_outer_header_creation27"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw28"]
+ }
+ }
+ },
+ "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"]
+ }
+ }
+ }
+ }
+ },
+ "false_next" : null,
+ "true_next" : "tbl_act_20"
+ },
+ {
+ "name" : "node_73",
+ "id" : 28,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 348,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.needs_gtpu_encap == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap32"]
}
}
},
@@ -8016,8 +7996,8 @@
"name" : "cksum_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 306,
+ "filename" : "include/control/spgw.p4",
+ "line" : 364,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw/bmv2/default/p4info.txt b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw/bmv2/default/p4info.txt
index d3f8df9..96fee20 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw/bmv2/default/p4info.txt
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw/bmv2/default/p4info.txt
@@ -3,179 +3,6 @@
}
tables {
preamble {
- id: 33586632
- name: "FabricIngress.spgw_ingress.downlink_filter_table"
- alias: "downlink_filter_table"
- }
- match_fields {
- id: 1
- name: "ipv4_prefix"
- bitwidth: 32
- match_type: LPM
- }
- action_refs {
- id: 16819938
- }
- const_default_action_id: 16819938
- size: 1024
-}
-tables {
- preamble {
- id: 33567046
- name: "FabricIngress.spgw_ingress.uplink_filter_table"
- alias: "uplink_filter_table"
- }
- match_fields {
- id: 1
- name: "gtp_ipv4_dst"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16819938
- }
- const_default_action_id: 16819938
- size: 1024
-}
-tables {
- preamble {
- id: 33586958
- name: "FabricIngress.spgw_ingress.downlink_pdr_lookup"
- alias: "downlink_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "ue_addr"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16799934
- }
- action_refs {
- id: 16800567
- annotations: "@defaultonly"
- scope: DEFAULT_ONLY
- }
- size: 1024
-}
-tables {
- preamble {
- id: 33587070
- name: "FabricIngress.spgw_ingress.uplink_pdr_lookup"
- alias: "uplink_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "tunnel_ipv4_dst"
- bitwidth: 32
- match_type: EXACT
- }
- match_fields {
- id: 2
- name: "teid"
- bitwidth: 32
- match_type: EXACT
- }
- match_fields {
- id: 3
- name: "ue_addr"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16799934
- }
- action_refs {
- id: 16800567
- annotations: "@defaultonly"
- scope: DEFAULT_ONLY
- }
- size: 1024
-}
-tables {
- preamble {
- id: 33582573
- name: "FabricIngress.spgw_ingress.flexible_pdr_lookup"
- alias: "flexible_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "spgw_direction"
- bitwidth: 2
- match_type: TERNARY
- }
- match_fields {
- id: 2
- name: "tunnel_ipv4_dst"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 3
- name: "teid"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 4
- name: "ipv4_src"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 5
- name: "ipv4_dst"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 6
- name: "ip_proto"
- bitwidth: 8
- match_type: TERNARY
- }
- match_fields {
- id: 7
- name: "l4_sport"
- bitwidth: 16
- match_type: TERNARY
- }
- match_fields {
- id: 8
- name: "l4_dport"
- bitwidth: 16
- match_type: TERNARY
- }
- action_refs {
- id: 16799934
- }
- const_default_action_id: 16799934
- size: 1024
-}
-tables {
- preamble {
- id: 33613200
- name: "FabricIngress.spgw_ingress.far_lookup"
- alias: "far_lookup"
- }
- match_fields {
- id: 1
- name: "far_id"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16834935
- }
- action_refs {
- id: 16787606
- }
- const_default_action_id: 16834935
- size: 1024
-}
-tables {
- preamble {
id: 33611649
name: "FabricIngress.filtering.ingress_port_vlan"
alias: "ingress_port_vlan"
@@ -538,6 +365,99 @@
}
tables {
preamble {
+ id: 33584493
+ name: "FabricIngress.spgw_ingress.interface_lookup"
+ alias: "interface_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "ipv4_dst_addr"
+ bitwidth: 32
+ match_type: LPM
+ }
+ match_fields {
+ id: 2
+ name: "gtpu_is_valid"
+ bitwidth: 1
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16797935
+ }
+ const_default_action_id: 16797935
+ size: 128
+}
+tables {
+ preamble {
+ id: 33586958
+ name: "FabricIngress.spgw_ingress.downlink_pdr_lookup"
+ alias: "downlink_pdr_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "ue_addr"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16799934
+ }
+ const_default_action_id: 16799934
+ size: 1024
+}
+tables {
+ preamble {
+ id: 33587070
+ name: "FabricIngress.spgw_ingress.uplink_pdr_lookup"
+ alias: "uplink_pdr_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "tunnel_ipv4_dst"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ match_fields {
+ id: 2
+ name: "teid"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ match_fields {
+ id: 3
+ name: "ue_addr"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16799934
+ }
+ const_default_action_id: 16799934
+ size: 1024
+}
+tables {
+ preamble {
+ id: 33613200
+ name: "FabricIngress.spgw_ingress.far_lookup"
+ alias: "far_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "far_id"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16834935
+ }
+ action_refs {
+ id: 16787606
+ }
+ const_default_action_id: 16834935
+ size: 2048
+}
+tables {
+ preamble {
id: 33599342
name: "FabricEgress.egress_next.egress_vlan"
alias: "egress_vlan"
@@ -575,79 +495,6 @@
}
actions {
preamble {
- id: 16800567
- name: "NoAction"
- alias: "NoAction"
- }
-}
-actions {
- preamble {
- id: 16799934
- name: "FabricIngress.spgw_ingress.set_pdr_attributes"
- alias: "set_pdr_attributes"
- }
- params {
- id: 1
- name: "ctr_id"
- bitwidth: 32
- }
- params {
- id: 2
- name: "far_id"
- bitwidth: 32
- }
-}
-actions {
- preamble {
- id: 16834935
- name: "FabricIngress.spgw_ingress.load_normal_far_attributes"
- alias: "load_normal_far_attributes"
- }
- params {
- id: 1
- name: "drop"
- bitwidth: 1
- }
- params {
- id: 2
- name: "notify_cp"
- bitwidth: 1
- }
-}
-actions {
- preamble {
- id: 16787606
- name: "FabricIngress.spgw_ingress.load_tunnel_far_attributes"
- alias: "load_tunnel_far_attributes"
- }
- params {
- id: 1
- name: "drop"
- bitwidth: 1
- }
- params {
- id: 2
- name: "notify_cp"
- bitwidth: 1
- }
- params {
- id: 3
- name: "tunnel_src_addr"
- bitwidth: 32
- }
- params {
- id: 4
- name: "tunnel_dst_addr"
- bitwidth: 32
- }
- params {
- id: 5
- name: "teid"
- bitwidth: 32
- }
-}
-actions {
- preamble {
id: 16836487
name: "FabricIngress.filtering.deny"
alias: "deny"
@@ -883,6 +730,132 @@
}
actions {
preamble {
+ id: 16797935
+ name: "FabricIngress.spgw_ingress.set_source_iface"
+ alias: "set_source_iface"
+ }
+ params {
+ id: 1
+ name: "src_iface"
+ bitwidth: 8
+ }
+ params {
+ id: 2
+ name: "direction"
+ bitwidth: 2
+ }
+ params {
+ id: 3
+ name: "skip_spgw"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16799934
+ name: "FabricIngress.spgw_ingress.set_pdr_attributes"
+ alias: "set_pdr_attributes"
+ }
+ params {
+ id: 1
+ name: "ctr_id"
+ bitwidth: 32
+ }
+ params {
+ id: 2
+ name: "far_id"
+ bitwidth: 32
+ }
+ params {
+ id: 3
+ name: "needs_gtpu_decap"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16834935
+ name: "FabricIngress.spgw_ingress.load_normal_far_attributes"
+ alias: "load_normal_far_attributes"
+ }
+ params {
+ id: 1
+ name: "drop"
+ bitwidth: 1
+ }
+ params {
+ id: 2
+ name: "notify_cp"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16787606
+ name: "FabricIngress.spgw_ingress.load_tunnel_far_attributes"
+ alias: "load_tunnel_far_attributes"
+ }
+ params {
+ id: 1
+ name: "drop"
+ bitwidth: 1
+ }
+ params {
+ id: 2
+ name: "notify_cp"
+ bitwidth: 1
+ }
+ params {
+ id: 3
+ name: "tunnel_src_port"
+ bitwidth: 16
+ }
+ params {
+ id: 4
+ name: "tunnel_src_addr"
+ bitwidth: 32
+ }
+ params {
+ id: 5
+ name: "tunnel_dst_addr"
+ bitwidth: 32
+ }
+ params {
+ id: 6
+ name: "teid"
+ bitwidth: 32
+ }
+}
+actions {
+ preamble {
+ id: 16829280
+ name: "FabricIngress.spgw_ingress.decap_inner_tcp"
+ alias: "decap_inner_tcp"
+ }
+}
+actions {
+ preamble {
+ id: 16815878
+ name: "FabricIngress.spgw_ingress.decap_inner_udp"
+ alias: "decap_inner_udp"
+ }
+}
+actions {
+ preamble {
+ id: 16801274
+ name: "FabricIngress.spgw_ingress.decap_inner_icmp"
+ alias: "decap_inner_icmp"
+ }
+}
+actions {
+ preamble {
+ id: 16830582
+ name: "FabricIngress.spgw_ingress.decap_inner_unknown"
+ alias: "decap_inner_unknown"
+ }
+}
+actions {
+ preamble {
id: 16790030
name: "FabricEgress.egress_next.pop_vlan"
alias: "pop_vlan"
@@ -901,17 +874,6 @@
}
counters {
preamble {
- id: 302029884
- name: "FabricIngress.spgw_ingress.pdr_counter"
- alias: "spgw_ingress.pdr_counter"
- }
- spec {
- unit: BOTH
- }
- size: 1024
-}
-counters {
- preamble {
id: 302011205
name: "FabricIngress.port_counters_control.egress_port_counter"
alias: "egress_port_counter"
@@ -934,6 +896,17 @@
}
counters {
preamble {
+ id: 302029884
+ name: "FabricIngress.spgw_ingress.pdr_counter"
+ alias: "spgw_ingress.pdr_counter"
+ }
+ spec {
+ unit: BOTH
+ }
+ size: 2048
+}
+counters {
+ preamble {
id: 302012289
name: "FabricEgress.spgw_egress.pdr_counter"
alias: "spgw_egress.pdr_counter"
@@ -941,7 +914,7 @@
spec {
unit: BOTH
}
- size: 1024
+ size: 2048
}
direct_counters {
preamble {
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric/bmv2/default/bmv2.json b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric/bmv2/default/bmv2.json
index c152abf..01c4571 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric/bmv2/default/bmv2.json
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric/bmv2/default/bmv2.json
@@ -835,7 +835,7 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 267,
+ "line" : 268,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
@@ -2387,7 +2387,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 115,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -2466,7 +2466,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 114,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -3565,7 +3565,7 @@
"id" : 3,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -3676,7 +3676,7 @@
"id" : 7,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -3763,7 +3763,7 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},