Backport fabric-spgw TNA changes to v1model
Rewrite the SPGW P4 pipeline.
This commit makes two changes to the fabric.p4 source files:
1. Routing is now done on a metadata field instead of the ipv4 header.
Routing on the ipv4 header is incorrect if the packet is encapsulated
with an outer IPV4 header. The metadata field is updated each time the
ipv4 destination changes, or an outer header is added or removed. These
changes require no control plane modifications due to @name annotations.
2. The spgw control blocks have been rewritten to support the logical UP4
pipeline. Its location in the pipeline is unchanged, and its
interactions with other control blocks is unchanged.
These changes compile for both bmv2 and tofino, and There is currently a
PR for the fabric-p4test repo which updates the SPGW PTF tests to
account for these changes.
Change-Id: I80ccf30e136a2bb24a83029e22413af351e6eed6
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 952df6f..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
@@ -64,8 +64,12 @@
PiMatchFieldId.of("ipv4_dst");
public static final PiMatchFieldId HDR_IPV6_TRAFFIC_CLASS =
PiMatchFieldId.of("ipv6_traffic_class");
+ 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_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 =
@@ -82,14 +86,18 @@
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_IPV4_DSCP =
PiMatchFieldId.of("ipv4_dscp");
+ 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_GTP_IPV4_DST =
- PiMatchFieldId.of("gtp_ipv4_dst");
+ 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_INT_IS_VALID =
PiMatchFieldId.of("int_is_valid");
public static final PiMatchFieldId HDR_MPLS_LABEL =
@@ -103,6 +111,8 @@
PiTableId.of("FabricIngress.next.hashed");
public static final PiTableId FABRIC_INGRESS_BNG_INGRESS_T_LINE_MAP =
PiTableId.of("FabricIngress.bng_ingress.t_line_map");
+ public static final PiTableId FABRIC_INGRESS_SPGW_INGRESS_FAR_LOOKUP =
+ PiTableId.of("FabricIngress.spgw_ingress.far_lookup");
public static final PiTableId FABRIC_EGRESS_PROCESS_INT_MAIN_PROCESS_INT_TRANSIT_TB_INT_INSERT =
PiTableId.of("FabricEgress.process_int_main.process_int_transit.tb_int_insert");
public static final PiTableId FABRIC_INGRESS_FILTERING_FWD_CLASSIFIER =
@@ -111,10 +121,14 @@
PiTableId.of("FabricIngress.next.xconnect");
public static final PiTableId FABRIC_INGRESS_NEXT_NEXT_VLAN =
PiTableId.of("FabricIngress.next.next_vlan");
+ public static final PiTableId FABRIC_INGRESS_SPGW_INGRESS_DOWNLINK_PDR_LOOKUP =
+ PiTableId.of("FabricIngress.spgw_ingress.downlink_pdr_lookup");
public static final PiTableId FABRIC_INGRESS_NEXT_SIMPLE =
PiTableId.of("FabricIngress.next.simple");
public static final PiTableId FABRIC_INGRESS_NEXT_MULTICAST =
PiTableId.of("FabricIngress.next.multicast");
+ public static final PiTableId FABRIC_INGRESS_SPGW_INGRESS_UPLINK_PDR_LOOKUP =
+ PiTableId.of("FabricIngress.spgw_ingress.uplink_pdr_lookup");
public static final PiTableId FABRIC_EGRESS_PROCESS_INT_MAIN_PROCESS_INT_SOURCE_TB_INT_SOURCE =
PiTableId.of("FabricEgress.process_int_main.process_int_source.tb_int_source");
public static final PiTableId FABRIC_INGRESS_FORWARDING_ROUTING_V6 =
@@ -131,14 +145,14 @@
PiTableId.of("FabricIngress.bng_ingress.upstream.t_pppoe_cp");
public static final PiTableId FABRIC_INGRESS_BNG_INGRESS_UPSTREAM_T_PPPOE_TERM_V4 =
PiTableId.of("FabricIngress.bng_ingress.upstream.t_pppoe_term_v4");
- public static final PiTableId FABRIC_INGRESS_SPGW_INGRESS_S1U_FILTER_TABLE =
- PiTableId.of("FabricIngress.spgw_ingress.s1u_filter_table");
+ 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_FORWARDING_BRIDGING =
PiTableId.of("FabricIngress.forwarding.bridging");
- public static final PiTableId FABRIC_INGRESS_SPGW_INGRESS_DL_SESS_LOOKUP =
- PiTableId.of("FabricIngress.spgw_ingress.dl_sess_lookup");
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 =
@@ -151,9 +165,11 @@
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_BNG_INGRESS_UPSTREAM_T_PPPOE_TERM_V6 =
- PiTableId.of("FabricIngress.bng_ingress.upstream.t_pppoe_term_v6");
// 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_INGRESS_PORT_COUNTERS_CONTROL_EGRESS_PORT_COUNTER =
@@ -183,8 +199,6 @@
PiCounterId.of("FabricIngress.process_set_source_sink.counter_set_source");
public static final PiCounterId FABRIC_EGRESS_PROCESS_INT_MAIN_PROCESS_INT_SOURCE_COUNTER_INT_SOURCE =
PiCounterId.of("FabricEgress.process_int_main.process_int_source.counter_int_source");
- public static final PiCounterId FABRIC_INGRESS_SPGW_INGRESS_UE_COUNTER =
- PiCounterId.of("FabricIngress.spgw_ingress.ue_counter");
public static final PiCounterId FABRIC_INGRESS_PROCESS_SET_SOURCE_SINK_COUNTER_SET_SINK =
PiCounterId.of("FabricIngress.process_set_source_sink.counter_set_sink");
public static final PiCounterId FABRIC_EGRESS_EGRESS_NEXT_EGRESS_VLAN_COUNTER =
@@ -202,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 =
@@ -228,10 +244,14 @@
PiActionId.of("FabricIngress.bng_ingress.upstream.punt_to_cpu");
public static final PiActionId FABRIC_INGRESS_BNG_INGRESS_DOWNSTREAM_DROP =
PiActionId.of("FabricIngress.bng_ingress.downstream.drop");
+ public static final PiActionId FABRIC_INGRESS_SPGW_INGRESS_SET_PDR_ATTRIBUTES =
+ PiActionId.of("FabricIngress.spgw_ingress.set_pdr_attributes");
public static final PiActionId FABRIC_INGRESS_NEXT_SET_VLAN =
PiActionId.of("FabricIngress.next.set_vlan");
public static final PiActionId FABRIC_INGRESS_ACL_NOP_ACL =
PiActionId.of("FabricIngress.acl.nop_acl");
+ public static final PiActionId FABRIC_INGRESS_SPGW_INGRESS_LOAD_NORMAL_FAR_ATTRIBUTES =
+ PiActionId.of("FabricIngress.spgw_ingress.load_normal_far_attributes");
public static final PiActionId FABRIC_INGRESS_BNG_INGRESS_SET_LINE =
PiActionId.of("FabricIngress.bng_ingress.set_line");
public static final PiActionId FABRIC_INGRESS_BNG_INGRESS_UPSTREAM_TERM_DISABLED =
@@ -246,12 +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_INGRESS_SPGW_INGRESS_SET_DL_SESS_INFO =
- PiActionId.of("FabricIngress.spgw_ingress.set_dl_sess_info");
- 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 =
@@ -272,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 =
@@ -290,29 +316,43 @@
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_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 S1U_SGW_ADDR =
- PiActionParamId.of("s1u_sgw_addr");
+ 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");
public static final PiActionParamId CLONE_ID =
PiActionParamId.of("clone_id");
+ public static final PiActionParamId FAR_ID = PiActionParamId.of("far_id");
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 MON_MAC = PiActionParamId.of("mon_mac");
+ public static final PiActionParamId CTR_ID = PiActionParamId.of("ctr_id");
public static final PiActionParamId MON_IP = PiActionParamId.of("mon_ip");
- public static final PiActionParamId SWITCH_ID =
- PiActionParamId.of("switch_id");
public static final PiActionParamId INS_MASK0003 =
PiActionParamId.of("ins_mask0003");
public static final PiActionParamId LINE_ID = PiActionParamId.of("line_id");
@@ -320,13 +360,16 @@
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");
- public static final PiActionParamId S1U_ENB_ADDR =
- PiActionParamId.of("s1u_enb_addr");
+ public static final PiActionParamId DROP = PiActionParamId.of("drop");
public static final PiActionParamId PORT_NUM =
PiActionParamId.of("port_num");
+ public static final PiActionParamId TUNNEL_DST_ADDR =
+ PiActionParamId.of("tunnel_dst_addr");
public static final PiActionParamId GROUP_ID =
PiActionParamId.of("group_id");
public static final PiActionParamId MAX_HOP = PiActionParamId.of("max_hop");
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/forwarding.p4 b/pipelines/fabric/impl/src/main/resources/include/control/forwarding.p4
index 9b1e523..1a4e3f2 100644
--- a/pipelines/fabric/impl/src/main/resources/include/control/forwarding.p4
+++ b/pipelines/fabric/impl/src/main/resources/include/control/forwarding.p4
@@ -107,7 +107,7 @@
#endif
table routing_v4 {
key = {
- hdr.ipv4.dst_addr: lpm @name("ipv4_dst");
+ fabric_metadata.ipv4_dst_addr: lpm @name("ipv4_dst");
}
actions = {
set_next_id_routing_v4;
diff --git a/pipelines/fabric/impl/src/main/resources/include/control/next.p4 b/pipelines/fabric/impl/src/main/resources/include/control/next.p4
index 577307e..58b97b1 100644
--- a/pipelines/fabric/impl/src/main/resources/include/control/next.p4
+++ b/pipelines/fabric/impl/src/main/resources/include/control/next.p4
@@ -202,8 +202,8 @@
table hashed {
key = {
fabric_metadata.next_id: exact @name("next_id");
- hdr.ipv4.dst_addr: selector;
- hdr.ipv4.src_addr: selector;
+ fabric_metadata.ipv4_src_addr: selector;
+ fabric_metadata.ipv4_dst_addr: selector;
fabric_metadata.ip_proto: selector;
fabric_metadata.l4_sport: selector;
fabric_metadata.l4_dport: selector;
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 92aa182..bfb7b44 100644
--- a/pipelines/fabric/impl/src/main/resources/include/define.p4
+++ b/pipelines/fabric/impl/src/main/resources/include/define.p4
@@ -97,14 +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> 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;
@@ -141,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 bea9619..17b36fe 100644
--- a/pipelines/fabric/impl/src/main/resources/include/header.p4
+++ b/pipelines/fabric/impl/src/main/resources/include/header.p4
@@ -135,22 +135,25 @@
bit<1> npdu_flag; /* n-pdn number present ? */
bit<8> msgtype; /* message type */
bit<16> msglen; /* message length */
- bit<32> teid; /* tunnel endpoint id */
+ teid_t teid; /* tunnel endpoint id */
}
struct spgw_meta_t {
direction_t direction;
bit<16> ipv4_len;
- bit<32> teid;
- bit<32> s1u_enb_addr;
- bit<32> s1u_sgw_addr;
-#ifdef WITH_SPGW_PCC_GATING
- bit<16> l4_sport;
- bit<16> l4_dport;
- pcc_gate_status_t pcc_gate_status;
- sdf_rule_id_t sdf_rule_id;
- pcc_rule_id_t pcc_rule_id;
-#endif // WITH_SPGW_PCC_GATING
+ teid_t teid;
+ bit<16> tunnel_src_port;
+ bit<32> tunnel_src_addr;
+ bit<32> tunnel_dst_addr;
+ 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_spgwc;
+ _BOOL needs_gtpu_encap;
+ _BOOL needs_gtpu_decap;
}
#endif // WITH_SPGW
@@ -194,7 +197,11 @@
bit<8> ip_proto;
bit<16> l4_sport;
bit<16> l4_dport;
+ 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
@@ -219,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 aa79179..de0a76b 100644
--- a/pipelines/fabric/impl/src/main/resources/include/parser.p4
+++ b/pipelines/fabric/impl/src/main/resources/include/parser.p4
@@ -125,6 +125,8 @@
packet.extract(hdr.ipv4);
fabric_metadata.ip_proto = hdr.ipv4.protocol;
fabric_metadata.ip_eth_type = ETHERTYPE_IPV4;
+ fabric_metadata.ipv4_src_addr = hdr.ipv4.src_addr;
+ fabric_metadata.ipv4_dst_addr = hdr.ipv4.dst_addr;
last_ipv4_dscp = hdr.ipv4.dscp;
//Need header verification?
transition select(hdr.ipv4.protocol) {
@@ -183,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;
}
@@ -211,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
@@ -286,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
@@ -295,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);
@@ -316,4 +327,4 @@
}
}
-#endif
\ No newline at end of file
+#endif
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 6eb4c40..0000000
--- a/pipelines/fabric/impl/src/main/resources/include/spgw.p4
+++ /dev/null
@@ -1,287 +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__
-
-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
- ) {
-
- direct_counter(CounterType.packets_and_bytes) ue_counter;
-
- @hidden
- action gtpu_decap() {
- gtpu_ipv4.setInvalid();
- gtpu_udp.setInvalid();
- gtpu.setInvalid();
- }
-
- action set_dl_sess_info(bit<32> teid,
- bit<32> s1u_enb_addr,
- bit<32> s1u_sgw_addr) {
- fabric_meta.spgw.teid = teid;
- fabric_meta.spgw.s1u_enb_addr = s1u_enb_addr;
- fabric_meta.spgw.s1u_sgw_addr = s1u_sgw_addr;
- ue_counter.count();
- }
-
- table dl_sess_lookup {
- key = {
- // UE addr for downlink
- ipv4.dst_addr : exact @name("ipv4_dst");
- }
- actions = {
- set_dl_sess_info();
- @defaultonly nop();
- }
- const default_action = nop();
- counters = ue_counter;
- }
-
- table s1u_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();
- }
-
-#ifdef WITH_SPGW_PCC_GATING
- action set_sdf_rule_id(sdf_rule_id_t id) {
- fabric_meta.spgw.sdf_rule_id = id;
- }
-
- action set_pcc_rule_id(pcc_rule_id_t id) {
- fabric_meta.spgw.pcc_rule_id = id;
- }
-
- action set_pcc_info(pcc_gate_status_t gate_status) {
- fabric_meta.spgw.pcc_gate_status = gate_status;
- }
-
- table sdf_rule_lookup {
- key = {
- fabric_meta.spgw.direction : exact @name("spgw_direction");
- 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_sdf_rule_id();
- }
- const default_action = set_sdf_rule_id(DEFAULT_SDF_RULE_ID);
- }
-
- table pcc_rule_lookup {
- key = {
- fabric_meta.spgw.sdf_rule_id : exact @name("sdf_rule_id");
- }
- actions = {
- set_pcc_rule_id();
- }
- const default_action = set_pcc_rule_id(DEFAULT_PCC_RULE_ID);
- }
-
- table pcc_info_lookup {
- key = {
- fabric_meta.spgw.pcc_rule_id : exact @name("pcc_rule_id");
- }
- actions = {
- set_pcc_info();
- }
- const default_action = set_pcc_info(PCC_GATE_OPEN);
- }
-#endif // WITH_SPGW_PCC_GATING
-
- 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 (!s1u_filter_table.apply().hit) {
- mark_to_drop(standard_metadata);
- }
- fabric_meta.spgw.direction = SPGW_DIR_UPLINK;
- gtpu_decap();
- } else if (dl_sess_lookup.apply().hit) {
- fabric_meta.spgw.direction = SPGW_DIR_DOWNLINK;
- } else {
- fabric_meta.spgw.direction = SPGW_DIR_UNKNOWN;
- // No SPGW processing needed.
- return;
- }
-
-#ifdef WITH_SPGW_PCC_GATING
- // Allow all traffic by default.
- fabric_meta.spgw.pcc_gate_status = PCC_GATE_OPEN;
-
- sdf_rule_lookup.apply();
- pcc_rule_lookup.apply();
- pcc_info_lookup.apply();
-
- if (fabric_meta.spgw.pcc_gate_status == PCC_GATE_CLOSED) {
- mark_to_drop(standard_metadata);
- }
-#endif // WITH_SPGW_PCC_GATING
-
- // Don't ask why... we'll need this later.
- 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
- ) {
-
- @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 */
- gtpu_ipv4.flags = 0;
- gtpu_ipv4.frag_offset = 0;
- gtpu_ipv4.ttl = DEFAULT_IPV4_TTL;
- gtpu_ipv4.protocol = PROTO_UDP;
- gtpu_ipv4.dst_addr = fabric_meta.spgw.s1u_enb_addr;
- gtpu_ipv4.src_addr = fabric_meta.spgw.s1u_sgw_addr;
- gtpu_ipv4.hdr_checksum = 0; // Updated later
-
- gtpu_udp.setValid();
- gtpu_udp.sport = UDP_PORT_GTPU;
- 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
-
- 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 {
- if (fabric_meta.spgw.direction == SPGW_DIR_DOWNLINK) {
- 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 7620adc..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
@@ -32,12 +32,14 @@
["fabric_metadata_t._ip_proto16", 8, false],
["fabric_metadata_t._l4_sport17", 16, false],
["fabric_metadata_t._l4_dport18", 16, false],
- ["fabric_metadata_t._bng_type19", 2, false],
- ["fabric_metadata_t._bng_line_id20", 32, false],
- ["fabric_metadata_t._bng_pppoe_session_id21", 16, false],
- ["fabric_metadata_t._bng_ds_meter_result22", 32, false],
- ["fabric_metadata_t._bng_s_tag23", 12, false],
- ["fabric_metadata_t._bng_c_tag24", 12, false],
+ ["fabric_metadata_t._ipv4_src_addr19", 32, false],
+ ["fabric_metadata_t._ipv4_dst_addr20", 32, false],
+ ["fabric_metadata_t._bng_type21", 2, false],
+ ["fabric_metadata_t._bng_line_id22", 32, false],
+ ["fabric_metadata_t._bng_pppoe_session_id23", 16, false],
+ ["fabric_metadata_t._bng_ds_meter_result24", 32, false],
+ ["fabric_metadata_t._bng_s_tag25", 12, false],
+ ["fabric_metadata_t._bng_c_tag26", 12, false],
["_padding_0", 2, false]
]
},
@@ -333,34 +335,7 @@
{
"name" : "start",
"id" : 0,
- "parser_ops" : [
- {
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_s_tag23"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "op" : "set"
- },
- {
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_c_tag24"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "op" : "set"
- }
- ],
+ "parser_ops" : [],
"transitions" : [
{
"type" : "hexstr",
@@ -493,7 +468,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_s_tag23"]
+ "value" : ["scalars", "fabric_metadata_t._bng_s_tag25"]
},
{
"type" : "field",
@@ -553,7 +528,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_c_tag24"]
+ "value" : ["scalars", "fabric_metadata_t._bng_c_tag26"]
},
{
"type" : "field",
@@ -775,6 +750,32 @@
}
],
"op" : "set"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "src_addr"]
+ }
+ ],
+ "op" : "set"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "dst_addr"]
+ }
+ ],
+ "op" : "set"
}
],
"transitions" : [
@@ -945,7 +946,7 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 269,
+ "line" : 268,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
@@ -1403,7 +1404,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id20"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id22"]
}
],
"source_info" : {
@@ -1425,7 +1426,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type19"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type21"]
},
{
"type" : "hexstr",
@@ -1434,7 +1435,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 160,
+ "line" : 163,
"column" : 36,
"source_fragment" : "2w0x0; ..."
}
@@ -1475,7 +1476,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 114,
+ "line" : 128,
"column" : 31,
"source_fragment" : "0x0800; ..."
}
@@ -1504,7 +1505,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id20"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id22"]
}
],
"source_info" : {
@@ -1531,7 +1532,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type19"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type21"]
},
{
"type" : "hexstr",
@@ -1540,7 +1541,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 162,
+ "line" : 165,
"column" : 39,
"source_fragment" : "2w0x2;; ..."
}
@@ -1550,7 +1551,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id21"]
+ "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id23"]
},
{
"type" : "runtime_data",
@@ -1573,7 +1574,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id20"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id22"]
}
],
"source_info" : {
@@ -1595,7 +1596,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type19"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type21"]
},
{
"type" : "hexstr",
@@ -1604,7 +1605,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 162,
+ "line" : 165,
"column" : 39,
"source_fragment" : "2w0x2;; ..."
}
@@ -1618,7 +1619,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id20"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id22"]
}
],
"source_info" : {
@@ -1672,7 +1673,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id20"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id22"]
},
{
"type" : "runtime_data",
@@ -2230,7 +2231,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_s_tag23"]
+ "value" : ["scalars", "fabric_metadata_t._bng_s_tag25"]
},
{
"type" : "runtime_data",
@@ -2249,7 +2250,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_c_tag24"]
+ "value" : ["scalars", "fabric_metadata_t._bng_c_tag26"]
},
{
"type" : "runtime_data",
@@ -2953,7 +2954,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type19"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type21"]
},
{
"type" : "hexstr",
@@ -2962,7 +2963,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 161,
+ "line" : 164,
"column" : 37,
"source_fragment" : "2w0x1; ..."
}
@@ -3042,7 +3043,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id20"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id22"]
}
],
"source_info" : {
@@ -3128,11 +3129,11 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id20"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id22"]
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result22"]
+ "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result24"]
}
],
"source_info" : {
@@ -3158,11 +3159,11 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id20"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id22"]
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result22"]
+ "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result24"]
}
],
"source_info" : {
@@ -3199,7 +3200,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 118,
+ "line" : 132,
"column" : 33,
"source_fragment" : "0x8864; ..."
}
@@ -3285,7 +3286,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id21"]
+ "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id23"]
}
],
"source_info" : {
@@ -3304,7 +3305,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id20"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id22"]
}
],
"source_info" : {
@@ -3370,7 +3371,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 120,
+ "line" : 134,
"column" : 35,
"source_fragment" : "0x0021; ..."
}
@@ -3528,7 +3529,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 112,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -3607,7 +3608,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 111,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -3705,7 +3706,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 111,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -3822,7 +3823,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 111,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -3841,7 +3842,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 111,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -4516,7 +4517,7 @@
{
"match_type" : "lpm",
"name" : "ipv4_dst",
- "target" : ["ipv4", "dst_addr"],
+ "target" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"],
"mask" : null
}
],
@@ -4827,13 +4828,13 @@
{
"match_type" : "exact",
"name" : "s_tag",
- "target" : ["scalars", "fabric_metadata_t._bng_s_tag23"],
+ "target" : ["scalars", "fabric_metadata_t._bng_s_tag25"],
"mask" : null
},
{
"match_type" : "exact",
"name" : "c_tag",
- "target" : ["scalars", "fabric_metadata_t._bng_c_tag24"],
+ "target" : ["scalars", "fabric_metadata_t._bng_c_tag26"],
"mask" : null
}
],
@@ -5016,7 +5017,7 @@
{
"match_type" : "exact",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id20"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id22"],
"mask" : null
},
{
@@ -5094,7 +5095,7 @@
{
"match_type" : "exact",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id20"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id22"],
"mask" : null
}
],
@@ -5177,7 +5178,7 @@
{
"match_type" : "ternary",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id20"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id22"],
"mask" : null
},
{
@@ -5294,11 +5295,11 @@
"input" : [
{
"type" : "field",
- "value" : ["ipv4", "dst_addr"]
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
},
{
"type" : "field",
- "value" : ["ipv4", "src_addr"]
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
},
{
"type" : "field",
@@ -5421,7 +5422,7 @@
"id" : 4,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -5532,7 +5533,7 @@
"id" : 8,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -5746,7 +5747,7 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},
@@ -6613,7 +6614,7 @@
"op" : "==",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type19"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type21"]
},
"right" : {
"type" : "hexstr",
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 4295526..e0d2c6a 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],
@@ -41,26 +38,40 @@
["fabric_metadata_t._ip_proto16", 8, false],
["fabric_metadata_t._l4_sport17", 16, false],
["fabric_metadata_t._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_s1u_enb_addr22", 32, false],
- ["fabric_metadata_t._spgw_s1u_sgw_addr23", 32, false],
- ["fabric_metadata_t._bng_type24", 2, false],
- ["fabric_metadata_t._bng_line_id25", 32, false],
- ["fabric_metadata_t._bng_pppoe_session_id26", 16, false],
- ["fabric_metadata_t._bng_ds_meter_result27", 32, false],
- ["fabric_metadata_t._bng_s_tag28", 12, false],
- ["fabric_metadata_t._bng_c_tag29", 12, false],
- ["fabric_metadata_t._int_meta_source30", 1, false],
- ["fabric_metadata_t._int_meta_transit31", 1, false],
- ["fabric_metadata_t._int_meta_sink32", 1, false],
- ["fabric_metadata_t._int_meta_switch_id33", 32, false],
- ["fabric_metadata_t._int_meta_new_words34", 8, false],
- ["fabric_metadata_t._int_meta_new_bytes35", 16, false],
- ["fabric_metadata_t._int_meta_ig_tstamp36", 32, false],
- ["fabric_metadata_t._int_meta_eg_tstamp37", 32, false],
- ["_padding_0", 2, false]
+ ["fabric_metadata_t._ipv4_src_addr19", 32, false],
+ ["fabric_metadata_t._ipv4_dst_addr20", 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]
]
},
{
@@ -184,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],
@@ -216,7 +213,7 @@
},
{
"name" : "icmp_t",
- "id" : 12,
+ "id" : 11,
"fields" : [
["icmp_type", 8, false],
["icmp_code", 8, false],
@@ -227,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" : [
@@ -436,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
@@ -684,32 +716,6 @@
}
],
"op" : "set"
- },
- {
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_s_tag28"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "op" : "set"
- },
- {
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_c_tag29"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "op" : "set"
}
],
"transitions" : [
@@ -785,7 +791,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
},
{
"type" : "lookahead",
@@ -823,7 +829,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
}
]
},
@@ -844,7 +850,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_s_tag28"]
+ "value" : ["scalars", "fabric_metadata_t._bng_s_tag42"]
},
{
"type" : "field",
@@ -857,7 +863,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
},
{
"type" : "lookahead",
@@ -883,7 +889,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
}
]
},
@@ -904,7 +910,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_c_tag29"]
+ "value" : ["scalars", "fabric_metadata_t._bng_c_tag43"]
},
{
"type" : "field",
@@ -1070,7 +1076,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
},
{
"type" : "lookahead",
@@ -1102,7 +1108,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
}
]
},
@@ -1149,6 +1155,32 @@
"parameters" : [
{
"type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "src_addr"]
+ }
+ ],
+ "op" : "set"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "dst_addr"]
+ }
+ ],
+ "op" : "set"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "field",
"value" : ["scalars", "last_ipv4_dscp_0"]
},
{
@@ -1402,77 +1434,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"
}
@@ -1536,7 +1497,7 @@
},
{
"name" : "parse_inner_udp",
- "id" : 15,
+ "id" : 14,
"parser_ops" : [
{
"parameters" : [
@@ -1551,7 +1512,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_sport17"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport21"]
},
{
"type" : "field",
@@ -1564,7 +1525,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_dport18"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport22"]
},
{
"type" : "field",
@@ -1585,7 +1546,7 @@
},
{
"name" : "parse_int",
- "id" : 16,
+ "id" : 15,
"parser_ops" : [],
"transitions" : [
{
@@ -1609,7 +1570,7 @@
},
{
"name" : "parse_intl4_shim",
- "id" : 17,
+ "id" : 16,
"parser_ops" : [
{
"parameters" : [
@@ -1652,13 +1613,13 @@
},
{
"name" : "parse_int_data",
- "id" : 18,
+ "id" : 17,
"parser_ops" : [
{
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
},
{
"type" : "expression",
@@ -1730,7 +1691,7 @@
"type" : "expression",
"value" : {
"type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
}
}
],
@@ -1748,7 +1709,7 @@
},
{
"name" : "parse_intl4_tail",
- "id" : 19,
+ "id" : 18,
"parser_ops" : [
{
"parameters" : [
@@ -1779,11 +1740,11 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 269,
+ "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" : [
@@ -1818,20 +1779,8 @@
],
"counter_arrays" : [
{
- "name" : "FabricIngress.spgw_ingress.ue_counter",
- "id" : 0,
- "is_direct" : true,
- "binding" : "FabricIngress.spgw_ingress.dl_sess_lookup",
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 52,
- "column" : 50,
- "source_fragment" : "ue_counter"
- }
- },
- {
"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" : {
@@ -1843,7 +1792,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" : {
@@ -1855,7 +1804,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.c_terminated",
- "id" : 3,
+ "id" : 2,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 36,
@@ -1867,7 +1816,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.c_dropped",
- "id" : 4,
+ "id" : 3,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 37,
@@ -1879,7 +1828,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.c_control",
- "id" : 5,
+ "id" : 4,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 38,
@@ -1891,7 +1840,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.c_line_rx",
- "id" : 6,
+ "id" : 5,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 152,
@@ -1903,7 +1852,7 @@
},
{
"name" : "FabricIngress.filtering.ingress_port_vlan_counter",
- "id" : 7,
+ "id" : 6,
"is_direct" : true,
"binding" : "FabricIngress.filtering.ingress_port_vlan",
"source_info" : {
@@ -1915,7 +1864,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier_counter",
- "id" : 8,
+ "id" : 7,
"is_direct" : true,
"binding" : "FabricIngress.filtering.fwd_classifier",
"source_info" : {
@@ -1927,7 +1876,7 @@
},
{
"name" : "FabricIngress.forwarding.bridging_counter",
- "id" : 9,
+ "id" : 8,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.bridging",
"source_info" : {
@@ -1939,7 +1888,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls_counter",
- "id" : 10,
+ "id" : 9,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.mpls",
"source_info" : {
@@ -1951,7 +1900,7 @@
},
{
"name" : "FabricIngress.forwarding.routing_v6_counter",
- "id" : 11,
+ "id" : 10,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.routing_v6",
"source_info" : {
@@ -1963,7 +1912,7 @@
},
{
"name" : "FabricIngress.acl.acl_counter",
- "id" : 12,
+ "id" : 11,
"is_direct" : true,
"binding" : "FabricIngress.acl.acl",
"source_info" : {
@@ -1975,7 +1924,7 @@
},
{
"name" : "FabricIngress.next.next_vlan_counter",
- "id" : 13,
+ "id" : 12,
"is_direct" : true,
"binding" : "FabricIngress.next.next_vlan",
"source_info" : {
@@ -1987,7 +1936,7 @@
},
{
"name" : "FabricIngress.next.xconnect_counter",
- "id" : 14,
+ "id" : 13,
"is_direct" : true,
"binding" : "FabricIngress.next.xconnect",
"source_info" : {
@@ -1999,7 +1948,7 @@
},
{
"name" : "FabricIngress.next.simple_counter",
- "id" : 15,
+ "id" : 14,
"is_direct" : true,
"binding" : "FabricIngress.next.simple",
"source_info" : {
@@ -2011,7 +1960,7 @@
},
{
"name" : "FabricIngress.next.hashed_counter",
- "id" : 16,
+ "id" : 15,
"is_direct" : true,
"binding" : "FabricIngress.next.hashed",
"source_info" : {
@@ -2023,7 +1972,7 @@
},
{
"name" : "FabricIngress.next.multicast_counter",
- "id" : 17,
+ "id" : 16,
"is_direct" : true,
"binding" : "FabricIngress.next.multicast",
"source_info" : {
@@ -2035,7 +1984,7 @@
},
{
"name" : "FabricIngress.port_counters_control.egress_port_counter",
- "id" : 18,
+ "id" : 17,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 26,
@@ -2047,7 +1996,7 @@
},
{
"name" : "FabricIngress.port_counters_control.ingress_port_counter",
- "id" : 19,
+ "id" : 18,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 27,
@@ -2058,6 +2007,18 @@
"is_direct" : false
},
{
+ "name" : "FabricIngress.spgw_ingress.pdr_counter",
+ "id" : 19,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 182,
+ "column" : 53,
+ "source_fragment" : "pdr_counter"
+ },
+ "size" : 2048,
+ "is_direct" : false
+ },
+ {
"name" : "FabricEgress.bng_egress.downstream.c_line_tx",
"id" : 20,
"source_info" : {
@@ -2092,6 +2053,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" : [],
@@ -2161,8 +2134,8 @@
"name" : "calc_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 243,
+ "filename" : "include/control/spgw.p4",
+ "line" : 364,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
@@ -2361,157 +2334,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" : "FabricIngress.spgw_ingress.gtpu_decap",
- "id" : 15,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 56,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 57,
- "column" : 8,
- "source_fragment" : "gtpu_udp.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 58,
- "column" : 8,
- "source_fragment" : "gtpu.setInvalid()"
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_dl_sess_info",
- "id" : 16,
- "runtime_data" : [
- {
- "name" : "teid",
- "bitwidth" : 32
- },
- {
- "name" : "s1u_enb_addr",
- "bitwidth" : 32
- },
- {
- "name" : "s1u_sgw_addr",
- "bitwidth" : 32
- }
- ],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid21"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 64,
- "column" : 30,
- "source_fragment" : "= teid; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_s1u_enb_addr22"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 65,
- "column" : 38,
- "source_fragment" : "= s1u_enb_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_s1u_sgw_addr23"]
- },
- {
- "type" : "runtime_data",
- "value" : 2
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 66,
- "column" : 38,
- "source_fragment" : "= s1u_sgw_addr; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.process_set_source_sink.int_set_source",
- "id" : 17,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_source30"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_source44"]
},
{
"type" : "expression",
@@ -2539,7 +2371,7 @@
},
{
"name" : "FabricIngress.process_set_source_sink.int_set_sink",
- "id" : 18,
+ "id" : 14,
"runtime_data" : [],
"primitives" : [
{
@@ -2547,7 +2379,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_sink32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_sink46"]
},
{
"type" : "expression",
@@ -2575,7 +2407,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.punt_to_cpu",
- "id" : 19,
+ "id" : 15,
"runtime_data" : [],
"primitives" : [
{
@@ -2625,7 +2457,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id25"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -2639,7 +2471,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.term_disabled",
- "id" : 20,
+ "id" : 16,
"runtime_data" : [],
"primitives" : [
{
@@ -2647,7 +2479,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type24"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
{
"type" : "hexstr",
@@ -2656,7 +2488,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 160,
+ "line" : 163,
"column" : 36,
"source_fragment" : "2w0x0; ..."
}
@@ -2680,7 +2512,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.term_disabled",
- "id" : 21,
+ "id" : 17,
"runtime_data" : [],
"primitives" : [
{
@@ -2688,7 +2520,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type24"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
{
"type" : "hexstr",
@@ -2697,7 +2529,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 160,
+ "line" : 163,
"column" : 36,
"source_fragment" : "2w0x0; ..."
}
@@ -2721,7 +2553,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.term_enabled_v4",
- "id" : 22,
+ "id" : 18,
"runtime_data" : [],
"primitives" : [
{
@@ -2738,7 +2570,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 114,
+ "line" : 128,
"column" : 31,
"source_fragment" : "0x0800; ..."
}
@@ -2767,7 +2599,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id25"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -2781,7 +2613,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.term_enabled_v6",
- "id" : 23,
+ "id" : 19,
"runtime_data" : [],
"primitives" : [
{
@@ -2798,7 +2630,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 115,
+ "line" : 129,
"column" : 31,
"source_fragment" : "0x86dd; ..."
}
@@ -2827,7 +2659,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id25"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -2841,7 +2673,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.set_session",
- "id" : 24,
+ "id" : 20,
"runtime_data" : [
{
"name" : "pppoe_session_id",
@@ -2854,7 +2686,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type24"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
{
"type" : "hexstr",
@@ -2863,7 +2695,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 162,
+ "line" : 165,
"column" : 39,
"source_fragment" : "2w0x2;; ..."
}
@@ -2873,7 +2705,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id26"]
+ "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id40"]
},
{
"type" : "runtime_data",
@@ -2896,7 +2728,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id25"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -2910,7 +2742,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.drop",
- "id" : 25,
+ "id" : 21,
"runtime_data" : [],
"primitives" : [
{
@@ -2918,7 +2750,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type24"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
{
"type" : "hexstr",
@@ -2927,7 +2759,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 162,
+ "line" : 165,
"column" : 39,
"source_fragment" : "2w0x2;; ..."
}
@@ -2941,7 +2773,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id25"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -2970,31 +2802,31 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.qos_prio",
- "id" : 26,
+ "id" : 22,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.bng_ingress.downstream.qos_prio",
- "id" : 27,
+ "id" : 23,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.bng_ingress.downstream.qos_besteff",
- "id" : 28,
+ "id" : 24,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.bng_ingress.downstream.qos_besteff",
- "id" : 29,
+ "id" : 25,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.bng_ingress.set_line",
- "id" : 30,
+ "id" : 26,
"runtime_data" : [
{
"name" : "line_id",
@@ -3007,7 +2839,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id25"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
},
{
"type" : "runtime_data",
@@ -3025,7 +2857,7 @@
},
{
"name" : "FabricIngress.filtering.deny",
- "id" : 31,
+ "id" : 27,
"runtime_data" : [],
"primitives" : [
{
@@ -3090,13 +2922,13 @@
},
{
"name" : "FabricIngress.filtering.permit",
- "id" : 32,
+ "id" : 28,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.filtering.permit_with_internal_vlan",
- "id" : 33,
+ "id" : 29,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -3127,7 +2959,7 @@
},
{
"name" : "FabricIngress.filtering.set_forwarding_type",
- "id" : 34,
+ "id" : 30,
"runtime_data" : [
{
"name" : "fwd_type",
@@ -3158,7 +2990,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_bridging",
- "id" : 35,
+ "id" : 31,
"runtime_data" : [
{
"name" : "next_id",
@@ -3189,7 +3021,7 @@
},
{
"name" : "FabricIngress.forwarding.pop_mpls_and_next",
- "id" : 36,
+ "id" : 32,
"runtime_data" : [
{
"name" : "next_id",
@@ -3239,7 +3071,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_routing_v4",
- "id" : 37,
+ "id" : 33,
"runtime_data" : [
{
"name" : "next_id",
@@ -3270,13 +3102,13 @@
},
{
"name" : "FabricIngress.forwarding.nop_routing_v4",
- "id" : 38,
+ "id" : 34,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.forwarding.set_next_id_routing_v6",
- "id" : 39,
+ "id" : 35,
"runtime_data" : [
{
"name" : "next_id",
@@ -3307,7 +3139,7 @@
},
{
"name" : "FabricIngress.acl.set_next_id_acl",
- "id" : 40,
+ "id" : 36,
"runtime_data" : [
{
"name" : "next_id",
@@ -3338,7 +3170,7 @@
},
{
"name" : "FabricIngress.acl.punt_to_cpu",
- "id" : 41,
+ "id" : 37,
"runtime_data" : [],
"primitives" : [
{
@@ -3393,7 +3225,7 @@
},
{
"name" : "FabricIngress.acl.set_clone_session_id",
- "id" : 42,
+ "id" : 38,
"runtime_data" : [
{
"name" : "clone_id",
@@ -3424,7 +3256,7 @@
},
{
"name" : "FabricIngress.acl.drop",
- "id" : 43,
+ "id" : 39,
"runtime_data" : [],
"primitives" : [
{
@@ -3475,13 +3307,13 @@
},
{
"name" : "FabricIngress.acl.nop_acl",
- "id" : 44,
+ "id" : 40,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.next.set_vlan",
- "id" : 45,
+ "id" : 41,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -3512,7 +3344,7 @@
},
{
"name" : "FabricIngress.next.set_double_vlan",
- "id" : 46,
+ "id" : 42,
"runtime_data" : [
{
"name" : "outer_vlan_id",
@@ -3596,7 +3428,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_s_tag28"]
+ "value" : ["scalars", "fabric_metadata_t._bng_s_tag42"]
},
{
"type" : "runtime_data",
@@ -3615,7 +3447,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_c_tag29"]
+ "value" : ["scalars", "fabric_metadata_t._bng_c_tag43"]
},
{
"type" : "runtime_data",
@@ -3633,7 +3465,7 @@
},
{
"name" : "FabricIngress.next.output_xconnect",
- "id" : 47,
+ "id" : 43,
"runtime_data" : [
{
"name" : "port_num",
@@ -3664,7 +3496,7 @@
},
{
"name" : "FabricIngress.next.set_next_id_xconnect",
- "id" : 48,
+ "id" : 44,
"runtime_data" : [
{
"name" : "next_id",
@@ -3695,7 +3527,7 @@
},
{
"name" : "FabricIngress.next.output_simple",
- "id" : 49,
+ "id" : 45,
"runtime_data" : [
{
"name" : "port_num",
@@ -3726,7 +3558,7 @@
},
{
"name" : "FabricIngress.next.routing_simple",
- "id" : 50,
+ "id" : 46,
"runtime_data" : [
{
"name" : "port_num",
@@ -3803,7 +3635,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_simple",
- "id" : 51,
+ "id" : 47,
"runtime_data" : [
{
"name" : "port_num",
@@ -3903,7 +3735,7 @@
},
{
"name" : "FabricIngress.next.output_hashed",
- "id" : 52,
+ "id" : 48,
"runtime_data" : [
{
"name" : "port_num",
@@ -3934,7 +3766,7 @@
},
{
"name" : "FabricIngress.next.routing_hashed",
- "id" : 53,
+ "id" : 49,
"runtime_data" : [
{
"name" : "port_num",
@@ -4011,7 +3843,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_hashed",
- "id" : 54,
+ "id" : 50,
"runtime_data" : [
{
"name" : "port_num",
@@ -4111,7 +3943,7 @@
},
{
"name" : "FabricIngress.next.set_mcast_group_id",
- "id" : 55,
+ "id" : 51,
"runtime_data" : [
{
"name" : "group_id",
@@ -4170,16 +4002,126 @@
]
},
{
- "name" : "act",
- "id" : 56,
- "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",
@@ -4197,47 +4139,10 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 30,
- "column" : 32,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_0",
- "id" : 57,
- "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; ..."
}
},
{
@@ -4245,7 +4150,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",
@@ -4256,85 +4258,600 @@
"left" : null,
"right" : {
"type" : "bool",
- "value" : false
+ "value" : true
}
}
}
}
- ]
- }
- ]
- },
- {
- "name" : "act_1",
- "id" : 58,
- "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" : 35,
- "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" : 59,
- "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" : 37,
- "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" : 60,
- "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" : 31,
- "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; ..."
}
},
{
@@ -4350,10 +4867,55 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 32,
- "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()"
}
},
{
@@ -4361,24 +4923,647 @@
"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" : 33,
- "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",
+ "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" : [
@@ -4458,7 +5643,7 @@
]
},
{
- "name" : "act_5",
+ "name" : "act_0",
"id" : 62,
"runtime_data" : [],
"primitives" : [
@@ -4467,6 +5652,189 @@
"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" : 67,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
"value" : ["scalars", "fabric_metadata_t._vlan_id1"]
},
{
@@ -4523,7 +5891,7 @@
},
{
"name" : "act_6",
- "id" : 63,
+ "id" : 68,
"runtime_data" : [],
"primitives" : [
{
@@ -4587,7 +5955,7 @@
},
{
"name" : "act_7",
- "id" : 64,
+ "id" : 69,
"runtime_data" : [],
"primitives" : [
{
@@ -4613,144 +5981,6 @@
},
{
"name" : "act_8",
- "id" : 65,
- "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" : true
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_9",
- "id" : 66,
- "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" : 67,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "mark_to_drop",
- "parameters" : [
- {
- "type" : "header",
- "value" : "standard_metadata"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 149,
- "column" : 16,
- "source_fragment" : "mark_to_drop(standard_metadata)"
- }
- }
- ]
- },
- {
- "name" : "act_11",
- "id" : 68,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction19"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 147,
- "column" : 36,
- "source_fragment" : "2w1; ..."
- }
- }
- ]
- },
- {
- "name" : "act_12",
- "id" : 69,
- "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" : 70,
"runtime_data" : [],
"primitives" : [
@@ -4759,174 +5989,7 @@
"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" : 71,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction19"]
- },
- {
- "type" : "hexstr",
- "value" : "0x02"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 148,
- "column" : 38,
- "source_fragment" : "2w2; ..."
- }
- }
- ]
- },
- {
- "name" : "act_15",
- "id" : 72,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction19"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 146,
- "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" : 158,
- "column" : 12,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_16",
- "id" : 73,
- "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" : 74,
- "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/spgw.p4",
- "line" : 175,
- "column" : 34,
- "source_fragment" : "= ipv4.total_len; ..."
- }
- }
- ]
- },
- {
- "name" : "act_18",
- "id" : 75,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
},
{
"type" : "expression",
@@ -4962,7 +6025,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
}
],
"source_info" : {
@@ -4975,8 +6038,8 @@
]
},
{
- "name" : "act_19",
- "id" : 76,
+ "name" : "act_9",
+ "id" : 71,
"runtime_data" : [],
"primitives" : [
{
@@ -4984,7 +6047,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_5"]
+ "value" : ["scalars", "tmp_4"]
},
{
"type" : "expression",
@@ -5020,7 +6083,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_5"]
+ "value" : ["scalars", "tmp_4"]
}
],
"source_info" : {
@@ -5033,8 +6096,8 @@
]
},
{
- "name" : "act_20",
- "id" : 77,
+ "name" : "act_10",
+ "id" : 72,
"runtime_data" : [],
"primitives" : [
{
@@ -5059,8 +6122,8 @@
]
},
{
- "name" : "act_21",
- "id" : 78,
+ "name" : "act_11",
+ "id" : 73,
"runtime_data" : [],
"primitives" : [
{
@@ -5089,8 +6152,8 @@
]
},
{
- "name" : "act_22",
- "id" : 79,
+ "name" : "act_12",
+ "id" : 74,
"runtime_data" : [],
"primitives" : [
{
@@ -5119,8 +6182,8 @@
]
},
{
- "name" : "act_23",
- "id" : 80,
+ "name" : "act_13",
+ "id" : 75,
"runtime_data" : [],
"primitives" : [
{
@@ -5128,7 +6191,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type24"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
{
"type" : "hexstr",
@@ -5137,7 +6200,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 161,
+ "line" : 164,
"column" : 37,
"source_fragment" : "2w0x1; ..."
}
@@ -5168,8 +6231,8 @@
]
},
{
- "name" : "act_24",
- "id" : 81,
+ "name" : "act_14",
+ "id" : 76,
"runtime_data" : [],
"primitives" : [
{
@@ -5204,8 +6267,8 @@
]
},
{
- "name" : "act_25",
- "id" : 82,
+ "name" : "act_15",
+ "id" : 77,
"runtime_data" : [],
"primitives" : [
{
@@ -5217,7 +6280,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id25"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -5230,8 +6293,8 @@
]
},
{
- "name" : "act_26",
- "id" : 83,
+ "name" : "act_16",
+ "id" : 78,
"runtime_data" : [],
"primitives" : [
{
@@ -5243,7 +6306,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id25"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -5256,8 +6319,8 @@
]
},
{
- "name" : "act_27",
- "id" : 84,
+ "name" : "act_17",
+ "id" : 79,
"runtime_data" : [],
"primitives" : [
{
@@ -5315,8 +6378,8 @@
]
},
{
- "name" : "act_28",
- "id" : 85,
+ "name" : "act_18",
+ "id" : 80,
"runtime_data" : [],
"primitives" : [
{
@@ -5345,8 +6408,8 @@
]
},
{
- "name" : "act_29",
- "id" : 86,
+ "name" : "act_19",
+ "id" : 81,
"runtime_data" : [],
"primitives" : [
{
@@ -5375,8 +6438,8 @@
]
},
{
- "name" : "act_30",
- "id" : 87,
+ "name" : "act_20",
+ "id" : 82,
"runtime_data" : [],
"primitives" : [
{
@@ -5388,11 +6451,11 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id25"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result27"]
+ "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result41"]
}
],
"source_info" : {
@@ -5405,8 +6468,8 @@
]
},
{
- "name" : "act_31",
- "id" : 88,
+ "name" : "act_21",
+ "id" : 83,
"runtime_data" : [],
"primitives" : [
{
@@ -5418,11 +6481,11 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id25"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result27"]
+ "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result41"]
}
],
"source_info" : {
@@ -5435,8 +6498,8 @@
]
},
{
- "name" : "act_32",
- "id" : 89,
+ "name" : "act_22",
+ "id" : 84,
"runtime_data" : [],
"primitives" : [
{
@@ -5448,11 +6511,11 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id25"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result27"]
+ "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result41"]
}
],
"source_info" : {
@@ -5465,8 +6528,8 @@
]
},
{
- "name" : "act_33",
- "id" : 90,
+ "name" : "act_23",
+ "id" : 85,
"runtime_data" : [],
"primitives" : [
{
@@ -5478,11 +6541,11 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id25"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result27"]
+ "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result41"]
}
],
"source_info" : {
@@ -5496,635 +6559,43 @@
},
{
"name" : "nop",
+ "id" : 86,
+ "runtime_data" : [],
+ "primitives" : []
+ },
+ {
+ "name" : "nop",
+ "id" : 87,
+ "runtime_data" : [],
+ "primitives" : []
+ },
+ {
+ "name" : "nop",
+ "id" : 88,
+ "runtime_data" : [],
+ "primitives" : []
+ },
+ {
+ "name" : "nop",
+ "id" : 89,
+ "runtime_data" : [],
+ "primitives" : []
+ },
+ {
+ "name" : "NoAction",
+ "id" : 90,
+ "runtime_data" : [],
+ "primitives" : []
+ },
+ {
+ "name" : "NoAction",
"id" : 91,
"runtime_data" : [],
"primitives" : []
},
{
- "name" : "nop",
- "id" : 92,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "nop",
- "id" : 93,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "nop",
- "id" : 94,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "NoAction",
- "id" : 95,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "NoAction",
- "id" : 96,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "FabricEgress.spgw_egress.gtpu_encap",
- "id" : 97,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 191,
- "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" : 192,
- "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" : 129,
- "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" : 194,
- "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" : 195,
- "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" : 196,
- "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" : 198,
- "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" : 199,
- "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" : 200,
- "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" : 142,
- "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" : 126,
- "column" : 25,
- "source_fragment" : "17; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dst_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_s1u_enb_addr22"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 203,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.dst_addr = fabric_meta.spgw.s1u_enb_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "src_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_s1u_sgw_addr23"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 204,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.src_addr = fabric_meta.spgw.s1u_sgw_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "hdr_checksum"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 205,
- "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" : 207,
- "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" : 208,
- "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" : 209,
- "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_len20"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0010"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 210,
- "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" : 212,
- "column" : 8,
- "source_fragment" : "gtpu_udp.checksum = 0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 214,
- "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" : 215,
- "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" : 216,
- "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" : 217,
- "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" : 218,
- "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" : 219,
- "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" : 220,
- "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" : 221,
- "column" : 8,
- "source_fragment" : "gtpu.msgtype = 0xff"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "msglen"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len20"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 222,
- "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_teid21"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 223,
- "column" : 8,
- "source_fragment" : "gtpu.teid = fabric_meta.spgw.teid; ..."
- }
- }
- ]
- },
- {
"name" : "FabricEgress.bng_egress.downstream.encap_v4",
- "id" : 98,
+ "id" : 92,
"runtime_data" : [],
"primitives" : [
{
@@ -6141,7 +6612,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 118,
+ "line" : 132,
"column" : 33,
"source_fragment" : "0x8864; ..."
}
@@ -6227,7 +6698,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id26"]
+ "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id40"]
}
],
"source_info" : {
@@ -6246,7 +6717,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id25"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -6312,7 +6783,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 120,
+ "line" : 134,
"column" : 35,
"source_fragment" : "0x0021; ..."
}
@@ -6321,7 +6792,7 @@
},
{
"name" : "FabricEgress.bng_egress.downstream.encap_v6",
- "id" : 99,
+ "id" : 93,
"runtime_data" : [],
"primitives" : [
{
@@ -6338,7 +6809,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 118,
+ "line" : 132,
"column" : 33,
"source_fragment" : "0x8864; ..."
}
@@ -6424,7 +6895,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id26"]
+ "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id40"]
}
],
"source_info" : {
@@ -6443,7 +6914,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id25"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -6509,7 +6980,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 121,
+ "line" : 135,
"column" : 35,
"source_fragment" : "0x0057; ..."
}
@@ -6518,7 +6989,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_source.int_source_dscp",
- "id" : 100,
+ "id" : 94,
"runtime_data" : [
{
"name" : "max_hop",
@@ -6586,7 +7057,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 157,
+ "line" : 165,
"column" : 36,
"source_fragment" : "4; ..."
}
@@ -7004,7 +7475,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 153,
+ "line" : 161,
"column" : 24,
"source_fragment" : "0x1; ..."
}
@@ -7013,7 +7484,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.init_metadata",
- "id" : 101,
+ "id" : 95,
"runtime_data" : [
{
"name" : "switch_id",
@@ -7026,7 +7497,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_transit31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_transit45"]
},
{
"type" : "expression",
@@ -7055,7 +7526,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
},
{
"type" : "runtime_data",
@@ -7073,13 +7544,13 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i0",
- "id" : 102,
+ "id" : 96,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i1",
- "id" : 103,
+ "id" : 97,
"runtime_data" : [],
"primitives" : [
{
@@ -7153,7 +7624,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -7167,7 +7638,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -7195,7 +7666,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -7209,7 +7680,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -7236,7 +7707,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i2",
- "id" : 104,
+ "id" : 98,
"runtime_data" : [],
"primitives" : [
{
@@ -7278,7 +7749,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -7292,7 +7763,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -7320,7 +7791,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -7334,7 +7805,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -7361,6 +7832,1202 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i3",
+ "id" : 99,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_occupancy"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 60,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 62,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_id = 8w0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_occupancy"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_qdepth"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 63,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_occupancy = (bit<24>) smeta.deq_qdepth"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_hop_latency"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 54,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_hop_latency", "hop_latency"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 55,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) smeta.deq_timedelta"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x02"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 103,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0008"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 104,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i4",
+ "id" : 100,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 48,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 49,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 97,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 1; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0004"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 98,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 4; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i5",
+ "id" : 101,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_occupancy"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 60,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 62,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_id = 8w0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_occupancy"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_qdepth"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 63,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_occupancy = (bit<24>) smeta.deq_qdepth"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 48,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 49,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x02"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 103,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0008"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 104,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i6",
+ "id" : 102,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_hop_latency"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 54,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_hop_latency", "hop_latency"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 55,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) smeta.deq_timedelta"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 48,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 49,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x02"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 103,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0008"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 104,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i7",
+ "id" : 103,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_occupancy"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 60,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 62,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_id = 8w0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_occupancy"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_qdepth"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 63,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_occupancy = (bit<24>) smeta.deq_qdepth"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_hop_latency"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 54,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_hop_latency", "hop_latency"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 55,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) smeta.deq_timedelta"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 48,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 49,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x03"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 109,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x000c"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 110,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i8",
+ "id" : 104,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 42,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 97,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 1; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0004"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 98,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 4; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i9",
"id" : 105,
"runtime_data" : [],
"primitives" : [
@@ -7435,6 +9102,131 @@
"parameters" : [
{
"type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 42,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x02"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 103,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0008"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 104,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i10",
+ "id" : 106,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "int_hop_latency"
}
],
@@ -7465,11 +9257,45 @@
}
},
{
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 42,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -7483,7 +9309,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -7511,7 +9337,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -7525,7 +9351,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -7551,177 +9377,7 @@
]
},
{
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i4",
- "id" : 106,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_port_ids"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 47,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "ingress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "ingress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 48,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "egress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "egress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 49,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x01"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 1; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0004"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 98,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 4; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i5",
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i11",
"id" : 107,
"runtime_data" : [],
"primitives" : [
@@ -7796,176 +9452,6 @@
"parameters" : [
{
"type" : "header",
- "value" : "int_port_ids"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 47,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "ingress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "ingress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 48,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "egress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "egress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 49,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 103,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0008"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 104,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i6",
- "id" : 108,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
"value" : "int_hop_latency"
}
],
@@ -8000,6 +9486,131 @@
"parameters" : [
{
"type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 42,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x03"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 109,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x000c"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 110,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i12",
+ "id" : 108,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "int_port_ids"
}
],
@@ -8075,11 +9686,45 @@
}
},
{
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 42,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -8093,7 +9738,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -8121,7 +9766,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -8135,7 +9780,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -8161,7 +9806,7 @@
]
},
{
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i7",
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i13",
"id" : 109,
"runtime_data" : [],
"primitives" : [
@@ -8236,6 +9881,210 @@
"parameters" : [
{
"type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 48,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 49,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 42,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x03"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 109,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x000c"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 110,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i14",
+ "id" : 110,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "int_hop_latency"
}
],
@@ -8345,11 +10194,45 @@
}
},
{
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 42,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -8363,7 +10246,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -8391,7 +10274,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -8405,7 +10288,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -8431,132 +10314,7 @@
]
},
{
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i8",
- "id" : 110,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_switch_id"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 41,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_switch_id", "switch_id"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id33"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 42,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x01"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 1; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0004"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 98,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 4; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i9",
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i15",
"id" : 111,
"runtime_data" : [],
"primitives" : [
@@ -8631,989 +10389,6 @@
"parameters" : [
{
"type" : "header",
- "value" : "int_switch_id"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 41,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_switch_id", "switch_id"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id33"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 42,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 103,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0008"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 104,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i10",
- "id" : 112,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_hop_latency"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 54,
- "column" : 8,
- "source_fragment" : "hdr.int_hop_latency.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_hop_latency", "hop_latency"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "deq_timedelta"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 55,
- "column" : 8,
- "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) smeta.deq_timedelta"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_switch_id"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 41,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_switch_id", "switch_id"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id33"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 42,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 103,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0008"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 104,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i11",
- "id" : 113,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_q_occupancy"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 60,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_occupancy", "q_id"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 62,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.q_id = 8w0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_occupancy", "q_occupancy"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "deq_qdepth"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 63,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.q_occupancy = (bit<24>) smeta.deq_qdepth"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_hop_latency"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 54,
- "column" : 8,
- "source_fragment" : "hdr.int_hop_latency.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_hop_latency", "hop_latency"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "deq_timedelta"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 55,
- "column" : 8,
- "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) smeta.deq_timedelta"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_switch_id"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 41,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_switch_id", "switch_id"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id33"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 42,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x03"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 109,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x000c"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 110,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i12",
- "id" : 114,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_port_ids"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 47,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "ingress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "ingress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 48,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "egress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "egress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 49,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_switch_id"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 41,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_switch_id", "switch_id"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id33"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 42,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 103,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0008"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 104,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i13",
- "id" : 115,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_q_occupancy"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 60,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_occupancy", "q_id"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 62,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.q_id = 8w0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_occupancy", "q_occupancy"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "deq_qdepth"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 63,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.q_occupancy = (bit<24>) smeta.deq_qdepth"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_port_ids"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 47,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "ingress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "ingress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 48,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "egress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "egress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 49,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_switch_id"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 41,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_switch_id", "switch_id"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id33"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 42,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x03"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 109,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x000c"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 110,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i14",
- "id" : 116,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
"value" : "int_hop_latency"
}
],
@@ -9746,7 +10521,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -9761,7 +10536,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -9775,311 +10550,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x03"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 109,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x000c"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 110,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i15",
- "id" : 117,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_q_occupancy"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 60,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_occupancy", "q_id"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 62,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.q_id = 8w0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_occupancy", "q_occupancy"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "deq_qdepth"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 63,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.q_occupancy = (bit<24>) smeta.deq_qdepth"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_hop_latency"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 54,
- "column" : 8,
- "source_fragment" : "hdr.int_hop_latency.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_hop_latency", "hop_latency"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "deq_timedelta"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 55,
- "column" : 8,
- "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) smeta.deq_timedelta"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_port_ids"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 47,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "ingress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "ingress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 48,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "egress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "egress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 49,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_switch_id"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 41,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_switch_id", "switch_id"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id33"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 42,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -10107,7 +10578,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -10121,7 +10592,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -10148,13 +10619,13 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0",
- "id" : 118,
+ "id" : 112,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1",
- "id" : 119,
+ "id" : 113,
"runtime_data" : [],
"primitives" : [
{
@@ -10196,7 +10667,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -10210,7 +10681,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -10238,7 +10709,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -10252,7 +10723,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -10279,7 +10750,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2",
- "id" : 120,
+ "id" : 114,
"runtime_data" : [],
"primitives" : [
{
@@ -10340,7 +10811,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -10354,7 +10825,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -10382,7 +10853,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -10396,7 +10867,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -10423,6 +10894,1075 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3",
+ "id" : 115,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tx_util"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 88,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tx_util", "egress_port_tx_util"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 90,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = 32w0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_congestion"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 80,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 82,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_id = 8w0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_congestion"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 83,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_congestion = 24w0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x02"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 103,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0008"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 104,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4",
+ "id" : 116,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 74,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 75,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 97,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 1; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0004"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 98,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 4; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5",
+ "id" : 117,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tx_util"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 88,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tx_util", "egress_port_tx_util"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 90,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = 32w0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 74,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 75,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x02"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 103,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0008"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 104,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6",
+ "id" : 118,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_congestion"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 80,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 82,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_id = 8w0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_congestion"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 83,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_congestion = 24w0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 74,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 75,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x02"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 103,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0008"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 104,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7",
+ "id" : 119,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tx_util"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 88,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tx_util", "egress_port_tx_util"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 90,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = 32w0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_congestion"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 80,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 82,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_id = 8w0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_congestion"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 83,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_congestion = 24w0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 74,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 75,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x03"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 109,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x000c"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 110,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8",
+ "id" : 120,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 68,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 69,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 97,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 1; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0004"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 98,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 4; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9",
"id" : 121,
"runtime_data" : [],
"primitives" : [
@@ -10465,6 +12005,131 @@
"parameters" : [
{
"type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 68,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 69,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x02"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 103,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0008"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 104,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10",
+ "id" : 122,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "int_q_congestion"
}
],
@@ -10514,11 +12179,45 @@
}
},
{
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 68,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 69,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -10532,7 +12231,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -10560,7 +12259,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -10574,7 +12273,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -10600,155 +12299,7 @@
]
},
{
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4",
- "id" : 122,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_egress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 74,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_egress_tstamp", "egress_tstamp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- },
- "right" : {
- "type" : "field",
- "value" : ["standard_metadata", "deq_timedelta"]
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 75,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x01"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 1; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0004"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 98,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 4; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5",
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11",
"id" : 123,
"runtime_data" : [],
"primitives" : [
@@ -10791,154 +12342,6 @@
"parameters" : [
{
"type" : "header",
- "value" : "int_egress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 74,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_egress_tstamp", "egress_tstamp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- },
- "right" : {
- "type" : "field",
- "value" : ["standard_metadata", "deq_timedelta"]
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 75,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 103,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0008"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 104,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6",
- "id" : 124,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
"value" : "int_q_congestion"
}
],
@@ -10992,6 +12395,131 @@
"parameters" : [
{
"type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 68,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 69,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x03"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 109,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x000c"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 110,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12",
+ "id" : 124,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "int_egress_tstamp"
}
],
@@ -11045,11 +12573,45 @@
}
},
{
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 68,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 69,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -11063,7 +12625,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -11091,7 +12653,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -11105,7 +12667,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -11131,7 +12693,7 @@
]
},
{
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7",
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13",
"id" : 125,
"runtime_data" : [],
"primitives" : [
@@ -11174,6 +12736,188 @@
"parameters" : [
{
"type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 74,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 75,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 68,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 69,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x03"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 109,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x000c"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 110,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14",
+ "id" : 126,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "int_q_congestion"
}
],
@@ -11280,97 +13024,6 @@
}
},
{
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x03"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 109,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x000c"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 110,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8",
- "id" : 126,
- "runtime_data" : [],
- "primitives" : [
- {
"op" : "add_header",
"parameters" : [
{
@@ -11409,7 +13062,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -11423,11 +13076,11 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
- "value" : "0x01"
+ "value" : "0x03"
}
}
},
@@ -11441,9 +13094,9 @@
],
"source_info" : {
"filename" : "include/int/int_transit.p4",
- "line" : 97,
+ "line" : 109,
"column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 1; ..."
+ "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
}
},
{
@@ -11451,7 +13104,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -11465,11 +13118,11 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
- "value" : "0x0004"
+ "value" : "0x000c"
}
}
},
@@ -11483,15 +13136,15 @@
],
"source_info" : {
"filename" : "include/int/int_transit.p4",
- "line" : 98,
+ "line" : 110,
"column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 4; ..."
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
}
}
]
},
{
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9",
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15",
"id" : 127,
"runtime_data" : [],
"primitives" : [
@@ -11534,919 +13187,6 @@
"parameters" : [
{
"type" : "header",
- "value" : "int_ingress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_ingress_tstamp", "ingress_tstamp"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 103,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0008"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 104,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10",
- "id" : 128,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_q_congestion"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 80,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_congestion", "q_id"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 82,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.q_id = 8w0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_congestion", "q_congestion"]
- },
- {
- "type" : "hexstr",
- "value" : "0x000000"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 83,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.q_congestion = 24w0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_ingress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_ingress_tstamp", "ingress_tstamp"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 103,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0008"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 104,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11",
- "id" : 129,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_egress_tx_util"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 88,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tx_util.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_egress_tx_util", "egress_port_tx_util"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00000000"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 90,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = 32w0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_q_congestion"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 80,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_congestion", "q_id"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 82,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.q_id = 8w0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_congestion", "q_congestion"]
- },
- {
- "type" : "hexstr",
- "value" : "0x000000"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 83,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.q_congestion = 24w0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_ingress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_ingress_tstamp", "ingress_tstamp"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x03"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 109,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x000c"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 110,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12",
- "id" : 130,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_egress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 74,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_egress_tstamp", "egress_tstamp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- },
- "right" : {
- "type" : "field",
- "value" : ["standard_metadata", "deq_timedelta"]
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 75,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_ingress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_ingress_tstamp", "ingress_tstamp"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 103,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0008"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 104,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13",
- "id" : 131,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_egress_tx_util"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 88,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tx_util.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_egress_tx_util", "egress_port_tx_util"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00000000"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 90,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = 32w0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_egress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 74,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_egress_tstamp", "egress_tstamp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- },
- "right" : {
- "type" : "field",
- "value" : ["standard_metadata", "deq_timedelta"]
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 75,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_ingress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_ingress_tstamp", "ingress_tstamp"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x03"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 109,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x000c"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 110,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14",
- "id" : 132,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
"value" : "int_q_congestion"
}
],
@@ -12591,7 +13331,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -12605,276 +13345,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x03"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 109,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x000c"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 110,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15",
- "id" : 133,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_egress_tx_util"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 88,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tx_util.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_egress_tx_util", "egress_port_tx_util"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00000000"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 90,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = 32w0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_q_congestion"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 80,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_congestion", "q_id"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 82,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.q_id = 8w0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_congestion", "q_congestion"]
- },
- {
- "type" : "hexstr",
- "value" : "0x000000"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 83,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.q_congestion = 24w0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_egress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 74,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_egress_tstamp", "egress_tstamp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- },
- "right" : {
- "type" : "field",
- "value" : ["standard_metadata", "deq_timedelta"]
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 75,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_ingress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_ingress_tstamp", "ingress_tstamp"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -12902,7 +13373,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -12916,7 +13387,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -12943,7 +13414,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_report.do_report_encapsulation",
- "id" : 134,
+ "id" : 128,
"runtime_data" : [
{
"name" : "src_mac",
@@ -13034,7 +13505,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 114,
+ "line" : 128,
"column" : 31,
"source_fragment" : "0x0800; ..."
}
@@ -13262,7 +13733,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 126,
+ "line" : 140,
"column" : 25,
"source_fragment" : "17; ..."
}
@@ -13448,7 +13919,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 163,
+ "line" : 171,
"column" : 31,
"source_fragment" : "0; ..."
}
@@ -13543,7 +14014,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 167,
+ "line" : 175,
"column" : 21,
"source_fragment" : "1; ..."
}
@@ -13590,7 +14061,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_sink.restore_header",
- "id" : 135,
+ "id" : 129,
"runtime_data" : [],
"primitives" : [
{
@@ -13635,7 +14106,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_sink.int_sink",
- "id" : 136,
+ "id" : 130,
"runtime_data" : [],
"primitives" : [
{
@@ -13966,7 +14437,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_mpls_if_present",
- "id" : 137,
+ "id" : 131,
"runtime_data" : [],
"primitives" : [
{
@@ -14007,7 +14478,7 @@
},
{
"name" : "FabricEgress.egress_next.set_mpls",
- "id" : 138,
+ "id" : 132,
"runtime_data" : [],
"primitives" : [
{
@@ -14115,7 +14586,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 112,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -14124,7 +14595,7 @@
},
{
"name" : "FabricEgress.egress_next.push_vlan",
- "id" : 139,
+ "id" : 133,
"runtime_data" : [],
"primitives" : [
{
@@ -14194,7 +14665,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 111,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -14222,7 +14693,7 @@
},
{
"name" : "FabricEgress.egress_next.push_vlan",
- "id" : 140,
+ "id" : 134,
"runtime_data" : [],
"primitives" : [
{
@@ -14292,7 +14763,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 111,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -14320,7 +14791,7 @@
},
{
"name" : "FabricEgress.egress_next.push_inner_vlan",
- "id" : 141,
+ "id" : 135,
"runtime_data" : [],
"primitives" : [
{
@@ -14409,7 +14880,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 111,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -14428,7 +14899,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 111,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -14437,7 +14908,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_vlan",
- "id" : 142,
+ "id" : 136,
"runtime_data" : [],
"primitives" : [
{
@@ -14458,8 +14929,600 @@
]
},
{
- "name" : "act_34",
- "id" : 143,
+ "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" : [
{
@@ -14475,8 +15538,8 @@
]
},
{
- "name" : "act_35",
- "id" : 144,
+ "name" : "act_25",
+ "id" : 139,
"runtime_data" : [],
"primitives" : [
{
@@ -14526,8 +15589,8 @@
]
},
{
- "name" : "act_36",
- "id" : 145,
+ "name" : "act_26",
+ "id" : 140,
"runtime_data" : [],
"primitives" : [
{
@@ -14548,8 +15611,8 @@
]
},
{
- "name" : "act_37",
- "id" : 146,
+ "name" : "act_27",
+ "id" : 141,
"runtime_data" : [],
"primitives" : [
{
@@ -14578,8 +15641,8 @@
]
},
{
- "name" : "act_38",
- "id" : 147,
+ "name" : "act_28",
+ "id" : 142,
"runtime_data" : [],
"primitives" : [
{
@@ -14608,8 +15671,8 @@
]
},
{
- "name" : "act_39",
- "id" : 148,
+ "name" : "act_29",
+ "id" : 143,
"runtime_data" : [],
"primitives" : [
{
@@ -14630,8 +15693,8 @@
]
},
{
- "name" : "act_40",
- "id" : 149,
+ "name" : "act_30",
+ "id" : 144,
"runtime_data" : [],
"primitives" : [
{
@@ -14652,8 +15715,8 @@
]
},
{
- "name" : "act_41",
- "id" : 150,
+ "name" : "act_31",
+ "id" : 145,
"runtime_data" : [],
"primitives" : [
{
@@ -14701,8 +15764,8 @@
]
},
{
- "name" : "act_42",
- "id" : 151,
+ "name" : "act_32",
+ "id" : 146,
"runtime_data" : [],
"primitives" : [
{
@@ -14723,8 +15786,8 @@
]
},
{
- "name" : "act_43",
- "id" : 152,
+ "name" : "act_33",
+ "id" : 147,
"runtime_data" : [],
"primitives" : [
{
@@ -14772,8 +15835,8 @@
]
},
{
- "name" : "act_44",
- "id" : 153,
+ "name" : "act_34",
+ "id" : 148,
"runtime_data" : [],
"primitives" : [
{
@@ -14794,8 +15857,8 @@
]
},
{
- "name" : "act_45",
- "id" : 154,
+ "name" : "act_35",
+ "id" : 149,
"runtime_data" : [],
"primitives" : [
{
@@ -14843,8 +15906,100 @@
]
},
{
- "name" : "act_46",
- "id" : 155,
+ "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" : [
+ {
+ "op" : "count",
+ "parameters" : [
+ {
+ "type" : "counter_array",
+ "value" : "FabricEgress.spgw_egress.pdr_counter"
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id29"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 346,
+ "column" : 8,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_39",
+ "id" : 153,
"runtime_data" : [],
"primitives" : [
{
@@ -14873,8 +16028,8 @@
]
},
{
- "name" : "act_47",
- "id" : 156,
+ "name" : "act_40",
+ "id" : 154,
"runtime_data" : [],
"primitives" : [
{
@@ -14909,8 +16064,8 @@
]
},
{
- "name" : "act_48",
- "id" : 157,
+ "name" : "act_41",
+ "id" : 155,
"runtime_data" : [],
"primitives" : [
{
@@ -14936,7 +16091,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
}
}
},
@@ -14958,8 +16113,8 @@
]
},
{
- "name" : "act_49",
- "id" : 158,
+ "name" : "act_42",
+ "id" : 156,
"runtime_data" : [],
"primitives" : [
{
@@ -15007,8 +16162,8 @@
]
},
{
- "name" : "act_50",
- "id" : 159,
+ "name" : "act_43",
+ "id" : 157,
"runtime_data" : [],
"primitives" : [
{
@@ -15034,7 +16189,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes35"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
}
}
},
@@ -15056,8 +16211,8 @@
]
},
{
- "name" : "act_51",
- "id" : 160,
+ "name" : "act_44",
+ "id" : 158,
"runtime_data" : [],
"primitives" : [
{
@@ -15083,7 +16238,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words34"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
}
}
},
@@ -15115,157 +16270,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" : [57],
- "actions" : ["act_0"],
- "base_default_next" : "node_3",
- "next_tables" : {
- "act_0" : "node_3"
- },
- "default_entry" : {
- "action_id" : 57,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_0",
- "id" : 1,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 30,
- "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" : [56],
- "actions" : ["act"],
- "base_default_next" : "node_5",
- "next_tables" : {
- "act" : "node_5"
- },
- "default_entry" : {
- "action_id" : 56,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_1",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 31,
- "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" : [60],
- "actions" : ["act_3"],
- "base_default_next" : "node_7",
- "next_tables" : {
- "act_3" : "node_7"
- },
- "default_entry" : {
- "action_id" : 60,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_2",
- "id" : 3,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 35,
- "column" : 16,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [58],
- "actions" : ["act_1"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_1" : "node_10"
- },
- "default_entry" : {
- "action_id" : 58,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_3",
- "id" : 4,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 37,
- "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" : [59],
- "actions" : ["act_2"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_2" : "node_10"
- },
- "default_entry" : {
- "action_id" : 59,
- "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,
@@ -15279,10 +16289,10 @@
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [61],
- "actions" : ["act_4"],
- "base_default_next" : "node_12",
+ "actions" : ["act"],
+ "base_default_next" : "tbl_act_0",
"next_tables" : {
- "act_4" : "node_12"
+ "act" : "tbl_act_0"
},
"default_entry" : {
"action_id" : 61,
@@ -15292,9 +16302,445 @@
}
},
{
- "name" : "tbl_act_5",
+ "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
+ }
+ },
+ {
+ "name" : "tbl_act_5",
+ "id" : 11,
+ "source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 111,
"column" : 36,
@@ -15307,14 +16753,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [62],
+ "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" : 62,
+ "action_id" : 67,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -15322,7 +16768,7 @@
},
{
"name" : "tbl_act_6",
- "id" : 7,
+ "id" : 12,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 117,
@@ -15336,14 +16782,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [63],
+ "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" : 63,
+ "action_id" : 68,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -15351,7 +16797,7 @@
},
{
"name" : "tbl_act_7",
- "id" : 8,
+ "id" : 13,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 127,
@@ -15365,14 +16811,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [64],
+ "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" : 64,
+ "action_id" : 69,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -15380,7 +16826,7 @@
},
{
"name" : "FabricIngress.filtering.ingress_port_vlan",
- "id" : 9,
+ "id" : 14,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 53,
@@ -15419,7 +16865,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [31, 32, 33],
+ "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" : {
@@ -15428,7 +16874,7 @@
"FabricIngress.filtering.permit_with_internal_vlan" : "FabricIngress.filtering.fwd_classifier"
},
"default_entry" : {
- "action_id" : 31,
+ "action_id" : 27,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -15436,7 +16882,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier",
- "id" : 10,
+ "id" : 15,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 92,
@@ -15475,385 +16921,22 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [34],
+ "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" : 34,
+ "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" : [73],
- "actions" : ["act_16"],
- "base_default_next" : "node_21",
- "next_tables" : {
- "act_16" : "node_21"
- },
- "default_entry" : {
- "action_id" : 73,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.s1u_filter_table",
- "id" : 12,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 83,
- "column" : 10,
- "source_fragment" : "s1u_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" : [65],
- "actions" : ["act_8"],
- "base_default_next" : "node_25",
- "next_tables" : {
- "act_8" : "node_25"
- },
- "default_entry" : {
- "action_id" : 65,
- "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" : [66],
- "actions" : ["act_9"],
- "base_default_next" : "node_25",
- "next_tables" : {
- "act_9" : "node_25"
- },
- "default_entry" : {
- "action_id" : 66,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_11",
- "id" : 15,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 149,
- "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" : [67],
- "actions" : ["act_10"],
- "base_default_next" : "tbl_act_12",
- "next_tables" : {
- "act_10" : "tbl_act_12"
- },
- "default_entry" : {
- "action_id" : 67,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_12",
- "id" : 16,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 151,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [68],
- "actions" : ["act_11"],
- "base_default_next" : "tbl_spgw_ingress_gtpu_decap",
- "next_tables" : {
- "act_11" : "tbl_spgw_ingress_gtpu_decap"
- },
- "default_entry" : {
- "action_id" : 68,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_spgw_ingress_gtpu_decap",
- "id" : 17,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 152,
- "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" : [15],
- "actions" : ["FabricIngress.spgw_ingress.gtpu_decap"],
- "base_default_next" : "node_35",
- "next_tables" : {
- "FabricIngress.spgw_ingress.gtpu_decap" : "node_35"
- },
- "default_entry" : {
- "action_id" : 15,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.dl_sess_lookup",
- "id" : 18,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 70,
- "column" : 10,
- "source_fragment" : "dl_sess_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "ipv4_dst",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : true,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [16, 0],
- "actions" : ["FabricIngress.spgw_ingress.set_dl_sess_info", "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" : [69],
- "actions" : ["act_12"],
- "base_default_next" : "node_32",
- "next_tables" : {
- "act_12" : "node_32"
- },
- "default_entry" : {
- "action_id" : 69,
- "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" : [70],
- "actions" : ["act_13"],
- "base_default_next" : "node_32",
- "next_tables" : {
- "act_13" : "node_32"
- },
- "default_entry" : {
- "action_id" : 70,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_15",
- "id" : 21,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 154,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [71],
- "actions" : ["act_14"],
- "base_default_next" : "node_35",
- "next_tables" : {
- "act_14" : "node_35"
- },
- "default_entry" : {
- "action_id" : 71,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_16",
- "id" : 22,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 156,
- "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" : [72],
- "actions" : ["act_15"],
- "base_default_next" : "node_35",
- "next_tables" : {
- "act_15" : "node_35"
- },
- "default_entry" : {
- "action_id" : 72,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_17",
- "id" : 23,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 175,
- "column" : 34,
- "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_17"],
- "base_default_next" : "node_37",
- "next_tables" : {
- "act_17" : "node_37"
- },
- "default_entry" : {
- "action_id" : 74,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
"name" : "FabricIngress.forwarding.bridging",
- "id" : 24,
+ "id" : 16,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 46,
@@ -15880,7 +16963,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [35, 6],
+ "action_ids" : [31, 4],
"actions" : ["FabricIngress.forwarding.set_next_id_bridging", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -15888,7 +16971,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 6,
+ "action_id" : 4,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -15896,7 +16979,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls",
- "id" : 25,
+ "id" : 17,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 71,
@@ -15917,7 +17000,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [36, 7],
+ "action_ids" : [32, 5],
"actions" : ["FabricIngress.forwarding.pop_mpls_and_next", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -15925,7 +17008,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 7,
+ "action_id" : 5,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -15933,7 +17016,7 @@
},
{
"name" : "FabricIngress.forwarding.routing_v4",
- "id" : 26,
+ "id" : 18,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 108,
@@ -15944,7 +17027,7 @@
{
"match_type" : "lpm",
"name" : "ipv4_dst",
- "target" : ["ipv4", "dst_addr"],
+ "target" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"],
"mask" : null
}
],
@@ -15954,7 +17037,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [37, 38, 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" : {
@@ -15963,7 +17046,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 8,
+ "action_id" : 6,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -15971,7 +17054,7 @@
},
{
"name" : "FabricIngress.forwarding.routing_v6",
- "id" : 27,
+ "id" : 19,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 135,
@@ -15992,7 +17075,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [39, 9],
+ "action_ids" : [35, 7],
"actions" : ["FabricIngress.forwarding.set_next_id_routing_v6", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -16000,7 +17083,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 9,
+ "action_id" : 7,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16008,7 +17091,7 @@
},
{
"name" : "FabricIngress.acl.acl",
- "id" : 28,
+ "id" : 20,
"source_info" : {
"filename" : "include/control/acl.p4",
"line" : 60,
@@ -16095,18 +17178,18 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [40, 41, 42, 43, 44],
+ "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_47",
+ "base_default_next" : "node_37",
"next_tables" : {
- "FabricIngress.acl.set_next_id_acl" : "node_47",
- "FabricIngress.acl.punt_to_cpu" : "node_47",
- "FabricIngress.acl.set_clone_session_id" : "node_47",
- "FabricIngress.acl.drop" : "node_47",
- "FabricIngress.acl.nop_acl" : "node_47"
+ "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" : 44,
+ "action_id" : 40,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16114,7 +17197,7 @@
},
{
"name" : "FabricIngress.next.xconnect",
- "id" : 29,
+ "id" : 21,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 119,
@@ -16141,7 +17224,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [47, 48, 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" : {
@@ -16150,7 +17233,7 @@
"nop" : "FabricIngress.next.simple"
},
"default_entry" : {
- "action_id" : 11,
+ "action_id" : 9,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16158,7 +17241,7 @@
},
{
"name" : "FabricIngress.next.simple",
- "id" : 30,
+ "id" : 22,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 158,
@@ -16179,7 +17262,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [49, 50, 51, 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" : {
@@ -16189,7 +17272,7 @@
"nop" : "FabricIngress.next.hashed"
},
"default_entry" : {
- "action_id" : 12,
+ "action_id" : 10,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16197,7 +17280,7 @@
},
{
"name" : "FabricIngress.next.hashed",
- "id" : 31,
+ "id" : 23,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 202,
@@ -16219,7 +17302,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [52, 53, 54, 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" : {
@@ -16231,7 +17314,7 @@
},
{
"name" : "FabricIngress.next.multicast",
- "id" : 32,
+ "id" : 24,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 236,
@@ -16252,7 +17335,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [55, 14],
+ "action_ids" : [51, 12],
"actions" : ["FabricIngress.next.set_mcast_group_id", "nop"],
"base_default_next" : "FabricIngress.next.next_vlan",
"next_tables" : {
@@ -16260,7 +17343,7 @@
"nop" : "FabricIngress.next.next_vlan"
},
"default_entry" : {
- "action_id" : 14,
+ "action_id" : 12,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16268,7 +17351,7 @@
},
{
"name" : "FabricIngress.next.next_vlan",
- "id" : 33,
+ "id" : 25,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 86,
@@ -16289,24 +17372,24 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [45, 46, 10],
+ "action_ids" : [41, 42, 8],
"actions" : ["FabricIngress.next.set_vlan", "FabricIngress.next.set_double_vlan", "nop"],
- "base_default_next" : "node_53",
+ "base_default_next" : "node_43",
"next_tables" : {
- "FabricIngress.next.set_vlan" : "node_53",
- "FabricIngress.next.set_double_vlan" : "node_53",
- "nop" : "node_53"
+ "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_18",
- "id" : 34,
+ "name" : "tbl_act_8",
+ "id" : 26,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 31,
@@ -16320,22 +17403,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [75],
- "actions" : ["act_18"],
- "base_default_next" : "node_55",
+ "action_ids" : [70],
+ "actions" : ["act_8"],
+ "base_default_next" : "node_45",
"next_tables" : {
- "act_18" : "node_55"
+ "act_8" : "node_45"
},
"default_entry" : {
- "action_id" : 75,
+ "action_id" : 70,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_19",
- "id" : 35,
+ "name" : "tbl_act_9",
+ "id" : 27,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 34,
@@ -16349,14 +17432,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [76],
- "actions" : ["act_19"],
+ "action_ids" : [71],
+ "actions" : ["act_9"],
"base_default_next" : "FabricIngress.process_set_source_sink.tb_set_source",
"next_tables" : {
- "act_19" : "FabricIngress.process_set_source_sink.tb_set_source"
+ "act_9" : "FabricIngress.process_set_source_sink.tb_set_source"
},
"default_entry" : {
- "action_id" : 76,
+ "action_id" : 71,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16364,7 +17447,7 @@
},
{
"name" : "FabricIngress.process_set_source_sink.tb_set_source",
- "id" : 36,
+ "id" : 28,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 46,
@@ -16385,7 +17468,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [17, 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" : {
@@ -16393,7 +17476,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
@@ -16401,7 +17484,7 @@
},
{
"name" : "FabricIngress.process_set_source_sink.tb_set_sink",
- "id" : 37,
+ "id" : 29,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 67,
@@ -16422,23 +17505,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [18, 3],
+ "action_ids" : [14, 1],
"actions" : ["FabricIngress.process_set_source_sink.int_set_sink", "nop"],
- "base_default_next" : "node_59",
+ "base_default_next" : "node_49",
"next_tables" : {
- "FabricIngress.process_set_source_sink.int_set_sink" : "node_59",
- "nop" : "node_59"
+ "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_20",
- "id" : 38,
+ "name" : "tbl_act_10",
+ "id" : 30,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 89,
@@ -16452,14 +17535,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [77],
- "actions" : ["act_20"],
+ "action_ids" : [72],
+ "actions" : ["act_10"],
"base_default_next" : "FabricIngress.bng_ingress.t_line_map",
"next_tables" : {
- "act_20" : "FabricIngress.bng_ingress.t_line_map"
+ "act_10" : "FabricIngress.bng_ingress.t_line_map"
},
"default_entry" : {
- "action_id" : 77,
+ "action_id" : 72,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16467,7 +17550,7 @@
},
{
"name" : "FabricIngress.bng_ingress.t_line_map",
- "id" : 39,
+ "id" : 31,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 323,
@@ -16478,13 +17561,13 @@
{
"match_type" : "exact",
"name" : "s_tag",
- "target" : ["scalars", "fabric_metadata_t._bng_s_tag28"],
+ "target" : ["scalars", "fabric_metadata_t._bng_s_tag42"],
"mask" : null
},
{
"match_type" : "exact",
"name" : "c_tag",
- "target" : ["scalars", "fabric_metadata_t._bng_c_tag29"],
+ "target" : ["scalars", "fabric_metadata_t._bng_c_tag43"],
"mask" : null
}
],
@@ -16494,22 +17577,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [30],
+ "action_ids" : [26],
"actions" : ["FabricIngress.bng_ingress.set_line"],
- "base_default_next" : "node_62",
+ "base_default_next" : "node_52",
"next_tables" : {
- "FabricIngress.bng_ingress.set_line" : "node_62"
+ "FabricIngress.bng_ingress.set_line" : "node_52"
},
"default_entry" : {
- "action_id" : 30,
+ "action_id" : 26,
"action_const" : true,
"action_data" : ["0x0"],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_21",
- "id" : 40,
+ "name" : "tbl_act_11",
+ "id" : 32,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 342,
@@ -16523,14 +17606,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [80],
- "actions" : ["act_23"],
+ "action_ids" : [75],
+ "actions" : ["act_13"],
"base_default_next" : "FabricIngress.bng_ingress.upstream.t_pppoe_cp",
"next_tables" : {
- "act_23" : "FabricIngress.bng_ingress.upstream.t_pppoe_cp"
+ "act_13" : "FabricIngress.bng_ingress.upstream.t_pppoe_cp"
},
"default_entry" : {
- "action_id" : 80,
+ "action_id" : 75,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16538,7 +17621,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.t_pppoe_cp",
- "id" : 41,
+ "id" : 33,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 51,
@@ -16565,23 +17648,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [19, 4],
+ "action_ids" : [15, 2],
"actions" : ["FabricIngress.bng_ingress.upstream.punt_to_cpu", "nop"],
"base_default_next" : null,
"next_tables" : {
- "__HIT__" : "tbl_act_22",
- "__MISS__" : "tbl_act_23"
+ "__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_22",
- "id" : 42,
+ "name" : "tbl_act_12",
+ "id" : 34,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -16589,22 +17672,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [78],
- "actions" : ["act_21"],
- "base_default_next" : "node_67",
+ "action_ids" : [73],
+ "actions" : ["act_11"],
+ "base_default_next" : "node_57",
"next_tables" : {
- "act_21" : "node_67"
+ "act_11" : "node_57"
},
"default_entry" : {
- "action_id" : 78,
+ "action_id" : 73,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_23",
- "id" : 43,
+ "name" : "tbl_act_13",
+ "id" : 35,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -16612,22 +17695,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [79],
- "actions" : ["act_22"],
- "base_default_next" : "node_67",
+ "action_ids" : [74],
+ "actions" : ["act_12"],
+ "base_default_next" : "node_57",
"next_tables" : {
- "act_22" : "node_67"
+ "act_12" : "node_57"
},
"default_entry" : {
- "action_id" : 79,
+ "action_id" : 74,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_24",
- "id" : 44,
+ "name" : "tbl_act_14",
+ "id" : 36,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 126,
@@ -16641,14 +17724,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [81],
- "actions" : ["act_24"],
- "base_default_next" : "node_69",
+ "action_ids" : [76],
+ "actions" : ["act_14"],
+ "base_default_next" : "node_59",
"next_tables" : {
- "act_24" : "node_69"
+ "act_14" : "node_59"
},
"default_entry" : {
- "action_id" : 81,
+ "action_id" : 76,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16656,7 +17739,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v4",
- "id" : 45,
+ "id" : 37,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 87,
@@ -16667,7 +17750,7 @@
{
"match_type" : "exact",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id25"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id39"],
"mask" : null
},
{
@@ -16689,23 +17772,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [22, 20],
+ "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_25",
+ "FabricIngress.bng_ingress.upstream.term_disabled" : "tbl_act_15",
"FabricIngress.bng_ingress.upstream.term_enabled_v4" : null
},
"default_entry" : {
- "action_id" : 20,
+ "action_id" : 16,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_25",
- "id" : 46,
+ "name" : "tbl_act_15",
+ "id" : 38,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 131,
@@ -16719,22 +17802,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [82],
- "actions" : ["act_25"],
+ "action_ids" : [77],
+ "actions" : ["act_15"],
"base_default_next" : null,
"next_tables" : {
- "act_25" : null
+ "act_15" : null
},
"default_entry" : {
- "action_id" : 82,
+ "action_id" : 77,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_26",
- "id" : 47,
+ "name" : "tbl_act_16",
+ "id" : 39,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 112,
@@ -16748,14 +17831,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [84],
- "actions" : ["act_27"],
+ "action_ids" : [79],
+ "actions" : ["act_17"],
"base_default_next" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v6",
"next_tables" : {
- "act_27" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v6"
+ "act_17" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v6"
},
"default_entry" : {
- "action_id" : 84,
+ "action_id" : 79,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16763,7 +17846,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v6",
- "id" : 48,
+ "id" : 40,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 109,
@@ -16774,7 +17857,7 @@
{
"match_type" : "exact",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id25"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id39"],
"mask" : null
},
{
@@ -16796,23 +17879,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [23, 21],
+ "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_27",
+ "FabricIngress.bng_ingress.upstream.term_disabled" : "tbl_act_17",
"FabricIngress.bng_ingress.upstream.term_enabled_v6" : null
},
"default_entry" : {
- "action_id" : 21,
+ "action_id" : 17,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_27",
- "id" : 49,
+ "name" : "tbl_act_17",
+ "id" : 41,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 139,
@@ -16826,14 +17909,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [83],
- "actions" : ["act_26"],
+ "action_ids" : [78],
+ "actions" : ["act_16"],
"base_default_next" : null,
"next_tables" : {
- "act_26" : null
+ "act_16" : null
},
"default_entry" : {
- "action_id" : 83,
+ "action_id" : 78,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16841,7 +17924,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.t_line_session_map",
- "id" : 50,
+ "id" : 42,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 169,
@@ -16852,7 +17935,7 @@
{
"match_type" : "exact",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id25"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id39"],
"mask" : null
}
],
@@ -16862,23 +17945,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [5, 24, 25],
+ "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_28",
- "__MISS__" : "tbl_act_29"
+ "__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_28",
- "id" : 51,
+ "name" : "tbl_act_18",
+ "id" : 43,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -16886,22 +17969,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [85],
- "actions" : ["act_28"],
- "base_default_next" : "node_80",
+ "action_ids" : [80],
+ "actions" : ["act_18"],
+ "base_default_next" : "node_70",
"next_tables" : {
- "act_28" : "node_80"
+ "act_18" : "node_70"
},
"default_entry" : {
- "action_id" : 85,
+ "action_id" : 80,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_29",
- "id" : 52,
+ "name" : "tbl_act_19",
+ "id" : 44,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -16909,14 +17992,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [86],
- "actions" : ["act_29"],
- "base_default_next" : "node_80",
+ "action_ids" : [81],
+ "actions" : ["act_19"],
+ "base_default_next" : "node_70",
"next_tables" : {
- "act_29" : "node_80"
+ "act_19" : "node_70"
},
"default_entry" : {
- "action_id" : 86,
+ "action_id" : 81,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16924,7 +18007,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.t_qos_v4",
- "id" : 53,
+ "id" : 45,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 194,
@@ -16935,7 +18018,7 @@
{
"match_type" : "ternary",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id25"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id39"],
"mask" : null
},
{
@@ -16963,23 +18046,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [26, 28],
+ "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_30",
- "FabricIngress.bng_ingress.downstream.qos_besteff" : "tbl_act_31"
+ "FabricIngress.bng_ingress.downstream.qos_prio" : "tbl_act_20",
+ "FabricIngress.bng_ingress.downstream.qos_besteff" : "tbl_act_21"
},
"default_entry" : {
- "action_id" : 28,
+ "action_id" : 24,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_30",
- "id" : 54,
+ "name" : "tbl_act_20",
+ "id" : 46,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 238,
@@ -16993,22 +18076,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [87],
- "actions" : ["act_30"],
+ "action_ids" : [82],
+ "actions" : ["act_20"],
"base_default_next" : null,
"next_tables" : {
- "act_30" : null
+ "act_20" : null
},
"default_entry" : {
- "action_id" : 87,
+ "action_id" : 82,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_31",
- "id" : 55,
+ "name" : "tbl_act_21",
+ "id" : 47,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 241,
@@ -17022,14 +18105,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [88],
- "actions" : ["act_31"],
+ "action_ids" : [83],
+ "actions" : ["act_21"],
"base_default_next" : null,
"next_tables" : {
- "act_31" : null
+ "act_21" : null
},
"default_entry" : {
- "action_id" : 88,
+ "action_id" : 83,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17037,7 +18120,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.t_qos_v6",
- "id" : 56,
+ "id" : 48,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 210,
@@ -17048,7 +18131,7 @@
{
"match_type" : "ternary",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id25"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id39"],
"mask" : null
},
{
@@ -17070,23 +18153,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [27, 29],
+ "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_32",
- "FabricIngress.bng_ingress.downstream.qos_besteff" : "tbl_act_33"
+ "FabricIngress.bng_ingress.downstream.qos_prio" : "tbl_act_22",
+ "FabricIngress.bng_ingress.downstream.qos_besteff" : "tbl_act_23"
},
"default_entry" : {
- "action_id" : 29,
+ "action_id" : 25,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_32",
- "id" : 57,
+ "name" : "tbl_act_22",
+ "id" : 49,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 250,
@@ -17100,22 +18183,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [89],
- "actions" : ["act_32"],
+ "action_ids" : [84],
+ "actions" : ["act_22"],
"base_default_next" : null,
"next_tables" : {
- "act_32" : null
+ "act_22" : null
},
"default_entry" : {
- "action_id" : 89,
+ "action_id" : 84,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_33",
- "id" : 58,
+ "name" : "tbl_act_23",
+ "id" : 50,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 253,
@@ -17129,14 +18212,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [90],
- "actions" : ["act_33"],
+ "action_ids" : [85],
+ "actions" : ["act_23"],
"base_default_next" : null,
"next_tables" : {
- "act_33" : null
+ "act_23" : null
},
"default_entry" : {
- "action_id" : 90,
+ "action_id" : 85,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17159,11 +18242,11 @@
"input" : [
{
"type" : "field",
- "value" : ["ipv4", "dst_addr"]
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
},
{
"type" : "field",
- "value" : ["ipv4", "src_addr"]
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
},
{
"type" : "field",
@@ -17183,86 +18266,9 @@
],
"conditionals" : [
{
- "name" : "node_3",
+ "name" : "node_2",
"id" : 0,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 30,
- "column" : 12,
- "source_fragment" : "! is_gtpu_encapped"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_0",
- "false_next" : "node_5"
- },
- {
- "name" : "node_5",
- "id" : 1,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_1",
- "false_next" : "node_10"
- },
- {
- "name" : "node_7",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 12,
- "source_fragment" : "inner_udp.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["inner_udp", "$valid$"]
- }
- }
- },
- "true_next" : "tbl_act_2",
- "false_next" : "tbl_act_3"
- },
- {
- "name" : "node_10",
- "id" : 3,
- "source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 24,
"column" : 12,
@@ -17279,13 +18285,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,
@@ -17303,11 +18455,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,
@@ -17326,11 +18478,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,
@@ -17359,105 +18511,11 @@
"false_next" : "FabricIngress.filtering.ingress_port_vlan"
},
{
- "name" : "node_21",
- "id" : 7,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 144,
- "column" : 12,
- "source_fragment" : "gtpu.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.s1u_filter_table",
- "false_next" : "FabricIngress.spgw_ingress.dl_sess_lookup"
- },
- {
- "name" : "node_25",
- "id" : 8,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 148,
- "column" : 16,
- "source_fragment" : "!s1u_filter_table.apply().hit"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- }
- }
- }
- }
- },
- "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" : "tbl_act_17",
- "false_next" : "node_37"
- },
- {
- "name" : "node_37",
- "id" : 11,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -17482,12 +18540,12 @@
}
}
},
- "true_next" : "node_38",
+ "true_next" : "node_28",
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_38",
- "id" : 12,
+ "name" : "node_28",
+ "id" : 10,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 150,
@@ -17509,11 +18567,11 @@
}
},
"true_next" : "FabricIngress.forwarding.bridging",
- "false_next" : "node_40"
+ "false_next" : "node_30"
},
{
- "name" : "node_40",
- "id" : 13,
+ "name" : "node_30",
+ "id" : 11,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 151,
@@ -17535,11 +18593,11 @@
}
},
"true_next" : "FabricIngress.forwarding.mpls",
- "false_next" : "node_42"
+ "false_next" : "node_32"
},
{
- "name" : "node_42",
- "id" : 14,
+ "name" : "node_32",
+ "id" : 12,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 152,
@@ -17561,11 +18619,11 @@
}
},
"true_next" : "FabricIngress.forwarding.routing_v4",
- "false_next" : "node_44"
+ "false_next" : "node_34"
},
{
- "name" : "node_44",
- "id" : 15,
+ "name" : "node_34",
+ "id" : 13,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 154,
@@ -17590,11 +18648,11 @@
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_47",
- "id" : 16,
+ "name" : "node_37",
+ "id" : 14,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -17623,8 +18681,8 @@
"false_next" : "FabricIngress.bng_ingress.t_line_map"
},
{
- "name" : "node_53",
- "id" : 17,
+ "name" : "node_43",
+ "id" : 15,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 30,
@@ -17645,12 +18703,12 @@
}
}
},
- "true_next" : "tbl_act_18",
- "false_next" : "node_55"
+ "true_next" : "tbl_act_8",
+ "false_next" : "node_45"
},
{
- "name" : "node_55",
- "id" : 18,
+ "name" : "node_45",
+ "id" : 16,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 33,
@@ -17671,12 +18729,12 @@
}
}
},
- "true_next" : "tbl_act_19",
+ "true_next" : "tbl_act_9",
"false_next" : "FabricIngress.process_set_source_sink.tb_set_source"
},
{
- "name" : "node_59",
- "id" : 19,
+ "name" : "node_49",
+ "id" : 17,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 86,
@@ -17694,7 +18752,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_sink32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_sink46"]
}
}
},
@@ -17704,12 +18762,12 @@
}
}
},
- "true_next" : "tbl_act_20",
+ "true_next" : "tbl_act_10",
"false_next" : "FabricIngress.bng_ingress.t_line_map"
},
{
- "name" : "node_62",
- "id" : 20,
+ "name" : "node_52",
+ "id" : 18,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 341,
@@ -17727,12 +18785,12 @@
}
}
},
- "true_next" : "tbl_act_21",
+ "true_next" : "tbl_act_11",
"false_next" : "FabricIngress.bng_ingress.downstream.t_line_session_map"
},
{
- "name" : "node_67",
- "id" : 21,
+ "name" : "node_57",
+ "id" : 19,
"expression" : {
"type" : "expression",
"value" : {
@@ -17744,12 +18802,12 @@
}
}
},
- "true_next" : "tbl_act_24",
- "false_next" : "node_69"
+ "true_next" : "tbl_act_14",
+ "false_next" : "node_59"
},
{
- "name" : "node_69",
- "id" : 22,
+ "name" : "node_59",
+ "id" : 20,
"expression" : {
"type" : "expression",
"value" : {
@@ -17769,11 +18827,11 @@
}
},
"false_next" : null,
- "true_next" : "node_70"
+ "true_next" : "node_60"
},
{
- "name" : "node_70",
- "id" : 23,
+ "name" : "node_60",
+ "id" : 21,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 128,
@@ -17792,11 +18850,11 @@
}
},
"true_next" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v4",
- "false_next" : "node_73"
+ "false_next" : "node_63"
},
{
- "name" : "node_73",
- "id" : 24,
+ "name" : "node_63",
+ "id" : 22,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 136,
@@ -17815,11 +18873,11 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_26"
+ "true_next" : "tbl_act_16"
},
{
- "name" : "node_80",
- "id" : 25,
+ "name" : "node_70",
+ "id" : 23,
"expression" : {
"type" : "expression",
"value" : {
@@ -17832,11 +18890,11 @@
}
},
"false_next" : null,
- "true_next" : "node_81"
+ "true_next" : "node_71"
},
{
- "name" : "node_81",
- "id" : 26,
+ "name" : "node_71",
+ "id" : 24,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 235,
@@ -17855,11 +18913,11 @@
}
},
"true_next" : "FabricIngress.bng_ingress.downstream.t_qos_v4",
- "false_next" : "node_85"
+ "false_next" : "node_75"
},
{
- "name" : "node_85",
- "id" : 27,
+ "name" : "node_75",
+ "id" : 25,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 247,
@@ -17887,15 +18945,15 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},
- "init_table" : "node_91",
+ "init_table" : "node_81",
"tables" : [
{
- "name" : "tbl_act_34",
- "id" : 59,
+ "name" : "tbl_act_24",
+ "id" : 51,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 41,
@@ -17909,22 +18967,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [143],
- "actions" : ["act_34"],
- "base_default_next" : "node_93",
+ "action_ids" : [138],
+ "actions" : ["act_24"],
+ "base_default_next" : "node_83",
"next_tables" : {
- "act_34" : "node_93"
+ "act_24" : "node_83"
},
"default_entry" : {
- "action_id" : 143,
+ "action_id" : 138,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_35",
- "id" : 60,
+ "name" : "tbl_act_25",
+ "id" : 52,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 44,
@@ -17938,22 +18996,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [144],
- "actions" : ["act_35"],
- "base_default_next" : "node_95",
+ "action_ids" : [139],
+ "actions" : ["act_25"],
+ "base_default_next" : "node_85",
"next_tables" : {
- "act_35" : "node_95"
+ "act_25" : "node_85"
},
"default_entry" : {
- "action_id" : 144,
+ "action_id" : 139,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_36",
- "id" : 61,
+ "name" : "tbl_act_26",
+ "id" : 53,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 337,
@@ -17967,14 +19025,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [145],
- "actions" : ["act_36"],
- "base_default_next" : "node_97",
+ "action_ids" : [140],
+ "actions" : ["act_26"],
+ "base_default_next" : "node_87",
"next_tables" : {
- "act_36" : "node_97"
+ "act_26" : "node_87"
},
"default_entry" : {
- "action_id" : 145,
+ "action_id" : 140,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17982,7 +19040,7 @@
},
{
"name" : "tbl_egress_next_pop_mpls_if_present",
- "id" : 62,
+ "id" : 54,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -17996,14 +19054,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [137],
+ "action_ids" : [131],
"actions" : ["FabricEgress.egress_next.pop_mpls_if_present"],
- "base_default_next" : "node_101",
+ "base_default_next" : "node_91",
"next_tables" : {
- "FabricEgress.egress_next.pop_mpls_if_present" : "node_101"
+ "FabricEgress.egress_next.pop_mpls_if_present" : "node_91"
},
"default_entry" : {
- "action_id" : 137,
+ "action_id" : 131,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -18011,7 +19069,7 @@
},
{
"name" : "tbl_egress_next_set_mpls",
- "id" : 63,
+ "id" : 55,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 343,
@@ -18025,14 +19083,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [138],
+ "action_ids" : [132],
"actions" : ["FabricEgress.egress_next.set_mpls"],
- "base_default_next" : "node_101",
+ "base_default_next" : "node_91",
"next_tables" : {
- "FabricEgress.egress_next.set_mpls" : "node_101"
+ "FabricEgress.egress_next.set_mpls" : "node_91"
},
"default_entry" : {
- "action_id" : 138,
+ "action_id" : 132,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -18040,7 +19098,7 @@
},
{
"name" : "tbl_egress_next_push_vlan",
- "id" : 64,
+ "id" : 56,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 349,
@@ -18054,14 +19112,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [139],
+ "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" : 139,
+ "action_id" : 133,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -18069,7 +19127,7 @@
},
{
"name" : "tbl_egress_next_push_inner_vlan",
- "id" : 65,
+ "id" : 57,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 350,
@@ -18083,22 +19141,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [141],
+ "action_ids" : [135],
"actions" : ["FabricEgress.egress_next.push_inner_vlan"],
- "base_default_next" : "node_111",
+ "base_default_next" : "node_101",
"next_tables" : {
- "FabricEgress.egress_next.push_inner_vlan" : "node_111"
+ "FabricEgress.egress_next.push_inner_vlan" : "node_101"
},
"default_entry" : {
- "action_id" : 141,
+ "action_id" : 135,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_37",
- "id" : 66,
+ "name" : "tbl_act_27",
+ "id" : 58,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 353,
@@ -18112,14 +19170,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [148],
- "actions" : ["act_39"],
+ "action_ids" : [143],
+ "actions" : ["act_29"],
"base_default_next" : "FabricEgress.egress_next.egress_vlan",
"next_tables" : {
- "act_39" : "FabricEgress.egress_next.egress_vlan"
+ "act_29" : "FabricEgress.egress_next.egress_vlan"
},
"default_entry" : {
- "action_id" : 148,
+ "action_id" : 143,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -18127,7 +19185,7 @@
},
{
"name" : "FabricEgress.egress_next.egress_vlan",
- "id" : 67,
+ "id" : 59,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 320,
@@ -18154,23 +19212,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [142, 94],
+ "action_ids" : [136, 89],
"actions" : ["FabricEgress.egress_next.pop_vlan", "nop"],
"base_default_next" : null,
"next_tables" : {
- "__HIT__" : "tbl_act_38",
- "__MISS__" : "tbl_act_39"
+ "__HIT__" : "tbl_act_28",
+ "__MISS__" : "tbl_act_29"
},
"default_entry" : {
- "action_id" : 94,
+ "action_id" : 89,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_38",
- "id" : 68,
+ "name" : "tbl_act_28",
+ "id" : 60,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -18178,22 +19236,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [146],
- "actions" : ["act_37"],
- "base_default_next" : "node_108",
+ "action_ids" : [141],
+ "actions" : ["act_27"],
+ "base_default_next" : "node_98",
"next_tables" : {
- "act_37" : "node_108"
+ "act_27" : "node_98"
},
"default_entry" : {
- "action_id" : 146,
+ "action_id" : 141,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_39",
- "id" : 69,
+ "name" : "tbl_act_29",
+ "id" : 61,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -18201,14 +19259,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [147],
- "actions" : ["act_38"],
- "base_default_next" : "node_108",
+ "action_ids" : [142],
+ "actions" : ["act_28"],
+ "base_default_next" : "node_98",
"next_tables" : {
- "act_38" : "node_108"
+ "act_28" : "node_98"
},
"default_entry" : {
- "action_id" : 147,
+ "action_id" : 142,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -18216,7 +19274,7 @@
},
{
"name" : "tbl_egress_next_push_vlan_0",
- "id" : 70,
+ "id" : 62,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 360,
@@ -18230,22 +19288,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [140],
+ "action_ids" : [134],
"actions" : ["FabricEgress.egress_next.push_vlan"],
- "base_default_next" : "node_111",
+ "base_default_next" : "node_101",
"next_tables" : {
- "FabricEgress.egress_next.push_vlan" : "node_111"
+ "FabricEgress.egress_next.push_vlan" : "node_101"
},
"default_entry" : {
- "action_id" : 140,
+ "action_id" : 134,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_40",
- "id" : 71,
+ "name" : "tbl_act_30",
+ "id" : 63,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 369,
@@ -18259,22 +19317,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [150],
- "actions" : ["act_41"],
- "base_default_next" : "node_113",
+ "action_ids" : [145],
+ "actions" : ["act_31"],
+ "base_default_next" : "node_103",
"next_tables" : {
- "act_41" : "node_113"
+ "act_31" : "node_103"
},
"default_entry" : {
- "action_id" : 150,
+ "action_id" : 145,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_41",
- "id" : 72,
+ "name" : "tbl_act_31",
+ "id" : 64,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -18288,22 +19346,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [149],
- "actions" : ["act_40"],
- "base_default_next" : "node_123",
+ "action_ids" : [144],
+ "actions" : ["act_30"],
+ "base_default_next" : "tbl_act_36",
"next_tables" : {
- "act_40" : "node_123"
+ "act_30" : "tbl_act_36"
},
"default_entry" : {
- "action_id" : 149,
+ "action_id" : 144,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_42",
- "id" : 73,
+ "name" : "tbl_act_32",
+ "id" : 65,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 373,
@@ -18317,22 +19375,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [152],
- "actions" : ["act_43"],
- "base_default_next" : "node_117",
+ "action_ids" : [147],
+ "actions" : ["act_33"],
+ "base_default_next" : "node_107",
"next_tables" : {
- "act_43" : "node_117"
+ "act_33" : "node_107"
},
"default_entry" : {
- "action_id" : 152,
+ "action_id" : 147,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_43",
- "id" : 74,
+ "name" : "tbl_act_33",
+ "id" : 66,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -18346,22 +19404,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [151],
- "actions" : ["act_42"],
- "base_default_next" : "node_123",
+ "action_ids" : [146],
+ "actions" : ["act_32"],
+ "base_default_next" : "tbl_act_36",
"next_tables" : {
- "act_42" : "node_123"
+ "act_32" : "tbl_act_36"
},
"default_entry" : {
- "action_id" : 151,
+ "action_id" : 146,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_44",
- "id" : 75,
+ "name" : "tbl_act_34",
+ "id" : 67,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 378,
@@ -18375,22 +19433,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [154],
- "actions" : ["act_45"],
- "base_default_next" : "node_121",
+ "action_ids" : [149],
+ "actions" : ["act_35"],
+ "base_default_next" : "node_111",
"next_tables" : {
- "act_45" : "node_121"
+ "act_35" : "node_111"
},
"default_entry" : {
- "action_id" : 154,
+ "action_id" : 149,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_45",
- "id" : 76,
+ "name" : "tbl_act_35",
+ "id" : 68,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 379,
@@ -18404,14 +19462,95 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [153],
- "actions" : ["act_44"],
- "base_default_next" : "node_123",
+ "action_ids" : [148],
+ "actions" : ["act_34"],
+ "base_default_next" : "tbl_act_36",
"next_tables" : {
- "act_44" : "node_123"
+ "act_34" : "tbl_act_36"
},
"default_entry" : {
- "action_id" : 153,
+ "action_id" : 148,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "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/control/spgw.p4",
+ "line" : 345,
+ "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" : [150],
+ "actions" : ["act_36"],
+ "base_default_next" : "node_116",
+ "next_tables" : {
+ "act_36" : "node_116"
+ },
+ "default_entry" : {
+ "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
@@ -18419,10 +19558,10 @@
},
{
"name" : "tbl_spgw_egress_gtpu_encap",
- "id" : 77,
+ "id" : 72,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 228,
+ "filename" : "include/control/spgw.p4",
+ "line" : 349,
"column" : 12,
"source_fragment" : "gtpu_encap()"
},
@@ -18433,14 +19572,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [97],
+ "action_ids" : [137],
"actions" : ["FabricEgress.spgw_egress.gtpu_encap"],
- "base_default_next" : "node_125",
+ "base_default_next" : "node_120",
"next_tables" : {
- "FabricEgress.spgw_egress.gtpu_encap" : "node_125"
+ "FabricEgress.spgw_egress.gtpu_encap" : "node_120"
},
"default_entry" : {
- "action_id" : 97,
+ "action_id" : 137,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -18448,7 +19587,7 @@
},
{
"name" : "tbl_bng_egress_downstream_encap_v4",
- "id" : 78,
+ "id" : 73,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 297,
@@ -18462,14 +19601,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [98],
+ "action_ids" : [92],
"actions" : ["FabricEgress.bng_egress.downstream.encap_v4"],
- "base_default_next" : "node_130",
+ "base_default_next" : "node_125",
"next_tables" : {
- "FabricEgress.bng_egress.downstream.encap_v4" : "node_130"
+ "FabricEgress.bng_egress.downstream.encap_v4" : "node_125"
},
"default_entry" : {
- "action_id" : 98,
+ "action_id" : 92,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -18477,7 +19616,7 @@
},
{
"name" : "tbl_bng_egress_downstream_encap_v6",
- "id" : 79,
+ "id" : 74,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 302,
@@ -18491,14 +19630,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [99],
+ "action_ids" : [93],
"actions" : ["FabricEgress.bng_egress.downstream.encap_v6"],
- "base_default_next" : "node_130",
+ "base_default_next" : "node_125",
"next_tables" : {
- "FabricEgress.bng_egress.downstream.encap_v6" : "node_130"
+ "FabricEgress.bng_egress.downstream.encap_v6" : "node_125"
},
"default_entry" : {
- "action_id" : 99,
+ "action_id" : 93,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -18506,7 +19645,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_source.tb_int_source",
- "id" : 80,
+ "id" : 75,
"source_info" : {
"filename" : "include/int/int_source.p4",
"line" : 66,
@@ -18545,23 +19684,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [100, 91],
+ "action_ids" : [94, 86],
"actions" : ["FabricEgress.process_int_main.process_int_source.int_source_dscp", "nop"],
- "base_default_next" : "node_133",
+ "base_default_next" : "node_128",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_source.int_source_dscp" : "node_133",
- "nop" : "node_133"
+ "FabricEgress.process_int_main.process_int_source.int_source_dscp" : "node_128",
+ "nop" : "node_128"
},
"default_entry" : {
- "action_id" : 91,
+ "action_id" : 86,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_46",
- "id" : 81,
+ "name" : "tbl_act_39",
+ "id" : 76,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -18569,14 +19708,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [155],
- "actions" : ["act_46"],
+ "action_ids" : [153],
+ "actions" : ["act_39"],
"base_default_next" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert",
"next_tables" : {
- "act_46" : "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" : 155,
+ "action_id" : 153,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -18584,7 +19723,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert",
- "id" : 82,
+ "id" : 77,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 315,
@@ -18605,23 +19744,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [101, 92],
+ "action_ids" : [95, 87],
"actions" : ["FabricEgress.process_int_main.process_int_transit.init_metadata", "nop"],
- "base_default_next" : "node_136",
+ "base_default_next" : "node_131",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_transit.init_metadata" : "node_136",
- "nop" : "node_136"
+ "FabricEgress.process_int_main.process_int_transit.init_metadata" : "node_131",
+ "nop" : "node_131"
},
"default_entry" : {
- "action_id" : 92,
+ "action_id" : 87,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_47",
- "id" : 83,
+ "name" : "tbl_act_40",
+ "id" : 78,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 420,
@@ -18635,14 +19774,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [156],
- "actions" : ["act_47"],
- "base_default_next" : "node_138",
+ "action_ids" : [154],
+ "actions" : ["act_40"],
+ "base_default_next" : "node_133",
"next_tables" : {
- "act_47" : "node_138"
+ "act_40" : "node_133"
},
"default_entry" : {
- "action_id" : 156,
+ "action_id" : 154,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -18650,7 +19789,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0003",
- "id" : 84,
+ "id" : 79,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 331,
@@ -18671,7 +19810,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 95],
+ "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" : {
@@ -18694,7 +19833,7 @@
"NoAction" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407"
},
"default_entry" : {
- "action_id" : 95,
+ "action_id" : 90,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -18714,7 +19853,7 @@
}
],
"action_entry" : {
- "action_id" : 102,
+ "action_id" : 96,
"action_data" : []
},
"priority" : 1
@@ -18733,7 +19872,7 @@
}
],
"action_entry" : {
- "action_id" : 103,
+ "action_id" : 97,
"action_data" : []
},
"priority" : 2
@@ -18752,7 +19891,7 @@
}
],
"action_entry" : {
- "action_id" : 104,
+ "action_id" : 98,
"action_data" : []
},
"priority" : 3
@@ -18771,7 +19910,7 @@
}
],
"action_entry" : {
- "action_id" : 105,
+ "action_id" : 99,
"action_data" : []
},
"priority" : 4
@@ -18790,7 +19929,7 @@
}
],
"action_entry" : {
- "action_id" : 106,
+ "action_id" : 100,
"action_data" : []
},
"priority" : 5
@@ -18809,7 +19948,7 @@
}
],
"action_entry" : {
- "action_id" : 107,
+ "action_id" : 101,
"action_data" : []
},
"priority" : 6
@@ -18828,7 +19967,7 @@
}
],
"action_entry" : {
- "action_id" : 108,
+ "action_id" : 102,
"action_data" : []
},
"priority" : 7
@@ -18847,7 +19986,7 @@
}
],
"action_entry" : {
- "action_id" : 109,
+ "action_id" : 103,
"action_data" : []
},
"priority" : 8
@@ -18866,7 +20005,7 @@
}
],
"action_entry" : {
- "action_id" : 110,
+ "action_id" : 104,
"action_data" : []
},
"priority" : 9
@@ -18885,7 +20024,7 @@
}
],
"action_entry" : {
- "action_id" : 111,
+ "action_id" : 105,
"action_data" : []
},
"priority" : 10
@@ -18904,7 +20043,7 @@
}
],
"action_entry" : {
- "action_id" : 112,
+ "action_id" : 106,
"action_data" : []
},
"priority" : 11
@@ -18923,7 +20062,7 @@
}
],
"action_entry" : {
- "action_id" : 113,
+ "action_id" : 107,
"action_data" : []
},
"priority" : 12
@@ -18942,7 +20081,7 @@
}
],
"action_entry" : {
- "action_id" : 114,
+ "action_id" : 108,
"action_data" : []
},
"priority" : 13
@@ -18961,7 +20100,7 @@
}
],
"action_entry" : {
- "action_id" : 115,
+ "action_id" : 109,
"action_data" : []
},
"priority" : 14
@@ -18980,7 +20119,7 @@
}
],
"action_entry" : {
- "action_id" : 116,
+ "action_id" : 110,
"action_data" : []
},
"priority" : 15
@@ -18999,7 +20138,7 @@
}
],
"action_entry" : {
- "action_id" : 117,
+ "action_id" : 111,
"action_data" : []
},
"priority" : 16
@@ -19008,7 +20147,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407",
- "id" : 85,
+ "id" : 80,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 375,
@@ -19029,30 +20168,30 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 96],
+ "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_48",
+ "base_default_next" : "tbl_act_41",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0" : "tbl_act_48",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1" : "tbl_act_48",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2" : "tbl_act_48",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3" : "tbl_act_48",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4" : "tbl_act_48",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5" : "tbl_act_48",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6" : "tbl_act_48",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7" : "tbl_act_48",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8" : "tbl_act_48",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9" : "tbl_act_48",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10" : "tbl_act_48",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11" : "tbl_act_48",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12" : "tbl_act_48",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13" : "tbl_act_48",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14" : "tbl_act_48",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15" : "tbl_act_48",
- "NoAction" : "tbl_act_48"
+ "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" : 96,
+ "action_id" : 91,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -19072,7 +20211,7 @@
}
],
"action_entry" : {
- "action_id" : 118,
+ "action_id" : 112,
"action_data" : []
},
"priority" : 1
@@ -19091,7 +20230,7 @@
}
],
"action_entry" : {
- "action_id" : 119,
+ "action_id" : 113,
"action_data" : []
},
"priority" : 2
@@ -19110,7 +20249,7 @@
}
],
"action_entry" : {
- "action_id" : 120,
+ "action_id" : 114,
"action_data" : []
},
"priority" : 3
@@ -19129,7 +20268,7 @@
}
],
"action_entry" : {
- "action_id" : 121,
+ "action_id" : 115,
"action_data" : []
},
"priority" : 4
@@ -19148,7 +20287,7 @@
}
],
"action_entry" : {
- "action_id" : 122,
+ "action_id" : 116,
"action_data" : []
},
"priority" : 5
@@ -19167,7 +20306,7 @@
}
],
"action_entry" : {
- "action_id" : 123,
+ "action_id" : 117,
"action_data" : []
},
"priority" : 6
@@ -19186,7 +20325,7 @@
}
],
"action_entry" : {
- "action_id" : 124,
+ "action_id" : 118,
"action_data" : []
},
"priority" : 7
@@ -19205,7 +20344,7 @@
}
],
"action_entry" : {
- "action_id" : 125,
+ "action_id" : 119,
"action_data" : []
},
"priority" : 8
@@ -19224,7 +20363,7 @@
}
],
"action_entry" : {
- "action_id" : 126,
+ "action_id" : 120,
"action_data" : []
},
"priority" : 9
@@ -19243,7 +20382,7 @@
}
],
"action_entry" : {
- "action_id" : 127,
+ "action_id" : 121,
"action_data" : []
},
"priority" : 10
@@ -19262,7 +20401,7 @@
}
],
"action_entry" : {
- "action_id" : 128,
+ "action_id" : 122,
"action_data" : []
},
"priority" : 11
@@ -19281,7 +20420,7 @@
}
],
"action_entry" : {
- "action_id" : 129,
+ "action_id" : 123,
"action_data" : []
},
"priority" : 12
@@ -19300,7 +20439,7 @@
}
],
"action_entry" : {
- "action_id" : 130,
+ "action_id" : 124,
"action_data" : []
},
"priority" : 13
@@ -19319,7 +20458,7 @@
}
],
"action_entry" : {
- "action_id" : 131,
+ "action_id" : 125,
"action_data" : []
},
"priority" : 14
@@ -19338,7 +20477,7 @@
}
],
"action_entry" : {
- "action_id" : 132,
+ "action_id" : 126,
"action_data" : []
},
"priority" : 15
@@ -19357,7 +20496,7 @@
}
],
"action_entry" : {
- "action_id" : 133,
+ "action_id" : 127,
"action_data" : []
},
"priority" : 16
@@ -19365,8 +20504,8 @@
]
},
{
- "name" : "tbl_act_48",
- "id" : 86,
+ "name" : "tbl_act_41",
+ "id" : 81,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 425,
@@ -19380,22 +20519,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [158],
- "actions" : ["act_49"],
- "base_default_next" : "node_142",
+ "action_ids" : [156],
+ "actions" : ["act_42"],
+ "base_default_next" : "node_137",
"next_tables" : {
- "act_49" : "node_142"
+ "act_42" : "node_137"
},
"default_entry" : {
- "action_id" : 158,
+ "action_id" : 156,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_49",
- "id" : 87,
+ "name" : "tbl_act_42",
+ "id" : 82,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 428,
@@ -19409,22 +20548,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [157],
- "actions" : ["act_48"],
- "base_default_next" : "node_144",
+ "action_ids" : [155],
+ "actions" : ["act_41"],
+ "base_default_next" : "node_139",
"next_tables" : {
- "act_48" : "node_144"
+ "act_41" : "node_139"
},
"default_entry" : {
- "action_id" : 157,
+ "action_id" : 155,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_50",
- "id" : 88,
+ "name" : "tbl_act_43",
+ "id" : 83,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 431,
@@ -19438,22 +20577,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [159],
- "actions" : ["act_50"],
- "base_default_next" : "node_146",
+ "action_ids" : [157],
+ "actions" : ["act_43"],
+ "base_default_next" : "node_141",
"next_tables" : {
- "act_50" : "node_146"
+ "act_43" : "node_141"
},
"default_entry" : {
- "action_id" : 159,
+ "action_id" : 157,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_51",
- "id" : 89,
+ "name" : "tbl_act_44",
+ "id" : 84,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 434,
@@ -19467,14 +20606,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [160],
- "actions" : ["act_51"],
- "base_default_next" : "node_148",
+ "action_ids" : [158],
+ "actions" : ["act_44"],
+ "base_default_next" : "node_143",
"next_tables" : {
- "act_51" : "node_148"
+ "act_44" : "node_143"
},
"default_entry" : {
- "action_id" : 160,
+ "action_id" : 158,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19482,7 +20621,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_report.tb_generate_report",
- "id" : 90,
+ "id" : 85,
"source_info" : {
"filename" : "include/int/int_report.p4",
"line" : 86,
@@ -19496,15 +20635,15 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [134, 93],
+ "action_ids" : [128, 88],
"actions" : ["FabricEgress.process_int_main.process_int_report.do_report_encapsulation", "nop"],
- "base_default_next" : "node_150",
+ "base_default_next" : "node_145",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_report.do_report_encapsulation" : "node_150",
- "nop" : "node_150"
+ "FabricEgress.process_int_main.process_int_report.do_report_encapsulation" : "node_145",
+ "nop" : "node_145"
},
"default_entry" : {
- "action_id" : 93,
+ "action_id" : 88,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -19512,7 +20651,7 @@
},
{
"name" : "tbl_process_int_main_process_int_sink_restore_header",
- "id" : 91,
+ "id" : 86,
"source_info" : {
"filename" : "include/int/int_sink.p4",
"line" : 53,
@@ -19526,14 +20665,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [135],
+ "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" : 135,
+ "action_id" : 129,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19541,7 +20680,7 @@
},
{
"name" : "tbl_process_int_main_process_int_sink_int_sink",
- "id" : 92,
+ "id" : 87,
"source_info" : {
"filename" : "include/int/int_sink.p4",
"line" : 54,
@@ -19555,14 +20694,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [136],
+ "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" : 136,
+ "action_id" : 130,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19572,8 +20711,8 @@
"action_profiles" : [],
"conditionals" : [
{
- "name" : "node_91",
- "id" : 28,
+ "name" : "node_81",
+ "id" : 26,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 39,
@@ -19601,12 +20740,12 @@
}
}
},
- "true_next" : "tbl_act_34",
- "false_next" : "node_93"
+ "true_next" : "tbl_act_24",
+ "false_next" : "node_83"
},
{
- "name" : "node_93",
- "id" : 29,
+ "name" : "node_83",
+ "id" : 27,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 43,
@@ -19627,12 +20766,12 @@
}
}
},
- "true_next" : "tbl_act_35",
- "false_next" : "node_95"
+ "true_next" : "tbl_act_25",
+ "false_next" : "node_85"
},
{
- "name" : "node_95",
- "id" : 30,
+ "name" : "node_85",
+ "id" : 28,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 335,
@@ -19680,12 +20819,12 @@
}
}
},
- "true_next" : "tbl_act_36",
- "false_next" : "node_97"
+ "true_next" : "tbl_act_26",
+ "false_next" : "node_87"
},
{
- "name" : "node_97",
- "id" : 31,
+ "name" : "node_87",
+ "id" : 29,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 340,
@@ -19706,12 +20845,12 @@
}
}
},
- "true_next" : "node_98",
+ "true_next" : "node_88",
"false_next" : "tbl_egress_next_set_mpls"
},
{
- "name" : "node_98",
- "id" : 32,
+ "name" : "node_88",
+ "id" : 30,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -19730,11 +20869,11 @@
}
},
"true_next" : "tbl_egress_next_pop_mpls_if_present",
- "false_next" : "node_101"
+ "false_next" : "node_91"
},
{
- "name" : "node_101",
- "id" : 33,
+ "name" : "node_91",
+ "id" : 31,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 347,
@@ -19763,11 +20902,11 @@
}
},
"true_next" : "tbl_egress_next_push_vlan",
- "false_next" : "tbl_act_37"
+ "false_next" : "tbl_act_27"
},
{
- "name" : "node_108",
- "id" : 34,
+ "name" : "node_98",
+ "id" : 32,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 357,
@@ -19792,12 +20931,12 @@
}
}
},
- "true_next" : "node_109",
- "false_next" : "node_111"
+ "true_next" : "node_99",
+ "false_next" : "node_101"
},
{
- "name" : "node_109",
- "id" : 35,
+ "name" : "node_99",
+ "id" : 33,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 359,
@@ -19819,11 +20958,11 @@
}
},
"true_next" : "tbl_egress_next_push_vlan_0",
- "false_next" : "node_111"
+ "false_next" : "node_101"
},
{
- "name" : "node_111",
- "id" : 36,
+ "name" : "node_101",
+ "id" : 34,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 368,
@@ -19841,12 +20980,12 @@
}
}
},
- "true_next" : "tbl_act_40",
- "false_next" : "node_115"
+ "true_next" : "tbl_act_30",
+ "false_next" : "node_105"
},
{
- "name" : "node_113",
- "id" : 37,
+ "name" : "node_103",
+ "id" : 35,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -19867,12 +21006,12 @@
}
}
},
- "true_next" : "tbl_act_41",
- "false_next" : "node_123"
+ "true_next" : "tbl_act_31",
+ "false_next" : "tbl_act_36"
},
{
- "name" : "node_115",
- "id" : 38,
+ "name" : "node_105",
+ "id" : 36,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 372,
@@ -19890,12 +21029,12 @@
}
}
},
- "true_next" : "tbl_act_42",
- "false_next" : "node_119"
+ "true_next" : "tbl_act_32",
+ "false_next" : "node_109"
},
{
- "name" : "node_117",
- "id" : 39,
+ "name" : "node_107",
+ "id" : 37,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -19916,12 +21055,12 @@
}
}
},
- "true_next" : "tbl_act_43",
- "false_next" : "node_123"
+ "true_next" : "tbl_act_33",
+ "false_next" : "tbl_act_36"
},
{
- "name" : "node_119",
- "id" : 40,
+ "name" : "node_109",
+ "id" : 38,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 377,
@@ -19939,12 +21078,12 @@
}
}
},
- "true_next" : "tbl_act_44",
- "false_next" : "node_123"
+ "true_next" : "tbl_act_34",
+ "false_next" : "tbl_act_36"
},
{
- "name" : "node_121",
- "id" : 41,
+ "name" : "node_111",
+ "id" : 39,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 379,
@@ -19965,37 +21104,101 @@
}
}
},
- "true_next" : "tbl_act_45",
- "false_next" : "node_123"
+ "true_next" : "tbl_act_35",
+ "false_next" : "tbl_act_36"
},
{
- "name" : "node_123",
- "id" : 42,
+ "name" : "node_114",
+ "id" : 40,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 227,
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
"column" : 12,
- "source_fragment" : "fabric_meta.spgw.direction == SPGW_DIR_DOWNLINK"
+ "source_fragment" : "fabric_md.spgw.skip_spgw == true"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction19"]
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw32"]
+ }
+ }
},
"right" : {
- "type" : "hexstr",
- "value" : "0x02"
+ "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"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
}
}
},
"true_next" : "tbl_spgw_egress_gtpu_encap",
- "false_next" : "node_125"
+ "false_next" : "node_120"
},
{
- "name" : "node_125",
+ "name" : "node_120",
"id" : 43,
"source_info" : {
"filename" : "include/bng.p4",
@@ -20009,7 +21212,7 @@
"op" : "==",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type24"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
"right" : {
"type" : "hexstr",
@@ -20017,11 +21220,11 @@
}
}
},
- "true_next" : "node_126",
- "false_next" : "node_130"
+ "true_next" : "node_121",
+ "false_next" : "node_125"
},
{
- "name" : "node_126",
+ "name" : "node_121",
"id" : 44,
"source_info" : {
"filename" : "include/bng.p4",
@@ -20041,10 +21244,10 @@
}
},
"true_next" : "tbl_bng_egress_downstream_encap_v4",
- "false_next" : "node_128"
+ "false_next" : "node_123"
},
{
- "name" : "node_128",
+ "name" : "node_123",
"id" : 45,
"source_info" : {
"filename" : "include/bng.p4",
@@ -20064,10 +21267,10 @@
}
},
"true_next" : "tbl_bng_egress_downstream_encap_v6",
- "false_next" : "node_130"
+ "false_next" : "node_125"
},
{
- "name" : "node_130",
+ "name" : "node_125",
"id" : 46,
"source_info" : {
"filename" : "include/int/int_main.p4",
@@ -20144,10 +21347,10 @@
}
},
"false_next" : null,
- "true_next" : "node_131"
+ "true_next" : "node_126"
},
{
- "name" : "node_131",
+ "name" : "node_126",
"id" : 47,
"source_info" : {
"filename" : "include/int/int_main.p4",
@@ -20166,7 +21369,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_source30"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_source44"]
}
}
},
@@ -20177,10 +21380,10 @@
}
},
"true_next" : "FabricEgress.process_int_main.process_int_source.tb_int_source",
- "false_next" : "node_133"
+ "false_next" : "node_128"
},
{
- "name" : "node_133",
+ "name" : "node_128",
"id" : 48,
"source_info" : {
"filename" : "include/int/int_main.p4",
@@ -20200,10 +21403,10 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_46"
+ "true_next" : "tbl_act_39"
},
{
- "name" : "node_136",
+ "name" : "node_131",
"id" : 49,
"source_info" : {
"filename" : "include/int/int_transit.p4",
@@ -20222,7 +21425,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_transit31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_transit45"]
}
}
},
@@ -20232,11 +21435,11 @@
}
}
},
- "true_next" : "tbl_act_47",
- "false_next" : "node_138"
+ "true_next" : "tbl_act_40",
+ "false_next" : "node_133"
},
{
- "name" : "node_138",
+ "name" : "node_133",
"id" : 50,
"expression" : {
"type" : "expression",
@@ -20257,10 +21460,10 @@
}
},
"true_next" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0003",
- "false_next" : "node_148"
+ "false_next" : "node_143"
},
{
- "name" : "node_142",
+ "name" : "node_137",
"id" : 51,
"source_info" : {
"filename" : "include/int/int_transit.p4",
@@ -20279,11 +21482,11 @@
}
}
},
- "true_next" : "tbl_act_49",
- "false_next" : "node_144"
+ "true_next" : "tbl_act_42",
+ "false_next" : "node_139"
},
{
- "name" : "node_144",
+ "name" : "node_139",
"id" : 52,
"source_info" : {
"filename" : "include/int/int_transit.p4",
@@ -20302,11 +21505,11 @@
}
}
},
- "true_next" : "tbl_act_50",
- "false_next" : "node_146"
+ "true_next" : "tbl_act_43",
+ "false_next" : "node_141"
},
{
- "name" : "node_146",
+ "name" : "node_141",
"id" : 53,
"source_info" : {
"filename" : "include/int/int_transit.p4",
@@ -20325,11 +21528,11 @@
}
}
},
- "true_next" : "tbl_act_51",
- "false_next" : "node_148"
+ "true_next" : "tbl_act_44",
+ "false_next" : "node_143"
},
{
- "name" : "node_148",
+ "name" : "node_143",
"id" : 54,
"source_info" : {
"filename" : "include/int/int_main.p4",
@@ -20352,10 +21555,10 @@
}
},
"true_next" : "FabricEgress.process_int_main.process_int_report.tb_generate_report",
- "false_next" : "node_150"
+ "false_next" : "node_145"
},
{
- "name" : "node_150",
+ "name" : "node_145",
"id" : 55,
"source_info" : {
"filename" : "include/int/int_main.p4",
@@ -20374,7 +21577,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_sink32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_sink46"]
}
}
},
@@ -20421,8 +21624,8 @@
"name" : "cksum_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 243,
+ "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 43f5be1..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,48 +3,6 @@
}
tables {
preamble {
- id: 33582731
- name: "FabricIngress.spgw_ingress.dl_sess_lookup"
- alias: "dl_sess_lookup"
- }
- match_fields {
- id: 1
- name: "ipv4_dst"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16804065
- }
- action_refs {
- id: 16819938
- annotations: "@defaultonly"
- scope: DEFAULT_ONLY
- }
- const_default_action_id: 16819938
- direct_resource_ids: 318781522
- size: 1024
-}
-tables {
- preamble {
- id: 33615906
- name: "FabricIngress.spgw_ingress.s1u_filter_table"
- alias: "s1u_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: 33581620
name: "FabricIngress.process_set_source_sink.tb_set_source"
alias: "tb_set_source"
@@ -739,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"
@@ -857,28 +908,6 @@
}
actions {
preamble {
- id: 16804065
- name: "FabricIngress.spgw_ingress.set_dl_sess_info"
- alias: "set_dl_sess_info"
- }
- params {
- id: 1
- name: "teid"
- bitwidth: 32
- }
- params {
- id: 2
- name: "s1u_enb_addr"
- bitwidth: 32
- }
- params {
- id: 3
- name: "s1u_sgw_addr"
- bitwidth: 32
- }
-}
-actions {
- preamble {
id: 16778827
name: "FabricIngress.process_set_source_sink.int_set_source"
alias: "int_set_source"
@@ -1291,6 +1320,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: 16800567
name: "NoAction"
alias: "NoAction"
@@ -1467,6 +1622,17 @@
}
counters {
preamble {
+ id: 302029884
+ name: "FabricIngress.spgw_ingress.pdr_counter"
+ alias: "spgw_ingress.pdr_counter"
+ }
+ spec {
+ unit: BOTH
+ }
+ size: 2048
+}
+counters {
+ preamble {
id: 302046535
name: "FabricEgress.bng_egress.downstream.c_line_tx"
alias: "c_line_tx"
@@ -1476,16 +1642,16 @@
}
size: 8192
}
-direct_counters {
+counters {
preamble {
- id: 318781522
- name: "FabricIngress.spgw_ingress.ue_counter"
- alias: "ue_counter"
+ id: 302012289
+ name: "FabricEgress.spgw_egress.pdr_counter"
+ alias: "spgw_egress.pdr_counter"
}
spec {
unit: BOTH
}
- direct_table_id: 33582731
+ size: 2048
}
direct_counters {
preamble {
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 8bf0be7..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
@@ -27,14 +27,16 @@
["fabric_metadata_t._ip_proto12", 8, false],
["fabric_metadata_t._l4_sport13", 16, false],
["fabric_metadata_t._l4_dport14", 16, false],
- ["fabric_metadata_t._int_meta_source15", 1, false],
- ["fabric_metadata_t._int_meta_transit16", 1, false],
- ["fabric_metadata_t._int_meta_sink17", 1, false],
- ["fabric_metadata_t._int_meta_switch_id18", 32, false],
- ["fabric_metadata_t._int_meta_new_words19", 8, false],
- ["fabric_metadata_t._int_meta_new_bytes20", 16, false],
- ["fabric_metadata_t._int_meta_ig_tstamp21", 32, false],
- ["fabric_metadata_t._int_meta_eg_tstamp22", 32, false],
+ ["fabric_metadata_t._ipv4_src_addr15", 32, false],
+ ["fabric_metadata_t._ipv4_dst_addr16", 32, false],
+ ["fabric_metadata_t._int_meta_source17", 1, false],
+ ["fabric_metadata_t._int_meta_transit18", 1, false],
+ ["fabric_metadata_t._int_meta_sink19", 1, false],
+ ["fabric_metadata_t._int_meta_switch_id20", 32, false],
+ ["fabric_metadata_t._int_meta_new_words21", 8, false],
+ ["fabric_metadata_t._int_meta_new_bytes22", 16, false],
+ ["fabric_metadata_t._int_meta_ig_tstamp23", 32, false],
+ ["fabric_metadata_t._int_meta_eg_tstamp24", 32, false],
["_padding_0", 6, false]
]
},
@@ -828,6 +830,32 @@
"parameters" : [
{
"type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "src_addr"]
+ }
+ ],
+ "op" : "set"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "dst_addr"]
+ }
+ ],
+ "op" : "set"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "field",
"value" : ["scalars", "last_ipv4_dscp_0"]
},
{
@@ -1109,7 +1137,7 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 269,
+ "line" : 268,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
@@ -1472,7 +1500,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_source15"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_source17"]
},
{
"type" : "expression",
@@ -2670,7 +2698,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 157,
+ "line" : 165,
"column" : 36,
"source_fragment" : "4; ..."
}
@@ -3088,7 +3116,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 153,
+ "line" : 161,
"column" : 24,
"source_fragment" : "0x1; ..."
}
@@ -3110,7 +3138,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_transit16"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_transit18"]
},
{
"type" : "expression",
@@ -3139,7 +3167,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id18"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id20"]
},
{
"type" : "runtime_data",
@@ -3237,7 +3265,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -3251,7 +3279,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -3279,7 +3307,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -3293,7 +3321,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -3362,7 +3390,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -3376,7 +3404,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -3404,7 +3432,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -3418,7 +3446,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -3553,7 +3581,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -3567,7 +3595,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -3595,7 +3623,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -3609,7 +3637,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -3723,7 +3751,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -3737,7 +3765,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -3765,7 +3793,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -3779,7 +3807,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -3959,7 +3987,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -3973,7 +4001,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -4001,7 +4029,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -4015,7 +4043,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -4163,7 +4191,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -4177,7 +4205,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -4205,7 +4233,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -4219,7 +4247,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -4433,7 +4461,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -4447,7 +4475,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -4475,7 +4503,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -4489,7 +4517,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -4543,7 +4571,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id18"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id20"]
}
],
"source_info" : {
@@ -4558,7 +4586,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -4572,7 +4600,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -4600,7 +4628,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -4614,7 +4642,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -4734,7 +4762,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id18"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id20"]
}
],
"source_info" : {
@@ -4749,7 +4777,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -4763,7 +4791,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -4791,7 +4819,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -4805,7 +4833,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -4893,7 +4921,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id18"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id20"]
}
],
"source_info" : {
@@ -4908,7 +4936,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -4922,7 +4950,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -4950,7 +4978,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -4964,7 +4992,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -5118,7 +5146,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id18"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id20"]
}
],
"source_info" : {
@@ -5133,7 +5161,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -5147,7 +5175,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -5175,7 +5203,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -5189,7 +5217,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -5322,7 +5350,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id18"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id20"]
}
],
"source_info" : {
@@ -5337,7 +5365,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -5351,7 +5379,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -5379,7 +5407,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -5393,7 +5421,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -5592,7 +5620,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id18"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id20"]
}
],
"source_info" : {
@@ -5607,7 +5635,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -5621,7 +5649,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -5649,7 +5677,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -5663,7 +5691,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -5830,7 +5858,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id18"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id20"]
}
],
"source_info" : {
@@ -5845,7 +5873,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -5859,7 +5887,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -5887,7 +5915,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -5901,7 +5929,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -6134,7 +6162,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id18"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id20"]
}
],
"source_info" : {
@@ -6149,7 +6177,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -6163,7 +6191,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -6191,7 +6219,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -6205,7 +6233,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -6280,7 +6308,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -6294,7 +6322,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -6322,7 +6350,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -6336,7 +6364,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -6424,7 +6452,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -6438,7 +6466,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -6466,7 +6494,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -6480,7 +6508,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -6602,7 +6630,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -6616,7 +6644,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -6644,7 +6672,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -6658,7 +6686,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -6750,7 +6778,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -6764,7 +6792,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -6792,7 +6820,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -6806,7 +6834,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -6932,7 +6960,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -6946,7 +6974,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -6974,7 +7002,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -6988,7 +7016,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -7133,7 +7161,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -7147,7 +7175,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -7175,7 +7203,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -7189,7 +7217,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -7368,7 +7396,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -7382,7 +7410,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -7410,7 +7438,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -7424,7 +7452,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -7493,7 +7521,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -7507,7 +7535,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -7535,7 +7563,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -7549,7 +7577,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -7652,7 +7680,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -7666,7 +7694,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -7694,7 +7722,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -7708,7 +7736,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -7830,7 +7858,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -7844,7 +7872,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -7872,7 +7900,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -7886,7 +7914,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -8042,7 +8070,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -8056,7 +8084,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -8084,7 +8112,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -8098,7 +8126,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -8224,7 +8252,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -8238,7 +8266,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -8266,7 +8294,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -8280,7 +8308,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -8440,7 +8468,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -8454,7 +8482,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -8482,7 +8510,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -8496,7 +8524,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -8675,7 +8703,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -8689,7 +8717,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -8717,7 +8745,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -8731,7 +8759,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -8944,7 +8972,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
{
"type" : "expression",
@@ -8958,7 +8986,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
},
"right" : {
"type" : "hexstr",
@@ -8986,7 +9014,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
{
"type" : "expression",
@@ -9000,7 +9028,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
},
"right" : {
"type" : "hexstr",
@@ -9176,7 +9204,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 112,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -9255,7 +9283,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 111,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -9689,7 +9717,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
}
}
},
@@ -9787,7 +9815,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes22"]
}
}
},
@@ -9836,7 +9864,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words19"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words21"]
}
}
},
@@ -10154,7 +10182,7 @@
{
"match_type" : "lpm",
"name" : "ipv4_dst",
- "target" : ["ipv4", "dst_addr"],
+ "target" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"],
"mask" : null
}
],
@@ -10549,11 +10577,11 @@
"input" : [
{
"type" : "field",
- "value" : ["ipv4", "dst_addr"]
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
},
{
"type" : "field",
- "value" : ["ipv4", "src_addr"]
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
},
{
"type" : "field",
@@ -10653,7 +10681,7 @@
"id" : 3,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -10764,7 +10792,7 @@
"id" : 7,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -10851,7 +10879,7 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},
@@ -12630,7 +12658,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_source15"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_source17"]
}
}
},
@@ -12686,7 +12714,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_transit16"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_transit18"]
}
}
},
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 cb56bf0..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],
@@ -32,19 +29,34 @@
["fabric_metadata_t._ip_proto12", 8, false],
["fabric_metadata_t._l4_sport13", 16, false],
["fabric_metadata_t._l4_dport14", 16, false],
- ["fabric_metadata_t._spgw_direction15", 2, false],
- ["fabric_metadata_t._spgw_ipv4_len16", 16, false],
- ["fabric_metadata_t._spgw_teid17", 32, false],
- ["fabric_metadata_t._spgw_s1u_enb_addr18", 32, false],
- ["fabric_metadata_t._spgw_s1u_sgw_addr19", 32, false],
- ["fabric_metadata_t._int_meta_source20", 1, false],
- ["fabric_metadata_t._int_meta_transit21", 1, false],
- ["fabric_metadata_t._int_meta_sink22", 1, false],
- ["fabric_metadata_t._int_meta_switch_id23", 32, false],
- ["fabric_metadata_t._int_meta_new_words24", 8, false],
- ["fabric_metadata_t._int_meta_new_bytes25", 16, false],
- ["fabric_metadata_t._int_meta_ig_tstamp26", 32, false],
- ["fabric_metadata_t._int_meta_eg_tstamp27", 32, false]
+ ["fabric_metadata_t._ipv4_src_addr15", 32, false],
+ ["fabric_metadata_t._ipv4_dst_addr16", 32, false],
+ ["fabric_metadata_t._inner_l4_sport17", 16, false],
+ ["fabric_metadata_t._inner_l4_dport18", 16, false],
+ ["fabric_metadata_t._spgw_direction19", 2, false],
+ ["fabric_metadata_t._spgw_ipv4_len20", 16, false],
+ ["fabric_metadata_t._spgw_teid21", 32, false],
+ ["fabric_metadata_t._spgw_tunnel_src_port22", 16, false],
+ ["fabric_metadata_t._spgw_tunnel_src_addr23", 32, false],
+ ["fabric_metadata_t._spgw_tunnel_dst_addr24", 32, false],
+ ["fabric_metadata_t._spgw_ctr_id25", 32, false],
+ ["fabric_metadata_t._spgw_far_id26", 32, false],
+ ["fabric_metadata_t._spgw_src_iface27", 8, false],
+ ["fabric_metadata_t._spgw_skip_spgw28", 1, false],
+ ["fabric_metadata_t._spgw_pdr_hit29", 1, false],
+ ["fabric_metadata_t._spgw_far_dropped30", 1, false],
+ ["fabric_metadata_t._spgw_notify_spgwc31", 1, false],
+ ["fabric_metadata_t._spgw_needs_gtpu_encap32", 1, false],
+ ["fabric_metadata_t._spgw_needs_gtpu_decap33", 1, false],
+ ["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]
]
},
{
@@ -364,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
@@ -619,7 +652,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
},
{
"type" : "lookahead",
@@ -657,7 +690,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
}
]
},
@@ -678,7 +711,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
},
{
"type" : "lookahead",
@@ -704,7 +737,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
}
]
},
@@ -814,7 +847,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
},
{
"type" : "lookahead",
@@ -840,7 +873,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
}
]
},
@@ -887,6 +920,32 @@
"parameters" : [
{
"type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "src_addr"]
+ }
+ ],
+ "op" : "set"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "dst_addr"]
+ }
+ ],
+ "op" : "set"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "field",
"value" : ["scalars", "last_ipv4_dscp_0"]
},
{
@@ -1068,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"
}
@@ -1202,7 +1190,7 @@
},
{
"name" : "parse_inner_udp",
- "id" : 13,
+ "id" : 12,
"parser_ops" : [
{
"parameters" : [
@@ -1217,7 +1205,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
},
{
"type" : "field",
@@ -1230,7 +1218,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
},
{
"type" : "field",
@@ -1251,7 +1239,7 @@
},
{
"name" : "parse_int",
- "id" : 14,
+ "id" : 13,
"parser_ops" : [],
"transitions" : [
{
@@ -1275,7 +1263,7 @@
},
{
"name" : "parse_intl4_shim",
- "id" : 15,
+ "id" : 14,
"parser_ops" : [
{
"parameters" : [
@@ -1318,7 +1306,7 @@
},
{
"name" : "parse_int_data",
- "id" : 16,
+ "id" : 15,
"parser_ops" : [],
"transitions" : [
{
@@ -1331,7 +1319,7 @@
},
{
"name" : "parse_intl4_tail",
- "id" : 17,
+ "id" : 16,
"parser_ops" : [
{
"parameters" : [
@@ -1362,30 +1350,18 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 269,
+ "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.ue_counter",
- "id" : 0,
- "is_direct" : true,
- "binding" : "FabricIngress.spgw_ingress.dl_sess_lookup",
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 52,
- "column" : 50,
- "source_fragment" : "ue_counter"
- }
- },
- {
"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" : {
@@ -1397,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" : {
@@ -1409,7 +1385,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier_counter",
- "id" : 3,
+ "id" : 2,
"is_direct" : true,
"binding" : "FabricIngress.filtering.fwd_classifier",
"source_info" : {
@@ -1421,7 +1397,7 @@
},
{
"name" : "FabricIngress.forwarding.bridging_counter",
- "id" : 4,
+ "id" : 3,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.bridging",
"source_info" : {
@@ -1433,7 +1409,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls_counter",
- "id" : 5,
+ "id" : 4,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.mpls",
"source_info" : {
@@ -1445,7 +1421,7 @@
},
{
"name" : "FabricIngress.acl.acl_counter",
- "id" : 6,
+ "id" : 5,
"is_direct" : true,
"binding" : "FabricIngress.acl.acl",
"source_info" : {
@@ -1457,7 +1433,7 @@
},
{
"name" : "FabricIngress.next.next_vlan_counter",
- "id" : 7,
+ "id" : 6,
"is_direct" : true,
"binding" : "FabricIngress.next.next_vlan",
"source_info" : {
@@ -1469,7 +1445,7 @@
},
{
"name" : "FabricIngress.next.xconnect_counter",
- "id" : 8,
+ "id" : 7,
"is_direct" : true,
"binding" : "FabricIngress.next.xconnect",
"source_info" : {
@@ -1481,7 +1457,7 @@
},
{
"name" : "FabricIngress.next.hashed_counter",
- "id" : 9,
+ "id" : 8,
"is_direct" : true,
"binding" : "FabricIngress.next.hashed",
"source_info" : {
@@ -1493,7 +1469,7 @@
},
{
"name" : "FabricIngress.next.multicast_counter",
- "id" : 10,
+ "id" : 9,
"is_direct" : true,
"binding" : "FabricIngress.next.multicast",
"source_info" : {
@@ -1505,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,
@@ -1517,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,
@@ -1528,6 +1504,18 @@
"is_direct" : false
},
{
+ "name" : "FabricIngress.spgw_ingress.pdr_counter",
+ "id" : 12,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 182,
+ "column" : 53,
+ "source_fragment" : "pdr_counter"
+ },
+ "size" : 2048,
+ "is_direct" : false
+ },
+ {
"name" : "FabricEgress.process_int_main.process_int_source.counter_int_source",
"id" : 13,
"is_direct" : true,
@@ -1550,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" : [],
@@ -1619,8 +1619,8 @@
"name" : "calc_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 243,
+ "filename" : "include/control/spgw.p4",
+ "line" : 364,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
@@ -1789,157 +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" : "FabricIngress.spgw_ingress.gtpu_decap",
- "id" : 10,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 56,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 57,
- "column" : 8,
- "source_fragment" : "gtpu_udp.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 58,
- "column" : 8,
- "source_fragment" : "gtpu.setInvalid()"
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_dl_sess_info",
- "id" : 11,
- "runtime_data" : [
- {
- "name" : "teid",
- "bitwidth" : 32
- },
- {
- "name" : "s1u_enb_addr",
- "bitwidth" : 32
- },
- {
- "name" : "s1u_sgw_addr",
- "bitwidth" : 32
- }
- ],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid17"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 64,
- "column" : 30,
- "source_fragment" : "= teid; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_s1u_enb_addr18"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 65,
- "column" : 38,
- "source_fragment" : "= s1u_enb_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_s1u_sgw_addr19"]
- },
- {
- "type" : "runtime_data",
- "value" : 2
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 66,
- "column" : 38,
- "source_fragment" : "= s1u_sgw_addr; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.process_set_source_sink.int_set_source",
- "id" : 12,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_source20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_source34"]
},
{
"type" : "expression",
@@ -1967,7 +1826,7 @@
},
{
"name" : "FabricIngress.filtering.deny",
- "id" : 13,
+ "id" : 9,
"runtime_data" : [],
"primitives" : [
{
@@ -2032,13 +1891,13 @@
},
{
"name" : "FabricIngress.filtering.permit",
- "id" : 14,
+ "id" : 10,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.filtering.permit_with_internal_vlan",
- "id" : 15,
+ "id" : 11,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -2069,7 +1928,7 @@
},
{
"name" : "FabricIngress.filtering.set_forwarding_type",
- "id" : 16,
+ "id" : 12,
"runtime_data" : [
{
"name" : "fwd_type",
@@ -2100,7 +1959,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_bridging",
- "id" : 17,
+ "id" : 13,
"runtime_data" : [
{
"name" : "next_id",
@@ -2131,7 +1990,7 @@
},
{
"name" : "FabricIngress.forwarding.pop_mpls_and_next",
- "id" : 18,
+ "id" : 14,
"runtime_data" : [
{
"name" : "next_id",
@@ -2181,7 +2040,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_routing_v4",
- "id" : 19,
+ "id" : 15,
"runtime_data" : [
{
"name" : "next_id",
@@ -2212,13 +2071,13 @@
},
{
"name" : "FabricIngress.forwarding.nop_routing_v4",
- "id" : 20,
+ "id" : 16,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.acl.set_next_id_acl",
- "id" : 21,
+ "id" : 17,
"runtime_data" : [
{
"name" : "next_id",
@@ -2249,7 +2108,7 @@
},
{
"name" : "FabricIngress.acl.punt_to_cpu",
- "id" : 22,
+ "id" : 18,
"runtime_data" : [],
"primitives" : [
{
@@ -2304,7 +2163,7 @@
},
{
"name" : "FabricIngress.acl.set_clone_session_id",
- "id" : 23,
+ "id" : 19,
"runtime_data" : [
{
"name" : "clone_id",
@@ -2335,7 +2194,7 @@
},
{
"name" : "FabricIngress.acl.drop",
- "id" : 24,
+ "id" : 20,
"runtime_data" : [],
"primitives" : [
{
@@ -2386,13 +2245,13 @@
},
{
"name" : "FabricIngress.acl.nop_acl",
- "id" : 25,
+ "id" : 21,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.next.set_vlan",
- "id" : 26,
+ "id" : 22,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -2423,7 +2282,7 @@
},
{
"name" : "FabricIngress.next.output_xconnect",
- "id" : 27,
+ "id" : 23,
"runtime_data" : [
{
"name" : "port_num",
@@ -2454,7 +2313,7 @@
},
{
"name" : "FabricIngress.next.set_next_id_xconnect",
- "id" : 28,
+ "id" : 24,
"runtime_data" : [
{
"name" : "next_id",
@@ -2485,7 +2344,7 @@
},
{
"name" : "FabricIngress.next.output_hashed",
- "id" : 29,
+ "id" : 25,
"runtime_data" : [
{
"name" : "port_num",
@@ -2516,7 +2375,7 @@
},
{
"name" : "FabricIngress.next.routing_hashed",
- "id" : 30,
+ "id" : 26,
"runtime_data" : [
{
"name" : "port_num",
@@ -2593,7 +2452,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_hashed",
- "id" : 31,
+ "id" : 27,
"runtime_data" : [
{
"name" : "port_num",
@@ -2693,7 +2552,7 @@
},
{
"name" : "FabricIngress.next.set_mcast_group_id",
- "id" : 32,
+ "id" : 28,
"runtime_data" : [
{
"name" : "group_id",
@@ -2752,16 +2611,126 @@
]
},
{
- "name" : "act",
- "id" : 33,
- "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",
@@ -2779,47 +2748,10 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 30,
- "column" : 32,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_0",
- "id" : 34,
- "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; ..."
}
},
{
@@ -2827,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",
@@ -2838,85 +2867,600 @@
"left" : null,
"right" : {
"type" : "bool",
- "value" : false
+ "value" : true
}
}
}
}
- ]
- }
- ]
- },
- {
- "name" : "act_1",
- "id" : 35,
- "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" : 35,
- "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" : 36,
- "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" : 37,
- "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" : 37,
- "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" : 31,
- "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; ..."
}
},
{
@@ -2932,10 +3476,55 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 32,
- "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()"
}
},
{
@@ -2943,24 +3532,647 @@
"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" : 33,
- "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",
+ "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" : [
@@ -3040,7 +4252,7 @@
]
},
{
- "name" : "act_5",
+ "name" : "act_0",
"id" : 39,
"runtime_data" : [],
"primitives" : [
@@ -3049,6 +4261,189 @@
"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" : 44,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
"value" : ["scalars", "fabric_metadata_t._vlan_id1"]
},
{
@@ -3105,7 +4500,7 @@
},
{
"name" : "act_6",
- "id" : 40,
+ "id" : 45,
"runtime_data" : [],
"primitives" : [
{
@@ -3131,144 +4526,6 @@
},
{
"name" : "act_7",
- "id" : 41,
- "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" : true
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_8",
- "id" : 42,
- "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" : 43,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "mark_to_drop",
- "parameters" : [
- {
- "type" : "header",
- "value" : "standard_metadata"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 149,
- "column" : 16,
- "source_fragment" : "mark_to_drop(standard_metadata)"
- }
- }
- ]
- },
- {
- "name" : "act_10",
- "id" : 44,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction15"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 147,
- "column" : 36,
- "source_fragment" : "2w1; ..."
- }
- }
- ]
- },
- {
- "name" : "act_11",
- "id" : 45,
- "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" : 46,
"runtime_data" : [],
"primitives" : [
@@ -3277,174 +4534,7 @@
"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" : 47,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction15"]
- },
- {
- "type" : "hexstr",
- "value" : "0x02"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 148,
- "column" : 38,
- "source_fragment" : "2w2; ..."
- }
- }
- ]
- },
- {
- "name" : "act_14",
- "id" : 48,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction15"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 146,
- "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" : 158,
- "column" : 12,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_15",
- "id" : 49,
- "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" : 50,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len16"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "total_len"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 175,
- "column" : 34,
- "source_fragment" : "= ipv4.total_len; ..."
- }
- }
- ]
- },
- {
- "name" : "act_17",
- "id" : 51,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
},
{
"type" : "expression",
@@ -3480,7 +4570,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
}
],
"source_info" : {
@@ -3493,8 +4583,8 @@
]
},
{
- "name" : "act_18",
- "id" : 52,
+ "name" : "act_8",
+ "id" : 47,
"runtime_data" : [],
"primitives" : [
{
@@ -3502,7 +4592,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
},
{
"type" : "expression",
@@ -3538,7 +4628,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
}
],
"source_info" : {
@@ -3552,629 +4642,37 @@
},
{
"name" : "nop",
- "id" : 53,
+ "id" : 48,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "nop",
- "id" : 54,
+ "id" : 49,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "nop",
- "id" : 55,
+ "id" : 50,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
- "id" : 56,
+ "id" : 51,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
- "id" : 57,
+ "id" : 52,
"runtime_data" : [],
"primitives" : []
},
{
- "name" : "FabricEgress.spgw_egress.gtpu_encap",
- "id" : 58,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 191,
- "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" : 192,
- "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" : 129,
- "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" : 194,
- "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" : 195,
- "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" : 196,
- "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" : 198,
- "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" : 199,
- "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" : 200,
- "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" : 142,
- "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" : 126,
- "column" : 25,
- "source_fragment" : "17; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dst_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_s1u_enb_addr18"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 203,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.dst_addr = fabric_meta.spgw.s1u_enb_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "src_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_s1u_sgw_addr19"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 204,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.src_addr = fabric_meta.spgw.s1u_sgw_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "hdr_checksum"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 205,
- "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" : 207,
- "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" : 208,
- "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" : 209,
- "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_len16"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0010"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 210,
- "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" : 212,
- "column" : 8,
- "source_fragment" : "gtpu_udp.checksum = 0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 214,
- "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" : 215,
- "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" : 216,
- "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" : 217,
- "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" : 218,
- "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" : 219,
- "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" : 220,
- "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" : 221,
- "column" : 8,
- "source_fragment" : "gtpu.msgtype = 0xff"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "msglen"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len16"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 222,
- "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_teid17"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 223,
- "column" : 8,
- "source_fragment" : "gtpu.teid = fabric_meta.spgw.teid; ..."
- }
- }
- ]
- },
- {
"name" : "FabricEgress.process_int_main.process_int_source.int_source_dscp",
- "id" : 59,
+ "id" : 53,
"runtime_data" : [
{
"name" : "max_hop",
@@ -4242,7 +4740,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 157,
+ "line" : 165,
"column" : 36,
"source_fragment" : "4; ..."
}
@@ -4660,7 +5158,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 153,
+ "line" : 161,
"column" : 24,
"source_fragment" : "0x1; ..."
}
@@ -4669,7 +5167,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.init_metadata",
- "id" : 60,
+ "id" : 54,
"runtime_data" : [
{
"name" : "switch_id",
@@ -4682,7 +5180,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_transit21"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_transit35"]
},
{
"type" : "expression",
@@ -4711,7 +5209,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id23"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
},
{
"type" : "runtime_data",
@@ -4729,13 +5227,13 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i0",
- "id" : 61,
+ "id" : 55,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i1",
- "id" : 62,
+ "id" : 56,
"runtime_data" : [],
"primitives" : [
{
@@ -4809,7 +5307,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -4823,7 +5321,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -4851,7 +5349,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -4865,7 +5363,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -4892,7 +5390,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i2",
- "id" : 63,
+ "id" : 57,
"runtime_data" : [],
"primitives" : [
{
@@ -4934,7 +5432,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -4948,7 +5446,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -4976,7 +5474,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -4990,7 +5488,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -5017,6 +5515,1202 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i3",
+ "id" : 58,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_occupancy"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 60,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 62,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_id = 8w0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_occupancy"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_qdepth"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 63,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_occupancy = (bit<24>) smeta.deq_qdepth"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_hop_latency"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 54,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_hop_latency", "hop_latency"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 55,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) smeta.deq_timedelta"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x02"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 103,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0008"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 104,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i4",
+ "id" : 59,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 48,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 49,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 97,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 1; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0004"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 98,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 4; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i5",
+ "id" : 60,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_occupancy"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 60,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 62,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_id = 8w0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_occupancy"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_qdepth"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 63,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_occupancy = (bit<24>) smeta.deq_qdepth"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 48,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 49,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x02"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 103,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0008"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 104,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i6",
+ "id" : 61,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_hop_latency"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 54,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_hop_latency", "hop_latency"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 55,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) smeta.deq_timedelta"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 48,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 49,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x02"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 103,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0008"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 104,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i7",
+ "id" : 62,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_occupancy"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 60,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 62,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_id = 8w0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_occupancy", "q_occupancy"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_qdepth"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 63,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_occupancy.q_occupancy = (bit<24>) smeta.deq_qdepth"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_hop_latency"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 54,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_hop_latency", "hop_latency"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 55,
+ "column" : 8,
+ "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) smeta.deq_timedelta"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 48,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 49,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x03"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 109,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x000c"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 110,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i8",
+ "id" : 63,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 42,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 97,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 1; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0004"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 98,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 4; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i9",
"id" : 64,
"runtime_data" : [],
"primitives" : [
@@ -5091,6 +6785,131 @@
"parameters" : [
{
"type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 42,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x02"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 103,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0008"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 104,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i10",
+ "id" : 65,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "int_hop_latency"
}
],
@@ -5121,11 +6940,45 @@
}
},
{
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 42,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -5139,7 +6992,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -5167,7 +7020,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -5181,7 +7034,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -5207,177 +7060,7 @@
]
},
{
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i4",
- "id" : 65,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_port_ids"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 47,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "ingress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "ingress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 48,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "egress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "egress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 49,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x01"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 1; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0004"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 98,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 4; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i5",
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i11",
"id" : 66,
"runtime_data" : [],
"primitives" : [
@@ -5452,176 +7135,6 @@
"parameters" : [
{
"type" : "header",
- "value" : "int_port_ids"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 47,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "ingress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "ingress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 48,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "egress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "egress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 49,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 103,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0008"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 104,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i6",
- "id" : 67,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
"value" : "int_hop_latency"
}
],
@@ -5656,6 +7169,131 @@
"parameters" : [
{
"type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 42,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x03"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 109,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x000c"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 110,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i12",
+ "id" : 67,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "int_port_ids"
}
],
@@ -5731,11 +7369,45 @@
}
},
{
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 42,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -5749,7 +7421,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -5777,7 +7449,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -5791,7 +7463,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -5817,7 +7489,7 @@
]
},
{
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i7",
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i13",
"id" : 68,
"runtime_data" : [],
"primitives" : [
@@ -5892,6 +7564,210 @@
"parameters" : [
{
"type" : "header",
+ "value" : "int_port_ids"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 47,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "ingress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "ingress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 48,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_port_ids", "egress_port_id"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "egress_port"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 49,
+ "column" : 8,
+ "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 42,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x03"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 109,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x000c"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 110,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i14",
+ "id" : 69,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "int_hop_latency"
}
],
@@ -6001,11 +7877,45 @@
}
},
{
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_switch_id"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 41,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.setValid()"
+ }
+ },
+ {
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["int_switch_id", "switch_id"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 42,
+ "column" : 8,
+ "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -6019,7 +7929,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -6047,7 +7957,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -6061,7 +7971,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -6087,132 +7997,7 @@
]
},
{
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i8",
- "id" : 69,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_switch_id"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 41,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_switch_id", "switch_id"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id23"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 42,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x01"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 1; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0004"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 98,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 4; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i9",
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i15",
"id" : 70,
"runtime_data" : [],
"primitives" : [
@@ -6287,989 +8072,6 @@
"parameters" : [
{
"type" : "header",
- "value" : "int_switch_id"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 41,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_switch_id", "switch_id"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id23"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 42,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 103,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0008"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 104,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i10",
- "id" : 71,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_hop_latency"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 54,
- "column" : 8,
- "source_fragment" : "hdr.int_hop_latency.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_hop_latency", "hop_latency"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "deq_timedelta"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 55,
- "column" : 8,
- "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) smeta.deq_timedelta"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_switch_id"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 41,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_switch_id", "switch_id"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id23"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 42,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 103,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0008"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 104,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i11",
- "id" : 72,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_q_occupancy"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 60,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_occupancy", "q_id"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 62,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.q_id = 8w0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_occupancy", "q_occupancy"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "deq_qdepth"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 63,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.q_occupancy = (bit<24>) smeta.deq_qdepth"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_hop_latency"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 54,
- "column" : 8,
- "source_fragment" : "hdr.int_hop_latency.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_hop_latency", "hop_latency"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "deq_timedelta"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 55,
- "column" : 8,
- "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) smeta.deq_timedelta"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_switch_id"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 41,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_switch_id", "switch_id"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id23"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 42,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x03"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 109,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x000c"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 110,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i12",
- "id" : 73,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_port_ids"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 47,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "ingress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "ingress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 48,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "egress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "egress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 49,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_switch_id"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 41,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_switch_id", "switch_id"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id23"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 42,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 103,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0008"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 104,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i13",
- "id" : 74,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_q_occupancy"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 60,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_occupancy", "q_id"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 62,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.q_id = 8w0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_occupancy", "q_occupancy"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "deq_qdepth"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 63,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.q_occupancy = (bit<24>) smeta.deq_qdepth"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_port_ids"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 47,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "ingress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "ingress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 48,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "egress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "egress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 49,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_switch_id"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 41,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_switch_id", "switch_id"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id23"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 42,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x03"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 109,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x000c"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 110,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i14",
- "id" : 75,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
"value" : "int_hop_latency"
}
],
@@ -7402,7 +8204,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id23"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -7417,7 +8219,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -7431,311 +8233,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x03"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 109,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x000c"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 110,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i15",
- "id" : 76,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_q_occupancy"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 60,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_occupancy", "q_id"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 62,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.q_id = 8w0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_occupancy", "q_occupancy"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "deq_qdepth"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 63,
- "column" : 8,
- "source_fragment" : "hdr.int_q_occupancy.q_occupancy = (bit<24>) smeta.deq_qdepth"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_hop_latency"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 54,
- "column" : 8,
- "source_fragment" : "hdr.int_hop_latency.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_hop_latency", "hop_latency"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "deq_timedelta"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 55,
- "column" : 8,
- "source_fragment" : "hdr.int_hop_latency.hop_latency = (bit<32>) smeta.deq_timedelta"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_port_ids"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 47,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "ingress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "ingress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 48,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.ingress_port_id = (bit<16>) smeta.ingress_port"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_port_ids", "egress_port_id"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "egress_port"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 49,
- "column" : 8,
- "source_fragment" : "hdr.int_port_ids.egress_port_id = (bit<16>) smeta.egress_port"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_switch_id"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 41,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_switch_id", "switch_id"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id23"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 42,
- "column" : 8,
- "source_fragment" : "hdr.int_switch_id.switch_id = fmeta.int_meta.switch_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -7763,7 +8261,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -7777,7 +8275,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -7804,13 +8302,13 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0",
- "id" : 77,
+ "id" : 71,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1",
- "id" : 78,
+ "id" : 72,
"runtime_data" : [],
"primitives" : [
{
@@ -7852,7 +8350,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -7866,7 +8364,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -7894,7 +8392,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -7908,7 +8406,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -7935,7 +8433,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2",
- "id" : 79,
+ "id" : 73,
"runtime_data" : [],
"primitives" : [
{
@@ -7996,7 +8494,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -8010,7 +8508,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -8038,7 +8536,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -8052,7 +8550,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -8079,6 +8577,1075 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3",
+ "id" : 74,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tx_util"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 88,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tx_util", "egress_port_tx_util"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 90,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = 32w0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_congestion"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 80,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 82,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_id = 8w0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_congestion"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 83,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_congestion = 24w0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x02"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 103,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0008"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 104,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4",
+ "id" : 75,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 74,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 75,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 97,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 1; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0004"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 98,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 4; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5",
+ "id" : 76,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tx_util"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 88,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tx_util", "egress_port_tx_util"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 90,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = 32w0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 74,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 75,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x02"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 103,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0008"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 104,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6",
+ "id" : 77,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_congestion"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 80,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 82,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_id = 8w0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_congestion"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 83,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_congestion = 24w0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 74,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 75,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x02"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 103,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0008"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 104,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7",
+ "id" : 78,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tx_util"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 88,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tx_util", "egress_port_tx_util"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 90,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = 32w0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_q_congestion"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 80,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_id"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 82,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_id = 8w0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_q_congestion", "q_congestion"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x000000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 83,
+ "column" : 8,
+ "source_fragment" : "hdr.int_q_congestion.q_congestion = 24w0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 74,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 75,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x03"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 109,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x000c"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 110,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8",
+ "id" : 79,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 68,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 69,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 97,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 1; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0004"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 98,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 4; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9",
"id" : 80,
"runtime_data" : [],
"primitives" : [
@@ -8121,6 +9688,131 @@
"parameters" : [
{
"type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 68,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 69,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x02"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 103,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0008"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 104,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10",
+ "id" : 81,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "int_q_congestion"
}
],
@@ -8170,11 +9862,45 @@
}
},
{
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 68,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 69,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -8188,7 +9914,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -8216,7 +9942,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -8230,7 +9956,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -8256,155 +9982,7 @@
]
},
{
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4",
- "id" : 81,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_egress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 74,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_egress_tstamp", "egress_tstamp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- },
- "right" : {
- "type" : "field",
- "value" : ["standard_metadata", "deq_timedelta"]
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 75,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x01"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 1; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0004"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 98,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 4; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5",
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11",
"id" : 82,
"runtime_data" : [],
"primitives" : [
@@ -8447,154 +10025,6 @@
"parameters" : [
{
"type" : "header",
- "value" : "int_egress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 74,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_egress_tstamp", "egress_tstamp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- },
- "right" : {
- "type" : "field",
- "value" : ["standard_metadata", "deq_timedelta"]
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 75,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 103,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0008"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 104,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6",
- "id" : 83,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
"value" : "int_q_congestion"
}
],
@@ -8648,6 +10078,131 @@
"parameters" : [
{
"type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 68,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 69,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x03"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 109,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x000c"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 110,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12",
+ "id" : 83,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "int_egress_tstamp"
}
],
@@ -8701,11 +10256,45 @@
}
},
{
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 68,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 69,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -8719,7 +10308,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -8747,7 +10336,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -8761,7 +10350,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -8787,7 +10376,7 @@
]
},
{
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7",
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13",
"id" : 84,
"runtime_data" : [],
"primitives" : [
@@ -8830,6 +10419,188 @@
"parameters" : [
{
"type" : "header",
+ "value" : "int_egress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 74,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_egress_tstamp", "egress_tstamp"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ },
+ "right" : {
+ "type" : "field",
+ "value" : ["standard_metadata", "deq_timedelta"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffffffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 75,
+ "column" : 8,
+ "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "int_ingress_tstamp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 68,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["int_ingress_tstamp", "ingress_tstamp"]
+ },
+ {
+ "type" : "field",
+ "value" : ["standard_metadata", "enq_timestamp"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 69,
+ "column" : 8,
+ "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x03"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 109,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x000c"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/int/int_transit.p4",
+ "line" : 110,
+ "column" : 33,
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14",
+ "id" : 85,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "int_q_congestion"
}
],
@@ -8936,97 +10707,6 @@
}
},
{
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x03"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 109,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x000c"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 110,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8",
- "id" : 85,
- "runtime_data" : [],
- "primitives" : [
- {
"op" : "add_header",
"parameters" : [
{
@@ -9065,7 +10745,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -9079,11 +10759,11 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
- "value" : "0x01"
+ "value" : "0x03"
}
}
},
@@ -9097,9 +10777,9 @@
],
"source_info" : {
"filename" : "include/int/int_transit.p4",
- "line" : 97,
+ "line" : 109,
"column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 1; ..."
+ "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
}
},
{
@@ -9107,7 +10787,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -9121,11 +10801,11 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
- "value" : "0x0004"
+ "value" : "0x000c"
}
}
},
@@ -9139,15 +10819,15 @@
],
"source_info" : {
"filename" : "include/int/int_transit.p4",
- "line" : 98,
+ "line" : 110,
"column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 4; ..."
+ "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
}
}
]
},
{
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9",
+ "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15",
"id" : 86,
"runtime_data" : [],
"primitives" : [
@@ -9190,919 +10870,6 @@
"parameters" : [
{
"type" : "header",
- "value" : "int_ingress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_ingress_tstamp", "ingress_tstamp"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 103,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0008"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 104,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10",
- "id" : 87,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_q_congestion"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 80,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_congestion", "q_id"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 82,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.q_id = 8w0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_congestion", "q_congestion"]
- },
- {
- "type" : "hexstr",
- "value" : "0x000000"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 83,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.q_congestion = 24w0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_ingress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_ingress_tstamp", "ingress_tstamp"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 103,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0008"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 104,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11",
- "id" : 88,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_egress_tx_util"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 88,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tx_util.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_egress_tx_util", "egress_port_tx_util"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00000000"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 90,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = 32w0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_q_congestion"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 80,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_congestion", "q_id"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 82,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.q_id = 8w0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_congestion", "q_congestion"]
- },
- {
- "type" : "hexstr",
- "value" : "0x000000"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 83,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.q_congestion = 24w0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_ingress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_ingress_tstamp", "ingress_tstamp"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x03"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 109,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x000c"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 110,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12",
- "id" : 89,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_egress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 74,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_egress_tstamp", "egress_tstamp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- },
- "right" : {
- "type" : "field",
- "value" : ["standard_metadata", "deq_timedelta"]
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 75,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_ingress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_ingress_tstamp", "ingress_tstamp"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 103,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 2; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0008"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 104,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 8; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13",
- "id" : 90,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_egress_tx_util"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 88,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tx_util.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_egress_tx_util", "egress_port_tx_util"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00000000"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 90,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = 32w0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_egress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 74,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_egress_tstamp", "egress_tstamp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- },
- "right" : {
- "type" : "field",
- "value" : ["standard_metadata", "deq_timedelta"]
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 75,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_ingress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_ingress_tstamp", "ingress_tstamp"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x03"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 109,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x000c"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 110,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14",
- "id" : 91,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
"value" : "int_q_congestion"
}
],
@@ -10247,7 +11014,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -10261,276 +11028,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x03"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 109,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_words + 3; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x000c"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 110,
- "column" : 33,
- "source_fragment" : "= fmeta.int_meta.new_bytes + 12; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15",
- "id" : 92,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_egress_tx_util"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 88,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tx_util.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_egress_tx_util", "egress_port_tx_util"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00000000"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 90,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = 32w0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_q_congestion"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 80,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_congestion", "q_id"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 82,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.q_id = 8w0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_q_congestion", "q_congestion"]
- },
- {
- "type" : "hexstr",
- "value" : "0x000000"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 83,
- "column" : 8,
- "source_fragment" : "hdr.int_q_congestion.q_congestion = 24w0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_egress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 74,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_egress_tstamp", "egress_tstamp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- },
- "right" : {
- "type" : "field",
- "value" : ["standard_metadata", "deq_timedelta"]
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 75,
- "column" : 8,
- "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = (bit<32>) smeta.enq_timestamp + (bit<32>) smeta.deq_timedelta"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "int_ingress_tstamp"
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["int_ingress_tstamp", "ingress_tstamp"]
- },
- {
- "type" : "field",
- "value" : ["standard_metadata", "enq_timestamp"]
- }
- ],
- "source_info" : {
- "filename" : "include/int/int_transit.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = (bit<32>) smeta.enq_timestamp"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -10558,7 +11056,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -10572,7 +11070,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -10599,7 +11097,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_mpls_if_present",
- "id" : 93,
+ "id" : 87,
"runtime_data" : [],
"primitives" : [
{
@@ -10640,7 +11138,7 @@
},
{
"name" : "FabricEgress.egress_next.set_mpls",
- "id" : 94,
+ "id" : 88,
"runtime_data" : [],
"primitives" : [
{
@@ -10748,7 +11246,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 112,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -10757,7 +11255,7 @@
},
{
"name" : "FabricEgress.egress_next.push_vlan",
- "id" : 95,
+ "id" : 89,
"runtime_data" : [],
"primitives" : [
{
@@ -10827,7 +11325,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 111,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -10855,7 +11353,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_vlan",
- "id" : 96,
+ "id" : 90,
"runtime_data" : [],
"primitives" : [
{
@@ -10876,8 +11374,600 @@
]
},
{
- "name" : "act_19",
- "id" : 97,
+ "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" : [
{
@@ -10893,8 +11983,8 @@
]
},
{
- "name" : "act_20",
- "id" : 98,
+ "name" : "act_10",
+ "id" : 93,
"runtime_data" : [],
"primitives" : [
{
@@ -10944,8 +12034,8 @@
]
},
{
- "name" : "act_21",
- "id" : 99,
+ "name" : "act_11",
+ "id" : 94,
"runtime_data" : [],
"primitives" : [
{
@@ -10966,8 +12056,8 @@
]
},
{
- "name" : "act_22",
- "id" : 100,
+ "name" : "act_12",
+ "id" : 95,
"runtime_data" : [],
"primitives" : [
{
@@ -10996,8 +12086,8 @@
]
},
{
- "name" : "act_23",
- "id" : 101,
+ "name" : "act_13",
+ "id" : 96,
"runtime_data" : [],
"primitives" : [
{
@@ -11026,8 +12116,8 @@
]
},
{
- "name" : "act_24",
- "id" : 102,
+ "name" : "act_14",
+ "id" : 97,
"runtime_data" : [],
"primitives" : [
{
@@ -11048,8 +12138,8 @@
]
},
{
- "name" : "act_25",
- "id" : 103,
+ "name" : "act_15",
+ "id" : 98,
"runtime_data" : [],
"primitives" : [
{
@@ -11097,8 +12187,8 @@
]
},
{
- "name" : "act_26",
- "id" : 104,
+ "name" : "act_16",
+ "id" : 99,
"runtime_data" : [],
"primitives" : [
{
@@ -11119,8 +12209,8 @@
]
},
{
- "name" : "act_27",
- "id" : 105,
+ "name" : "act_17",
+ "id" : 100,
"runtime_data" : [],
"primitives" : [
{
@@ -11168,8 +12258,100 @@
]
},
{
- "name" : "act_28",
- "id" : 106,
+ "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" : [
+ {
+ "op" : "count",
+ "parameters" : [
+ {
+ "type" : "counter_array",
+ "value" : "FabricEgress.spgw_egress.pdr_counter"
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 346,
+ "column" : 8,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_21",
+ "id" : 104,
"runtime_data" : [],
"primitives" : [
{
@@ -11198,8 +12380,8 @@
]
},
{
- "name" : "act_29",
- "id" : 107,
+ "name" : "act_22",
+ "id" : 105,
"runtime_data" : [],
"primitives" : [
{
@@ -11234,8 +12416,8 @@
]
},
{
- "name" : "act_30",
- "id" : 108,
+ "name" : "act_23",
+ "id" : 106,
"runtime_data" : [],
"primitives" : [
{
@@ -11261,7 +12443,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
}
}
},
@@ -11283,8 +12465,8 @@
]
},
{
- "name" : "act_31",
- "id" : 109,
+ "name" : "act_24",
+ "id" : 107,
"runtime_data" : [],
"primitives" : [
{
@@ -11332,8 +12514,8 @@
]
},
{
- "name" : "act_32",
- "id" : 110,
+ "name" : "act_25",
+ "id" : 108,
"runtime_data" : [],
"primitives" : [
{
@@ -11359,7 +12541,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes25"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
}
}
},
@@ -11381,8 +12563,8 @@
]
},
{
- "name" : "act_33",
- "id" : 111,
+ "name" : "act_26",
+ "id" : 109,
"runtime_data" : [],
"primitives" : [
{
@@ -11408,7 +12590,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words24"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
}
}
},
@@ -11440,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" : [34],
- "actions" : ["act_0"],
- "base_default_next" : "node_3",
- "next_tables" : {
- "act_0" : "node_3"
- },
- "default_entry" : {
- "action_id" : 34,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_0",
- "id" : 1,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 30,
- "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" : [33],
- "actions" : ["act"],
- "base_default_next" : "node_5",
- "next_tables" : {
- "act" : "node_5"
- },
- "default_entry" : {
- "action_id" : 33,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_1",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 31,
- "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" : [37],
- "actions" : ["act_3"],
- "base_default_next" : "node_7",
- "next_tables" : {
- "act_3" : "node_7"
- },
- "default_entry" : {
- "action_id" : 37,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_2",
- "id" : 3,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 35,
- "column" : 16,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [35],
- "actions" : ["act_1"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_1" : "node_10"
- },
- "default_entry" : {
- "action_id" : 35,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_3",
- "id" : 4,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 37,
- "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" : [36],
- "actions" : ["act_2"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_2" : "node_10"
- },
- "default_entry" : {
- "action_id" : 36,
- "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,
@@ -11604,10 +12641,10 @@
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [38],
- "actions" : ["act_4"],
- "base_default_next" : "node_12",
+ "actions" : ["act"],
+ "base_default_next" : "tbl_act_0",
"next_tables" : {
- "act_4" : "node_12"
+ "act" : "tbl_act_0"
},
"default_entry" : {
"action_id" : 38,
@@ -11617,9 +12654,445 @@
}
},
{
- "name" : "tbl_act_5",
+ "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
+ }
+ },
+ {
+ "name" : "tbl_act_5",
+ "id" : 11,
+ "source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 111,
"column" : 36,
@@ -11632,14 +13105,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [39],
+ "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" : 39,
+ "action_id" : 44,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -11647,7 +13120,7 @@
},
{
"name" : "tbl_act_6",
- "id" : 7,
+ "id" : 12,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 127,
@@ -11661,14 +13134,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [40],
+ "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" : 40,
+ "action_id" : 45,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -11676,7 +13149,7 @@
},
{
"name" : "FabricIngress.filtering.ingress_port_vlan",
- "id" : 8,
+ "id" : 13,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 53,
@@ -11709,7 +13182,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [13, 14, 15],
+ "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" : {
@@ -11718,7 +13191,7 @@
"FabricIngress.filtering.permit_with_internal_vlan" : "FabricIngress.filtering.fwd_classifier"
},
"default_entry" : {
- "action_id" : 13,
+ "action_id" : 9,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -11726,7 +13199,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier",
- "id" : 9,
+ "id" : 14,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 92,
@@ -11765,385 +13238,22 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [16],
+ "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" : 16,
+ "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" : [49],
- "actions" : ["act_15"],
- "base_default_next" : "node_19",
- "next_tables" : {
- "act_15" : "node_19"
- },
- "default_entry" : {
- "action_id" : 49,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.s1u_filter_table",
- "id" : 11,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 83,
- "column" : 10,
- "source_fragment" : "s1u_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" : [41],
- "actions" : ["act_7"],
- "base_default_next" : "node_23",
- "next_tables" : {
- "act_7" : "node_23"
- },
- "default_entry" : {
- "action_id" : 41,
- "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" : [42],
- "actions" : ["act_8"],
- "base_default_next" : "node_23",
- "next_tables" : {
- "act_8" : "node_23"
- },
- "default_entry" : {
- "action_id" : 42,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_10",
- "id" : 14,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 149,
- "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" : [43],
- "actions" : ["act_9"],
- "base_default_next" : "tbl_act_11",
- "next_tables" : {
- "act_9" : "tbl_act_11"
- },
- "default_entry" : {
- "action_id" : 43,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_11",
- "id" : 15,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 151,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [44],
- "actions" : ["act_10"],
- "base_default_next" : "tbl_spgw_ingress_gtpu_decap",
- "next_tables" : {
- "act_10" : "tbl_spgw_ingress_gtpu_decap"
- },
- "default_entry" : {
- "action_id" : 44,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_spgw_ingress_gtpu_decap",
- "id" : 16,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 152,
- "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" : [10],
- "actions" : ["FabricIngress.spgw_ingress.gtpu_decap"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "FabricIngress.spgw_ingress.gtpu_decap" : "node_33"
- },
- "default_entry" : {
- "action_id" : 10,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.dl_sess_lookup",
- "id" : 17,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 70,
- "column" : 10,
- "source_fragment" : "dl_sess_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "ipv4_dst",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : true,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [11, 0],
- "actions" : ["FabricIngress.spgw_ingress.set_dl_sess_info", "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" : [45],
- "actions" : ["act_11"],
- "base_default_next" : "node_30",
- "next_tables" : {
- "act_11" : "node_30"
- },
- "default_entry" : {
- "action_id" : 45,
- "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" : [46],
- "actions" : ["act_12"],
- "base_default_next" : "node_30",
- "next_tables" : {
- "act_12" : "node_30"
- },
- "default_entry" : {
- "action_id" : 46,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_14",
- "id" : 20,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 154,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [47],
- "actions" : ["act_13"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "act_13" : "node_33"
- },
- "default_entry" : {
- "action_id" : 47,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_15",
- "id" : 21,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 156,
- "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" : [48],
- "actions" : ["act_14"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "act_14" : "node_33"
- },
- "default_entry" : {
- "action_id" : 48,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_16",
- "id" : 22,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 175,
- "column" : 34,
- "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_16"],
- "base_default_next" : "node_35",
- "next_tables" : {
- "act_16" : "node_35"
- },
- "default_entry" : {
- "action_id" : 50,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
"name" : "FabricIngress.forwarding.bridging",
- "id" : 23,
+ "id" : 15,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 46,
@@ -12170,7 +13280,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [17, 3],
+ "action_ids" : [13, 1],
"actions" : ["FabricIngress.forwarding.set_next_id_bridging", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -12178,7 +13288,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 3,
+ "action_id" : 1,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -12186,7 +13296,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls",
- "id" : 24,
+ "id" : 16,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 71,
@@ -12207,7 +13317,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [18, 4],
+ "action_ids" : [14, 2],
"actions" : ["FabricIngress.forwarding.pop_mpls_and_next", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -12215,7 +13325,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 4,
+ "action_id" : 2,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -12223,7 +13333,7 @@
},
{
"name" : "FabricIngress.forwarding.routing_v4",
- "id" : 25,
+ "id" : 17,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 108,
@@ -12234,7 +13344,7 @@
{
"match_type" : "lpm",
"name" : "ipv4_dst",
- "target" : ["ipv4", "dst_addr"],
+ "target" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"],
"mask" : null
}
],
@@ -12244,7 +13354,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [19, 20, 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" : {
@@ -12253,7 +13363,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 5,
+ "action_id" : 3,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -12261,7 +13371,7 @@
},
{
"name" : "FabricIngress.acl.acl",
- "id" : 26,
+ "id" : 18,
"source_info" : {
"filename" : "include/control/acl.p4",
"line" : 60,
@@ -12348,18 +13458,18 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [21, 22, 23, 24, 25],
+ "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_43",
+ "base_default_next" : "node_33",
"next_tables" : {
- "FabricIngress.acl.set_next_id_acl" : "node_43",
- "FabricIngress.acl.punt_to_cpu" : "node_43",
- "FabricIngress.acl.set_clone_session_id" : "node_43",
- "FabricIngress.acl.drop" : "node_43",
- "FabricIngress.acl.nop_acl" : "node_43"
+ "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" : 25,
+ "action_id" : 21,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -12367,7 +13477,7 @@
},
{
"name" : "FabricIngress.next.xconnect",
- "id" : 27,
+ "id" : 19,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 119,
@@ -12394,7 +13504,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [27, 28, 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" : {
@@ -12403,7 +13513,7 @@
"nop" : "FabricIngress.next.hashed"
},
"default_entry" : {
- "action_id" : 7,
+ "action_id" : 5,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -12411,7 +13521,7 @@
},
{
"name" : "FabricIngress.next.hashed",
- "id" : 28,
+ "id" : 20,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 202,
@@ -12433,7 +13543,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [29, 30, 31, 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" : {
@@ -12445,7 +13555,7 @@
},
{
"name" : "FabricIngress.next.multicast",
- "id" : 29,
+ "id" : 21,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 236,
@@ -12466,7 +13576,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [32, 9],
+ "action_ids" : [28, 7],
"actions" : ["FabricIngress.next.set_mcast_group_id", "nop"],
"base_default_next" : "FabricIngress.next.next_vlan",
"next_tables" : {
@@ -12474,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
@@ -12482,7 +13592,7 @@
},
{
"name" : "FabricIngress.next.next_vlan",
- "id" : 30,
+ "id" : 22,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 86,
@@ -12503,23 +13613,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [26, 6],
+ "action_ids" : [22, 4],
"actions" : ["FabricIngress.next.set_vlan", "nop"],
- "base_default_next" : "node_48",
+ "base_default_next" : "node_38",
"next_tables" : {
- "FabricIngress.next.set_vlan" : "node_48",
- "nop" : "node_48"
+ "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_17",
- "id" : 31,
+ "name" : "tbl_act_7",
+ "id" : 23,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 31,
@@ -12533,22 +13643,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [51],
- "actions" : ["act_17"],
- "base_default_next" : "node_50",
+ "action_ids" : [46],
+ "actions" : ["act_7"],
+ "base_default_next" : "node_40",
"next_tables" : {
- "act_17" : "node_50"
+ "act_7" : "node_40"
},
"default_entry" : {
- "action_id" : 51,
+ "action_id" : 46,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_18",
- "id" : 32,
+ "name" : "tbl_act_8",
+ "id" : 24,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 34,
@@ -12562,14 +13672,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [52],
- "actions" : ["act_18"],
+ "action_ids" : [47],
+ "actions" : ["act_8"],
"base_default_next" : "FabricIngress.process_set_source_sink.tb_set_source",
"next_tables" : {
- "act_18" : "FabricIngress.process_set_source_sink.tb_set_source"
+ "act_8" : "FabricIngress.process_set_source_sink.tb_set_source"
},
"default_entry" : {
- "action_id" : 52,
+ "action_id" : 47,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -12577,7 +13687,7 @@
},
{
"name" : "FabricIngress.process_set_source_sink.tb_set_source",
- "id" : 33,
+ "id" : 25,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 46,
@@ -12598,7 +13708,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [12, 2],
+ "action_ids" : [8, 0],
"actions" : ["FabricIngress.process_set_source_sink.int_set_source", "nop"],
"base_default_next" : null,
"next_tables" : {
@@ -12606,7 +13716,7 @@
"nop" : null
},
"default_entry" : {
- "action_id" : 2,
+ "action_id" : 0,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -12629,11 +13739,11 @@
"input" : [
{
"type" : "field",
- "value" : ["ipv4", "dst_addr"]
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
},
{
"type" : "field",
- "value" : ["ipv4", "src_addr"]
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
},
{
"type" : "field",
@@ -12653,86 +13763,9 @@
],
"conditionals" : [
{
- "name" : "node_3",
+ "name" : "node_2",
"id" : 0,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 30,
- "column" : 12,
- "source_fragment" : "! is_gtpu_encapped"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_0",
- "false_next" : "node_5"
- },
- {
- "name" : "node_5",
- "id" : 1,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_1",
- "false_next" : "node_10"
- },
- {
- "name" : "node_7",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 12,
- "source_fragment" : "inner_udp.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["inner_udp", "$valid$"]
- }
- }
- },
- "true_next" : "tbl_act_2",
- "false_next" : "tbl_act_3"
- },
- {
- "name" : "node_10",
- "id" : 3,
- "source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 24,
"column" : 12,
@@ -12749,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,
@@ -12773,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,
@@ -12806,105 +13985,11 @@
"false_next" : "FabricIngress.filtering.ingress_port_vlan"
},
{
- "name" : "node_19",
- "id" : 6,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 144,
- "column" : 12,
- "source_fragment" : "gtpu.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.s1u_filter_table",
- "false_next" : "FabricIngress.spgw_ingress.dl_sess_lookup"
- },
- {
- "name" : "node_23",
- "id" : 7,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 148,
- "column" : 16,
- "source_fragment" : "!s1u_filter_table.apply().hit"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- }
- }
- }
- }
- },
- "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" : "tbl_act_16",
- "false_next" : "node_35"
- },
- {
- "name" : "node_35",
- "id" : 10,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -12929,12 +14014,12 @@
}
}
},
- "true_next" : "node_36",
+ "true_next" : "node_26",
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_36",
- "id" : 11,
+ "name" : "node_26",
+ "id" : 9,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 150,
@@ -12956,11 +14041,11 @@
}
},
"true_next" : "FabricIngress.forwarding.bridging",
- "false_next" : "node_38"
+ "false_next" : "node_28"
},
{
- "name" : "node_38",
- "id" : 12,
+ "name" : "node_28",
+ "id" : 10,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 151,
@@ -12982,11 +14067,11 @@
}
},
"true_next" : "FabricIngress.forwarding.mpls",
- "false_next" : "node_40"
+ "false_next" : "node_30"
},
{
- "name" : "node_40",
- "id" : 13,
+ "name" : "node_30",
+ "id" : 11,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 152,
@@ -13011,11 +14096,11 @@
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_43",
- "id" : 14,
+ "name" : "node_33",
+ "id" : 12,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -13044,8 +14129,8 @@
"true_next" : "FabricIngress.next.xconnect"
},
{
- "name" : "node_48",
- "id" : 15,
+ "name" : "node_38",
+ "id" : 13,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 30,
@@ -13066,12 +14151,12 @@
}
}
},
- "true_next" : "tbl_act_17",
- "false_next" : "node_50"
+ "true_next" : "tbl_act_7",
+ "false_next" : "node_40"
},
{
- "name" : "node_50",
- "id" : 16,
+ "name" : "node_40",
+ "id" : 14,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 33,
@@ -13092,7 +14177,7 @@
}
}
},
- "true_next" : "tbl_act_18",
+ "true_next" : "tbl_act_8",
"false_next" : "FabricIngress.process_set_source_sink.tb_set_source"
}
]
@@ -13102,15 +14187,15 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},
- "init_table" : "node_55",
+ "init_table" : "node_45",
"tables" : [
{
- "name" : "tbl_act_19",
- "id" : 34,
+ "name" : "tbl_act_9",
+ "id" : 26,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 41,
@@ -13124,22 +14209,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [97],
- "actions" : ["act_19"],
- "base_default_next" : "node_57",
+ "action_ids" : [92],
+ "actions" : ["act_9"],
+ "base_default_next" : "node_47",
"next_tables" : {
- "act_19" : "node_57"
+ "act_9" : "node_47"
},
"default_entry" : {
- "action_id" : 97,
+ "action_id" : 92,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_20",
- "id" : 35,
+ "name" : "tbl_act_10",
+ "id" : 27,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 44,
@@ -13153,22 +14238,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [98],
- "actions" : ["act_20"],
- "base_default_next" : "node_59",
+ "action_ids" : [93],
+ "actions" : ["act_10"],
+ "base_default_next" : "node_49",
"next_tables" : {
- "act_20" : "node_59"
+ "act_10" : "node_49"
},
"default_entry" : {
- "action_id" : 98,
+ "action_id" : 93,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_21",
- "id" : 36,
+ "name" : "tbl_act_11",
+ "id" : 28,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 337,
@@ -13182,14 +14267,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [99],
- "actions" : ["act_21"],
- "base_default_next" : "node_61",
+ "action_ids" : [94],
+ "actions" : ["act_11"],
+ "base_default_next" : "node_51",
"next_tables" : {
- "act_21" : "node_61"
+ "act_11" : "node_51"
},
"default_entry" : {
- "action_id" : 99,
+ "action_id" : 94,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13197,7 +14282,7 @@
},
{
"name" : "tbl_egress_next_pop_mpls_if_present",
- "id" : 37,
+ "id" : 29,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -13211,14 +14296,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [93],
+ "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" : 93,
+ "action_id" : 87,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13226,7 +14311,7 @@
},
{
"name" : "tbl_egress_next_set_mpls",
- "id" : 38,
+ "id" : 30,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 343,
@@ -13240,14 +14325,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [94],
+ "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" : 94,
+ "action_id" : 88,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13255,7 +14340,7 @@
},
{
"name" : "FabricEgress.egress_next.egress_vlan",
- "id" : 39,
+ "id" : 31,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 320,
@@ -13282,23 +14367,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [96, 55],
+ "action_ids" : [90, 50],
"actions" : ["FabricEgress.egress_next.pop_vlan", "nop"],
"base_default_next" : null,
"next_tables" : {
- "__HIT__" : "tbl_act_22",
- "__MISS__" : "tbl_act_23"
+ "__HIT__" : "tbl_act_12",
+ "__MISS__" : "tbl_act_13"
},
"default_entry" : {
- "action_id" : 55,
+ "action_id" : 50,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_22",
- "id" : 40,
+ "name" : "tbl_act_12",
+ "id" : 32,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -13306,22 +14391,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [100],
- "actions" : ["act_22"],
- "base_default_next" : "node_68",
+ "action_ids" : [95],
+ "actions" : ["act_12"],
+ "base_default_next" : "node_58",
"next_tables" : {
- "act_22" : "node_68"
+ "act_12" : "node_58"
},
"default_entry" : {
- "action_id" : 100,
+ "action_id" : 95,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_23",
- "id" : 41,
+ "name" : "tbl_act_13",
+ "id" : 33,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -13329,14 +14414,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [101],
- "actions" : ["act_23"],
- "base_default_next" : "node_68",
+ "action_ids" : [96],
+ "actions" : ["act_13"],
+ "base_default_next" : "node_58",
"next_tables" : {
- "act_23" : "node_68"
+ "act_13" : "node_58"
},
"default_entry" : {
- "action_id" : 101,
+ "action_id" : 96,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13344,7 +14429,7 @@
},
{
"name" : "tbl_egress_next_push_vlan",
- "id" : 42,
+ "id" : 34,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 360,
@@ -13358,22 +14443,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [95],
+ "action_ids" : [89],
"actions" : ["FabricEgress.egress_next.push_vlan"],
- "base_default_next" : "node_71",
+ "base_default_next" : "node_61",
"next_tables" : {
- "FabricEgress.egress_next.push_vlan" : "node_71"
+ "FabricEgress.egress_next.push_vlan" : "node_61"
},
"default_entry" : {
- "action_id" : 95,
+ "action_id" : 89,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_24",
- "id" : 43,
+ "name" : "tbl_act_14",
+ "id" : 35,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 369,
@@ -13387,22 +14472,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [103],
- "actions" : ["act_25"],
- "base_default_next" : "node_73",
+ "action_ids" : [98],
+ "actions" : ["act_15"],
+ "base_default_next" : "node_63",
"next_tables" : {
- "act_25" : "node_73"
+ "act_15" : "node_63"
},
"default_entry" : {
- "action_id" : 103,
+ "action_id" : 98,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_25",
- "id" : 44,
+ "name" : "tbl_act_15",
+ "id" : 36,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -13416,22 +14501,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [102],
- "actions" : ["act_24"],
- "base_default_next" : "node_79",
+ "action_ids" : [97],
+ "actions" : ["act_14"],
+ "base_default_next" : "tbl_act_18",
"next_tables" : {
- "act_24" : "node_79"
+ "act_14" : "tbl_act_18"
},
"default_entry" : {
- "action_id" : 102,
+ "action_id" : 97,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_26",
- "id" : 45,
+ "name" : "tbl_act_16",
+ "id" : 37,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 373,
@@ -13445,22 +14530,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [105],
- "actions" : ["act_27"],
- "base_default_next" : "node_77",
+ "action_ids" : [100],
+ "actions" : ["act_17"],
+ "base_default_next" : "node_67",
"next_tables" : {
- "act_27" : "node_77"
+ "act_17" : "node_67"
},
"default_entry" : {
- "action_id" : 105,
+ "action_id" : 100,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_27",
- "id" : 46,
+ "name" : "tbl_act_17",
+ "id" : 38,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -13474,14 +14559,95 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [104],
- "actions" : ["act_26"],
- "base_default_next" : "node_79",
+ "action_ids" : [99],
+ "actions" : ["act_16"],
+ "base_default_next" : "tbl_act_18",
"next_tables" : {
- "act_26" : "node_79"
+ "act_16" : "tbl_act_18"
},
"default_entry" : {
- "action_id" : 104,
+ "action_id" : 99,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "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/control/spgw.p4",
+ "line" : 345,
+ "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" : [101],
+ "actions" : ["act_18"],
+ "base_default_next" : "node_72",
+ "next_tables" : {
+ "act_18" : "node_72"
+ },
+ "default_entry" : {
+ "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
@@ -13489,10 +14655,10 @@
},
{
"name" : "tbl_spgw_egress_gtpu_encap",
- "id" : 47,
+ "id" : 42,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 228,
+ "filename" : "include/control/spgw.p4",
+ "line" : 349,
"column" : 12,
"source_fragment" : "gtpu_encap()"
},
@@ -13503,14 +14669,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [58],
+ "action_ids" : [91],
"actions" : ["FabricEgress.spgw_egress.gtpu_encap"],
- "base_default_next" : "node_81",
+ "base_default_next" : "node_76",
"next_tables" : {
- "FabricEgress.spgw_egress.gtpu_encap" : "node_81"
+ "FabricEgress.spgw_egress.gtpu_encap" : "node_76"
},
"default_entry" : {
- "action_id" : 58,
+ "action_id" : 91,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13518,7 +14684,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_source.tb_int_source",
- "id" : 48,
+ "id" : 43,
"source_info" : {
"filename" : "include/int/int_source.p4",
"line" : 66,
@@ -13557,23 +14723,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [59, 53],
+ "action_ids" : [53, 48],
"actions" : ["FabricEgress.process_int_main.process_int_source.int_source_dscp", "nop"],
- "base_default_next" : "node_84",
+ "base_default_next" : "node_79",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_source.int_source_dscp" : "node_84",
- "nop" : "node_84"
+ "FabricEgress.process_int_main.process_int_source.int_source_dscp" : "node_79",
+ "nop" : "node_79"
},
"default_entry" : {
- "action_id" : 53,
+ "action_id" : 48,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_28",
- "id" : 49,
+ "name" : "tbl_act_21",
+ "id" : 44,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -13581,14 +14747,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [106],
- "actions" : ["act_28"],
+ "action_ids" : [104],
+ "actions" : ["act_21"],
"base_default_next" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert",
"next_tables" : {
- "act_28" : "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" : 106,
+ "action_id" : 104,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13596,7 +14762,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert",
- "id" : 50,
+ "id" : 45,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 315,
@@ -13617,23 +14783,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [60, 54],
+ "action_ids" : [54, 49],
"actions" : ["FabricEgress.process_int_main.process_int_transit.init_metadata", "nop"],
- "base_default_next" : "node_87",
+ "base_default_next" : "node_82",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_transit.init_metadata" : "node_87",
- "nop" : "node_87"
+ "FabricEgress.process_int_main.process_int_transit.init_metadata" : "node_82",
+ "nop" : "node_82"
},
"default_entry" : {
- "action_id" : 54,
+ "action_id" : 49,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_29",
- "id" : 51,
+ "name" : "tbl_act_22",
+ "id" : 46,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 420,
@@ -13647,14 +14813,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [107],
- "actions" : ["act_29"],
- "base_default_next" : "node_89",
+ "action_ids" : [105],
+ "actions" : ["act_22"],
+ "base_default_next" : "node_84",
"next_tables" : {
- "act_29" : "node_89"
+ "act_22" : "node_84"
},
"default_entry" : {
- "action_id" : 107,
+ "action_id" : 105,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13662,7 +14828,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0003",
- "id" : 52,
+ "id" : 47,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 331,
@@ -13683,7 +14849,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 56],
+ "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" : {
@@ -13706,7 +14872,7 @@
"NoAction" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407"
},
"default_entry" : {
- "action_id" : 56,
+ "action_id" : 51,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -13726,7 +14892,7 @@
}
],
"action_entry" : {
- "action_id" : 61,
+ "action_id" : 55,
"action_data" : []
},
"priority" : 1
@@ -13745,7 +14911,7 @@
}
],
"action_entry" : {
- "action_id" : 62,
+ "action_id" : 56,
"action_data" : []
},
"priority" : 2
@@ -13764,7 +14930,7 @@
}
],
"action_entry" : {
- "action_id" : 63,
+ "action_id" : 57,
"action_data" : []
},
"priority" : 3
@@ -13783,7 +14949,7 @@
}
],
"action_entry" : {
- "action_id" : 64,
+ "action_id" : 58,
"action_data" : []
},
"priority" : 4
@@ -13802,7 +14968,7 @@
}
],
"action_entry" : {
- "action_id" : 65,
+ "action_id" : 59,
"action_data" : []
},
"priority" : 5
@@ -13821,7 +14987,7 @@
}
],
"action_entry" : {
- "action_id" : 66,
+ "action_id" : 60,
"action_data" : []
},
"priority" : 6
@@ -13840,7 +15006,7 @@
}
],
"action_entry" : {
- "action_id" : 67,
+ "action_id" : 61,
"action_data" : []
},
"priority" : 7
@@ -13859,7 +15025,7 @@
}
],
"action_entry" : {
- "action_id" : 68,
+ "action_id" : 62,
"action_data" : []
},
"priority" : 8
@@ -13878,7 +15044,7 @@
}
],
"action_entry" : {
- "action_id" : 69,
+ "action_id" : 63,
"action_data" : []
},
"priority" : 9
@@ -13897,7 +15063,7 @@
}
],
"action_entry" : {
- "action_id" : 70,
+ "action_id" : 64,
"action_data" : []
},
"priority" : 10
@@ -13916,7 +15082,7 @@
}
],
"action_entry" : {
- "action_id" : 71,
+ "action_id" : 65,
"action_data" : []
},
"priority" : 11
@@ -13935,7 +15101,7 @@
}
],
"action_entry" : {
- "action_id" : 72,
+ "action_id" : 66,
"action_data" : []
},
"priority" : 12
@@ -13954,7 +15120,7 @@
}
],
"action_entry" : {
- "action_id" : 73,
+ "action_id" : 67,
"action_data" : []
},
"priority" : 13
@@ -13973,7 +15139,7 @@
}
],
"action_entry" : {
- "action_id" : 74,
+ "action_id" : 68,
"action_data" : []
},
"priority" : 14
@@ -13992,7 +15158,7 @@
}
],
"action_entry" : {
- "action_id" : 75,
+ "action_id" : 69,
"action_data" : []
},
"priority" : 15
@@ -14011,7 +15177,7 @@
}
],
"action_entry" : {
- "action_id" : 76,
+ "action_id" : 70,
"action_data" : []
},
"priority" : 16
@@ -14020,7 +15186,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407",
- "id" : 53,
+ "id" : 48,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 375,
@@ -14041,30 +15207,30 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 57],
+ "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_30",
+ "base_default_next" : "tbl_act_23",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0" : "tbl_act_30",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1" : "tbl_act_30",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2" : "tbl_act_30",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3" : "tbl_act_30",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4" : "tbl_act_30",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5" : "tbl_act_30",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6" : "tbl_act_30",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7" : "tbl_act_30",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8" : "tbl_act_30",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9" : "tbl_act_30",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10" : "tbl_act_30",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11" : "tbl_act_30",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12" : "tbl_act_30",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13" : "tbl_act_30",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14" : "tbl_act_30",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15" : "tbl_act_30",
- "NoAction" : "tbl_act_30"
+ "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" : 57,
+ "action_id" : 52,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -14084,7 +15250,7 @@
}
],
"action_entry" : {
- "action_id" : 77,
+ "action_id" : 71,
"action_data" : []
},
"priority" : 1
@@ -14103,7 +15269,7 @@
}
],
"action_entry" : {
- "action_id" : 78,
+ "action_id" : 72,
"action_data" : []
},
"priority" : 2
@@ -14122,7 +15288,7 @@
}
],
"action_entry" : {
- "action_id" : 79,
+ "action_id" : 73,
"action_data" : []
},
"priority" : 3
@@ -14141,7 +15307,7 @@
}
],
"action_entry" : {
- "action_id" : 80,
+ "action_id" : 74,
"action_data" : []
},
"priority" : 4
@@ -14160,7 +15326,7 @@
}
],
"action_entry" : {
- "action_id" : 81,
+ "action_id" : 75,
"action_data" : []
},
"priority" : 5
@@ -14179,7 +15345,7 @@
}
],
"action_entry" : {
- "action_id" : 82,
+ "action_id" : 76,
"action_data" : []
},
"priority" : 6
@@ -14198,7 +15364,7 @@
}
],
"action_entry" : {
- "action_id" : 83,
+ "action_id" : 77,
"action_data" : []
},
"priority" : 7
@@ -14217,7 +15383,7 @@
}
],
"action_entry" : {
- "action_id" : 84,
+ "action_id" : 78,
"action_data" : []
},
"priority" : 8
@@ -14236,7 +15402,7 @@
}
],
"action_entry" : {
- "action_id" : 85,
+ "action_id" : 79,
"action_data" : []
},
"priority" : 9
@@ -14255,7 +15421,7 @@
}
],
"action_entry" : {
- "action_id" : 86,
+ "action_id" : 80,
"action_data" : []
},
"priority" : 10
@@ -14274,7 +15440,7 @@
}
],
"action_entry" : {
- "action_id" : 87,
+ "action_id" : 81,
"action_data" : []
},
"priority" : 11
@@ -14293,7 +15459,7 @@
}
],
"action_entry" : {
- "action_id" : 88,
+ "action_id" : 82,
"action_data" : []
},
"priority" : 12
@@ -14312,7 +15478,7 @@
}
],
"action_entry" : {
- "action_id" : 89,
+ "action_id" : 83,
"action_data" : []
},
"priority" : 13
@@ -14331,7 +15497,7 @@
}
],
"action_entry" : {
- "action_id" : 90,
+ "action_id" : 84,
"action_data" : []
},
"priority" : 14
@@ -14350,7 +15516,7 @@
}
],
"action_entry" : {
- "action_id" : 91,
+ "action_id" : 85,
"action_data" : []
},
"priority" : 15
@@ -14369,7 +15535,7 @@
}
],
"action_entry" : {
- "action_id" : 92,
+ "action_id" : 86,
"action_data" : []
},
"priority" : 16
@@ -14377,8 +15543,8 @@
]
},
{
- "name" : "tbl_act_30",
- "id" : 54,
+ "name" : "tbl_act_23",
+ "id" : 49,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 425,
@@ -14392,22 +15558,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [109],
- "actions" : ["act_31"],
- "base_default_next" : "node_93",
+ "action_ids" : [107],
+ "actions" : ["act_24"],
+ "base_default_next" : "node_88",
"next_tables" : {
- "act_31" : "node_93"
+ "act_24" : "node_88"
},
"default_entry" : {
- "action_id" : 109,
+ "action_id" : 107,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_31",
- "id" : 55,
+ "name" : "tbl_act_24",
+ "id" : 50,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 428,
@@ -14421,22 +15587,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [108],
- "actions" : ["act_30"],
- "base_default_next" : "node_95",
+ "action_ids" : [106],
+ "actions" : ["act_23"],
+ "base_default_next" : "node_90",
"next_tables" : {
- "act_30" : "node_95"
+ "act_23" : "node_90"
},
"default_entry" : {
- "action_id" : 108,
+ "action_id" : 106,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_32",
- "id" : 56,
+ "name" : "tbl_act_25",
+ "id" : 51,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 431,
@@ -14450,22 +15616,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [110],
- "actions" : ["act_32"],
- "base_default_next" : "node_97",
+ "action_ids" : [108],
+ "actions" : ["act_25"],
+ "base_default_next" : "node_92",
"next_tables" : {
- "act_32" : "node_97"
+ "act_25" : "node_92"
},
"default_entry" : {
- "action_id" : 110,
+ "action_id" : 108,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_33",
- "id" : 57,
+ "name" : "tbl_act_26",
+ "id" : 52,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 434,
@@ -14479,14 +15645,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [111],
- "actions" : ["act_33"],
+ "action_ids" : [109],
+ "actions" : ["act_26"],
"base_default_next" : null,
"next_tables" : {
- "act_33" : null
+ "act_26" : null
},
"default_entry" : {
- "action_id" : 111,
+ "action_id" : 109,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14496,8 +15662,8 @@
"action_profiles" : [],
"conditionals" : [
{
- "name" : "node_55",
- "id" : 17,
+ "name" : "node_45",
+ "id" : 15,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 39,
@@ -14525,12 +15691,12 @@
}
}
},
- "true_next" : "tbl_act_19",
- "false_next" : "node_57"
+ "true_next" : "tbl_act_9",
+ "false_next" : "node_47"
},
{
- "name" : "node_57",
- "id" : 18,
+ "name" : "node_47",
+ "id" : 16,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 43,
@@ -14551,12 +15717,12 @@
}
}
},
- "true_next" : "tbl_act_20",
- "false_next" : "node_59"
+ "true_next" : "tbl_act_10",
+ "false_next" : "node_49"
},
{
- "name" : "node_59",
- "id" : 19,
+ "name" : "node_49",
+ "id" : 17,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 335,
@@ -14604,12 +15770,12 @@
}
}
},
- "true_next" : "tbl_act_21",
- "false_next" : "node_61"
+ "true_next" : "tbl_act_11",
+ "false_next" : "node_51"
},
{
- "name" : "node_61",
- "id" : 20,
+ "name" : "node_51",
+ "id" : 18,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 340,
@@ -14630,12 +15796,12 @@
}
}
},
- "true_next" : "node_62",
+ "true_next" : "node_52",
"false_next" : "tbl_egress_next_set_mpls"
},
{
- "name" : "node_62",
- "id" : 21,
+ "name" : "node_52",
+ "id" : 19,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -14657,8 +15823,8 @@
"false_next" : "FabricEgress.egress_next.egress_vlan"
},
{
- "name" : "node_68",
- "id" : 22,
+ "name" : "node_58",
+ "id" : 20,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 357,
@@ -14683,12 +15849,12 @@
}
}
},
- "true_next" : "node_69",
- "false_next" : "node_71"
+ "true_next" : "node_59",
+ "false_next" : "node_61"
},
{
- "name" : "node_69",
- "id" : 23,
+ "name" : "node_59",
+ "id" : 21,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 359,
@@ -14710,11 +15876,11 @@
}
},
"true_next" : "tbl_egress_next_push_vlan",
- "false_next" : "node_71"
+ "false_next" : "node_61"
},
{
- "name" : "node_71",
- "id" : 24,
+ "name" : "node_61",
+ "id" : 22,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 368,
@@ -14732,12 +15898,12 @@
}
}
},
- "true_next" : "tbl_act_24",
- "false_next" : "node_75"
+ "true_next" : "tbl_act_14",
+ "false_next" : "node_65"
},
{
- "name" : "node_73",
- "id" : 25,
+ "name" : "node_63",
+ "id" : 23,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -14758,12 +15924,12 @@
}
}
},
- "true_next" : "tbl_act_25",
- "false_next" : "node_79"
+ "true_next" : "tbl_act_15",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_75",
- "id" : 26,
+ "name" : "node_65",
+ "id" : 24,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 372,
@@ -14781,12 +15947,12 @@
}
}
},
- "true_next" : "tbl_act_26",
- "false_next" : "node_79"
+ "true_next" : "tbl_act_16",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_77",
- "id" : 27,
+ "name" : "node_67",
+ "id" : 25,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -14807,37 +15973,101 @@
}
}
},
- "true_next" : "tbl_act_27",
- "false_next" : "node_79"
+ "true_next" : "tbl_act_17",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_79",
- "id" : 28,
+ "name" : "node_70",
+ "id" : 26,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 227,
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
"column" : 12,
- "source_fragment" : "fabric_meta.spgw.direction == SPGW_DIR_DOWNLINK"
+ "source_fragment" : "fabric_md.spgw.skip_spgw == true"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction15"]
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw28"]
+ }
+ }
},
"right" : {
- "type" : "hexstr",
- "value" : "0x02"
+ "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"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
}
}
},
"true_next" : "tbl_spgw_egress_gtpu_encap",
- "false_next" : "node_81"
+ "false_next" : "node_76"
},
{
- "name" : "node_81",
+ "name" : "node_76",
"id" : 29,
"source_info" : {
"filename" : "include/int/int_main.p4",
@@ -14914,10 +16144,10 @@
}
},
"false_next" : null,
- "true_next" : "node_82"
+ "true_next" : "node_77"
},
{
- "name" : "node_82",
+ "name" : "node_77",
"id" : 30,
"source_info" : {
"filename" : "include/int/int_main.p4",
@@ -14936,7 +16166,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_source20"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_source34"]
}
}
},
@@ -14947,10 +16177,10 @@
}
},
"true_next" : "FabricEgress.process_int_main.process_int_source.tb_int_source",
- "false_next" : "node_84"
+ "false_next" : "node_79"
},
{
- "name" : "node_84",
+ "name" : "node_79",
"id" : 31,
"source_info" : {
"filename" : "include/int/int_main.p4",
@@ -14970,10 +16200,10 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_28"
+ "true_next" : "tbl_act_21"
},
{
- "name" : "node_87",
+ "name" : "node_82",
"id" : 32,
"source_info" : {
"filename" : "include/int/int_transit.p4",
@@ -14992,7 +16222,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_transit21"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_transit35"]
}
}
},
@@ -15002,11 +16232,11 @@
}
}
},
- "true_next" : "tbl_act_29",
- "false_next" : "node_89"
+ "true_next" : "tbl_act_22",
+ "false_next" : "node_84"
},
{
- "name" : "node_89",
+ "name" : "node_84",
"id" : 33,
"expression" : {
"type" : "expression",
@@ -15030,7 +16260,7 @@
"true_next" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0003"
},
{
- "name" : "node_93",
+ "name" : "node_88",
"id" : 34,
"source_info" : {
"filename" : "include/int/int_transit.p4",
@@ -15049,11 +16279,11 @@
}
}
},
- "true_next" : "tbl_act_31",
- "false_next" : "node_95"
+ "true_next" : "tbl_act_24",
+ "false_next" : "node_90"
},
{
- "name" : "node_95",
+ "name" : "node_90",
"id" : 35,
"source_info" : {
"filename" : "include/int/int_transit.p4",
@@ -15072,11 +16302,11 @@
}
}
},
- "true_next" : "tbl_act_32",
- "false_next" : "node_97"
+ "true_next" : "tbl_act_25",
+ "false_next" : "node_92"
},
{
- "name" : "node_97",
+ "name" : "node_92",
"id" : 36,
"source_info" : {
"filename" : "include/int/int_transit.p4",
@@ -15096,7 +16326,7 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_33"
+ "true_next" : "tbl_act_26"
}
]
}
@@ -15132,8 +16362,8 @@
"name" : "cksum_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 243,
+ "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 e99b94e..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,48 +3,6 @@
}
tables {
preamble {
- id: 33582731
- name: "FabricIngress.spgw_ingress.dl_sess_lookup"
- alias: "dl_sess_lookup"
- }
- match_fields {
- id: 1
- name: "ipv4_dst"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16804065
- }
- action_refs {
- id: 16819938
- annotations: "@defaultonly"
- scope: DEFAULT_ONLY
- }
- const_default_action_id: 16819938
- direct_resource_ids: 318781522
- size: 1024
-}
-tables {
- preamble {
- id: 33615906
- name: "FabricIngress.spgw_ingress.s1u_filter_table"
- alias: "s1u_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: 33581620
name: "FabricIngress.process_set_source_sink.tb_set_source"
alias: "tb_set_source"
@@ -431,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"
@@ -533,28 +584,6 @@
}
actions {
preamble {
- id: 16804065
- name: "FabricIngress.spgw_ingress.set_dl_sess_info"
- alias: "set_dl_sess_info"
- }
- params {
- id: 1
- name: "teid"
- bitwidth: 32
- }
- params {
- id: 2
- name: "s1u_enb_addr"
- bitwidth: 32
- }
- params {
- id: 3
- name: "s1u_sgw_addr"
- bitwidth: 32
- }
-}
-actions {
- preamble {
id: 16778827
name: "FabricIngress.process_set_source_sink.int_set_source"
alias: "int_set_source"
@@ -797,6 +826,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: 16800567
name: "NoAction"
alias: "NoAction"
@@ -881,16 +1036,27 @@
}
size: 511
}
-direct_counters {
+counters {
preamble {
- id: 318781522
- name: "FabricIngress.spgw_ingress.ue_counter"
- alias: "ue_counter"
+ id: 302029884
+ name: "FabricIngress.spgw_ingress.pdr_counter"
+ alias: "spgw_ingress.pdr_counter"
}
spec {
unit: BOTH
}
- direct_table_id: 33582731
+ size: 2048
+}
+counters {
+ preamble {
+ id: 302012289
+ name: "FabricEgress.spgw_egress.pdr_counter"
+ alias: "spgw_egress.pdr_counter"
+ }
+ spec {
+ unit: BOTH
+ }
+ 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 87c94f3..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],
@@ -30,12 +27,26 @@
["fabric_metadata_t._ip_proto12", 8, false],
["fabric_metadata_t._l4_sport13", 16, false],
["fabric_metadata_t._l4_dport14", 16, false],
- ["fabric_metadata_t._spgw_direction15", 2, false],
- ["fabric_metadata_t._spgw_ipv4_len16", 16, false],
- ["fabric_metadata_t._spgw_teid17", 32, false],
- ["fabric_metadata_t._spgw_s1u_enb_addr18", 32, false],
- ["fabric_metadata_t._spgw_s1u_sgw_addr19", 32, false],
- ["_padding_0", 2, false]
+ ["fabric_metadata_t._ipv4_src_addr15", 32, false],
+ ["fabric_metadata_t._ipv4_dst_addr16", 32, false],
+ ["fabric_metadata_t._inner_l4_sport17", 16, false],
+ ["fabric_metadata_t._inner_l4_dport18", 16, false],
+ ["fabric_metadata_t._spgw_direction19", 2, false],
+ ["fabric_metadata_t._spgw_ipv4_len20", 16, false],
+ ["fabric_metadata_t._spgw_teid21", 32, false],
+ ["fabric_metadata_t._spgw_tunnel_src_port22", 16, false],
+ ["fabric_metadata_t._spgw_tunnel_src_addr23", 32, false],
+ ["fabric_metadata_t._spgw_tunnel_dst_addr24", 32, false],
+ ["fabric_metadata_t._spgw_ctr_id25", 32, false],
+ ["fabric_metadata_t._spgw_far_id26", 32, false],
+ ["fabric_metadata_t._spgw_src_iface27", 8, false],
+ ["fabric_metadata_t._spgw_skip_spgw28", 1, false],
+ ["fabric_metadata_t._spgw_pdr_hit29", 1, false],
+ ["fabric_metadata_t._spgw_far_dropped30", 1, false],
+ ["fabric_metadata_t._spgw_notify_spgwc31", 1, false],
+ ["fabric_metadata_t._spgw_needs_gtpu_encap32", 1, false],
+ ["fabric_metadata_t._spgw_needs_gtpu_decap33", 1, false],
+ ["_padding_0", 6, false]
]
},
{
@@ -257,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
@@ -435,7 +467,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
},
{
"type" : "lookahead",
@@ -473,7 +505,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
}
]
},
@@ -494,7 +526,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
},
{
"type" : "lookahead",
@@ -520,7 +552,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
}
]
},
@@ -630,7 +662,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
},
{
"type" : "lookahead",
@@ -656,7 +688,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
}
]
},
@@ -698,6 +730,32 @@
}
],
"op" : "set"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "src_addr"]
+ }
+ ],
+ "op" : "set"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "dst_addr"]
+ }
+ ],
+ "op" : "set"
}
],
"transitions" : [
@@ -871,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"
}
@@ -992,7 +979,7 @@
},
{
"name" : "parse_inner_udp",
- "id" : 13,
+ "id" : 12,
"parser_ops" : [
{
"parameters" : [
@@ -1007,7 +994,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
},
{
"type" : "field",
@@ -1020,7 +1007,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
},
{
"type" : "field",
@@ -1049,30 +1036,18 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 269,
+ "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.ue_counter",
- "id" : 0,
- "is_direct" : true,
- "binding" : "FabricIngress.spgw_ingress.dl_sess_lookup",
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 52,
- "column" : 50,
- "source_fragment" : "ue_counter"
- }
- },
- {
"name" : "FabricIngress.filtering.ingress_port_vlan_counter",
- "id" : 1,
+ "id" : 0,
"is_direct" : true,
"binding" : "FabricIngress.filtering.ingress_port_vlan",
"source_info" : {
@@ -1084,7 +1059,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier_counter",
- "id" : 2,
+ "id" : 1,
"is_direct" : true,
"binding" : "FabricIngress.filtering.fwd_classifier",
"source_info" : {
@@ -1096,7 +1071,7 @@
},
{
"name" : "FabricIngress.forwarding.bridging_counter",
- "id" : 3,
+ "id" : 2,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.bridging",
"source_info" : {
@@ -1108,7 +1083,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls_counter",
- "id" : 4,
+ "id" : 3,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.mpls",
"source_info" : {
@@ -1120,7 +1095,7 @@
},
{
"name" : "FabricIngress.acl.acl_counter",
- "id" : 5,
+ "id" : 4,
"is_direct" : true,
"binding" : "FabricIngress.acl.acl",
"source_info" : {
@@ -1132,7 +1107,7 @@
},
{
"name" : "FabricIngress.next.next_vlan_counter",
- "id" : 6,
+ "id" : 5,
"is_direct" : true,
"binding" : "FabricIngress.next.next_vlan",
"source_info" : {
@@ -1144,7 +1119,7 @@
},
{
"name" : "FabricIngress.next.xconnect_counter",
- "id" : 7,
+ "id" : 6,
"is_direct" : true,
"binding" : "FabricIngress.next.xconnect",
"source_info" : {
@@ -1156,7 +1131,7 @@
},
{
"name" : "FabricIngress.next.hashed_counter",
- "id" : 8,
+ "id" : 7,
"is_direct" : true,
"binding" : "FabricIngress.next.hashed",
"source_info" : {
@@ -1168,7 +1143,7 @@
},
{
"name" : "FabricIngress.next.multicast_counter",
- "id" : 9,
+ "id" : 8,
"is_direct" : true,
"binding" : "FabricIngress.next.multicast",
"source_info" : {
@@ -1180,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,
@@ -1192,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,
@@ -1203,6 +1178,18 @@
"is_direct" : false
},
{
+ "name" : "FabricIngress.spgw_ingress.pdr_counter",
+ "id" : 11,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 182,
+ "column" : 53,
+ "source_fragment" : "pdr_counter"
+ },
+ "size" : 2048,
+ "is_direct" : false
+ },
+ {
"name" : "FabricEgress.egress_next.egress_vlan_counter",
"id" : 12,
"is_direct" : true,
@@ -1213,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" : [],
@@ -1282,8 +1281,8 @@
"name" : "calc_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 243,
+ "filename" : "include/control/spgw.p4",
+ "line" : 364,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
@@ -1446,149 +1445,8 @@
"primitives" : []
},
{
- "name" : "nop",
- "id" : 7,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "nop",
- "id" : 8,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "FabricIngress.spgw_ingress.gtpu_decap",
- "id" : 9,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 56,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 57,
- "column" : 8,
- "source_fragment" : "gtpu_udp.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 58,
- "column" : 8,
- "source_fragment" : "gtpu.setInvalid()"
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_dl_sess_info",
- "id" : 10,
- "runtime_data" : [
- {
- "name" : "teid",
- "bitwidth" : 32
- },
- {
- "name" : "s1u_enb_addr",
- "bitwidth" : 32
- },
- {
- "name" : "s1u_sgw_addr",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid17"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 64,
- "column" : 30,
- "source_fragment" : "= teid; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_s1u_enb_addr18"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 65,
- "column" : 38,
- "source_fragment" : "= s1u_enb_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_s1u_sgw_addr19"]
- },
- {
- "type" : "runtime_data",
- "value" : 2
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 66,
- "column" : 38,
- "source_fragment" : "= s1u_sgw_addr; ..."
- }
- }
- ]
- },
- {
"name" : "FabricIngress.filtering.deny",
- "id" : 11,
+ "id" : 7,
"runtime_data" : [],
"primitives" : [
{
@@ -1653,13 +1511,13 @@
},
{
"name" : "FabricIngress.filtering.permit",
- "id" : 12,
+ "id" : 8,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.filtering.permit_with_internal_vlan",
- "id" : 13,
+ "id" : 9,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -1690,7 +1548,7 @@
},
{
"name" : "FabricIngress.filtering.set_forwarding_type",
- "id" : 14,
+ "id" : 10,
"runtime_data" : [
{
"name" : "fwd_type",
@@ -1721,7 +1579,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_bridging",
- "id" : 15,
+ "id" : 11,
"runtime_data" : [
{
"name" : "next_id",
@@ -1752,7 +1610,7 @@
},
{
"name" : "FabricIngress.forwarding.pop_mpls_and_next",
- "id" : 16,
+ "id" : 12,
"runtime_data" : [
{
"name" : "next_id",
@@ -1802,7 +1660,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_routing_v4",
- "id" : 17,
+ "id" : 13,
"runtime_data" : [
{
"name" : "next_id",
@@ -1833,13 +1691,13 @@
},
{
"name" : "FabricIngress.forwarding.nop_routing_v4",
- "id" : 18,
+ "id" : 14,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.acl.set_next_id_acl",
- "id" : 19,
+ "id" : 15,
"runtime_data" : [
{
"name" : "next_id",
@@ -1870,7 +1728,7 @@
},
{
"name" : "FabricIngress.acl.punt_to_cpu",
- "id" : 20,
+ "id" : 16,
"runtime_data" : [],
"primitives" : [
{
@@ -1925,7 +1783,7 @@
},
{
"name" : "FabricIngress.acl.set_clone_session_id",
- "id" : 21,
+ "id" : 17,
"runtime_data" : [
{
"name" : "clone_id",
@@ -1956,7 +1814,7 @@
},
{
"name" : "FabricIngress.acl.drop",
- "id" : 22,
+ "id" : 18,
"runtime_data" : [],
"primitives" : [
{
@@ -2007,13 +1865,13 @@
},
{
"name" : "FabricIngress.acl.nop_acl",
- "id" : 23,
+ "id" : 19,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.next.set_vlan",
- "id" : 24,
+ "id" : 20,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -2044,7 +1902,7 @@
},
{
"name" : "FabricIngress.next.output_xconnect",
- "id" : 25,
+ "id" : 21,
"runtime_data" : [
{
"name" : "port_num",
@@ -2075,7 +1933,7 @@
},
{
"name" : "FabricIngress.next.set_next_id_xconnect",
- "id" : 26,
+ "id" : 22,
"runtime_data" : [
{
"name" : "next_id",
@@ -2106,7 +1964,7 @@
},
{
"name" : "FabricIngress.next.output_hashed",
- "id" : 27,
+ "id" : 23,
"runtime_data" : [
{
"name" : "port_num",
@@ -2137,7 +1995,7 @@
},
{
"name" : "FabricIngress.next.routing_hashed",
- "id" : 28,
+ "id" : 24,
"runtime_data" : [
{
"name" : "port_num",
@@ -2214,7 +2072,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_hashed",
- "id" : 29,
+ "id" : 25,
"runtime_data" : [
{
"name" : "port_num",
@@ -2314,7 +2172,7 @@
},
{
"name" : "FabricIngress.next.set_mcast_group_id",
- "id" : 30,
+ "id" : 26,
"runtime_data" : [
{
"name" : "group_id",
@@ -2373,16 +2231,126 @@
]
},
{
- "name" : "act",
- "id" : 31,
- "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",
@@ -2400,47 +2368,10 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 30,
- "column" : 32,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_0",
- "id" : 32,
- "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; ..."
}
},
{
@@ -2448,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",
@@ -2459,85 +2487,600 @@
"left" : null,
"right" : {
"type" : "bool",
- "value" : false
+ "value" : true
}
}
}
}
- ]
- }
- ]
- },
- {
- "name" : "act_1",
- "id" : 33,
- "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" : 35,
- "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" : 34,
- "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" : 37,
- "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" : 35,
- "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" : 31,
- "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; ..."
}
},
{
@@ -2553,10 +3096,55 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 32,
- "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()"
}
},
{
@@ -2564,24 +3152,647 @@
"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" : 33,
- "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",
+ "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" : [
@@ -2661,7 +3872,7 @@
]
},
{
- "name" : "act_5",
+ "name" : "act_0",
"id" : 37,
"runtime_data" : [],
"primitives" : [
@@ -2670,6 +3881,189 @@
"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" : 42,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
"value" : ["scalars", "fabric_metadata_t._vlan_id1"]
},
{
@@ -2726,7 +4120,7 @@
},
{
"name" : "act_6",
- "id" : 38,
+ "id" : 43,
"runtime_data" : [],
"primitives" : [
{
@@ -2752,144 +4146,6 @@
},
{
"name" : "act_7",
- "id" : 39,
- "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" : true
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_8",
- "id" : 40,
- "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" : 41,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "mark_to_drop",
- "parameters" : [
- {
- "type" : "header",
- "value" : "standard_metadata"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 149,
- "column" : 16,
- "source_fragment" : "mark_to_drop(standard_metadata)"
- }
- }
- ]
- },
- {
- "name" : "act_10",
- "id" : 42,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction15"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 147,
- "column" : 36,
- "source_fragment" : "2w1; ..."
- }
- }
- ]
- },
- {
- "name" : "act_11",
- "id" : 43,
- "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" : 44,
"runtime_data" : [],
"primitives" : [
@@ -2898,174 +4154,7 @@
"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" : 45,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction15"]
- },
- {
- "type" : "hexstr",
- "value" : "0x02"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 148,
- "column" : 38,
- "source_fragment" : "2w2; ..."
- }
- }
- ]
- },
- {
- "name" : "act_14",
- "id" : 46,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction15"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 146,
- "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" : 158,
- "column" : 12,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_15",
- "id" : 47,
- "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" : 48,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len16"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "total_len"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 175,
- "column" : 34,
- "source_fragment" : "= ipv4.total_len; ..."
- }
- }
- ]
- },
- {
- "name" : "act_17",
- "id" : 49,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
},
{
"type" : "expression",
@@ -3101,7 +4190,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
}
],
"source_info" : {
@@ -3114,8 +4203,8 @@
]
},
{
- "name" : "act_18",
- "id" : 50,
+ "name" : "act_8",
+ "id" : 45,
"runtime_data" : [],
"primitives" : [
{
@@ -3123,7 +4212,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
},
{
"type" : "expression",
@@ -3159,7 +4248,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
}
],
"source_info" : {
@@ -3173,605 +4262,13 @@
},
{
"name" : "nop",
- "id" : 51,
+ "id" : 46,
"runtime_data" : [],
"primitives" : []
},
{
- "name" : "FabricEgress.spgw_egress.gtpu_encap",
- "id" : 52,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 191,
- "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" : 192,
- "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" : 129,
- "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" : 194,
- "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" : 195,
- "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" : 196,
- "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" : 198,
- "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" : 199,
- "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" : 200,
- "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" : 142,
- "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" : 126,
- "column" : 25,
- "source_fragment" : "17; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dst_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_s1u_enb_addr18"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 203,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.dst_addr = fabric_meta.spgw.s1u_enb_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "src_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_s1u_sgw_addr19"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 204,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.src_addr = fabric_meta.spgw.s1u_sgw_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "hdr_checksum"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 205,
- "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" : 207,
- "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" : 208,
- "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" : 209,
- "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_len16"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0010"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 210,
- "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" : 212,
- "column" : 8,
- "source_fragment" : "gtpu_udp.checksum = 0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 214,
- "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" : 215,
- "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" : 216,
- "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" : 217,
- "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" : 218,
- "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" : 219,
- "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" : 220,
- "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" : 221,
- "column" : 8,
- "source_fragment" : "gtpu.msgtype = 0xff"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "msglen"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len16"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 222,
- "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_teid17"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 223,
- "column" : 8,
- "source_fragment" : "gtpu.teid = fabric_meta.spgw.teid; ..."
- }
- }
- ]
- },
- {
"name" : "FabricEgress.egress_next.pop_mpls_if_present",
- "id" : 53,
+ "id" : 47,
"runtime_data" : [],
"primitives" : [
{
@@ -3812,7 +4309,7 @@
},
{
"name" : "FabricEgress.egress_next.set_mpls",
- "id" : 54,
+ "id" : 48,
"runtime_data" : [],
"primitives" : [
{
@@ -3920,7 +4417,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 112,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -3929,7 +4426,7 @@
},
{
"name" : "FabricEgress.egress_next.push_vlan",
- "id" : 55,
+ "id" : 49,
"runtime_data" : [],
"primitives" : [
{
@@ -3999,7 +4496,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 111,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -4027,7 +4524,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_vlan",
- "id" : 56,
+ "id" : 50,
"runtime_data" : [],
"primitives" : [
{
@@ -4048,8 +4545,600 @@
]
},
{
- "name" : "act_19",
- "id" : 57,
+ "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" : [
{
@@ -4065,8 +5154,8 @@
]
},
{
- "name" : "act_20",
- "id" : 58,
+ "name" : "act_10",
+ "id" : 53,
"runtime_data" : [],
"primitives" : [
{
@@ -4116,8 +5205,8 @@
]
},
{
- "name" : "act_21",
- "id" : 59,
+ "name" : "act_11",
+ "id" : 54,
"runtime_data" : [],
"primitives" : [
{
@@ -4138,8 +5227,8 @@
]
},
{
- "name" : "act_22",
- "id" : 60,
+ "name" : "act_12",
+ "id" : 55,
"runtime_data" : [],
"primitives" : [
{
@@ -4168,8 +5257,8 @@
]
},
{
- "name" : "act_23",
- "id" : 61,
+ "name" : "act_13",
+ "id" : 56,
"runtime_data" : [],
"primitives" : [
{
@@ -4198,8 +5287,8 @@
]
},
{
- "name" : "act_24",
- "id" : 62,
+ "name" : "act_14",
+ "id" : 57,
"runtime_data" : [],
"primitives" : [
{
@@ -4220,8 +5309,8 @@
]
},
{
- "name" : "act_25",
- "id" : 63,
+ "name" : "act_15",
+ "id" : 58,
"runtime_data" : [],
"primitives" : [
{
@@ -4269,8 +5358,8 @@
]
},
{
- "name" : "act_26",
- "id" : 64,
+ "name" : "act_16",
+ "id" : 59,
"runtime_data" : [],
"primitives" : [
{
@@ -4291,8 +5380,8 @@
]
},
{
- "name" : "act_27",
- "id" : 65,
+ "name" : "act_17",
+ "id" : 60,
"runtime_data" : [],
"primitives" : [
{
@@ -4338,6 +5427,98 @@
}
}
]
+ },
+ {
+ "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" : [
+ {
+ "op" : "count",
+ "parameters" : [
+ {
+ "type" : "counter_array",
+ "value" : "FabricEgress.spgw_egress.pdr_counter"
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 346,
+ "column" : 8,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ }
+ }
+ ]
}
],
"pipelines" : [
@@ -4350,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" : [32],
- "actions" : ["act_0"],
- "base_default_next" : "node_3",
- "next_tables" : {
- "act_0" : "node_3"
- },
- "default_entry" : {
- "action_id" : 32,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_0",
- "id" : 1,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 30,
- "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" : [31],
- "actions" : ["act"],
- "base_default_next" : "node_5",
- "next_tables" : {
- "act" : "node_5"
- },
- "default_entry" : {
- "action_id" : 31,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_1",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 31,
- "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" : [35],
- "actions" : ["act_3"],
- "base_default_next" : "node_7",
- "next_tables" : {
- "act_3" : "node_7"
- },
- "default_entry" : {
- "action_id" : 35,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_2",
- "id" : 3,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 35,
- "column" : 16,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [33],
- "actions" : ["act_1"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_1" : "node_10"
- },
- "default_entry" : {
- "action_id" : 33,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_3",
- "id" : 4,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 37,
- "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" : [34],
- "actions" : ["act_2"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_2" : "node_10"
- },
- "default_entry" : {
- "action_id" : 34,
- "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,
@@ -4514,10 +5550,10 @@
"support_timeout" : false,
"direct_meters" : null,
"action_ids" : [36],
- "actions" : ["act_4"],
- "base_default_next" : "node_12",
+ "actions" : ["act"],
+ "base_default_next" : "tbl_act_0",
"next_tables" : {
- "act_4" : "node_12"
+ "act" : "tbl_act_0"
},
"default_entry" : {
"action_id" : 36,
@@ -4527,9 +5563,445 @@
}
},
{
- "name" : "tbl_act_5",
+ "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
+ }
+ },
+ {
+ "name" : "tbl_act_5",
+ "id" : 11,
+ "source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 111,
"column" : 36,
@@ -4542,14 +6014,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [37],
+ "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" : 37,
+ "action_id" : 42,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -4557,7 +6029,7 @@
},
{
"name" : "tbl_act_6",
- "id" : 7,
+ "id" : 12,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 127,
@@ -4571,14 +6043,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [38],
+ "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" : 38,
+ "action_id" : 43,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -4586,7 +6058,7 @@
},
{
"name" : "FabricIngress.filtering.ingress_port_vlan",
- "id" : 8,
+ "id" : 13,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 53,
@@ -4619,7 +6091,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [11, 12, 13],
+ "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" : {
@@ -4628,7 +6100,7 @@
"FabricIngress.filtering.permit_with_internal_vlan" : "FabricIngress.filtering.fwd_classifier"
},
"default_entry" : {
- "action_id" : 11,
+ "action_id" : 7,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -4636,7 +6108,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier",
- "id" : 9,
+ "id" : 14,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 92,
@@ -4675,385 +6147,22 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [14],
+ "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" : 14,
+ "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" : [47],
- "actions" : ["act_15"],
- "base_default_next" : "node_19",
- "next_tables" : {
- "act_15" : "node_19"
- },
- "default_entry" : {
- "action_id" : 47,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.s1u_filter_table",
- "id" : 11,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 83,
- "column" : 10,
- "source_fragment" : "s1u_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" : [39],
- "actions" : ["act_7"],
- "base_default_next" : "node_23",
- "next_tables" : {
- "act_7" : "node_23"
- },
- "default_entry" : {
- "action_id" : 39,
- "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" : [40],
- "actions" : ["act_8"],
- "base_default_next" : "node_23",
- "next_tables" : {
- "act_8" : "node_23"
- },
- "default_entry" : {
- "action_id" : 40,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_10",
- "id" : 14,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 149,
- "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" : [41],
- "actions" : ["act_9"],
- "base_default_next" : "tbl_act_11",
- "next_tables" : {
- "act_9" : "tbl_act_11"
- },
- "default_entry" : {
- "action_id" : 41,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_11",
- "id" : 15,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 151,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [42],
- "actions" : ["act_10"],
- "base_default_next" : "tbl_spgw_ingress_gtpu_decap",
- "next_tables" : {
- "act_10" : "tbl_spgw_ingress_gtpu_decap"
- },
- "default_entry" : {
- "action_id" : 42,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_spgw_ingress_gtpu_decap",
- "id" : 16,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 152,
- "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" : [9],
- "actions" : ["FabricIngress.spgw_ingress.gtpu_decap"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "FabricIngress.spgw_ingress.gtpu_decap" : "node_33"
- },
- "default_entry" : {
- "action_id" : 9,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.dl_sess_lookup",
- "id" : 17,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 70,
- "column" : 10,
- "source_fragment" : "dl_sess_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "ipv4_dst",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : true,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [10, 0],
- "actions" : ["FabricIngress.spgw_ingress.set_dl_sess_info", "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" : [43],
- "actions" : ["act_11"],
- "base_default_next" : "node_30",
- "next_tables" : {
- "act_11" : "node_30"
- },
- "default_entry" : {
- "action_id" : 43,
- "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" : [44],
- "actions" : ["act_12"],
- "base_default_next" : "node_30",
- "next_tables" : {
- "act_12" : "node_30"
- },
- "default_entry" : {
- "action_id" : 44,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_14",
- "id" : 20,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 154,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [45],
- "actions" : ["act_13"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "act_13" : "node_33"
- },
- "default_entry" : {
- "action_id" : 45,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_15",
- "id" : 21,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 156,
- "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" : [46],
- "actions" : ["act_14"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "act_14" : "node_33"
- },
- "default_entry" : {
- "action_id" : 46,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_16",
- "id" : 22,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 175,
- "column" : 34,
- "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_16"],
- "base_default_next" : "node_35",
- "next_tables" : {
- "act_16" : "node_35"
- },
- "default_entry" : {
- "action_id" : 48,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
"name" : "FabricIngress.forwarding.bridging",
- "id" : 23,
+ "id" : 15,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 46,
@@ -5080,7 +6189,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [15, 2],
+ "action_ids" : [11, 0],
"actions" : ["FabricIngress.forwarding.set_next_id_bridging", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -5088,7 +6197,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 2,
+ "action_id" : 0,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5096,7 +6205,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls",
- "id" : 24,
+ "id" : 16,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 71,
@@ -5117,7 +6226,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [16, 3],
+ "action_ids" : [12, 1],
"actions" : ["FabricIngress.forwarding.pop_mpls_and_next", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -5125,7 +6234,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 3,
+ "action_id" : 1,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5133,7 +6242,7 @@
},
{
"name" : "FabricIngress.forwarding.routing_v4",
- "id" : 25,
+ "id" : 17,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 108,
@@ -5144,7 +6253,7 @@
{
"match_type" : "lpm",
"name" : "ipv4_dst",
- "target" : ["ipv4", "dst_addr"],
+ "target" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"],
"mask" : null
}
],
@@ -5154,7 +6263,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [17, 18, 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" : {
@@ -5163,7 +6272,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 4,
+ "action_id" : 2,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -5171,7 +6280,7 @@
},
{
"name" : "FabricIngress.acl.acl",
- "id" : 26,
+ "id" : 18,
"source_info" : {
"filename" : "include/control/acl.p4",
"line" : 60,
@@ -5258,18 +6367,18 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [19, 20, 21, 22, 23],
+ "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_43",
+ "base_default_next" : "node_33",
"next_tables" : {
- "FabricIngress.acl.set_next_id_acl" : "node_43",
- "FabricIngress.acl.punt_to_cpu" : "node_43",
- "FabricIngress.acl.set_clone_session_id" : "node_43",
- "FabricIngress.acl.drop" : "node_43",
- "FabricIngress.acl.nop_acl" : "node_43"
+ "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" : 23,
+ "action_id" : 19,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5277,7 +6386,7 @@
},
{
"name" : "FabricIngress.next.xconnect",
- "id" : 27,
+ "id" : 19,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 119,
@@ -5304,7 +6413,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [25, 26, 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" : {
@@ -5313,7 +6422,7 @@
"nop" : "FabricIngress.next.hashed"
},
"default_entry" : {
- "action_id" : 6,
+ "action_id" : 4,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5321,7 +6430,7 @@
},
{
"name" : "FabricIngress.next.hashed",
- "id" : 28,
+ "id" : 20,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 202,
@@ -5343,7 +6452,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [27, 28, 29, 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" : {
@@ -5355,7 +6464,7 @@
},
{
"name" : "FabricIngress.next.multicast",
- "id" : 29,
+ "id" : 21,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 236,
@@ -5376,7 +6485,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [30, 8],
+ "action_ids" : [26, 6],
"actions" : ["FabricIngress.next.set_mcast_group_id", "nop"],
"base_default_next" : "FabricIngress.next.next_vlan",
"next_tables" : {
@@ -5384,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
@@ -5392,7 +6501,7 @@
},
{
"name" : "FabricIngress.next.next_vlan",
- "id" : 30,
+ "id" : 22,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 86,
@@ -5413,23 +6522,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [24, 5],
+ "action_ids" : [20, 3],
"actions" : ["FabricIngress.next.set_vlan", "nop"],
- "base_default_next" : "node_48",
+ "base_default_next" : "node_38",
"next_tables" : {
- "FabricIngress.next.set_vlan" : "node_48",
- "nop" : "node_48"
+ "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_17",
- "id" : 31,
+ "name" : "tbl_act_7",
+ "id" : 23,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 31,
@@ -5443,22 +6552,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [49],
- "actions" : ["act_17"],
- "base_default_next" : "node_50",
+ "action_ids" : [44],
+ "actions" : ["act_7"],
+ "base_default_next" : "node_40",
"next_tables" : {
- "act_17" : "node_50"
+ "act_7" : "node_40"
},
"default_entry" : {
- "action_id" : 49,
+ "action_id" : 44,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_18",
- "id" : 32,
+ "name" : "tbl_act_8",
+ "id" : 24,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 34,
@@ -5472,14 +6581,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [50],
- "actions" : ["act_18"],
+ "action_ids" : [45],
+ "actions" : ["act_8"],
"base_default_next" : null,
"next_tables" : {
- "act_18" : null
+ "act_8" : null
},
"default_entry" : {
- "action_id" : 50,
+ "action_id" : 45,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5502,11 +6611,11 @@
"input" : [
{
"type" : "field",
- "value" : ["ipv4", "dst_addr"]
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
},
{
"type" : "field",
- "value" : ["ipv4", "src_addr"]
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
},
{
"type" : "field",
@@ -5526,86 +6635,9 @@
],
"conditionals" : [
{
- "name" : "node_3",
+ "name" : "node_2",
"id" : 0,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 30,
- "column" : 12,
- "source_fragment" : "! is_gtpu_encapped"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_0",
- "false_next" : "node_5"
- },
- {
- "name" : "node_5",
- "id" : 1,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_1",
- "false_next" : "node_10"
- },
- {
- "name" : "node_7",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 12,
- "source_fragment" : "inner_udp.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["inner_udp", "$valid$"]
- }
- }
- },
- "true_next" : "tbl_act_2",
- "false_next" : "tbl_act_3"
- },
- {
- "name" : "node_10",
- "id" : 3,
- "source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 24,
"column" : 12,
@@ -5622,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,
@@ -5646,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,
@@ -5679,105 +6857,11 @@
"false_next" : "FabricIngress.filtering.ingress_port_vlan"
},
{
- "name" : "node_19",
- "id" : 6,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 144,
- "column" : 12,
- "source_fragment" : "gtpu.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.s1u_filter_table",
- "false_next" : "FabricIngress.spgw_ingress.dl_sess_lookup"
- },
- {
- "name" : "node_23",
- "id" : 7,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 148,
- "column" : 16,
- "source_fragment" : "!s1u_filter_table.apply().hit"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- }
- }
- }
- }
- },
- "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" : "tbl_act_16",
- "false_next" : "node_35"
- },
- {
- "name" : "node_35",
- "id" : 10,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -5802,12 +6886,12 @@
}
}
},
- "true_next" : "node_36",
+ "true_next" : "node_26",
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_36",
- "id" : 11,
+ "name" : "node_26",
+ "id" : 9,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 150,
@@ -5829,11 +6913,11 @@
}
},
"true_next" : "FabricIngress.forwarding.bridging",
- "false_next" : "node_38"
+ "false_next" : "node_28"
},
{
- "name" : "node_38",
- "id" : 12,
+ "name" : "node_28",
+ "id" : 10,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 151,
@@ -5855,11 +6939,11 @@
}
},
"true_next" : "FabricIngress.forwarding.mpls",
- "false_next" : "node_40"
+ "false_next" : "node_30"
},
{
- "name" : "node_40",
- "id" : 13,
+ "name" : "node_30",
+ "id" : 11,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 152,
@@ -5884,11 +6968,11 @@
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_43",
- "id" : 14,
+ "name" : "node_33",
+ "id" : 12,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -5917,8 +7001,8 @@
"true_next" : "FabricIngress.next.xconnect"
},
{
- "name" : "node_48",
- "id" : 15,
+ "name" : "node_38",
+ "id" : 13,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 30,
@@ -5939,12 +7023,12 @@
}
}
},
- "true_next" : "tbl_act_17",
- "false_next" : "node_50"
+ "true_next" : "tbl_act_7",
+ "false_next" : "node_40"
},
{
- "name" : "node_50",
- "id" : 16,
+ "name" : "node_40",
+ "id" : 14,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 33,
@@ -5966,7 +7050,7 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_18"
+ "true_next" : "tbl_act_8"
}
]
},
@@ -5975,15 +7059,15 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},
- "init_table" : "node_54",
+ "init_table" : "node_44",
"tables" : [
{
- "name" : "tbl_act_19",
- "id" : 33,
+ "name" : "tbl_act_9",
+ "id" : 25,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 41,
@@ -5997,22 +7081,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [57],
- "actions" : ["act_19"],
- "base_default_next" : "node_56",
+ "action_ids" : [52],
+ "actions" : ["act_9"],
+ "base_default_next" : "node_46",
"next_tables" : {
- "act_19" : "node_56"
+ "act_9" : "node_46"
},
"default_entry" : {
- "action_id" : 57,
+ "action_id" : 52,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_20",
- "id" : 34,
+ "name" : "tbl_act_10",
+ "id" : 26,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 44,
@@ -6026,22 +7110,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [58],
- "actions" : ["act_20"],
- "base_default_next" : "node_58",
+ "action_ids" : [53],
+ "actions" : ["act_10"],
+ "base_default_next" : "node_48",
"next_tables" : {
- "act_20" : "node_58"
+ "act_10" : "node_48"
},
"default_entry" : {
- "action_id" : 58,
+ "action_id" : 53,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_21",
- "id" : 35,
+ "name" : "tbl_act_11",
+ "id" : 27,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 337,
@@ -6055,14 +7139,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [59],
- "actions" : ["act_21"],
- "base_default_next" : "node_60",
+ "action_ids" : [54],
+ "actions" : ["act_11"],
+ "base_default_next" : "node_50",
"next_tables" : {
- "act_21" : "node_60"
+ "act_11" : "node_50"
},
"default_entry" : {
- "action_id" : 59,
+ "action_id" : 54,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6070,7 +7154,7 @@
},
{
"name" : "tbl_egress_next_pop_mpls_if_present",
- "id" : 36,
+ "id" : 28,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -6084,14 +7168,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [53],
+ "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" : 53,
+ "action_id" : 47,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6099,7 +7183,7 @@
},
{
"name" : "tbl_egress_next_set_mpls",
- "id" : 37,
+ "id" : 29,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 343,
@@ -6113,14 +7197,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [54],
+ "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" : 54,
+ "action_id" : 48,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6128,7 +7212,7 @@
},
{
"name" : "FabricEgress.egress_next.egress_vlan",
- "id" : 38,
+ "id" : 30,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 320,
@@ -6155,23 +7239,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [56, 51],
+ "action_ids" : [50, 46],
"actions" : ["FabricEgress.egress_next.pop_vlan", "nop"],
"base_default_next" : null,
"next_tables" : {
- "__HIT__" : "tbl_act_22",
- "__MISS__" : "tbl_act_23"
+ "__HIT__" : "tbl_act_12",
+ "__MISS__" : "tbl_act_13"
},
"default_entry" : {
- "action_id" : 51,
+ "action_id" : 46,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_22",
- "id" : 39,
+ "name" : "tbl_act_12",
+ "id" : 31,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -6179,22 +7263,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [60],
- "actions" : ["act_22"],
- "base_default_next" : "node_67",
+ "action_ids" : [55],
+ "actions" : ["act_12"],
+ "base_default_next" : "node_57",
"next_tables" : {
- "act_22" : "node_67"
+ "act_12" : "node_57"
},
"default_entry" : {
- "action_id" : 60,
+ "action_id" : 55,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_23",
- "id" : 40,
+ "name" : "tbl_act_13",
+ "id" : 32,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -6202,14 +7286,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [61],
- "actions" : ["act_23"],
- "base_default_next" : "node_67",
+ "action_ids" : [56],
+ "actions" : ["act_13"],
+ "base_default_next" : "node_57",
"next_tables" : {
- "act_23" : "node_67"
+ "act_13" : "node_57"
},
"default_entry" : {
- "action_id" : 61,
+ "action_id" : 56,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6217,7 +7301,7 @@
},
{
"name" : "tbl_egress_next_push_vlan",
- "id" : 41,
+ "id" : 33,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 360,
@@ -6231,22 +7315,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [55],
+ "action_ids" : [49],
"actions" : ["FabricEgress.egress_next.push_vlan"],
- "base_default_next" : "node_70",
+ "base_default_next" : "node_60",
"next_tables" : {
- "FabricEgress.egress_next.push_vlan" : "node_70"
+ "FabricEgress.egress_next.push_vlan" : "node_60"
},
"default_entry" : {
- "action_id" : 55,
+ "action_id" : 49,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_24",
- "id" : 42,
+ "name" : "tbl_act_14",
+ "id" : 34,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 369,
@@ -6260,22 +7344,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [63],
- "actions" : ["act_25"],
- "base_default_next" : "node_72",
+ "action_ids" : [58],
+ "actions" : ["act_15"],
+ "base_default_next" : "node_62",
"next_tables" : {
- "act_25" : "node_72"
+ "act_15" : "node_62"
},
"default_entry" : {
- "action_id" : 63,
+ "action_id" : 58,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_25",
- "id" : 43,
+ "name" : "tbl_act_15",
+ "id" : 35,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -6289,22 +7373,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [62],
- "actions" : ["act_24"],
- "base_default_next" : "node_78",
+ "action_ids" : [57],
+ "actions" : ["act_14"],
+ "base_default_next" : "tbl_act_18",
"next_tables" : {
- "act_24" : "node_78"
+ "act_14" : "tbl_act_18"
},
"default_entry" : {
- "action_id" : 62,
+ "action_id" : 57,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_26",
- "id" : 44,
+ "name" : "tbl_act_16",
+ "id" : 36,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 373,
@@ -6318,22 +7402,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [65],
- "actions" : ["act_27"],
- "base_default_next" : "node_76",
+ "action_ids" : [60],
+ "actions" : ["act_17"],
+ "base_default_next" : "node_66",
"next_tables" : {
- "act_27" : "node_76"
+ "act_17" : "node_66"
},
"default_entry" : {
- "action_id" : 65,
+ "action_id" : 60,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_27",
- "id" : 45,
+ "name" : "tbl_act_17",
+ "id" : 37,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -6347,14 +7431,95 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [64],
- "actions" : ["act_26"],
- "base_default_next" : "node_78",
+ "action_ids" : [59],
+ "actions" : ["act_16"],
+ "base_default_next" : "tbl_act_18",
"next_tables" : {
- "act_26" : "node_78"
+ "act_16" : "tbl_act_18"
},
"default_entry" : {
- "action_id" : 64,
+ "action_id" : 59,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "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/control/spgw.p4",
+ "line" : 345,
+ "column" : 46,
+ "source_fragment" : "return"
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [61],
+ "actions" : ["act_18"],
+ "base_default_next" : "node_71",
+ "next_tables" : {
+ "act_18" : "node_71"
+ },
+ "default_entry" : {
+ "action_id" : 61,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_20",
+ "id" : 40,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 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
@@ -6362,10 +7527,10 @@
},
{
"name" : "tbl_spgw_egress_gtpu_encap",
- "id" : 46,
+ "id" : 41,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 228,
+ "filename" : "include/control/spgw.p4",
+ "line" : 349,
"column" : 12,
"source_fragment" : "gtpu_encap()"
},
@@ -6376,14 +7541,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [52],
+ "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" : 52,
+ "action_id" : 51,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6393,8 +7558,8 @@
"action_profiles" : [],
"conditionals" : [
{
- "name" : "node_54",
- "id" : 17,
+ "name" : "node_44",
+ "id" : 15,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 39,
@@ -6422,12 +7587,12 @@
}
}
},
- "true_next" : "tbl_act_19",
- "false_next" : "node_56"
+ "true_next" : "tbl_act_9",
+ "false_next" : "node_46"
},
{
- "name" : "node_56",
- "id" : 18,
+ "name" : "node_46",
+ "id" : 16,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 43,
@@ -6448,12 +7613,12 @@
}
}
},
- "true_next" : "tbl_act_20",
- "false_next" : "node_58"
+ "true_next" : "tbl_act_10",
+ "false_next" : "node_48"
},
{
- "name" : "node_58",
- "id" : 19,
+ "name" : "node_48",
+ "id" : 17,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 335,
@@ -6501,12 +7666,12 @@
}
}
},
- "true_next" : "tbl_act_21",
- "false_next" : "node_60"
+ "true_next" : "tbl_act_11",
+ "false_next" : "node_50"
},
{
- "name" : "node_60",
- "id" : 20,
+ "name" : "node_50",
+ "id" : 18,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 340,
@@ -6527,12 +7692,12 @@
}
}
},
- "true_next" : "node_61",
+ "true_next" : "node_51",
"false_next" : "tbl_egress_next_set_mpls"
},
{
- "name" : "node_61",
- "id" : 21,
+ "name" : "node_51",
+ "id" : 19,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -6554,8 +7719,8 @@
"false_next" : "FabricEgress.egress_next.egress_vlan"
},
{
- "name" : "node_67",
- "id" : 22,
+ "name" : "node_57",
+ "id" : 20,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 357,
@@ -6580,12 +7745,12 @@
}
}
},
- "true_next" : "node_68",
- "false_next" : "node_70"
+ "true_next" : "node_58",
+ "false_next" : "node_60"
},
{
- "name" : "node_68",
- "id" : 23,
+ "name" : "node_58",
+ "id" : 21,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 359,
@@ -6607,11 +7772,11 @@
}
},
"true_next" : "tbl_egress_next_push_vlan",
- "false_next" : "node_70"
+ "false_next" : "node_60"
},
{
- "name" : "node_70",
- "id" : 24,
+ "name" : "node_60",
+ "id" : 22,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 368,
@@ -6629,12 +7794,12 @@
}
}
},
- "true_next" : "tbl_act_24",
- "false_next" : "node_74"
+ "true_next" : "tbl_act_14",
+ "false_next" : "node_64"
},
{
- "name" : "node_72",
- "id" : 25,
+ "name" : "node_62",
+ "id" : 23,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -6655,12 +7820,12 @@
}
}
},
- "true_next" : "tbl_act_25",
- "false_next" : "node_78"
+ "true_next" : "tbl_act_15",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_74",
- "id" : 26,
+ "name" : "node_64",
+ "id" : 24,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 372,
@@ -6678,12 +7843,12 @@
}
}
},
- "true_next" : "tbl_act_26",
- "false_next" : "node_78"
+ "true_next" : "tbl_act_16",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_76",
- "id" : 27,
+ "name" : "node_66",
+ "id" : 25,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -6704,29 +7869,93 @@
}
}
},
- "true_next" : "tbl_act_27",
- "false_next" : "node_78"
+ "true_next" : "tbl_act_17",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_78",
- "id" : 28,
+ "name" : "node_69",
+ "id" : 26,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 227,
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
"column" : 12,
- "source_fragment" : "fabric_meta.spgw.direction == SPGW_DIR_DOWNLINK"
+ "source_fragment" : "fabric_md.spgw.skip_spgw == true"
},
"expression" : {
"type" : "expression",
"value" : {
"op" : "==",
"left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction15"]
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw28"]
+ }
+ }
},
"right" : {
- "type" : "hexstr",
- "value" : "0x02"
+ "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"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
}
}
},
@@ -6767,8 +7996,8 @@
"name" : "cksum_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 243,
+ "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 aa87ff9..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,48 +3,6 @@
}
tables {
preamble {
- id: 33582731
- name: "FabricIngress.spgw_ingress.dl_sess_lookup"
- alias: "dl_sess_lookup"
- }
- match_fields {
- id: 1
- name: "ipv4_dst"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16804065
- }
- action_refs {
- id: 16819938
- annotations: "@defaultonly"
- scope: DEFAULT_ONLY
- }
- const_default_action_id: 16819938
- direct_resource_ids: 318781522
- size: 1024
-}
-tables {
- preamble {
- id: 33615906
- name: "FabricIngress.spgw_ingress.s1u_filter_table"
- alias: "s1u_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: 33611649
name: "FabricIngress.filtering.ingress_port_vlan"
alias: "ingress_port_vlan"
@@ -407,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"
@@ -444,28 +495,6 @@
}
actions {
preamble {
- id: 16804065
- name: "FabricIngress.spgw_ingress.set_dl_sess_info"
- alias: "set_dl_sess_info"
- }
- params {
- id: 1
- name: "teid"
- bitwidth: 32
- }
- params {
- id: 2
- name: "s1u_enb_addr"
- bitwidth: 32
- }
- params {
- id: 3
- name: "s1u_sgw_addr"
- bitwidth: 32
- }
-}
-actions {
- preamble {
id: 16836487
name: "FabricIngress.filtering.deny"
alias: "deny"
@@ -701,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"
@@ -739,16 +894,27 @@
}
size: 511
}
-direct_counters {
+counters {
preamble {
- id: 318781522
- name: "FabricIngress.spgw_ingress.ue_counter"
- alias: "ue_counter"
+ id: 302029884
+ name: "FabricIngress.spgw_ingress.pdr_counter"
+ alias: "spgw_ingress.pdr_counter"
}
spec {
unit: BOTH
}
- direct_table_id: 33582731
+ size: 2048
+}
+counters {
+ preamble {
+ id: 302012289
+ name: "FabricEgress.spgw_egress.pdr_counter"
+ alias: "spgw_egress.pdr_counter"
+ }
+ spec {
+ unit: BOTH
+ }
+ 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 1ff415c..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
@@ -24,7 +24,9 @@
["fabric_metadata_t.is_controller_packet_out", 1, false],
["fabric_metadata_t.ip_proto", 8, false],
["fabric_metadata_t.l4_sport", 16, false],
- ["fabric_metadata_t.l4_dport", 16, false]
+ ["fabric_metadata_t.l4_dport", 16, false],
+ ["fabric_metadata_t.ipv4_src_addr", 32, false],
+ ["fabric_metadata_t.ipv4_dst_addr", 32, false]
]
},
{
@@ -637,6 +639,32 @@
}
],
"op" : "set"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t.ipv4_src_addr"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "src_addr"]
+ }
+ ],
+ "op" : "set"
+ },
+ {
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t.ipv4_dst_addr"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "dst_addr"]
+ }
+ ],
+ "op" : "set"
}
],
"transitions" : [
@@ -807,7 +835,7 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 269,
+ "line" : 268,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
@@ -2359,7 +2387,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 112,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -2438,7 +2466,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 111,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -3075,7 +3103,7 @@
{
"match_type" : "lpm",
"name" : "ipv4_dst",
- "target" : ["ipv4", "dst_addr"],
+ "target" : ["scalars", "fabric_metadata_t.ipv4_dst_addr"],
"mask" : null
}
],
@@ -3433,11 +3461,11 @@
"input" : [
{
"type" : "field",
- "value" : ["ipv4", "dst_addr"]
+ "value" : ["scalars", "fabric_metadata_t.ipv4_src_addr"]
},
{
"type" : "field",
- "value" : ["ipv4", "src_addr"]
+ "value" : ["scalars", "fabric_metadata_t.ipv4_dst_addr"]
},
{
"type" : "field",
@@ -3537,7 +3565,7 @@
"id" : 3,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -3648,7 +3676,7 @@
"id" : 7,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -3735,7 +3763,7 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},