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/resources/fabric.p4 b/pipelines/fabric/impl/src/main/resources/fabric.p4
index 86bd764..9f6b27d 100644
--- a/pipelines/fabric/impl/src/main/resources/fabric.p4
+++ b/pipelines/fabric/impl/src/main/resources/fabric.p4
@@ -32,7 +32,7 @@
#endif // WITH_PORT_COUNTER
#ifdef WITH_SPGW
-#include "include/spgw.p4"
+#include "include/control/spgw.p4"
#endif // WITH_SPGW
#ifdef WITH_BNG
@@ -55,19 +55,17 @@
#ifdef WITH_PORT_COUNTER
PortCountersControl() port_counters_control;
#endif // WITH_PORT_COUNTER
+#ifdef WITH_SPGW
+ SpgwIngress() spgw_ingress;
+#endif // WITH_SPGW
apply {
_PRE_INGRESS
-#ifdef WITH_SPGW
- spgw_normalizer.apply(hdr.gtpu.isValid(), hdr.gtpu_ipv4, hdr.gtpu_udp,
- hdr.ipv4, hdr.udp, hdr.inner_ipv4, hdr.inner_udp);
-#endif // WITH_SPGW
pkt_io_ingress.apply(hdr, fabric_metadata, standard_metadata);
- filtering.apply(hdr, fabric_metadata, standard_metadata);
#ifdef WITH_SPGW
- spgw_ingress.apply(hdr.gtpu_ipv4, hdr.gtpu_udp, hdr.gtpu,
- hdr.ipv4, hdr.udp, fabric_metadata, standard_metadata);
+ spgw_ingress.apply(hdr, fabric_metadata, standard_metadata);
#endif // WITH_SPGW
+ filtering.apply(hdr, fabric_metadata, standard_metadata);
if (fabric_metadata.skip_forwarding == _FALSE) {
forwarding.apply(hdr, fabric_metadata, standard_metadata);
}
@@ -96,14 +94,16 @@
PacketIoEgress() pkt_io_egress;
EgressNextControl() egress_next;
+#ifdef WITH_SPGW
+ SpgwEgress() spgw_egress;
+#endif // WITH_SPGW
apply {
_PRE_EGRESS
pkt_io_egress.apply(hdr, fabric_metadata, standard_metadata);
egress_next.apply(hdr, fabric_metadata, standard_metadata);
#ifdef WITH_SPGW
- spgw_egress.apply(hdr.ipv4, hdr.gtpu_ipv4, hdr.gtpu_udp, hdr.gtpu,
- fabric_metadata, standard_metadata);
+ spgw_egress.apply(hdr, fabric_metadata);
#endif // WITH_SPGW
#ifdef WITH_BNG
bng_egress.apply(hdr, fabric_metadata, standard_metadata);
diff --git a/pipelines/fabric/impl/src/main/resources/include/checksum.p4 b/pipelines/fabric/impl/src/main/resources/include/checksum.p4
index a10a393..2496002 100644
--- a/pipelines/fabric/impl/src/main/resources/include/checksum.p4
+++ b/pipelines/fabric/impl/src/main/resources/include/checksum.p4
@@ -18,7 +18,7 @@
#define __CHECKSUM__
#ifdef WITH_SPGW
-#include "spgw.p4"
+#include "control/spgw.p4"
#endif // WITH_SPGW
control FabricComputeChecksum(inout parsed_headers_t hdr,
diff --git a/pipelines/fabric/impl/src/main/resources/include/control/spgw.p4 b/pipelines/fabric/impl/src/main/resources/include/control/spgw.p4
new file mode 100644
index 0000000..b1bbcaf
--- /dev/null
+++ b/pipelines/fabric/impl/src/main/resources/include/control/spgw.p4
@@ -0,0 +1,408 @@
+/*
+ * Copyright 2017-present Open Networking Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __SPGW__
+#define __SPGW__
+
+#define DEFAULT_PDR_CTR_ID 0
+#define DEFAULT_FAR_ID 0
+
+#ifndef MAX_UES
+#define MAX_UES 1024
+#endif // MAX_UES
+#define MAX_INTERFACES 128
+
+#define MAX_UPLINK_PDRS MAX_UES
+#define MAX_DOWNLINK_PDRS MAX_UES
+#define MAX_PDR_COUNTERS 2 * MAX_UES
+#define MAX_FARS 2 * MAX_UES
+
+
+
+control SpgwIngress(inout parsed_headers_t hdr,
+ inout fabric_metadata_t fabric_md,
+ inout standard_metadata_t standard_metadata) {
+
+
+
+
+ //=============================//
+ //===== Interface Tables ======//
+ //=============================//
+
+ action set_source_iface(spgw_interface_t src_iface, direction_t direction,
+ bit<1> skip_spgw) {
+ // Interface type can be access, core, n6_lan, etc (see InterfaceType enum)
+ // If interface is from the control plane, direction can be either up or down
+ fabric_md.spgw.src_iface = src_iface;
+ fabric_md.spgw.direction = direction;
+ fabric_md.spgw.skip_spgw = (_BOOL)skip_spgw;
+ }
+ // TODO: check also that gtpu.msgtype == GTP_GPDU... somewhere
+ table interface_lookup {
+ key = {
+ hdr.ipv4.dst_addr : lpm @name("ipv4_dst_addr"); // outermost header
+ hdr.gtpu.isValid() : exact @name("gtpu_is_valid");
+ }
+ actions = {
+ set_source_iface;
+ }
+ const default_action = set_source_iface(SPGW_IFACE_UNKNOWN, SPGW_DIR_UNKNOWN, 1);
+ size = MAX_INTERFACES;
+ }
+
+
+ //=============================//
+ //===== PDR Tables ======//
+ //=============================//
+
+ action set_pdr_attributes(pdr_ctr_id_t ctr_id,
+ far_id_t far_id,
+ bit<1> needs_gtpu_decap) {
+ fabric_md.spgw.pdr_hit = _TRUE;
+ fabric_md.spgw.ctr_id = ctr_id;
+ fabric_md.spgw.far_id = far_id;
+ fabric_md.spgw.needs_gtpu_decap = (_BOOL)needs_gtpu_decap;
+ }
+
+ // These two tables scale well and cover the average case PDR
+ table downlink_pdr_lookup {
+ key = {
+ // only available ipv4 header
+ hdr.ipv4.dst_addr : exact @name("ue_addr");
+ }
+ actions = {
+ set_pdr_attributes;
+ }
+ const default_action = set_pdr_attributes(DEFAULT_PDR_CTR_ID, DEFAULT_FAR_ID, 0);
+ size = MAX_DOWNLINK_PDRS;
+ }
+ table uplink_pdr_lookup {
+ key = {
+ // tunnel_dst_addr will be static for Q2 target. Can remove if need more scaling
+ hdr.ipv4.dst_addr : exact @name("tunnel_ipv4_dst");
+ hdr.gtpu.teid : exact @name("teid");
+ hdr.inner_ipv4.src_addr : exact @name("ue_addr");
+ }
+ actions = {
+ set_pdr_attributes;
+ }
+ const default_action = set_pdr_attributes(DEFAULT_PDR_CTR_ID, DEFAULT_FAR_ID, 0);
+ size = MAX_UPLINK_PDRS;
+ }
+ // This table scales poorly and covers uncommon PDRs
+ table flexible_pdr_lookup {
+ key = {
+ fabric_md.spgw.src_iface : ternary @name("src_iface");
+ // GTPU
+ hdr.gtpu.isValid() : ternary @name("gtpu_is_valid");
+ hdr.gtpu.teid : ternary @name("teid");
+ // SDF
+ // outer 5-tuple
+ hdr.ipv4.src_addr : ternary @name("ipv4_src");
+ hdr.ipv4.dst_addr : ternary @name("ipv4_dst");
+ hdr.ipv4.protocol : ternary @name("ip_proto");
+ fabric_md.l4_sport : ternary @name("l4_sport");
+ fabric_md.l4_dport : ternary @name("l4_dport");
+ // inner 5-tuple
+ hdr.inner_ipv4.src_addr : ternary @name("inner_ipv4_src");
+ hdr.inner_ipv4.dst_addr : ternary @name("inner_ipv4_dst");
+ hdr.inner_ipv4.protocol : ternary @name("inner_ip_proto");
+ fabric_md.inner_l4_sport : ternary @name("inner_l4_sport");
+ fabric_md.inner_l4_dport : ternary @name("inner_l4_dport");
+ }
+ actions = {
+ set_pdr_attributes;
+ }
+ const default_action = set_pdr_attributes(DEFAULT_PDR_CTR_ID, DEFAULT_FAR_ID, 0);
+ }
+
+ //=============================//
+ //===== FAR Tables ======//
+ //=============================//
+
+ action load_normal_far_attributes(bit<1> drop,
+ bit<1> notify_cp) {
+ // general far attributes
+ fabric_md.spgw.far_dropped = (_BOOL)drop;
+ fabric_md.spgw.notify_spgwc = (_BOOL)notify_cp;
+ }
+ action load_tunnel_far_attributes(bit<1> drop,
+ bit<1> notify_cp,
+ bit<16> tunnel_src_port,
+ bit<32> tunnel_src_addr,
+ bit<32> tunnel_dst_addr,
+ teid_t teid) {
+ // general far attributes
+ fabric_md.spgw.far_dropped = (_BOOL)drop;
+ fabric_md.spgw.notify_spgwc = (_BOOL)notify_cp;
+ // GTP tunnel attributes
+ fabric_md.spgw.needs_gtpu_encap = _TRUE;
+ fabric_md.spgw.teid = teid;
+ fabric_md.spgw.tunnel_src_port = tunnel_src_port;
+ fabric_md.spgw.tunnel_src_addr = tunnel_src_addr;
+ fabric_md.spgw.tunnel_dst_addr = tunnel_dst_addr;
+ // update metadata for correct routing/hashing
+ fabric_md.ipv4_src_addr = tunnel_src_addr;
+ fabric_md.ipv4_dst_addr = tunnel_dst_addr;
+ fabric_md.l4_sport = tunnel_src_port;
+ fabric_md.l4_dport = UDP_PORT_GTPU;
+ }
+
+ table far_lookup {
+ key = {
+ fabric_md.spgw.far_id : exact @name("far_id");
+ }
+ actions = {
+ load_normal_far_attributes;
+ load_tunnel_far_attributes;
+ }
+ // default is drop and don't notify CP
+ const default_action = load_normal_far_attributes(1, 1);
+ size = MAX_FARS;
+ }
+
+ //=============================//
+ //===== Misc Things ======//
+ //=============================//
+
+ counter(MAX_PDR_COUNTERS, CounterType.packets_and_bytes) pdr_counter;
+
+
+ @hidden
+ action decap_inner_common() {
+ // Correct parser-set metadata to use the inner header values
+ fabric_md.ip_eth_type = ETHERTYPE_IPV4;
+ fabric_md.ip_proto = hdr.inner_ipv4.protocol;
+ fabric_md.ipv4_src_addr = hdr.inner_ipv4.src_addr;
+ fabric_md.ipv4_dst_addr = hdr.inner_ipv4.dst_addr;
+ fabric_md.l4_sport = fabric_md.inner_l4_sport;
+ fabric_md.l4_dport = fabric_md.inner_l4_dport;
+ // Move GTPU and inner L3 headers out
+ hdr.ipv4 = hdr.inner_ipv4;
+ hdr.inner_ipv4.setInvalid();
+ hdr.gtpu.setInvalid();
+ }
+ action decap_inner_tcp() {
+ decap_inner_common();
+ hdr.udp.setInvalid();
+ hdr.tcp = hdr.inner_tcp;
+ hdr.inner_tcp.setInvalid();
+ }
+ action decap_inner_udp() {
+ decap_inner_common();
+ hdr.udp = hdr.inner_udp;
+ hdr.inner_udp.setInvalid();
+ }
+ action decap_inner_icmp() {
+ decap_inner_common();
+ hdr.udp.setInvalid();
+ hdr.icmp = hdr.inner_icmp;
+ hdr.inner_icmp.setInvalid();
+ }
+ action decap_inner_unknown() {
+ decap_inner_common();
+ hdr.udp.setInvalid();
+ }
+ @hidden
+ table decap_gtpu {
+ key = {
+ hdr.inner_tcp.isValid() : exact;
+ hdr.inner_udp.isValid() : exact;
+ hdr.inner_icmp.isValid() : exact;
+ }
+ actions = {
+ decap_inner_tcp;
+ decap_inner_udp;
+ decap_inner_icmp;
+ decap_inner_unknown;
+ }
+ const default_action = decap_inner_unknown;
+ const entries = {
+ (true, false, false) : decap_inner_tcp();
+ (false, true, false) : decap_inner_udp();
+ (false, false, true) : decap_inner_icmp();
+ }
+ }
+
+
+ //=============================//
+ //===== Apply Block ======//
+ //=============================//
+ apply {
+
+ // Interfaces
+ interface_lookup.apply();
+
+ // If interface table missed, or the interface skips PDRs/FARs (TODO: is that a thing?)
+ if (fabric_md.spgw.skip_spgw == _TRUE) return;
+
+ // PDRs
+ // Currently only best-case PDR tables to make v1model-to-tofino compiler happy
+ if (hdr.gtpu.isValid()) {
+ uplink_pdr_lookup.apply();
+ } else {
+ downlink_pdr_lookup.apply();
+ }
+ // Inefficient PDR table if efficient tables missed
+ // Removed to make v1model-to-tofino compiler happy. Not removed in TNA port
+ //if (fabric_md.spgw.pdr_hit == _FALSE) {
+ // flexible_pdr_lookup.apply();
+ //}
+ pdr_counter.count(fabric_md.spgw.ctr_id);
+
+ // GTPU Decapsulate
+ if (fabric_md.spgw.needs_gtpu_decap == _TRUE) {
+ decap_gtpu.apply();
+ }
+
+ // FARs
+ // Load FAR info
+ far_lookup.apply();
+
+ if (fabric_md.spgw.notify_spgwc == _TRUE) {
+ // TODO: cpu clone action here
+ }
+ if (fabric_md.spgw.far_dropped == _TRUE) {
+ // Do dropping in the same way as fabric's filtering.p4, so we can traverse
+ // the ACL table, which is good for cases like DHCP.
+ fabric_md.skip_forwarding = _TRUE;
+ fabric_md.skip_next = _TRUE;
+ }
+
+ // Nothing to be done immediately for forwarding or encapsulation.
+ // Forwarding is done by other parts of fabric.p4, and
+ // encapsulation is done in the egress
+
+ // Needed for correct GTPU encapsulation in egress
+ fabric_md.spgw.ipv4_len = hdr.ipv4.total_len;
+ }
+}
+
+
+//====================================//
+//============== Egress ==============//
+//====================================//
+control SpgwEgress(
+ inout parsed_headers_t hdr,
+ inout fabric_metadata_t fabric_md) {
+
+ counter(MAX_PDR_COUNTERS, CounterType.packets_and_bytes) pdr_counter;
+
+
+ @hidden
+ action gtpu_encap() {
+ hdr.gtpu_ipv4.setValid();
+ hdr.gtpu_ipv4.version = IP_VERSION_4;
+ hdr.gtpu_ipv4.ihl = IPV4_MIN_IHL;
+ hdr.gtpu_ipv4.dscp = 0;
+ hdr.gtpu_ipv4.ecn = 0;
+ hdr.gtpu_ipv4.total_len = hdr.ipv4.total_len
+ + (IPV4_HDR_SIZE + UDP_HDR_SIZE + GTP_HDR_SIZE);
+ hdr.gtpu_ipv4.identification = 0x1513; /* From NGIC. TODO: Needs to be dynamic */
+ hdr.gtpu_ipv4.flags = 0;
+ hdr.gtpu_ipv4.frag_offset = 0;
+ hdr.gtpu_ipv4.ttl = DEFAULT_IPV4_TTL;
+ hdr.gtpu_ipv4.protocol = PROTO_UDP;
+ hdr.gtpu_ipv4.src_addr = fabric_md.spgw.tunnel_src_addr;
+ hdr.gtpu_ipv4.dst_addr = fabric_md.spgw.tunnel_dst_addr;
+ hdr.gtpu_ipv4.hdr_checksum = 0; // Updated later
+
+ hdr.gtpu_udp.setValid();
+ hdr.gtpu_udp.sport = fabric_md.spgw.tunnel_src_port;
+ hdr.gtpu_udp.dport = UDP_PORT_GTPU;
+ hdr.gtpu_udp.len = fabric_md.spgw.ipv4_len
+ + (UDP_HDR_SIZE + GTP_HDR_SIZE);
+ hdr.gtpu_udp.checksum = 0; // Updated later, if WITH_SPGW_UDP_CSUM_UPDATE
+
+
+ hdr.outer_gtpu.setValid();
+ hdr.outer_gtpu.version = GTPU_VERSION;
+ hdr.outer_gtpu.pt = GTP_PROTOCOL_TYPE_GTP;
+ hdr.outer_gtpu.spare = 0;
+ hdr.outer_gtpu.ex_flag = 0;
+ hdr.outer_gtpu.seq_flag = 0;
+ hdr.outer_gtpu.npdu_flag = 0;
+ hdr.outer_gtpu.msgtype = GTP_GPDU;
+ hdr.outer_gtpu.msglen = fabric_md.spgw.ipv4_len;
+ hdr.outer_gtpu.teid = fabric_md.spgw.teid;
+ }
+
+ apply {
+ if (fabric_md.spgw.skip_spgw == _TRUE) return;
+ pdr_counter.count(fabric_md.spgw.ctr_id);
+
+ if (fabric_md.spgw.needs_gtpu_encap == _TRUE) {
+ gtpu_encap();
+ }
+ }
+}
+
+
+control update_gtpu_checksum(
+ inout ipv4_t gtpu_ipv4,
+ inout udp_t gtpu_udp,
+ in gtpu_t gtpu,
+ in ipv4_t ipv4,
+ in udp_t udp
+ ) {
+ apply {
+ // Compute outer IPv4 checksum.
+ update_checksum(gtpu_ipv4.isValid(),
+ {
+ gtpu_ipv4.version,
+ gtpu_ipv4.ihl,
+ gtpu_ipv4.dscp,
+ gtpu_ipv4.ecn,
+ gtpu_ipv4.total_len,
+ gtpu_ipv4.identification,
+ gtpu_ipv4.flags,
+ gtpu_ipv4.frag_offset,
+ gtpu_ipv4.ttl,
+ gtpu_ipv4.protocol,
+ gtpu_ipv4.src_addr,
+ gtpu_ipv4.dst_addr
+ },
+ gtpu_ipv4.hdr_checksum,
+ HashAlgorithm.csum16
+ );
+
+#ifdef WITH_SPGW_UDP_CSUM_UPDATE
+ // Compute outer UDP checksum.
+ update_checksum_with_payload(gtpu_udp.isValid(),
+ {
+ gtpu_ipv4.src_addr,
+ gtpu_ipv4.dst_addr,
+ 8w0,
+ gtpu_ipv4.protocol,
+ gtpu_udp.len,
+ gtpu_udp.sport,
+ gtpu_udp.dport,
+ gtpu_udp.len,
+ gtpu,
+ ipv4,
+ // FIXME: we are assuming only UDP for downlink packets
+ // How to conditionally switch between UDP/TCP/ICMP?
+ udp
+ },
+ gtpu_udp.checksum,
+ HashAlgorithm.csum16
+ );
+#endif // WITH_SPGW_UDP_CSUM_UPDATE
+ }
+}
+
+#endif
diff --git a/pipelines/fabric/impl/src/main/resources/include/define.p4 b/pipelines/fabric/impl/src/main/resources/include/define.p4
index 5dfcb95..bfb7b44 100644
--- a/pipelines/fabric/impl/src/main/resources/include/define.p4
+++ b/pipelines/fabric/impl/src/main/resources/include/define.p4
@@ -97,13 +97,21 @@
// SPGW types
typedef bit<2> direction_t;
+typedef bit<8> spgw_interface_t;
typedef bit pcc_gate_status_t;
typedef bit<32> sdf_rule_id_t;
typedef bit<32> pcc_rule_id_t;
typedef bit<32> far_id_t;
-typedef bit<32> ctr_id_t;
+typedef bit<32> pdr_ctr_id_t;
typedef bit<32> teid_t;
+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
@@ -147,13 +155,7 @@
const bit<8> DEFAULT_MPLS_TTL = 64;
const bit<8> DEFAULT_IPV4_TTL = 64;
-const sdf_rule_id_t DEFAULT_SDF_RULE_ID = 0;
-const pcc_rule_id_t DEFAULT_PCC_RULE_ID = 0;
-const direction_t SPGW_DIR_UNKNOWN = 2w0;
-const direction_t SPGW_DIR_UPLINK = 2w1;
-const direction_t SPGW_DIR_DOWNLINK = 2w2;
-const pcc_gate_status_t PCC_GATE_OPEN = 1w0;
-const pcc_gate_status_t PCC_GATE_CLOSED = 1w1;
+
/* indicate INT at LSB of DSCP */
const bit<6> INT_DSCP = 0x1;
diff --git a/pipelines/fabric/impl/src/main/resources/include/header.p4 b/pipelines/fabric/impl/src/main/resources/include/header.p4
index decad94..17b36fe 100644
--- a/pipelines/fabric/impl/src/main/resources/include/header.p4
+++ b/pipelines/fabric/impl/src/main/resources/include/header.p4
@@ -142,14 +142,18 @@
direction_t direction;
bit<16> ipv4_len;
teid_t teid;
+ bit<16> tunnel_src_port;
bit<32> tunnel_src_addr;
bit<32> tunnel_dst_addr;
- ctr_id_t ctr_id;
+ pdr_ctr_id_t ctr_id;
far_id_t far_id;
+ spgw_interface_t src_iface;
+ _BOOL skip_spgw;
_BOOL pdr_hit;
_BOOL far_dropped;
- _BOOL notify_cp;
- _BOOL outer_header_creation;
+ _BOOL notify_spgwc;
+ _BOOL needs_gtpu_encap;
+ _BOOL needs_gtpu_decap;
}
#endif // WITH_SPGW
@@ -196,6 +200,8 @@
bit<32> ipv4_src_addr;
bit<32> ipv4_dst_addr;
#ifdef WITH_SPGW
+ bit<16> inner_l4_sport;
+ bit<16> inner_l4_dport;
spgw_meta_t spgw;
#endif // WITH_SPGW
#ifdef WITH_BNG
@@ -220,9 +226,12 @@
#ifdef WITH_SPGW
ipv4_t gtpu_ipv4;
udp_t gtpu_udp;
+ gtpu_t outer_gtpu;
gtpu_t gtpu;
ipv4_t inner_ipv4;
udp_t inner_udp;
+ tcp_t inner_tcp;
+ icmp_t inner_icmp;
#endif // WITH_SPGW
ipv4_t ipv4;
#ifdef WITH_IPV6
diff --git a/pipelines/fabric/impl/src/main/resources/include/parser.p4 b/pipelines/fabric/impl/src/main/resources/include/parser.p4
index efbb74a..de0a76b 100644
--- a/pipelines/fabric/impl/src/main/resources/include/parser.p4
+++ b/pipelines/fabric/impl/src/main/resources/include/parser.p4
@@ -185,17 +185,6 @@
#ifdef WITH_SPGW
state parse_gtpu {
- transition select(hdr.ipv4.dst_addr[31:32-S1U_SGW_PREFIX_LEN]) {
- // Avoid parsing GTP and inner headers if we know this GTP packet
- // is not to be processed by this switch.
- // FIXME: use parser value sets when support is ready in ONOS.
- // To set the S1U_SGW_PREFIX value at runtime.
- S1U_SGW_PREFIX[31:32-S1U_SGW_PREFIX_LEN]: do_parse_gtpu;
- default: accept;
- }
- }
-
- state do_parse_gtpu {
packet.extract(hdr.gtpu);
transition parse_inner_ipv4;
}
@@ -213,14 +202,26 @@
state parse_inner_udp {
packet.extract(hdr.inner_udp);
- fabric_metadata.l4_sport = hdr.inner_udp.sport;
- fabric_metadata.l4_dport = hdr.inner_udp.dport;
+ fabric_metadata.inner_l4_sport = hdr.inner_udp.sport;
+ fabric_metadata.inner_l4_dport = hdr.inner_udp.dport;
#ifdef WITH_INT
transition parse_int;
#else
transition accept;
#endif // WITH_INT
}
+
+ state parse_inner_tcp {
+ packet.extract(hdr.inner_tcp);
+ fabric_metadata.inner_l4_sport = hdr.inner_tcp.sport;
+ fabric_metadata.inner_l4_dport = hdr.inner_tcp.dport;
+ transition accept;
+ }
+
+ state parse_inner_icmp {
+ packet.extract(hdr.inner_icmp);
+ transition accept;
+ }
#endif // WITH_SPGW
#ifdef WITH_INT
@@ -288,7 +289,7 @@
#ifdef WITH_SPGW
packet.emit(hdr.gtpu_ipv4);
packet.emit(hdr.gtpu_udp);
- packet.emit(hdr.gtpu);
+ packet.emit(hdr.outer_gtpu);
#endif // WITH_SPGW
packet.emit(hdr.ipv4);
#ifdef WITH_IPV6
@@ -297,6 +298,14 @@
packet.emit(hdr.tcp);
packet.emit(hdr.udp);
packet.emit(hdr.icmp);
+#ifdef WITH_SPGW
+ // if we parsed a GTPU packet but did not decap it
+ packet.emit(hdr.gtpu);
+ packet.emit(hdr.inner_ipv4);
+ packet.emit(hdr.inner_tcp);
+ packet.emit(hdr.inner_udp);
+ packet.emit(hdr.inner_icmp);
+#endif // WITH_SPGW
#ifdef WITH_INT
packet.emit(hdr.intl4_shim);
packet.emit(hdr.int_header);
diff --git a/pipelines/fabric/impl/src/main/resources/include/spgw.p4 b/pipelines/fabric/impl/src/main/resources/include/spgw.p4
deleted file mode 100644
index 0aa78c0..0000000
--- a/pipelines/fabric/impl/src/main/resources/include/spgw.p4
+++ /dev/null
@@ -1,350 +0,0 @@
-/*
- * Copyright 2017-present Open Networking Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __SPGW__
-#define __SPGW__
-
-#define MAX_PDR_COUNTERS 1024
-#define DEFAULT_PDR_CTR_ID 0
-#define DEFAULT_FAR_ID 0
-
-control spgw_normalizer(
- in bool is_gtpu_encapped,
- out ipv4_t gtpu_ipv4,
- out udp_t gtpu_udp,
- inout ipv4_t ipv4,
- inout udp_t udp,
- in ipv4_t inner_ipv4,
- in udp_t inner_udp
- ) {
- apply {
- if (! is_gtpu_encapped) return;
- gtpu_ipv4 = ipv4;
- ipv4 = inner_ipv4;
- gtpu_udp = udp;
- if (inner_udp.isValid()) {
- udp = inner_udp;
- } else {
- udp.setInvalid();
- }
- }
-}
-
-control spgw_ingress(
- inout ipv4_t gtpu_ipv4,
- inout udp_t gtpu_udp,
- inout gtpu_t gtpu,
- inout ipv4_t ipv4,
- inout udp_t udp,
- inout fabric_metadata_t fabric_meta,
- inout standard_metadata_t standard_metadata
- ) {
-
- counter(MAX_PDR_COUNTERS, CounterType.packets_and_bytes) pdr_counter;
-
- @hidden
- action gtpu_decap() {
- // grab information from the tunnel that we'll need later
- fabric_meta.spgw.teid = gtpu.teid;
- fabric_meta.spgw.tunnel_dst_addr = gtpu_ipv4.dst_addr;
- // update metadata src and dst addresses with the inner packet
- fabric_meta.ipv4_src_addr = ipv4.src_addr;
- fabric_meta.ipv4_dst_addr = ipv4.dst_addr;
- // decap
- gtpu_ipv4.setInvalid();
- gtpu_udp.setInvalid();
- gtpu.setInvalid();
-
- }
-
- table downlink_filter_table {
- key = {
- // UE addr pool for downlink
- ipv4.dst_addr : lpm @name("ipv4_prefix");
- }
- actions = {
- nop();
- }
- const default_action = nop();
- }
-
- table uplink_filter_table {
- key = {
- // IP addresses of the S1U interfaces of this SPGW-U instance (when uplink)
- gtpu_ipv4.dst_addr : exact @name("gtp_ipv4_dst");
- }
- actions = {
- nop();
- }
- const default_action = nop();
- }
-
- action set_pdr_attributes(ctr_id_t ctr_id,
- far_id_t far_id) {
- fabric_meta.spgw.pdr_hit = _TRUE;
- fabric_meta.spgw.ctr_id = ctr_id;
- fabric_meta.spgw.far_id = far_id;
- }
-
- // These two tables scale well and cover the average case PDR
- table downlink_pdr_lookup {
- key = {
- ipv4.dst_addr : exact @name("ue_addr");
- }
- actions = {
- set_pdr_attributes;
- }
- }
- table uplink_pdr_lookup {
- key = {
- // tunnel_dst_addr will be static for Q2 target. Can remove if need more scaling
- fabric_meta.spgw.tunnel_dst_addr : exact @name("tunnel_ipv4_dst");
- fabric_meta.spgw.teid : exact @name("teid");
- ipv4.src_addr : exact @name("ue_addr");
- }
- actions = {
- set_pdr_attributes;
- }
- }
- // This table scales poorly and covers uncommon PDRs
- table flexible_pdr_lookup {
- key = {
- // Direction. Eventually change to interface
- fabric_meta.spgw.direction : ternary @name("spgw_direction");
- // F-TEID
- fabric_meta.spgw.tunnel_dst_addr : ternary @name("tunnel_ipv4_dst");
- fabric_meta.spgw.teid : ternary @name("teid");
- // SDF (5-tuple)
- ipv4.src_addr : ternary @name("ipv4_src");
- ipv4.dst_addr : ternary @name("ipv4_dst");
- ipv4.protocol : ternary @name("ip_proto");
- fabric_meta.l4_sport : ternary @name("l4_sport");
- fabric_meta.l4_dport : ternary @name("l4_dport");
- }
- actions = {
- set_pdr_attributes;
- }
- const default_action = set_pdr_attributes(DEFAULT_PDR_CTR_ID, DEFAULT_FAR_ID);
- }
-
- action load_normal_far_attributes(bit<1> drop,
- bit<1> notify_cp) {
- // general far attributes
- fabric_meta.spgw.far_dropped = (_BOOL)drop;
- fabric_meta.spgw.notify_cp = (_BOOL)notify_cp;
- }
- action load_tunnel_far_attributes(bit<1> drop,
- bit<1> notify_cp,
- ipv4_addr_t tunnel_src_addr,
- ipv4_addr_t tunnel_dst_addr,
- teid_t teid) {
- // general far attributes
- fabric_meta.spgw.far_dropped = (_BOOL)drop;
- fabric_meta.spgw.notify_cp = (_BOOL)notify_cp;
- // GTP tunnel attributes
- fabric_meta.spgw.outer_header_creation = _TRUE;
- fabric_meta.spgw.teid = teid;
- fabric_meta.spgw.tunnel_src_addr = tunnel_src_addr;
- fabric_meta.spgw.tunnel_dst_addr = tunnel_dst_addr;
- // update metadata IP addresses for correct routing/hashing
- fabric_meta.ipv4_src_addr = tunnel_src_addr;
- fabric_meta.ipv4_dst_addr = tunnel_dst_addr;
- }
-
-
- table far_lookup {
- key = {
- fabric_meta.spgw.far_id : exact @name("far_id");
- }
- actions = {
- load_normal_far_attributes;
- load_tunnel_far_attributes;
- }
- // default is drop and don't notify CP
- const default_action = load_normal_far_attributes(1w1, 1w0);
- }
-
- apply {
- if (gtpu.isValid()) {
- // If here, pkt has outer IP dst on
- // S1U_SGW_PREFIX/S1U_SGW_PREFIX_LEN subnet.
- // TODO: check also that gtpu.msgtype == GTP_GPDU
- if (!uplink_filter_table.apply().hit) {
- // Should this be changed to a forwarding/next skip instead of a drop?
- mark_to_drop(standard_metadata);
- }
- fabric_meta.spgw.direction = SPGW_DIR_UPLINK;
- gtpu_decap();
- } else if (downlink_filter_table.apply().hit) {
- fabric_meta.spgw.direction = SPGW_DIR_DOWNLINK;
- } else {
- fabric_meta.spgw.direction = SPGW_DIR_UNKNOWN;
- // No SPGW processing needed.
- return;
- }
-
- // Try the efficient PDR tables first (This PDR partitioning only works
- // if the PDRs do not overlap. Will need fixing later.)
- if (fabric_meta.spgw.direction == SPGW_DIR_UPLINK) {
- uplink_pdr_lookup.apply();
- } else if (fabric_meta.spgw.direction == SPGW_DIR_DOWNLINK) {
- downlink_pdr_lookup.apply();
- } else { // SPGW_DIR_UNKNOWN
- return;
- }
- // If those fail to find a match, use the wildcard tables
- if (fabric_meta.spgw.pdr_hit == _FALSE) {
- flexible_pdr_lookup.apply();
- }
-
- pdr_counter.count(fabric_meta.spgw.ctr_id);
- // Load FAR info
- far_lookup.apply();
-
- if (fabric_meta.spgw.notify_cp == _TRUE) {
- // TODO: cpu clone session here
- }
- if (fabric_meta.spgw.far_dropped == _TRUE) {
- // Do dropping in the same way as fabric's filtering.p4, so we can traverse
- // the ACL table, which is good for cases like DHCP.
- fabric_meta.skip_forwarding = _TRUE;
- fabric_meta.skip_next = _TRUE;
- }
-
- // Nothing to be done immediately for forwarding or encapsulation.
- // Forwarding is done by other parts of fabric.p4, and
- // encapsulation is done in the egress
-
- // Needed for correct GTPU encapsulation in egress
- fabric_meta.spgw.ipv4_len = ipv4.total_len;
- }
-}
-
-
-control spgw_egress(
- in ipv4_t ipv4,
- inout ipv4_t gtpu_ipv4,
- inout udp_t gtpu_udp,
- inout gtpu_t gtpu,
- in fabric_metadata_t fabric_meta,
- in standard_metadata_t std_meta
- ) {
-
- counter(MAX_PDR_COUNTERS, CounterType.packets_and_bytes) pdr_counter;
-
-
- @hidden
- action gtpu_encap() {
- gtpu_ipv4.setValid();
- gtpu_ipv4.version = IP_VERSION_4;
- gtpu_ipv4.ihl = IPV4_MIN_IHL;
- gtpu_ipv4.dscp = 0;
- gtpu_ipv4.ecn = 0;
- gtpu_ipv4.total_len = ipv4.total_len
- + (IPV4_HDR_SIZE + UDP_HDR_SIZE + GTP_HDR_SIZE);
- gtpu_ipv4.identification = 0x1513; /* From NGIC. TODO: Needs to be dynamic */
- gtpu_ipv4.flags = 0;
- gtpu_ipv4.frag_offset = 0;
- gtpu_ipv4.ttl = DEFAULT_IPV4_TTL;
- gtpu_ipv4.protocol = PROTO_UDP;
- gtpu_ipv4.src_addr = fabric_meta.spgw.tunnel_src_addr;
- gtpu_ipv4.dst_addr = fabric_meta.spgw.tunnel_dst_addr;
- gtpu_ipv4.hdr_checksum = 0; // Updated later
-
- gtpu_udp.setValid();
- gtpu_udp.sport = UDP_PORT_GTPU; // TODO: make this dynamic per 3GPP specs
- gtpu_udp.dport = UDP_PORT_GTPU;
- gtpu_udp.len = fabric_meta.spgw.ipv4_len
- + (UDP_HDR_SIZE + GTP_HDR_SIZE);
- gtpu_udp.checksum = 0; // Updated later, if WITH_SPGW_UDP_CSUM_UPDATE
-
-
- gtpu.setValid();
- gtpu.version = GTPU_VERSION;
- gtpu.pt = GTP_PROTOCOL_TYPE_GTP;
- gtpu.spare = 0;
- gtpu.ex_flag = 0;
- gtpu.seq_flag = 0;
- gtpu.npdu_flag = 0;
- gtpu.msgtype = GTP_GPDU;
- gtpu.msglen = fabric_meta.spgw.ipv4_len;
- gtpu.teid = fabric_meta.spgw.teid;
- }
-
- apply {
- pdr_counter.count(fabric_meta.spgw.ctr_id);
-
- if (fabric_meta.spgw.outer_header_creation == _TRUE) {
- gtpu_encap();
- }
- }
-}
-
-
-control update_gtpu_checksum(
- inout ipv4_t gtpu_ipv4,
- inout udp_t gtpu_udp,
- in gtpu_t gtpu,
- in ipv4_t ipv4,
- in udp_t udp
- ) {
- apply {
- // Compute outer IPv4 checksum.
- update_checksum(gtpu_ipv4.isValid(),
- {
- gtpu_ipv4.version,
- gtpu_ipv4.ihl,
- gtpu_ipv4.dscp,
- gtpu_ipv4.ecn,
- gtpu_ipv4.total_len,
- gtpu_ipv4.identification,
- gtpu_ipv4.flags,
- gtpu_ipv4.frag_offset,
- gtpu_ipv4.ttl,
- gtpu_ipv4.protocol,
- gtpu_ipv4.src_addr,
- gtpu_ipv4.dst_addr
- },
- gtpu_ipv4.hdr_checksum,
- HashAlgorithm.csum16
- );
-
-#ifdef WITH_SPGW_UDP_CSUM_UPDATE
- // Compute outer UDP checksum.
- update_checksum_with_payload(gtpu_udp.isValid(),
- {
- gtpu_ipv4.src_addr,
- gtpu_ipv4.dst_addr,
- 8w0,
- gtpu_ipv4.protocol,
- gtpu_udp.len,
- gtpu_udp.sport,
- gtpu_udp.dport,
- gtpu_udp.len,
- gtpu,
- ipv4,
- // FIXME: we are assuming only UDP for downlink packets
- // How to conditionally switch between UDP/TCP/ICMP?
- udp
- },
- gtpu_udp.checksum,
- HashAlgorithm.csum16
- );
-#endif // WITH_SPGW_UDP_CSUM_UPDATE
- }
-}
-
-#endif
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-bng/bmv2/default/bmv2.json b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-bng/bmv2/default/bmv2.json
index d30221f..33b9159 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-bng/bmv2/default/bmv2.json
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-bng/bmv2/default/bmv2.json
@@ -946,7 +946,7 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 267,
+ "line" : 268,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
@@ -1435,7 +1435,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 159,
+ "line" : 163,
"column" : 36,
"source_fragment" : "2w0x0; ..."
}
@@ -1476,7 +1476,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 120,
+ "line" : 128,
"column" : 31,
"source_fragment" : "0x0800; ..."
}
@@ -1541,7 +1541,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 161,
+ "line" : 165,
"column" : 39,
"source_fragment" : "2w0x2;; ..."
}
@@ -1605,7 +1605,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 161,
+ "line" : 165,
"column" : 39,
"source_fragment" : "2w0x2;; ..."
}
@@ -2963,7 +2963,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 160,
+ "line" : 164,
"column" : 37,
"source_fragment" : "2w0x1; ..."
}
@@ -3200,7 +3200,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 124,
+ "line" : 132,
"column" : 33,
"source_fragment" : "0x8864; ..."
}
@@ -3371,7 +3371,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 126,
+ "line" : 134,
"column" : 35,
"source_fragment" : "0x0021; ..."
}
@@ -3529,7 +3529,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 118,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -3608,7 +3608,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 117,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -3706,7 +3706,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 117,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -3823,7 +3823,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 117,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -3842,7 +3842,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 117,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -5422,7 +5422,7 @@
"id" : 4,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -5533,7 +5533,7 @@
"id" : 8,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -5747,7 +5747,7 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-full/bmv2/default/bmv2.json b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-full/bmv2/default/bmv2.json
index 7f6ef0d..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],
@@ -43,31 +40,37 @@
["fabric_metadata_t._l4_dport18", 16, false],
["fabric_metadata_t._ipv4_src_addr19", 32, false],
["fabric_metadata_t._ipv4_dst_addr20", 32, false],
- ["fabric_metadata_t._spgw_direction21", 2, false],
- ["fabric_metadata_t._spgw_ipv4_len22", 16, false],
- ["fabric_metadata_t._spgw_teid23", 32, false],
- ["fabric_metadata_t._spgw_tunnel_src_addr24", 32, false],
- ["fabric_metadata_t._spgw_tunnel_dst_addr25", 32, false],
- ["fabric_metadata_t._spgw_ctr_id26", 32, false],
- ["fabric_metadata_t._spgw_far_id27", 32, false],
- ["fabric_metadata_t._spgw_pdr_hit28", 1, false],
- ["fabric_metadata_t._spgw_far_dropped29", 1, false],
- ["fabric_metadata_t._spgw_notify_cp30", 1, false],
- ["fabric_metadata_t._spgw_outer_header_creation31", 1, false],
- ["fabric_metadata_t._bng_type32", 2, false],
- ["fabric_metadata_t._bng_line_id33", 32, false],
- ["fabric_metadata_t._bng_pppoe_session_id34", 16, false],
- ["fabric_metadata_t._bng_ds_meter_result35", 32, false],
- ["fabric_metadata_t._bng_s_tag36", 12, false],
- ["fabric_metadata_t._bng_c_tag37", 12, false],
- ["fabric_metadata_t._int_meta_source38", 1, false],
- ["fabric_metadata_t._int_meta_transit39", 1, false],
- ["fabric_metadata_t._int_meta_sink40", 1, false],
- ["fabric_metadata_t._int_meta_switch_id41", 32, false],
- ["fabric_metadata_t._int_meta_new_words42", 8, false],
- ["fabric_metadata_t._int_meta_new_bytes43", 16, false],
- ["fabric_metadata_t._int_meta_ig_tstamp44", 32, false],
- ["fabric_metadata_t._int_meta_eg_tstamp45", 32, false],
+ ["fabric_metadata_t._inner_l4_sport21", 16, false],
+ ["fabric_metadata_t._inner_l4_dport22", 16, false],
+ ["fabric_metadata_t._spgw_direction23", 2, false],
+ ["fabric_metadata_t._spgw_ipv4_len24", 16, false],
+ ["fabric_metadata_t._spgw_teid25", 32, false],
+ ["fabric_metadata_t._spgw_tunnel_src_port26", 16, false],
+ ["fabric_metadata_t._spgw_tunnel_src_addr27", 32, false],
+ ["fabric_metadata_t._spgw_tunnel_dst_addr28", 32, false],
+ ["fabric_metadata_t._spgw_ctr_id29", 32, false],
+ ["fabric_metadata_t._spgw_far_id30", 32, false],
+ ["fabric_metadata_t._spgw_src_iface31", 8, false],
+ ["fabric_metadata_t._spgw_skip_spgw32", 1, false],
+ ["fabric_metadata_t._spgw_pdr_hit33", 1, false],
+ ["fabric_metadata_t._spgw_far_dropped34", 1, false],
+ ["fabric_metadata_t._spgw_notify_spgwc35", 1, false],
+ ["fabric_metadata_t._spgw_needs_gtpu_encap36", 1, false],
+ ["fabric_metadata_t._spgw_needs_gtpu_decap37", 1, false],
+ ["fabric_metadata_t._bng_type38", 2, false],
+ ["fabric_metadata_t._bng_line_id39", 32, false],
+ ["fabric_metadata_t._bng_pppoe_session_id40", 16, false],
+ ["fabric_metadata_t._bng_ds_meter_result41", 32, false],
+ ["fabric_metadata_t._bng_s_tag42", 12, false],
+ ["fabric_metadata_t._bng_c_tag43", 12, false],
+ ["fabric_metadata_t._int_meta_source44", 1, false],
+ ["fabric_metadata_t._int_meta_transit45", 1, false],
+ ["fabric_metadata_t._int_meta_sink46", 1, false],
+ ["fabric_metadata_t._int_meta_switch_id47", 32, false],
+ ["fabric_metadata_t._int_meta_new_words48", 8, false],
+ ["fabric_metadata_t._int_meta_new_bytes49", 16, false],
+ ["fabric_metadata_t._int_meta_ig_tstamp50", 32, false],
+ ["fabric_metadata_t._int_meta_eg_tstamp51", 32, false],
["_padding_0", 6, false]
]
},
@@ -192,22 +195,8 @@
]
},
{
- "name" : "ipv6_t",
- "id" : 10,
- "fields" : [
- ["version", 4, false],
- ["traffic_class", 8, false],
- ["flow_label", 20, false],
- ["payload_len", 16, false],
- ["next_hdr", 8, false],
- ["hop_limit", 8, false],
- ["src_addr", 128, false],
- ["dst_addr", 128, false]
- ]
- },
- {
"name" : "tcp_t",
- "id" : 11,
+ "id" : 10,
"fields" : [
["sport", 16, false],
["dport", 16, false],
@@ -224,7 +213,7 @@
},
{
"name" : "icmp_t",
- "id" : 12,
+ "id" : 11,
"fields" : [
["icmp_type", 8, false],
["icmp_code", 8, false],
@@ -235,6 +224,20 @@
]
},
{
+ "name" : "ipv6_t",
+ "id" : 12,
+ "fields" : [
+ ["version", 4, false],
+ ["traffic_class", 8, false],
+ ["flow_label", 20, false],
+ ["payload_len", 16, false],
+ ["next_hdr", 8, false],
+ ["hop_limit", 8, false],
+ ["src_addr", 128, false],
+ ["dst_addr", 128, false]
+ ]
+ },
+ {
"name" : "packet_out_header_t",
"id" : 13,
"fields" : [
@@ -444,190 +447,211 @@
"pi_omit" : true
},
{
- "name" : "gtpu",
+ "name" : "outer_gtpu",
"id" : 10,
"header_type" : "gtpu_t",
"metadata" : false,
"pi_omit" : true
},
{
- "name" : "inner_ipv4",
+ "name" : "gtpu",
"id" : 11,
+ "header_type" : "gtpu_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "inner_ipv4",
+ "id" : 12,
"header_type" : "ipv4_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "inner_udp",
- "id" : 12,
+ "id" : 13,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
+ "name" : "inner_tcp",
+ "id" : 14,
+ "header_type" : "tcp_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "inner_icmp",
+ "id" : 15,
+ "header_type" : "icmp_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
"name" : "ipv4",
- "id" : 13,
+ "id" : 16,
"header_type" : "ipv4_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "ipv6",
- "id" : 14,
+ "id" : 17,
"header_type" : "ipv6_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "tcp",
- "id" : 15,
+ "id" : 18,
"header_type" : "tcp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "udp",
- "id" : 16,
+ "id" : 19,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "icmp",
- "id" : 17,
+ "id" : 20,
"header_type" : "icmp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_out",
- "id" : 18,
+ "id" : 21,
"header_type" : "packet_out_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_in",
- "id" : 19,
+ "id" : 22,
"header_type" : "packet_in_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "report_ethernet",
- "id" : 20,
+ "id" : 23,
"header_type" : "ethernet_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "report_eth_type",
- "id" : 21,
+ "id" : 24,
"header_type" : "eth_type_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "report_ipv4",
- "id" : 22,
+ "id" : 25,
"header_type" : "ipv4_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "report_udp",
- "id" : 23,
+ "id" : 26,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "report_fixed_header",
- "id" : 24,
+ "id" : 27,
"header_type" : "report_fixed_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "intl4_shim",
- "id" : 25,
+ "id" : 28,
"header_type" : "intl4_shim_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_header",
- "id" : 26,
+ "id" : 29,
"header_type" : "int_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_switch_id",
- "id" : 27,
+ "id" : 30,
"header_type" : "int_switch_id_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_port_ids",
- "id" : 28,
+ "id" : 31,
"header_type" : "int_port_ids_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_hop_latency",
- "id" : 29,
+ "id" : 32,
"header_type" : "int_hop_latency_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_q_occupancy",
- "id" : 30,
+ "id" : 33,
"header_type" : "int_q_occupancy_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_ingress_tstamp",
- "id" : 31,
+ "id" : 34,
"header_type" : "int_ingress_tstamp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_egress_tstamp",
- "id" : 32,
+ "id" : 35,
"header_type" : "int_egress_tstamp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_q_congestion",
- "id" : 33,
+ "id" : 36,
"header_type" : "int_q_congestion_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_egress_tx_util",
- "id" : 34,
+ "id" : 37,
"header_type" : "int_egress_port_tx_util_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_data",
- "id" : 35,
+ "id" : 38,
"header_type" : "int_data_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "intl4_tail",
- "id" : 36,
+ "id" : 39,
"header_type" : "intl4_tail_t",
"metadata" : false,
"pi_omit" : true
@@ -767,7 +791,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
},
{
"type" : "lookahead",
@@ -805,7 +829,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
}
]
},
@@ -826,7 +850,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_s_tag36"]
+ "value" : ["scalars", "fabric_metadata_t._bng_s_tag42"]
},
{
"type" : "field",
@@ -839,7 +863,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
},
{
"type" : "lookahead",
@@ -865,7 +889,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
}
]
},
@@ -886,7 +910,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_c_tag37"]
+ "value" : ["scalars", "fabric_metadata_t._bng_c_tag43"]
},
{
"type" : "field",
@@ -1052,7 +1076,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
},
{
"type" : "lookahead",
@@ -1084,7 +1108,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
}
]
},
@@ -1410,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"
}
@@ -1544,7 +1497,7 @@
},
{
"name" : "parse_inner_udp",
- "id" : 15,
+ "id" : 14,
"parser_ops" : [
{
"parameters" : [
@@ -1559,7 +1512,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_sport17"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport21"]
},
{
"type" : "field",
@@ -1572,7 +1525,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_dport18"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport22"]
},
{
"type" : "field",
@@ -1593,7 +1546,7 @@
},
{
"name" : "parse_int",
- "id" : 16,
+ "id" : 15,
"parser_ops" : [],
"transitions" : [
{
@@ -1617,7 +1570,7 @@
},
{
"name" : "parse_intl4_shim",
- "id" : 17,
+ "id" : 16,
"parser_ops" : [
{
"parameters" : [
@@ -1660,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",
@@ -1738,7 +1691,7 @@
"type" : "expression",
"value" : {
"type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
}
}
],
@@ -1756,7 +1709,7 @@
},
{
"name" : "parse_intl4_tail",
- "id" : 19,
+ "id" : 18,
"parser_ops" : [
{
"parameters" : [
@@ -1787,11 +1740,11 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 267,
+ "line" : 268,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
- "order" : ["packet_in", "report_ethernet", "report_eth_type", "report_ipv4", "report_udp", "report_fixed_header", "ethernet", "vlan_tag", "inner_vlan_tag", "eth_type", "pppoe", "mpls", "gtpu_ipv4", "gtpu_udp", "gtpu", "ipv4", "ipv6", "tcp", "udp", "icmp", "intl4_shim", "int_header", "int_switch_id", "int_port_ids", "int_hop_latency", "int_q_occupancy", "int_ingress_tstamp", "int_egress_tstamp", "int_q_congestion", "int_egress_tx_util", "int_data", "intl4_tail"]
+ "order" : ["packet_in", "report_ethernet", "report_eth_type", "report_ipv4", "report_udp", "report_fixed_header", "ethernet", "vlan_tag", "inner_vlan_tag", "eth_type", "pppoe", "mpls", "gtpu_ipv4", "gtpu_udp", "outer_gtpu", "ipv4", "ipv6", "tcp", "udp", "icmp", "gtpu", "inner_ipv4", "inner_tcp", "inner_udp", "inner_icmp", "intl4_shim", "int_header", "int_switch_id", "int_port_ids", "int_hop_latency", "int_q_occupancy", "int_ingress_tstamp", "int_egress_tstamp", "int_q_congestion", "int_egress_tx_util", "int_data", "intl4_tail"]
}
],
"meter_arrays" : [
@@ -1826,20 +1779,8 @@
],
"counter_arrays" : [
{
- "name" : "FabricIngress.spgw_ingress.pdr_counter",
- "id" : 0,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 56,
- "column" : 49,
- "source_fragment" : "pdr_counter"
- },
- "size" : 1024,
- "is_direct" : false
- },
- {
"name" : "FabricIngress.process_set_source_sink.counter_set_source",
- "id" : 1,
+ "id" : 0,
"is_direct" : true,
"binding" : "FabricIngress.process_set_source_sink.tb_set_source",
"source_info" : {
@@ -1851,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" : {
@@ -1863,7 +1804,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.c_terminated",
- "id" : 3,
+ "id" : 2,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 36,
@@ -1875,7 +1816,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.c_dropped",
- "id" : 4,
+ "id" : 3,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 37,
@@ -1887,7 +1828,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.c_control",
- "id" : 5,
+ "id" : 4,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 38,
@@ -1899,7 +1840,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.c_line_rx",
- "id" : 6,
+ "id" : 5,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 152,
@@ -1911,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" : {
@@ -1923,7 +1864,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier_counter",
- "id" : 8,
+ "id" : 7,
"is_direct" : true,
"binding" : "FabricIngress.filtering.fwd_classifier",
"source_info" : {
@@ -1935,7 +1876,7 @@
},
{
"name" : "FabricIngress.forwarding.bridging_counter",
- "id" : 9,
+ "id" : 8,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.bridging",
"source_info" : {
@@ -1947,7 +1888,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls_counter",
- "id" : 10,
+ "id" : 9,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.mpls",
"source_info" : {
@@ -1959,7 +1900,7 @@
},
{
"name" : "FabricIngress.forwarding.routing_v6_counter",
- "id" : 11,
+ "id" : 10,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.routing_v6",
"source_info" : {
@@ -1971,7 +1912,7 @@
},
{
"name" : "FabricIngress.acl.acl_counter",
- "id" : 12,
+ "id" : 11,
"is_direct" : true,
"binding" : "FabricIngress.acl.acl",
"source_info" : {
@@ -1983,7 +1924,7 @@
},
{
"name" : "FabricIngress.next.next_vlan_counter",
- "id" : 13,
+ "id" : 12,
"is_direct" : true,
"binding" : "FabricIngress.next.next_vlan",
"source_info" : {
@@ -1995,7 +1936,7 @@
},
{
"name" : "FabricIngress.next.xconnect_counter",
- "id" : 14,
+ "id" : 13,
"is_direct" : true,
"binding" : "FabricIngress.next.xconnect",
"source_info" : {
@@ -2007,7 +1948,7 @@
},
{
"name" : "FabricIngress.next.simple_counter",
- "id" : 15,
+ "id" : 14,
"is_direct" : true,
"binding" : "FabricIngress.next.simple",
"source_info" : {
@@ -2019,7 +1960,7 @@
},
{
"name" : "FabricIngress.next.hashed_counter",
- "id" : 16,
+ "id" : 15,
"is_direct" : true,
"binding" : "FabricIngress.next.hashed",
"source_info" : {
@@ -2031,7 +1972,7 @@
},
{
"name" : "FabricIngress.next.multicast_counter",
- "id" : 17,
+ "id" : 16,
"is_direct" : true,
"binding" : "FabricIngress.next.multicast",
"source_info" : {
@@ -2043,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,
@@ -2055,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,
@@ -2066,20 +2007,20 @@
"is_direct" : false
},
{
- "name" : "FabricEgress.spgw_egress.pdr_counter",
- "id" : 20,
+ "name" : "FabricIngress.spgw_ingress.pdr_counter",
+ "id" : 19,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 246,
- "column" : 49,
+ "filename" : "include/control/spgw.p4",
+ "line" : 182,
+ "column" : 53,
"source_fragment" : "pdr_counter"
},
- "size" : 1024,
+ "size" : 2048,
"is_direct" : false
},
{
"name" : "FabricEgress.bng_egress.downstream.c_line_tx",
- "id" : 21,
+ "id" : 20,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 267,
@@ -2091,7 +2032,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_source.counter_int_source",
- "id" : 22,
+ "id" : 21,
"is_direct" : true,
"binding" : "FabricEgress.process_int_main.process_int_source.tb_int_source",
"source_info" : {
@@ -2103,7 +2044,7 @@
},
{
"name" : "FabricEgress.egress_next.egress_vlan_counter",
- "id" : 23,
+ "id" : 22,
"is_direct" : true,
"binding" : "FabricEgress.egress_next.egress_vlan",
"source_info" : {
@@ -2112,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" : [],
@@ -2181,8 +2134,8 @@
"name" : "calc_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 306,
+ "filename" : "include/control/spgw.p4",
+ "line" : 364,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
@@ -2381,741 +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" : "NoAction",
- "id" : 15,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "NoAction",
- "id" : 16,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "FabricIngress.spgw_ingress.gtpu_decap",
- "id" : 17,
- "runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid23"]
- },
- {
- "type" : "field",
- "value" : ["gtpu", "teid"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 61,
- "column" : 30,
- "source_fragment" : "= gtpu.teid; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr25"]
- },
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dst_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 62,
- "column" : 41,
- "source_fragment" : "= gtpu_ipv4.dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "src_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 64,
- "column" : 34,
- "source_fragment" : "= ipv4.src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "dst_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 65,
- "column" : 34,
- "source_fragment" : "= ipv4.dst_addr; ..."
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 67,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "gtpu_udp.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "gtpu.setInvalid()"
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 18,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit28"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id26"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id27"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 19,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit28"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id26"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id27"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 20,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit28"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id26"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id27"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.load_normal_far_attributes",
- "id" : 21,
- "runtime_data" : [
- {
- "name" : "drop",
- "bitwidth" : 1
- },
- {
- "name" : "notify_cp",
- "bitwidth" : 1
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped29"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "!=",
- "left" : {
- "type" : "local",
- "value" : 0
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x00"
- }
- }
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 146,
- "column" : 37,
- "source_fragment" : "= (bool)drop; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_notify_cp30"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "!=",
- "left" : {
- "type" : "local",
- "value" : 1
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x00"
- }
- }
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 147,
- "column" : 35,
- "source_fragment" : "= (bool)notify_cp; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.load_tunnel_far_attributes",
- "id" : 22,
- "runtime_data" : [
- {
- "name" : "drop",
- "bitwidth" : 1
- },
- {
- "name" : "notify_cp",
- "bitwidth" : 1
- },
- {
- "name" : "tunnel_src_addr",
- "bitwidth" : 32
- },
- {
- "name" : "tunnel_dst_addr",
- "bitwidth" : 32
- },
- {
- "name" : "teid",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped29"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "!=",
- "left" : {
- "type" : "local",
- "value" : 0
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x00"
- }
- }
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 155,
- "column" : 37,
- "source_fragment" : "= (bool)drop; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_notify_cp30"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "!=",
- "left" : {
- "type" : "local",
- "value" : 1
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x00"
- }
- }
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 156,
- "column" : 35,
- "source_fragment" : "= (bool)notify_cp; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_outer_header_creation31"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 158,
- "column" : 47,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid23"]
- },
- {
- "type" : "runtime_data",
- "value" : 4
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 159,
- "column" : 30,
- "source_fragment" : "= teid; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr24"]
- },
- {
- "type" : "runtime_data",
- "value" : 2
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 160,
- "column" : 41,
- "source_fragment" : "= tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr25"]
- },
- {
- "type" : "runtime_data",
- "value" : 3
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 161,
- "column" : 41,
- "source_fragment" : "= tunnel_dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
- },
- {
- "type" : "runtime_data",
- "value" : 2
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 163,
- "column" : 34,
- "source_fragment" : "= tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
- },
- {
- "type" : "runtime_data",
- "value" : 3
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 164,
- "column" : 34,
- "source_fragment" : "= tunnel_dst_addr; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.process_set_source_sink.int_set_source",
- "id" : 23,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_source38"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_source44"]
},
{
"type" : "expression",
@@ -3143,7 +2371,7 @@
},
{
"name" : "FabricIngress.process_set_source_sink.int_set_sink",
- "id" : 24,
+ "id" : 14,
"runtime_data" : [],
"primitives" : [
{
@@ -3151,7 +2379,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_sink40"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_sink46"]
},
{
"type" : "expression",
@@ -3179,7 +2407,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.punt_to_cpu",
- "id" : 25,
+ "id" : 15,
"runtime_data" : [],
"primitives" : [
{
@@ -3229,7 +2457,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -3243,7 +2471,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.term_disabled",
- "id" : 26,
+ "id" : 16,
"runtime_data" : [],
"primitives" : [
{
@@ -3251,7 +2479,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type32"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
{
"type" : "hexstr",
@@ -3260,7 +2488,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 159,
+ "line" : 163,
"column" : 36,
"source_fragment" : "2w0x0; ..."
}
@@ -3284,7 +2512,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.term_disabled",
- "id" : 27,
+ "id" : 17,
"runtime_data" : [],
"primitives" : [
{
@@ -3292,7 +2520,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type32"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
{
"type" : "hexstr",
@@ -3301,7 +2529,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 159,
+ "line" : 163,
"column" : 36,
"source_fragment" : "2w0x0; ..."
}
@@ -3325,7 +2553,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.term_enabled_v4",
- "id" : 28,
+ "id" : 18,
"runtime_data" : [],
"primitives" : [
{
@@ -3342,7 +2570,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 120,
+ "line" : 128,
"column" : 31,
"source_fragment" : "0x0800; ..."
}
@@ -3371,7 +2599,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -3385,7 +2613,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.term_enabled_v6",
- "id" : 29,
+ "id" : 19,
"runtime_data" : [],
"primitives" : [
{
@@ -3402,7 +2630,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 121,
+ "line" : 129,
"column" : 31,
"source_fragment" : "0x86dd; ..."
}
@@ -3431,7 +2659,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -3445,7 +2673,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.set_session",
- "id" : 30,
+ "id" : 20,
"runtime_data" : [
{
"name" : "pppoe_session_id",
@@ -3458,7 +2686,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type32"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
{
"type" : "hexstr",
@@ -3467,7 +2695,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 161,
+ "line" : 165,
"column" : 39,
"source_fragment" : "2w0x2;; ..."
}
@@ -3477,7 +2705,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id34"]
+ "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id40"]
},
{
"type" : "runtime_data",
@@ -3500,7 +2728,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -3514,7 +2742,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.drop",
- "id" : 31,
+ "id" : 21,
"runtime_data" : [],
"primitives" : [
{
@@ -3522,7 +2750,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type32"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
{
"type" : "hexstr",
@@ -3531,7 +2759,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 161,
+ "line" : 165,
"column" : 39,
"source_fragment" : "2w0x2;; ..."
}
@@ -3545,7 +2773,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -3574,31 +2802,31 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.qos_prio",
- "id" : 32,
+ "id" : 22,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.bng_ingress.downstream.qos_prio",
- "id" : 33,
+ "id" : 23,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.bng_ingress.downstream.qos_besteff",
- "id" : 34,
+ "id" : 24,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.bng_ingress.downstream.qos_besteff",
- "id" : 35,
+ "id" : 25,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.bng_ingress.set_line",
- "id" : 36,
+ "id" : 26,
"runtime_data" : [
{
"name" : "line_id",
@@ -3611,7 +2839,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
},
{
"type" : "runtime_data",
@@ -3629,7 +2857,7 @@
},
{
"name" : "FabricIngress.filtering.deny",
- "id" : 37,
+ "id" : 27,
"runtime_data" : [],
"primitives" : [
{
@@ -3694,13 +2922,13 @@
},
{
"name" : "FabricIngress.filtering.permit",
- "id" : 38,
+ "id" : 28,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.filtering.permit_with_internal_vlan",
- "id" : 39,
+ "id" : 29,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -3731,7 +2959,7 @@
},
{
"name" : "FabricIngress.filtering.set_forwarding_type",
- "id" : 40,
+ "id" : 30,
"runtime_data" : [
{
"name" : "fwd_type",
@@ -3762,7 +2990,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_bridging",
- "id" : 41,
+ "id" : 31,
"runtime_data" : [
{
"name" : "next_id",
@@ -3793,7 +3021,7 @@
},
{
"name" : "FabricIngress.forwarding.pop_mpls_and_next",
- "id" : 42,
+ "id" : 32,
"runtime_data" : [
{
"name" : "next_id",
@@ -3843,7 +3071,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_routing_v4",
- "id" : 43,
+ "id" : 33,
"runtime_data" : [
{
"name" : "next_id",
@@ -3874,13 +3102,13 @@
},
{
"name" : "FabricIngress.forwarding.nop_routing_v4",
- "id" : 44,
+ "id" : 34,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.forwarding.set_next_id_routing_v6",
- "id" : 45,
+ "id" : 35,
"runtime_data" : [
{
"name" : "next_id",
@@ -3911,7 +3139,7 @@
},
{
"name" : "FabricIngress.acl.set_next_id_acl",
- "id" : 46,
+ "id" : 36,
"runtime_data" : [
{
"name" : "next_id",
@@ -3942,7 +3170,7 @@
},
{
"name" : "FabricIngress.acl.punt_to_cpu",
- "id" : 47,
+ "id" : 37,
"runtime_data" : [],
"primitives" : [
{
@@ -3997,7 +3225,7 @@
},
{
"name" : "FabricIngress.acl.set_clone_session_id",
- "id" : 48,
+ "id" : 38,
"runtime_data" : [
{
"name" : "clone_id",
@@ -4028,7 +3256,7 @@
},
{
"name" : "FabricIngress.acl.drop",
- "id" : 49,
+ "id" : 39,
"runtime_data" : [],
"primitives" : [
{
@@ -4079,13 +3307,13 @@
},
{
"name" : "FabricIngress.acl.nop_acl",
- "id" : 50,
+ "id" : 40,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.next.set_vlan",
- "id" : 51,
+ "id" : 41,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -4116,7 +3344,7 @@
},
{
"name" : "FabricIngress.next.set_double_vlan",
- "id" : 52,
+ "id" : 42,
"runtime_data" : [
{
"name" : "outer_vlan_id",
@@ -4200,7 +3428,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_s_tag36"]
+ "value" : ["scalars", "fabric_metadata_t._bng_s_tag42"]
},
{
"type" : "runtime_data",
@@ -4219,7 +3447,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_c_tag37"]
+ "value" : ["scalars", "fabric_metadata_t._bng_c_tag43"]
},
{
"type" : "runtime_data",
@@ -4237,7 +3465,7 @@
},
{
"name" : "FabricIngress.next.output_xconnect",
- "id" : 53,
+ "id" : 43,
"runtime_data" : [
{
"name" : "port_num",
@@ -4268,7 +3496,7 @@
},
{
"name" : "FabricIngress.next.set_next_id_xconnect",
- "id" : 54,
+ "id" : 44,
"runtime_data" : [
{
"name" : "next_id",
@@ -4299,7 +3527,7 @@
},
{
"name" : "FabricIngress.next.output_simple",
- "id" : 55,
+ "id" : 45,
"runtime_data" : [
{
"name" : "port_num",
@@ -4330,7 +3558,7 @@
},
{
"name" : "FabricIngress.next.routing_simple",
- "id" : 56,
+ "id" : 46,
"runtime_data" : [
{
"name" : "port_num",
@@ -4407,7 +3635,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_simple",
- "id" : 57,
+ "id" : 47,
"runtime_data" : [
{
"name" : "port_num",
@@ -4507,7 +3735,7 @@
},
{
"name" : "FabricIngress.next.output_hashed",
- "id" : 58,
+ "id" : 48,
"runtime_data" : [
{
"name" : "port_num",
@@ -4538,7 +3766,7 @@
},
{
"name" : "FabricIngress.next.routing_hashed",
- "id" : 59,
+ "id" : 49,
"runtime_data" : [
{
"name" : "port_num",
@@ -4615,7 +3843,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_hashed",
- "id" : 60,
+ "id" : 50,
"runtime_data" : [
{
"name" : "port_num",
@@ -4715,7 +3943,7 @@
},
{
"name" : "FabricIngress.next.set_mcast_group_id",
- "id" : 61,
+ "id" : 51,
"runtime_data" : [
{
"name" : "group_id",
@@ -4774,16 +4002,126 @@
]
},
{
- "name" : "act",
- "id" : 62,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.set_source_iface",
+ "id" : 52,
+ "runtime_data" : [
+ {
+ "name" : "src_iface",
+ "bitwidth" : 8
+ },
+ {
+ "name" : "direction",
+ "bitwidth" : 2
+ },
+ {
+ "name" : "skip_spgw",
+ "bitwidth" : 1
+ }
+ ],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_src_iface31"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 0
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 50,
+ "column" : 33,
+ "source_fragment" : "= src_iface; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_direction23"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 1
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 51,
+ "column" : 33,
+ "source_fragment" : "= direction; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw32"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 52,
+ "column" : 33,
+ "source_fragment" : "= (bool)skip_spgw; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
+ "id" : 53,
+ "runtime_data" : [
+ {
+ "name" : "ctr_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "far_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "needs_gtpu_decap",
+ "bitwidth" : 1
+ }
+ ],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit33"]
},
{
"type" : "expression",
@@ -4801,47 +4139,10 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 32,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_0",
- "id" : 63,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 50,
- "source_fragment" : "hdr.gtpu_ipv4"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 65,
- "source_fragment" : "hdr.gtpu_udp"
+ "filename" : "include/control/spgw.p4",
+ "line" : 75,
+ "column" : 31,
+ "source_fragment" : "= true; ..."
}
},
{
@@ -4849,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",
@@ -4860,85 +4258,600 @@
"left" : null,
"right" : {
"type" : "bool",
- "value" : false
+ "value" : true
}
}
}
}
- ]
- }
- ]
- },
- {
- "name" : "act_1",
- "id" : 64,
- "runtime_data" : [],
- "primitives" : [
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 75,
+ "column" : 31,
+ "source_fragment" : "= true; ..."
+ }
+ },
{
- "op" : "assign_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "udp"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id29"]
},
{
- "type" : "header",
- "value" : "inner_udp"
+ "type" : "runtime_data",
+ "value" : 0
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 39,
- "column" : 16,
- "source_fragment" : "= inner_udp; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 76,
+ "column" : 30,
+ "source_fragment" : "= ctr_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_id30"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 1
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 77,
+ "column" : 30,
+ "source_fragment" : "= far_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap37"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 78,
+ "column" : 40,
+ "source_fragment" : "= (bool)needs_gtpu_decap; ..."
}
}
]
},
{
- "name" : "act_2",
- "id" : 65,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.load_normal_far_attributes",
+ "id" : 55,
+ "runtime_data" : [
+ {
+ "name" : "drop",
+ "bitwidth" : 1
+ },
+ {
+ "name" : "notify_cp",
+ "bitwidth" : 1
+ }
+ ],
"primitives" : [
{
- "op" : "remove_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "udp"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped34"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 0
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 41,
- "column" : 12,
- "source_fragment" : "udp.setInvalid()"
+ "filename" : "include/control/spgw.p4",
+ "line" : 140,
+ "column" : 35,
+ "source_fragment" : "= (bool)drop; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc35"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 1
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 141,
+ "column" : 36,
+ "source_fragment" : "= (bool)notify_cp; ..."
}
}
]
},
{
- "name" : "act_3",
- "id" : 66,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.load_tunnel_far_attributes",
+ "id" : 56,
+ "runtime_data" : [
+ {
+ "name" : "drop",
+ "bitwidth" : 1
+ },
+ {
+ "name" : "notify_cp",
+ "bitwidth" : 1
+ },
+ {
+ "name" : "tunnel_src_port",
+ "bitwidth" : 16
+ },
+ {
+ "name" : "tunnel_src_addr",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "tunnel_dst_addr",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "teid",
+ "bitwidth" : 32
+ }
+ ],
"primitives" : [
{
- "op" : "assign_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "gtpu_ipv4"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped34"]
},
{
- "type" : "header",
- "value" : "ipv4"
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 0
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 35,
- "column" : 18,
- "source_fragment" : "= ipv4; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 150,
+ "column" : 35,
+ "source_fragment" : "= (bool)drop; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc35"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 1
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 151,
+ "column" : 36,
+ "source_fragment" : "= (bool)notify_cp; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap36"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 153,
+ "column" : 40,
+ "source_fragment" : "= true; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_teid25"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 5
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 154,
+ "column" : 28,
+ "source_fragment" : "= teid; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port26"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 2
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 155,
+ "column" : 39,
+ "source_fragment" : "= tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr27"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 3
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 156,
+ "column" : 39,
+ "source_fragment" : "= tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr28"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 4
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 157,
+ "column" : 39,
+ "source_fragment" : "= tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 3
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 159,
+ "column" : 32,
+ "source_fragment" : "= tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 4
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 160,
+ "column" : 32,
+ "source_fragment" : "= tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport17"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 2
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 161,
+ "column" : 27,
+ "source_fragment" : "= tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport18"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0868"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 162,
+ "column" : 27,
+ "source_fragment" : "= 2152; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_inner_tcp",
+ "id" : 57,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 128,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 189,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 190,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 191,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport17"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport21"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 192,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport18"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport22"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 193,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
}
},
{
@@ -4954,10 +4867,55 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 36,
- "column" : 13,
- "source_fragment" : "= inner_ipv4; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 195,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 201,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
}
},
{
@@ -4965,25 +4923,648 @@
"parameters" : [
{
"type" : "header",
- "value" : "gtpu_udp"
+ "value" : "tcp"
},
{
"type" : "header",
+ "value" : "inner_tcp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 202,
+ "column" : 8,
+ "source_fragment" : "hdr.tcp = hdr.inner_tcp"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_tcp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 203,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_tcp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_inner_udp",
+ "id" : 58,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 128,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 189,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 190,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 191,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport17"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport21"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 192,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport18"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport22"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 193,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 195,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 207,
+ "column" : 8,
+ "source_fragment" : "hdr.udp = hdr.inner_udp"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 208,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_udp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_inner_icmp",
+ "id" : 59,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 128,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 189,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 190,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 191,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport17"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport21"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 192,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport18"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport22"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 193,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 195,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "udp"
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 37,
- "column" : 17,
- "source_fragment" : "= udp; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 212,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "icmp"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_icmp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 213,
+ "column" : 8,
+ "source_fragment" : "hdr.icmp = hdr.inner_icmp"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_icmp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 214,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_icmp.setInvalid()"
}
}
]
},
{
- "name" : "act_4",
- "id" : 67,
+ "name" : "FabricIngress.spgw_ingress.decap_inner_unknown",
+ "id" : 60,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 128,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 189,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr19"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 190,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr20"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 191,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport17"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport21"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 192,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport18"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport22"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 193,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 195,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 218,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act",
+ "id" : 61,
"runtime_data" : [],
"primitives" : [
{
@@ -5062,8 +5643,191 @@
]
},
{
+ "name" : "act_0",
+ "id" : 62,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "spgw_ingress_hasReturned"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : false
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name" : "act_1",
+ "id" : 63,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "spgw_ingress_hasReturned"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 251,
+ "column" : 46,
+ "source_fragment" : "return"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_2",
+ "id" : 64,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "count",
+ "parameters" : [
+ {
+ "type" : "counter_array",
+ "value" : "FabricIngress.spgw_ingress.pdr_counter"
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id29"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 265,
+ "column" : 8,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_3",
+ "id" : 65,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._skip_forwarding10"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 282,
+ "column" : 38,
+ "source_fragment" : "= true; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._skip_next11"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 283,
+ "column" : 32,
+ "source_fragment" : "= true; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_4",
+ "id" : 66,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len24"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 291,
+ "column" : 32,
+ "source_fragment" : "= hdr.ipv4.total_len; ..."
+ }
+ }
+ ]
+ },
+ {
"name" : "act_5",
- "id" : 68,
+ "id" : 67,
"runtime_data" : [],
"primitives" : [
{
@@ -5127,7 +5891,7 @@
},
{
"name" : "act_6",
- "id" : 69,
+ "id" : 68,
"runtime_data" : [],
"primitives" : [
{
@@ -5191,7 +5955,7 @@
},
{
"name" : "act_7",
- "id" : 70,
+ "id" : 69,
"runtime_data" : [],
"primitives" : [
{
@@ -5217,7 +5981,7 @@
},
{
"name" : "act_8",
- "id" : 71,
+ "id" : 70,
"runtime_data" : [],
"primitives" : [
{
@@ -5225,439 +5989,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_9",
- "id" : 72,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_10",
- "id" : 73,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "mark_to_drop",
- "parameters" : [
- {
- "type" : "header",
- "value" : "standard_metadata"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 187,
- "column" : 16,
- "source_fragment" : "mark_to_drop(standard_metadata)"
- }
- }
- ]
- },
- {
- "name" : "act_11",
- "id" : 74,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction21"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 153,
- "column" : 36,
- "source_fragment" : "2w1; ..."
- }
- }
- ]
- },
- {
- "name" : "act_12",
- "id" : 75,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_13",
- "id" : 76,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_14",
- "id" : 77,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction21"]
- },
- {
- "type" : "hexstr",
- "value" : "0x02"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 154,
- "column" : 38,
- "source_fragment" : "2w2; ..."
- }
- }
- ]
- },
- {
- "name" : "act_15",
- "id" : 78,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction21"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 152,
- "column" : 37,
- "source_fragment" : "2w0; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 196,
- "column" : 12,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_16",
- "id" : 79,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_17",
- "id" : 80,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 206,
- "column" : 12,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_18",
- "id" : 81,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "count",
- "parameters" : [
- {
- "type" : "counter_array",
- "value" : "FabricIngress.spgw_ingress.pdr_counter"
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id26"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 213,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
- }
- }
- ]
- },
- {
- "name" : "act_19",
- "id" : 82,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._skip_forwarding10"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 223,
- "column" : 40,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._skip_next11"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 224,
- "column" : 34,
- "source_fragment" : "= true; ..."
- }
- }
- ]
- },
- {
- "name" : "act_20",
- "id" : 83,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len22"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "total_len"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 232,
- "column" : 34,
- "source_fragment" : "= ipv4.total_len; ..."
- }
- }
- ]
- },
- {
- "name" : "act_21",
- "id" : 84,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
},
{
"type" : "expression",
@@ -5693,7 +6025,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
}
],
"source_info" : {
@@ -5706,8 +6038,8 @@
]
},
{
- "name" : "act_22",
- "id" : 85,
+ "name" : "act_9",
+ "id" : 71,
"runtime_data" : [],
"primitives" : [
{
@@ -5715,7 +6047,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_5"]
+ "value" : ["scalars", "tmp_4"]
},
{
"type" : "expression",
@@ -5751,7 +6083,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_5"]
+ "value" : ["scalars", "tmp_4"]
}
],
"source_info" : {
@@ -5764,8 +6096,8 @@
]
},
{
- "name" : "act_23",
- "id" : 86,
+ "name" : "act_10",
+ "id" : 72,
"runtime_data" : [],
"primitives" : [
{
@@ -5790,8 +6122,8 @@
]
},
{
- "name" : "act_24",
- "id" : 87,
+ "name" : "act_11",
+ "id" : 73,
"runtime_data" : [],
"primitives" : [
{
@@ -5820,8 +6152,8 @@
]
},
{
- "name" : "act_25",
- "id" : 88,
+ "name" : "act_12",
+ "id" : 74,
"runtime_data" : [],
"primitives" : [
{
@@ -5850,8 +6182,8 @@
]
},
{
- "name" : "act_26",
- "id" : 89,
+ "name" : "act_13",
+ "id" : 75,
"runtime_data" : [],
"primitives" : [
{
@@ -5859,7 +6191,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type32"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
{
"type" : "hexstr",
@@ -5868,7 +6200,7 @@
],
"source_info" : {
"filename" : "include/control/../header.p4",
- "line" : 160,
+ "line" : 164,
"column" : 37,
"source_fragment" : "2w0x1; ..."
}
@@ -5899,8 +6231,8 @@
]
},
{
- "name" : "act_27",
- "id" : 90,
+ "name" : "act_14",
+ "id" : 76,
"runtime_data" : [],
"primitives" : [
{
@@ -5935,8 +6267,8 @@
]
},
{
- "name" : "act_28",
- "id" : 91,
+ "name" : "act_15",
+ "id" : 77,
"runtime_data" : [],
"primitives" : [
{
@@ -5948,7 +6280,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -5961,8 +6293,8 @@
]
},
{
- "name" : "act_29",
- "id" : 92,
+ "name" : "act_16",
+ "id" : 78,
"runtime_data" : [],
"primitives" : [
{
@@ -5974,7 +6306,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -5987,8 +6319,8 @@
]
},
{
- "name" : "act_30",
- "id" : 93,
+ "name" : "act_17",
+ "id" : 79,
"runtime_data" : [],
"primitives" : [
{
@@ -6046,8 +6378,8 @@
]
},
{
- "name" : "act_31",
- "id" : 94,
+ "name" : "act_18",
+ "id" : 80,
"runtime_data" : [],
"primitives" : [
{
@@ -6076,8 +6408,8 @@
]
},
{
- "name" : "act_32",
- "id" : 95,
+ "name" : "act_19",
+ "id" : 81,
"runtime_data" : [],
"primitives" : [
{
@@ -6106,8 +6438,8 @@
]
},
{
- "name" : "act_33",
- "id" : 96,
+ "name" : "act_20",
+ "id" : 82,
"runtime_data" : [],
"primitives" : [
{
@@ -6119,11 +6451,11 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result35"]
+ "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result41"]
}
],
"source_info" : {
@@ -6136,8 +6468,8 @@
]
},
{
- "name" : "act_34",
- "id" : 97,
+ "name" : "act_21",
+ "id" : 83,
"runtime_data" : [],
"primitives" : [
{
@@ -6149,11 +6481,11 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result35"]
+ "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result41"]
}
],
"source_info" : {
@@ -6166,8 +6498,8 @@
]
},
{
- "name" : "act_35",
- "id" : 98,
+ "name" : "act_22",
+ "id" : 84,
"runtime_data" : [],
"primitives" : [
{
@@ -6179,11 +6511,11 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result35"]
+ "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result41"]
}
],
"source_info" : {
@@ -6196,8 +6528,8 @@
]
},
{
- "name" : "act_36",
- "id" : 99,
+ "name" : "act_23",
+ "id" : 85,
"runtime_data" : [],
"primitives" : [
{
@@ -6209,11 +6541,11 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result35"]
+ "value" : ["scalars", "fabric_metadata_t._bng_ds_meter_result41"]
}
],
"source_info" : {
@@ -6227,635 +6559,43 @@
},
{
"name" : "nop",
- "id" : 100,
+ "id" : 86,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "nop",
- "id" : 101,
+ "id" : 87,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "nop",
- "id" : 102,
+ "id" : 88,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "nop",
- "id" : 103,
+ "id" : 89,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
- "id" : 104,
+ "id" : 90,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
- "id" : 105,
+ "id" : 91,
"runtime_data" : [],
"primitives" : []
},
{
- "name" : "FabricEgress.spgw_egress.gtpu_encap",
- "id" : 106,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 251,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "version"]
- },
- {
- "type" : "hexstr",
- "value" : "0x04"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 252,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.version = 4"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ihl"]
- },
- {
- "type" : "hexstr",
- "value" : "0x05"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 135,
- "column" : 28,
- "source_fragment" : "5; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dscp"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 254,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.dscp = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ecn"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 255,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.ecn = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "total_len"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["ipv4", "total_len"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0024"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 256,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.total_len = ipv4.total_len ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "identification"]
- },
- {
- "type" : "hexstr",
- "value" : "0x1513"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 258,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.identification = 0x1513"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "flags"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 259,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.flags = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "frag_offset"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 260,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.frag_offset = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ttl"]
- },
- {
- "type" : "hexstr",
- "value" : "0x40"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 148,
- "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" : 132,
- "column" : 25,
- "source_fragment" : "17; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "src_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr24"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 263,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.src_addr = fabric_meta.spgw.tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dst_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr25"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 264,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.dst_addr = fabric_meta.spgw.tunnel_dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "hdr_checksum"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 265,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.hdr_checksum = 0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 267,
- "column" : 8,
- "source_fragment" : "gtpu_udp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "sport"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0868"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 268,
- "column" : 8,
- "source_fragment" : "gtpu_udp.sport = 2152"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "dport"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0868"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 269,
- "column" : 8,
- "source_fragment" : "gtpu_udp.dport = 2152"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "len"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len22"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0010"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 270,
- "column" : 8,
- "source_fragment" : "gtpu_udp.len = fabric_meta.spgw.ipv4_len ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "checksum"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 272,
- "column" : 8,
- "source_fragment" : "gtpu_udp.checksum = 0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 275,
- "column" : 8,
- "source_fragment" : "gtpu.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "version"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 276,
- "column" : 8,
- "source_fragment" : "gtpu.version = 0x01"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "pt"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 277,
- "column" : 8,
- "source_fragment" : "gtpu.pt = 0x01"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "spare"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 278,
- "column" : 8,
- "source_fragment" : "gtpu.spare = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "ex_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 279,
- "column" : 8,
- "source_fragment" : "gtpu.ex_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "seq_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 280,
- "column" : 8,
- "source_fragment" : "gtpu.seq_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "npdu_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 281,
- "column" : 8,
- "source_fragment" : "gtpu.npdu_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "msgtype"]
- },
- {
- "type" : "hexstr",
- "value" : "0xff"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 282,
- "column" : 8,
- "source_fragment" : "gtpu.msgtype = 0xff"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "msglen"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len22"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 283,
- "column" : 8,
- "source_fragment" : "gtpu.msglen = fabric_meta.spgw.ipv4_len; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "teid"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid23"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 284,
- "column" : 8,
- "source_fragment" : "gtpu.teid = fabric_meta.spgw.teid; ..."
- }
- }
- ]
- },
- {
"name" : "FabricEgress.bng_egress.downstream.encap_v4",
- "id" : 107,
+ "id" : 92,
"runtime_data" : [],
"primitives" : [
{
@@ -6872,7 +6612,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 124,
+ "line" : 132,
"column" : 33,
"source_fragment" : "0x8864; ..."
}
@@ -6958,7 +6698,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id34"]
+ "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id40"]
}
],
"source_info" : {
@@ -6977,7 +6717,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -7043,7 +6783,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 126,
+ "line" : 134,
"column" : 35,
"source_fragment" : "0x0021; ..."
}
@@ -7052,7 +6792,7 @@
},
{
"name" : "FabricEgress.bng_egress.downstream.encap_v6",
- "id" : 108,
+ "id" : 93,
"runtime_data" : [],
"primitives" : [
{
@@ -7069,7 +6809,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 124,
+ "line" : 132,
"column" : 33,
"source_fragment" : "0x8864; ..."
}
@@ -7155,7 +6895,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id34"]
+ "value" : ["scalars", "fabric_metadata_t._bng_pppoe_session_id40"]
}
],
"source_info" : {
@@ -7174,7 +6914,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_line_id33"]
+ "value" : ["scalars", "fabric_metadata_t._bng_line_id39"]
}
],
"source_info" : {
@@ -7240,7 +6980,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 127,
+ "line" : 135,
"column" : 35,
"source_fragment" : "0x0057; ..."
}
@@ -7249,7 +6989,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_source.int_source_dscp",
- "id" : 109,
+ "id" : 94,
"runtime_data" : [
{
"name" : "max_hop",
@@ -7317,7 +7057,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 163,
+ "line" : 165,
"column" : 36,
"source_fragment" : "4; ..."
}
@@ -7735,7 +7475,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 159,
+ "line" : 161,
"column" : 24,
"source_fragment" : "0x1; ..."
}
@@ -7744,7 +7484,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.init_metadata",
- "id" : 110,
+ "id" : 95,
"runtime_data" : [
{
"name" : "switch_id",
@@ -7757,7 +7497,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_transit39"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_transit45"]
},
{
"type" : "expression",
@@ -7786,7 +7526,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
},
{
"type" : "runtime_data",
@@ -7804,13 +7544,13 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i0",
- "id" : 111,
+ "id" : 96,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i1",
- "id" : 112,
+ "id" : 97,
"runtime_data" : [],
"primitives" : [
{
@@ -7884,7 +7624,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -7898,7 +7638,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -7926,7 +7666,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -7940,7 +7680,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -7967,7 +7707,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i2",
- "id" : 113,
+ "id" : 98,
"runtime_data" : [],
"primitives" : [
{
@@ -8009,7 +7749,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -8023,7 +7763,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -8051,7 +7791,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -8065,7 +7805,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -8092,7 +7832,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i3",
- "id" : 114,
+ "id" : 99,
"runtime_data" : [],
"primitives" : [
{
@@ -8200,7 +7940,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -8214,7 +7954,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -8242,7 +7982,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -8256,7 +7996,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -8283,7 +8023,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i4",
- "id" : 115,
+ "id" : 100,
"runtime_data" : [],
"primitives" : [
{
@@ -8370,7 +8110,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -8384,7 +8124,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -8412,7 +8152,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -8426,7 +8166,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -8453,7 +8193,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i5",
- "id" : 116,
+ "id" : 101,
"runtime_data" : [],
"primitives" : [
{
@@ -8606,7 +8346,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -8620,7 +8360,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -8648,7 +8388,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -8662,7 +8402,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -8689,7 +8429,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i6",
- "id" : 117,
+ "id" : 102,
"runtime_data" : [],
"primitives" : [
{
@@ -8810,7 +8550,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -8824,7 +8564,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -8852,7 +8592,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -8866,7 +8606,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -8893,7 +8633,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i7",
- "id" : 118,
+ "id" : 103,
"runtime_data" : [],
"primitives" : [
{
@@ -9080,7 +8820,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -9094,7 +8834,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -9122,7 +8862,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -9136,7 +8876,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -9163,7 +8903,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i8",
- "id" : 119,
+ "id" : 104,
"runtime_data" : [],
"primitives" : [
{
@@ -9190,7 +8930,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -9205,7 +8945,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -9219,7 +8959,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -9247,7 +8987,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -9261,7 +9001,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -9288,7 +9028,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i9",
- "id" : 120,
+ "id" : 105,
"runtime_data" : [],
"primitives" : [
{
@@ -9381,7 +9121,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -9396,7 +9136,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -9410,7 +9150,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -9438,7 +9178,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -9452,7 +9192,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -9479,7 +9219,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i10",
- "id" : 121,
+ "id" : 106,
"runtime_data" : [],
"primitives" : [
{
@@ -9540,7 +9280,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -9555,7 +9295,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -9569,7 +9309,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -9597,7 +9337,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -9611,7 +9351,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -9638,7 +9378,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i11",
- "id" : 122,
+ "id" : 107,
"runtime_data" : [],
"primitives" : [
{
@@ -9765,7 +9505,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -9780,7 +9520,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -9794,7 +9534,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -9822,7 +9562,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -9836,7 +9576,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -9863,7 +9603,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i12",
- "id" : 123,
+ "id" : 108,
"runtime_data" : [],
"primitives" : [
{
@@ -9969,7 +9709,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -9984,7 +9724,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -9998,7 +9738,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -10026,7 +9766,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -10040,7 +9780,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -10067,7 +9807,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i13",
- "id" : 124,
+ "id" : 109,
"runtime_data" : [],
"primitives" : [
{
@@ -10239,7 +9979,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -10254,7 +9994,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -10268,7 +10008,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -10296,7 +10036,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -10310,7 +10050,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -10337,7 +10077,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i14",
- "id" : 125,
+ "id" : 110,
"runtime_data" : [],
"primitives" : [
{
@@ -10477,7 +10217,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -10492,7 +10232,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -10506,7 +10246,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -10534,7 +10274,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -10548,7 +10288,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -10575,7 +10315,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i15",
- "id" : 126,
+ "id" : 111,
"runtime_data" : [],
"primitives" : [
{
@@ -10781,7 +10521,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id41"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id47"]
}
],
"source_info" : {
@@ -10796,7 +10536,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -10810,7 +10550,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -10838,7 +10578,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -10852,7 +10592,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -10879,13 +10619,13 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0",
- "id" : 127,
+ "id" : 112,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1",
- "id" : 128,
+ "id" : 113,
"runtime_data" : [],
"primitives" : [
{
@@ -10927,7 +10667,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -10941,7 +10681,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -10969,7 +10709,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -10983,7 +10723,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -11010,7 +10750,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2",
- "id" : 129,
+ "id" : 114,
"runtime_data" : [],
"primitives" : [
{
@@ -11071,7 +10811,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -11085,7 +10825,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -11113,7 +10853,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -11127,7 +10867,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -11154,7 +10894,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3",
- "id" : 130,
+ "id" : 115,
"runtime_data" : [],
"primitives" : [
{
@@ -11249,7 +10989,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -11263,7 +11003,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -11291,7 +11031,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -11305,7 +11045,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -11332,7 +11072,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4",
- "id" : 131,
+ "id" : 116,
"runtime_data" : [],
"primitives" : [
{
@@ -11397,7 +11137,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -11411,7 +11151,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -11439,7 +11179,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -11453,7 +11193,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -11480,7 +11220,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5",
- "id" : 132,
+ "id" : 117,
"runtime_data" : [],
"primitives" : [
{
@@ -11579,7 +11319,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -11593,7 +11333,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -11621,7 +11361,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -11635,7 +11375,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -11662,7 +11402,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6",
- "id" : 133,
+ "id" : 118,
"runtime_data" : [],
"primitives" : [
{
@@ -11780,7 +11520,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -11794,7 +11534,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -11822,7 +11562,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -11836,7 +11576,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -11863,7 +11603,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7",
- "id" : 134,
+ "id" : 119,
"runtime_data" : [],
"primitives" : [
{
@@ -12015,7 +11755,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -12029,7 +11769,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -12057,7 +11797,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -12071,7 +11811,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -12098,7 +11838,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8",
- "id" : 135,
+ "id" : 120,
"runtime_data" : [],
"primitives" : [
{
@@ -12140,7 +11880,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -12154,7 +11894,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -12182,7 +11922,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -12196,7 +11936,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -12223,7 +11963,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9",
- "id" : 136,
+ "id" : 121,
"runtime_data" : [],
"primitives" : [
{
@@ -12299,7 +12039,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -12313,7 +12053,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -12341,7 +12081,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -12355,7 +12095,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -12382,7 +12122,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10",
- "id" : 137,
+ "id" : 122,
"runtime_data" : [],
"primitives" : [
{
@@ -12477,7 +12217,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -12491,7 +12231,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -12519,7 +12259,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -12533,7 +12273,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -12560,7 +12300,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11",
- "id" : 138,
+ "id" : 123,
"runtime_data" : [],
"primitives" : [
{
@@ -12689,7 +12429,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -12703,7 +12443,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -12731,7 +12471,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -12745,7 +12485,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -12772,7 +12512,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12",
- "id" : 139,
+ "id" : 124,
"runtime_data" : [],
"primitives" : [
{
@@ -12871,7 +12611,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -12885,7 +12625,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -12913,7 +12653,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -12927,7 +12667,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -12954,7 +12694,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13",
- "id" : 140,
+ "id" : 125,
"runtime_data" : [],
"primitives" : [
{
@@ -13087,7 +12827,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -13101,7 +12841,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -13129,7 +12869,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -13143,7 +12883,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -13170,7 +12910,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14",
- "id" : 141,
+ "id" : 126,
"runtime_data" : [],
"primitives" : [
{
@@ -13322,7 +13062,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -13336,7 +13076,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -13364,7 +13104,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -13378,7 +13118,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -13405,7 +13145,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15",
- "id" : 142,
+ "id" : 127,
"runtime_data" : [],
"primitives" : [
{
@@ -13591,7 +13331,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
{
"type" : "expression",
@@ -13605,7 +13345,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
},
"right" : {
"type" : "hexstr",
@@ -13633,7 +13373,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
{
"type" : "expression",
@@ -13647,7 +13387,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
},
"right" : {
"type" : "hexstr",
@@ -13674,7 +13414,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_report.do_report_encapsulation",
- "id" : 143,
+ "id" : 128,
"runtime_data" : [
{
"name" : "src_mac",
@@ -13765,7 +13505,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 120,
+ "line" : 128,
"column" : 31,
"source_fragment" : "0x0800; ..."
}
@@ -13993,7 +13733,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 132,
+ "line" : 140,
"column" : 25,
"source_fragment" : "17; ..."
}
@@ -14179,7 +13919,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 169,
+ "line" : 171,
"column" : 31,
"source_fragment" : "0; ..."
}
@@ -14274,7 +14014,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 173,
+ "line" : 175,
"column" : 21,
"source_fragment" : "1; ..."
}
@@ -14321,7 +14061,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_sink.restore_header",
- "id" : 144,
+ "id" : 129,
"runtime_data" : [],
"primitives" : [
{
@@ -14366,7 +14106,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_sink.int_sink",
- "id" : 145,
+ "id" : 130,
"runtime_data" : [],
"primitives" : [
{
@@ -14697,7 +14437,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_mpls_if_present",
- "id" : 146,
+ "id" : 131,
"runtime_data" : [],
"primitives" : [
{
@@ -14738,7 +14478,7 @@
},
{
"name" : "FabricEgress.egress_next.set_mpls",
- "id" : 147,
+ "id" : 132,
"runtime_data" : [],
"primitives" : [
{
@@ -14846,7 +14586,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 118,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -14855,7 +14595,7 @@
},
{
"name" : "FabricEgress.egress_next.push_vlan",
- "id" : 148,
+ "id" : 133,
"runtime_data" : [],
"primitives" : [
{
@@ -14925,7 +14665,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 117,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -14953,7 +14693,7 @@
},
{
"name" : "FabricEgress.egress_next.push_vlan",
- "id" : 149,
+ "id" : 134,
"runtime_data" : [],
"primitives" : [
{
@@ -15023,7 +14763,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 117,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -15051,7 +14791,7 @@
},
{
"name" : "FabricEgress.egress_next.push_inner_vlan",
- "id" : 150,
+ "id" : 135,
"runtime_data" : [],
"primitives" : [
{
@@ -15140,7 +14880,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 117,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -15159,7 +14899,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 117,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -15168,7 +14908,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_vlan",
- "id" : 151,
+ "id" : 136,
"runtime_data" : [],
"primitives" : [
{
@@ -15189,8 +14929,600 @@
]
},
{
- "name" : "act_37",
- "id" : 152,
+ "name" : "FabricEgress.spgw_egress.gtpu_encap",
+ "id" : 137,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 308,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "version"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x04"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 309,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.version = 4"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ihl"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x05"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 143,
+ "column" : 28,
+ "source_fragment" : "5; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "dscp"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 311,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.dscp = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ecn"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 312,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.ecn = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "total_len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0024"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 313,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.total_len = hdr.ipv4.total_len ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "identification"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x1513"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 315,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.identification = 0x1513"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "flags"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 316,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.flags = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "frag_offset"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 317,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.frag_offset = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ttl"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x40"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 156,
+ "column" : 32,
+ "source_fragment" : "64; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "protocol"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x11"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 140,
+ "column" : 25,
+ "source_fragment" : "17; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "src_addr"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr27"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 320,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.src_addr = fabric_md.spgw.tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "dst_addr"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr28"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 321,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.dst_addr = fabric_md.spgw.tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "hdr_checksum"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 322,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.hdr_checksum = 0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 324,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "sport"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port26"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 325,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.sport = fabric_md.spgw.tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "dport"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0868"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 326,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.dport = 2152"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len24"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0010"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 327,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.len = fabric_md.spgw.ipv4_len ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "checksum"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 329,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.checksum = 0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "outer_gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 332,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "version"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 333,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.version = 0x01"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "pt"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 334,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.pt = 0x01"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "spare"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 335,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.spare = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "ex_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 336,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.ex_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "seq_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 337,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.seq_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "npdu_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 338,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.npdu_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "msgtype"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 339,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.msgtype = 0xff"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "msglen"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len24"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 340,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.msglen = fabric_md.spgw.ipv4_len; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "teid"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_teid25"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 341,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.teid = fabric_md.spgw.teid; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_24",
+ "id" : 138,
"runtime_data" : [],
"primitives" : [
{
@@ -15206,8 +15538,8 @@
]
},
{
- "name" : "act_38",
- "id" : 153,
+ "name" : "act_25",
+ "id" : 139,
"runtime_data" : [],
"primitives" : [
{
@@ -15257,8 +15589,8 @@
]
},
{
- "name" : "act_39",
- "id" : 154,
+ "name" : "act_26",
+ "id" : 140,
"runtime_data" : [],
"primitives" : [
{
@@ -15279,8 +15611,8 @@
]
},
{
- "name" : "act_40",
- "id" : 155,
+ "name" : "act_27",
+ "id" : 141,
"runtime_data" : [],
"primitives" : [
{
@@ -15309,8 +15641,8 @@
]
},
{
- "name" : "act_41",
- "id" : 156,
+ "name" : "act_28",
+ "id" : 142,
"runtime_data" : [],
"primitives" : [
{
@@ -15339,8 +15671,8 @@
]
},
{
- "name" : "act_42",
- "id" : 157,
+ "name" : "act_29",
+ "id" : 143,
"runtime_data" : [],
"primitives" : [
{
@@ -15361,8 +15693,8 @@
]
},
{
- "name" : "act_43",
- "id" : 158,
+ "name" : "act_30",
+ "id" : 144,
"runtime_data" : [],
"primitives" : [
{
@@ -15383,8 +15715,8 @@
]
},
{
- "name" : "act_44",
- "id" : 159,
+ "name" : "act_31",
+ "id" : 145,
"runtime_data" : [],
"primitives" : [
{
@@ -15432,8 +15764,8 @@
]
},
{
- "name" : "act_45",
- "id" : 160,
+ "name" : "act_32",
+ "id" : 146,
"runtime_data" : [],
"primitives" : [
{
@@ -15454,8 +15786,8 @@
]
},
{
- "name" : "act_46",
- "id" : 161,
+ "name" : "act_33",
+ "id" : 147,
"runtime_data" : [],
"primitives" : [
{
@@ -15503,8 +15835,8 @@
]
},
{
- "name" : "act_47",
- "id" : 162,
+ "name" : "act_34",
+ "id" : 148,
"runtime_data" : [],
"primitives" : [
{
@@ -15525,8 +15857,8 @@
]
},
{
- "name" : "act_48",
- "id" : 163,
+ "name" : "act_35",
+ "id" : 149,
"runtime_data" : [],
"primitives" : [
{
@@ -15574,8 +15906,74 @@
]
},
{
- "name" : "act_49",
- "id" : 164,
+ "name" : "act_36",
+ "id" : 150,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "spgw_egress_hasReturned"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
+ "column" : 46,
+ "source_fragment" : "return"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_37",
+ "id" : 151,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "spgw_egress_hasReturned"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : false
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name" : "act_38",
+ "id" : 152,
"runtime_data" : [],
"primitives" : [
{
@@ -15587,21 +15985,21 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id26"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id29"]
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 288,
+ "filename" : "include/control/spgw.p4",
+ "line" : 346,
"column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
}
}
]
},
{
- "name" : "act_50",
- "id" : 165,
+ "name" : "act_39",
+ "id" : 153,
"runtime_data" : [],
"primitives" : [
{
@@ -15630,8 +16028,8 @@
]
},
{
- "name" : "act_51",
- "id" : 166,
+ "name" : "act_40",
+ "id" : 154,
"runtime_data" : [],
"primitives" : [
{
@@ -15666,8 +16064,8 @@
]
},
{
- "name" : "act_52",
- "id" : 167,
+ "name" : "act_41",
+ "id" : 155,
"runtime_data" : [],
"primitives" : [
{
@@ -15693,7 +16091,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
}
}
},
@@ -15715,8 +16113,8 @@
]
},
{
- "name" : "act_53",
- "id" : 168,
+ "name" : "act_42",
+ "id" : 156,
"runtime_data" : [],
"primitives" : [
{
@@ -15764,8 +16162,8 @@
]
},
{
- "name" : "act_54",
- "id" : 169,
+ "name" : "act_43",
+ "id" : 157,
"runtime_data" : [],
"primitives" : [
{
@@ -15791,7 +16189,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes43"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes49"]
}
}
},
@@ -15813,8 +16211,8 @@
]
},
{
- "name" : "act_55",
- "id" : 170,
+ "name" : "act_44",
+ "id" : 158,
"runtime_data" : [],
"primitives" : [
{
@@ -15840,7 +16238,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words42"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words48"]
}
}
},
@@ -15872,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" : [63],
- "actions" : ["act_0"],
- "base_default_next" : "node_3",
- "next_tables" : {
- "act_0" : "node_3"
- },
- "default_entry" : {
- "action_id" : 63,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_0",
- "id" : 1,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 32,
- "source_fragment" : "return"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [62],
- "actions" : ["act"],
- "base_default_next" : "node_5",
- "next_tables" : {
- "act" : "node_5"
- },
- "default_entry" : {
- "action_id" : 62,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_1",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 35,
- "column" : 18,
- "source_fragment" : "= ipv4; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [66],
- "actions" : ["act_3"],
- "base_default_next" : "node_7",
- "next_tables" : {
- "act_3" : "node_7"
- },
- "default_entry" : {
- "action_id" : 66,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_2",
- "id" : 3,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 39,
- "column" : 16,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [64],
- "actions" : ["act_1"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_1" : "node_10"
- },
- "default_entry" : {
- "action_id" : 64,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_3",
- "id" : 4,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 41,
- "column" : 12,
- "source_fragment" : "udp.setInvalid()"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [65],
- "actions" : ["act_2"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_2" : "node_10"
- },
- "default_entry" : {
- "action_id" : 65,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_4",
- "id" : 5,
- "source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 25,
"column" : 42,
@@ -16035,14 +16288,450 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [67],
- "actions" : ["act_4"],
- "base_default_next" : "node_12",
+ "action_ids" : [61],
+ "actions" : ["act"],
+ "base_default_next" : "tbl_act_0",
"next_tables" : {
- "act_4" : "node_12"
+ "act" : "tbl_act_0"
},
"default_entry" : {
- "action_id" : 67,
+ "action_id" : 61,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_0",
+ "id" : 1,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [62],
+ "actions" : ["act_0"],
+ "base_default_next" : "FabricIngress.spgw_ingress.interface_lookup",
+ "next_tables" : {
+ "act_0" : "FabricIngress.spgw_ingress.interface_lookup"
+ },
+ "default_entry" : {
+ "action_id" : 62,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.interface_lookup",
+ "id" : 2,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 55,
+ "column" : 10,
+ "source_fragment" : "interface_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "lpm",
+ "name" : "ipv4_dst_addr",
+ "target" : ["ipv4", "dst_addr"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "gtpu_is_valid",
+ "target" : ["gtpu", "$valid$"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "lpm",
+ "type" : "simple",
+ "max_size" : 128,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [52],
+ "actions" : ["FabricIngress.spgw_ingress.set_source_iface"],
+ "base_default_next" : "node_6",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.set_source_iface" : "node_6"
+ },
+ "default_entry" : {
+ "action_id" : 52,
+ "action_const" : true,
+ "action_data" : ["0x0", "0x0", "0x1"],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_1",
+ "id" : 3,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 251,
+ "column" : 46,
+ "source_fragment" : "return"
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [63],
+ "actions" : ["act_1"],
+ "base_default_next" : "node_8",
+ "next_tables" : {
+ "act_1" : "node_8"
+ },
+ "default_entry" : {
+ "action_id" : 63,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
+ "id" : 4,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 93,
+ "column" : 10,
+ "source_fragment" : "uplink_pdr_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "tunnel_ipv4_dst",
+ "target" : ["ipv4", "dst_addr"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "teid",
+ "target" : ["gtpu", "teid"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "ue_addr",
+ "target" : ["inner_ipv4", "src_addr"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [54],
+ "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes"],
+ "base_default_next" : "tbl_act_2",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.set_pdr_attributes" : "tbl_act_2"
+ },
+ "default_entry" : {
+ "action_id" : 54,
+ "action_const" : true,
+ "action_data" : ["0x0", "0x0", "0x0"],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.downlink_pdr_lookup",
+ "id" : 5,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 82,
+ "column" : 10,
+ "source_fragment" : "downlink_pdr_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "ue_addr",
+ "target" : ["ipv4", "dst_addr"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [53],
+ "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes"],
+ "base_default_next" : "tbl_act_2",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.set_pdr_attributes" : "tbl_act_2"
+ },
+ "default_entry" : {
+ "action_id" : 53,
+ "action_const" : true,
+ "action_data" : ["0x0", "0x0", "0x0"],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_2",
+ "id" : 6,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 265,
+ "column" : 8,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [64],
+ "actions" : ["act_2"],
+ "base_default_next" : "node_13",
+ "next_tables" : {
+ "act_2" : "node_13"
+ },
+ "default_entry" : {
+ "action_id" : 64,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_gtpu",
+ "id" : 7,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 221,
+ "column" : 10,
+ "source_fragment" : "decap_gtpu"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "hdr.inner_tcp.$valid$",
+ "target" : ["inner_tcp", "$valid$"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "hdr.inner_udp.$valid$",
+ "target" : ["inner_udp", "$valid$"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "hdr.inner_icmp.$valid$",
+ "target" : ["inner_icmp", "$valid$"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [57, 58, 59, 60],
+ "actions" : ["FabricIngress.spgw_ingress.decap_inner_tcp", "FabricIngress.spgw_ingress.decap_inner_udp", "FabricIngress.spgw_ingress.decap_inner_icmp", "FabricIngress.spgw_ingress.decap_inner_unknown"],
+ "base_default_next" : "FabricIngress.spgw_ingress.far_lookup",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.decap_inner_tcp" : "FabricIngress.spgw_ingress.far_lookup",
+ "FabricIngress.spgw_ingress.decap_inner_udp" : "FabricIngress.spgw_ingress.far_lookup",
+ "FabricIngress.spgw_ingress.decap_inner_icmp" : "FabricIngress.spgw_ingress.far_lookup",
+ "FabricIngress.spgw_ingress.decap_inner_unknown" : "FabricIngress.spgw_ingress.far_lookup"
+ },
+ "default_entry" : {
+ "action_id" : 60,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ },
+ "entries" : [
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 235,
+ "column" : 12,
+ "source_fragment" : "(true, false, false) : decap_inner_tcp()"
+ },
+ "match_key" : [
+ {
+ "match_type" : "exact",
+ "key" : "0x01"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ }
+ ],
+ "action_entry" : {
+ "action_id" : 57,
+ "action_data" : []
+ },
+ "priority" : 1
+ },
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 236,
+ "column" : 12,
+ "source_fragment" : "(false, true, false) : decap_inner_udp()"
+ },
+ "match_key" : [
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x01"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ }
+ ],
+ "action_entry" : {
+ "action_id" : 58,
+ "action_data" : []
+ },
+ "priority" : 2
+ },
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 237,
+ "column" : 12,
+ "source_fragment" : "(false, false, true) : decap_inner_icmp()"
+ },
+ "match_key" : [
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x01"
+ }
+ ],
+ "action_entry" : {
+ "action_id" : 59,
+ "action_data" : []
+ },
+ "priority" : 3
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.far_lookup",
+ "id" : 8,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 165,
+ "column" : 10,
+ "source_fragment" : "far_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "far_id",
+ "target" : ["scalars", "fabric_metadata_t._spgw_far_id30"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 2048,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [55, 56],
+ "actions" : ["FabricIngress.spgw_ingress.load_normal_far_attributes", "FabricIngress.spgw_ingress.load_tunnel_far_attributes"],
+ "base_default_next" : "node_16",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.load_normal_far_attributes" : "node_16",
+ "FabricIngress.spgw_ingress.load_tunnel_far_attributes" : "node_16"
+ },
+ "default_entry" : {
+ "action_id" : 55,
+ "action_const" : true,
+ "action_data" : ["0x1", "0x1"],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_3",
+ "id" : 9,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 282,
+ "column" : 38,
+ "source_fragment" : "= true; ..."
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [65],
+ "actions" : ["act_3"],
+ "base_default_next" : "tbl_act_4",
+ "next_tables" : {
+ "act_3" : "tbl_act_4"
+ },
+ "default_entry" : {
+ "action_id" : 65,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_4",
+ "id" : 10,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 291,
+ "column" : 32,
+ "source_fragment" : "="
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [66],
+ "actions" : ["act_4"],
+ "base_default_next" : "node_19",
+ "next_tables" : {
+ "act_4" : "node_19"
+ },
+ "default_entry" : {
+ "action_id" : 66,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16050,7 +16739,7 @@
},
{
"name" : "tbl_act_5",
- "id" : 6,
+ "id" : 11,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 111,
@@ -16064,14 +16753,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [68],
+ "action_ids" : [67],
"actions" : ["act_5"],
- "base_default_next" : "node_14",
+ "base_default_next" : "node_21",
"next_tables" : {
- "act_5" : "node_14"
+ "act_5" : "node_21"
},
"default_entry" : {
- "action_id" : 68,
+ "action_id" : 67,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16079,7 +16768,7 @@
},
{
"name" : "tbl_act_6",
- "id" : 7,
+ "id" : 12,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 117,
@@ -16093,14 +16782,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [69],
+ "action_ids" : [68],
"actions" : ["act_6"],
- "base_default_next" : "node_16",
+ "base_default_next" : "node_23",
"next_tables" : {
- "act_6" : "node_16"
+ "act_6" : "node_23"
},
"default_entry" : {
- "action_id" : 69,
+ "action_id" : 68,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16108,7 +16797,7 @@
},
{
"name" : "tbl_act_7",
- "id" : 8,
+ "id" : 13,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 127,
@@ -16122,14 +16811,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [70],
+ "action_ids" : [69],
"actions" : ["act_7"],
"base_default_next" : "FabricIngress.filtering.ingress_port_vlan",
"next_tables" : {
"act_7" : "FabricIngress.filtering.ingress_port_vlan"
},
"default_entry" : {
- "action_id" : 70,
+ "action_id" : 69,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16137,7 +16826,7 @@
},
{
"name" : "FabricIngress.filtering.ingress_port_vlan",
- "id" : 9,
+ "id" : 14,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 53,
@@ -16176,7 +16865,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [37, 38, 39],
+ "action_ids" : [27, 28, 29],
"actions" : ["FabricIngress.filtering.deny", "FabricIngress.filtering.permit", "FabricIngress.filtering.permit_with_internal_vlan"],
"base_default_next" : "FabricIngress.filtering.fwd_classifier",
"next_tables" : {
@@ -16185,7 +16874,7 @@
"FabricIngress.filtering.permit_with_internal_vlan" : "FabricIngress.filtering.fwd_classifier"
},
"default_entry" : {
- "action_id" : 37,
+ "action_id" : 27,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16193,7 +16882,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier",
- "id" : 10,
+ "id" : 15,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 92,
@@ -16232,673 +16921,22 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [40],
+ "action_ids" : [30],
"actions" : ["FabricIngress.filtering.set_forwarding_type"],
- "base_default_next" : "tbl_act_8",
+ "base_default_next" : "node_27",
"next_tables" : {
- "FabricIngress.filtering.set_forwarding_type" : "tbl_act_8"
+ "FabricIngress.filtering.set_forwarding_type" : "node_27"
},
"default_entry" : {
- "action_id" : 40,
+ "action_id" : 30,
"action_const" : true,
"action_data" : ["0x0"],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_8",
- "id" : 11,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [79],
- "actions" : ["act_16"],
- "base_default_next" : "node_21",
- "next_tables" : {
- "act_16" : "node_21"
- },
- "default_entry" : {
- "action_id" : 79,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.uplink_filter_table",
- "id" : 12,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 84,
- "column" : 10,
- "source_fragment" : "uplink_filter_table"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "gtp_ipv4_dst",
- "target" : ["gtpu_ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [1],
- "actions" : ["nop"],
- "base_default_next" : null,
- "next_tables" : {
- "__HIT__" : "tbl_act_9",
- "__MISS__" : "tbl_act_10"
- },
- "default_entry" : {
- "action_id" : 1,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_9",
- "id" : 13,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [71],
- "actions" : ["act_8"],
- "base_default_next" : "node_25",
- "next_tables" : {
- "act_8" : "node_25"
- },
- "default_entry" : {
- "action_id" : 71,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_10",
- "id" : 14,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [72],
- "actions" : ["act_9"],
- "base_default_next" : "node_25",
- "next_tables" : {
- "act_9" : "node_25"
- },
- "default_entry" : {
- "action_id" : 72,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_11",
- "id" : 15,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 187,
- "column" : 16,
- "source_fragment" : "mark_to_drop(standard_metadata)"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [73],
- "actions" : ["act_10"],
- "base_default_next" : "tbl_act_12",
- "next_tables" : {
- "act_10" : "tbl_act_12"
- },
- "default_entry" : {
- "action_id" : 73,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_12",
- "id" : 16,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 189,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [74],
- "actions" : ["act_11"],
- "base_default_next" : "tbl_spgw_ingress_gtpu_decap",
- "next_tables" : {
- "act_11" : "tbl_spgw_ingress_gtpu_decap"
- },
- "default_entry" : {
- "action_id" : 74,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_spgw_ingress_gtpu_decap",
- "id" : 17,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 190,
- "column" : 12,
- "source_fragment" : "gtpu_decap()"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [17],
- "actions" : ["FabricIngress.spgw_ingress.gtpu_decap"],
- "base_default_next" : "node_35",
- "next_tables" : {
- "FabricIngress.spgw_ingress.gtpu_decap" : "node_35"
- },
- "default_entry" : {
- "action_id" : 17,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.downlink_filter_table",
- "id" : 18,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 73,
- "column" : 10,
- "source_fragment" : "downlink_filter_table"
- },
- "key" : [
- {
- "match_type" : "lpm",
- "name" : "ipv4_prefix",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "lpm",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [0],
- "actions" : ["nop"],
- "base_default_next" : null,
- "next_tables" : {
- "__HIT__" : "tbl_act_13",
- "__MISS__" : "tbl_act_14"
- },
- "default_entry" : {
- "action_id" : 0,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_13",
- "id" : 19,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [75],
- "actions" : ["act_12"],
- "base_default_next" : "node_32",
- "next_tables" : {
- "act_12" : "node_32"
- },
- "default_entry" : {
- "action_id" : 75,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_14",
- "id" : 20,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [76],
- "actions" : ["act_13"],
- "base_default_next" : "node_32",
- "next_tables" : {
- "act_13" : "node_32"
- },
- "default_entry" : {
- "action_id" : 76,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_15",
- "id" : 21,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 192,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [77],
- "actions" : ["act_14"],
- "base_default_next" : "node_35",
- "next_tables" : {
- "act_14" : "node_35"
- },
- "default_entry" : {
- "action_id" : 77,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_16",
- "id" : 22,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 194,
- "column" : 39,
- "source_fragment" : "= SPGW_DIR_UNKNOWN; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [78],
- "actions" : ["act_15"],
- "base_default_next" : "node_35",
- "next_tables" : {
- "act_15" : "node_35"
- },
- "default_entry" : {
- "action_id" : 78,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
- "id" : 23,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 111,
- "column" : 10,
- "source_fragment" : "uplink_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "tunnel_ipv4_dst",
- "target" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr25"],
- "mask" : null
- },
- {
- "match_type" : "exact",
- "name" : "teid",
- "target" : ["scalars", "fabric_metadata_t._spgw_teid23"],
- "mask" : null
- },
- {
- "match_type" : "exact",
- "name" : "ue_addr",
- "target" : ["ipv4", "src_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [19, 16],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes", "NoAction"],
- "base_default_next" : "node_41",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "node_41",
- "NoAction" : "node_41"
- },
- "default_entry" : {
- "action_id" : 16,
- "action_const" : false,
- "action_data" : [],
- "action_entry_const" : false
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.downlink_pdr_lookup",
- "id" : 24,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 103,
- "column" : 10,
- "source_fragment" : "downlink_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "ue_addr",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [18, 15],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes", "NoAction"],
- "base_default_next" : "node_41",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "node_41",
- "NoAction" : "node_41"
- },
- "default_entry" : {
- "action_id" : 15,
- "action_const" : false,
- "action_data" : [],
- "action_entry_const" : false
- }
- },
- {
- "name" : "tbl_act_17",
- "id" : 25,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 206,
- "column" : 12,
- "source_fragment" : "return"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [80],
- "actions" : ["act_17"],
- "base_default_next" : "node_41",
- "next_tables" : {
- "act_17" : "node_41"
- },
- "default_entry" : {
- "action_id" : 80,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.flexible_pdr_lookup",
- "id" : 26,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 123,
- "column" : 10,
- "source_fragment" : "flexible_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "ternary",
- "name" : "spgw_direction",
- "target" : ["scalars", "fabric_metadata_t._spgw_direction21"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "tunnel_ipv4_dst",
- "target" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr25"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "teid",
- "target" : ["scalars", "fabric_metadata_t._spgw_teid23"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ipv4_src",
- "target" : ["ipv4", "src_addr"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ipv4_dst",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ip_proto",
- "target" : ["ipv4", "protocol"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "l4_sport",
- "target" : ["scalars", "fabric_metadata_t._l4_sport17"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "l4_dport",
- "target" : ["scalars", "fabric_metadata_t._l4_dport18"],
- "mask" : null
- }
- ],
- "match_type" : "ternary",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [20],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes"],
- "base_default_next" : "tbl_act_18",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "tbl_act_18"
- },
- "default_entry" : {
- "action_id" : 20,
- "action_const" : true,
- "action_data" : ["0x0", "0x0"],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_18",
- "id" : 27,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 213,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [81],
- "actions" : ["act_18"],
- "base_default_next" : "FabricIngress.spgw_ingress.far_lookup",
- "next_tables" : {
- "act_18" : "FabricIngress.spgw_ingress.far_lookup"
- },
- "default_entry" : {
- "action_id" : 81,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.far_lookup",
- "id" : 28,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 168,
- "column" : 10,
- "source_fragment" : "far_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "far_id",
- "target" : ["scalars", "fabric_metadata_t._spgw_far_id27"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [21, 22],
- "actions" : ["FabricIngress.spgw_ingress.load_normal_far_attributes", "FabricIngress.spgw_ingress.load_tunnel_far_attributes"],
- "base_default_next" : "node_46",
- "next_tables" : {
- "FabricIngress.spgw_ingress.load_normal_far_attributes" : "node_46",
- "FabricIngress.spgw_ingress.load_tunnel_far_attributes" : "node_46"
- },
- "default_entry" : {
- "action_id" : 21,
- "action_const" : true,
- "action_data" : ["0x1", "0x0"],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_19",
- "id" : 29,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 223,
- "column" : 40,
- "source_fragment" : "= true; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [82],
- "actions" : ["act_19"],
- "base_default_next" : "tbl_act_20",
- "next_tables" : {
- "act_19" : "tbl_act_20"
- },
- "default_entry" : {
- "action_id" : 82,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_20",
- "id" : 30,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 232,
- "column" : 34,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [83],
- "actions" : ["act_20"],
- "base_default_next" : "node_49",
- "next_tables" : {
- "act_20" : "node_49"
- },
- "default_entry" : {
- "action_id" : 83,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
"name" : "FabricIngress.forwarding.bridging",
- "id" : 31,
+ "id" : 16,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 46,
@@ -16925,7 +16963,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [41, 6],
+ "action_ids" : [31, 4],
"actions" : ["FabricIngress.forwarding.set_next_id_bridging", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -16933,7 +16971,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 6,
+ "action_id" : 4,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16941,7 +16979,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls",
- "id" : 32,
+ "id" : 17,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 71,
@@ -16962,7 +17000,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [42, 7],
+ "action_ids" : [32, 5],
"actions" : ["FabricIngress.forwarding.pop_mpls_and_next", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -16970,7 +17008,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 7,
+ "action_id" : 5,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -16978,7 +17016,7 @@
},
{
"name" : "FabricIngress.forwarding.routing_v4",
- "id" : 33,
+ "id" : 18,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 108,
@@ -16999,7 +17037,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [43, 44, 8],
+ "action_ids" : [33, 34, 6],
"actions" : ["FabricIngress.forwarding.set_next_id_routing_v4", "FabricIngress.forwarding.nop_routing_v4", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -17008,7 +17046,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 8,
+ "action_id" : 6,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -17016,7 +17054,7 @@
},
{
"name" : "FabricIngress.forwarding.routing_v6",
- "id" : 34,
+ "id" : 19,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 135,
@@ -17037,7 +17075,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [45, 9],
+ "action_ids" : [35, 7],
"actions" : ["FabricIngress.forwarding.set_next_id_routing_v6", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -17045,7 +17083,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 9,
+ "action_id" : 7,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17053,7 +17091,7 @@
},
{
"name" : "FabricIngress.acl.acl",
- "id" : 35,
+ "id" : 20,
"source_info" : {
"filename" : "include/control/acl.p4",
"line" : 60,
@@ -17140,18 +17178,18 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [46, 47, 48, 49, 50],
+ "action_ids" : [36, 37, 38, 39, 40],
"actions" : ["FabricIngress.acl.set_next_id_acl", "FabricIngress.acl.punt_to_cpu", "FabricIngress.acl.set_clone_session_id", "FabricIngress.acl.drop", "FabricIngress.acl.nop_acl"],
- "base_default_next" : "node_59",
+ "base_default_next" : "node_37",
"next_tables" : {
- "FabricIngress.acl.set_next_id_acl" : "node_59",
- "FabricIngress.acl.punt_to_cpu" : "node_59",
- "FabricIngress.acl.set_clone_session_id" : "node_59",
- "FabricIngress.acl.drop" : "node_59",
- "FabricIngress.acl.nop_acl" : "node_59"
+ "FabricIngress.acl.set_next_id_acl" : "node_37",
+ "FabricIngress.acl.punt_to_cpu" : "node_37",
+ "FabricIngress.acl.set_clone_session_id" : "node_37",
+ "FabricIngress.acl.drop" : "node_37",
+ "FabricIngress.acl.nop_acl" : "node_37"
},
"default_entry" : {
- "action_id" : 50,
+ "action_id" : 40,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17159,7 +17197,7 @@
},
{
"name" : "FabricIngress.next.xconnect",
- "id" : 36,
+ "id" : 21,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 119,
@@ -17186,7 +17224,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [53, 54, 11],
+ "action_ids" : [43, 44, 9],
"actions" : ["FabricIngress.next.output_xconnect", "FabricIngress.next.set_next_id_xconnect", "nop"],
"base_default_next" : "FabricIngress.next.simple",
"next_tables" : {
@@ -17195,7 +17233,7 @@
"nop" : "FabricIngress.next.simple"
},
"default_entry" : {
- "action_id" : 11,
+ "action_id" : 9,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17203,7 +17241,7 @@
},
{
"name" : "FabricIngress.next.simple",
- "id" : 37,
+ "id" : 22,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 158,
@@ -17224,7 +17262,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [55, 56, 57, 12],
+ "action_ids" : [45, 46, 47, 10],
"actions" : ["FabricIngress.next.output_simple", "FabricIngress.next.routing_simple", "FabricIngress.next.mpls_routing_simple", "nop"],
"base_default_next" : "FabricIngress.next.hashed",
"next_tables" : {
@@ -17234,7 +17272,7 @@
"nop" : "FabricIngress.next.hashed"
},
"default_entry" : {
- "action_id" : 12,
+ "action_id" : 10,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17242,7 +17280,7 @@
},
{
"name" : "FabricIngress.next.hashed",
- "id" : 38,
+ "id" : 23,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 202,
@@ -17264,7 +17302,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [58, 59, 60, 13],
+ "action_ids" : [48, 49, 50, 11],
"actions" : ["FabricIngress.next.output_hashed", "FabricIngress.next.routing_hashed", "FabricIngress.next.mpls_routing_hashed", "nop"],
"base_default_next" : "FabricIngress.next.multicast",
"next_tables" : {
@@ -17276,7 +17314,7 @@
},
{
"name" : "FabricIngress.next.multicast",
- "id" : 39,
+ "id" : 24,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 236,
@@ -17297,7 +17335,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [61, 14],
+ "action_ids" : [51, 12],
"actions" : ["FabricIngress.next.set_mcast_group_id", "nop"],
"base_default_next" : "FabricIngress.next.next_vlan",
"next_tables" : {
@@ -17305,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
@@ -17313,7 +17351,7 @@
},
{
"name" : "FabricIngress.next.next_vlan",
- "id" : 40,
+ "id" : 25,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 86,
@@ -17334,24 +17372,24 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [51, 52, 10],
+ "action_ids" : [41, 42, 8],
"actions" : ["FabricIngress.next.set_vlan", "FabricIngress.next.set_double_vlan", "nop"],
- "base_default_next" : "node_65",
+ "base_default_next" : "node_43",
"next_tables" : {
- "FabricIngress.next.set_vlan" : "node_65",
- "FabricIngress.next.set_double_vlan" : "node_65",
- "nop" : "node_65"
+ "FabricIngress.next.set_vlan" : "node_43",
+ "FabricIngress.next.set_double_vlan" : "node_43",
+ "nop" : "node_43"
},
"default_entry" : {
- "action_id" : 10,
+ "action_id" : 8,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_21",
- "id" : 41,
+ "name" : "tbl_act_8",
+ "id" : 26,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 31,
@@ -17365,22 +17403,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [84],
- "actions" : ["act_21"],
- "base_default_next" : "node_67",
+ "action_ids" : [70],
+ "actions" : ["act_8"],
+ "base_default_next" : "node_45",
"next_tables" : {
- "act_21" : "node_67"
+ "act_8" : "node_45"
},
"default_entry" : {
- "action_id" : 84,
+ "action_id" : 70,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_22",
- "id" : 42,
+ "name" : "tbl_act_9",
+ "id" : 27,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 34,
@@ -17394,14 +17432,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [85],
- "actions" : ["act_22"],
+ "action_ids" : [71],
+ "actions" : ["act_9"],
"base_default_next" : "FabricIngress.process_set_source_sink.tb_set_source",
"next_tables" : {
- "act_22" : "FabricIngress.process_set_source_sink.tb_set_source"
+ "act_9" : "FabricIngress.process_set_source_sink.tb_set_source"
},
"default_entry" : {
- "action_id" : 85,
+ "action_id" : 71,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17409,7 +17447,7 @@
},
{
"name" : "FabricIngress.process_set_source_sink.tb_set_source",
- "id" : 43,
+ "id" : 28,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 46,
@@ -17430,7 +17468,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [23, 2],
+ "action_ids" : [13, 0],
"actions" : ["FabricIngress.process_set_source_sink.int_set_source", "nop"],
"base_default_next" : "FabricIngress.process_set_source_sink.tb_set_sink",
"next_tables" : {
@@ -17438,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
@@ -17446,7 +17484,7 @@
},
{
"name" : "FabricIngress.process_set_source_sink.tb_set_sink",
- "id" : 44,
+ "id" : 29,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 67,
@@ -17467,23 +17505,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [24, 3],
+ "action_ids" : [14, 1],
"actions" : ["FabricIngress.process_set_source_sink.int_set_sink", "nop"],
- "base_default_next" : "node_71",
+ "base_default_next" : "node_49",
"next_tables" : {
- "FabricIngress.process_set_source_sink.int_set_sink" : "node_71",
- "nop" : "node_71"
+ "FabricIngress.process_set_source_sink.int_set_sink" : "node_49",
+ "nop" : "node_49"
},
"default_entry" : {
- "action_id" : 3,
+ "action_id" : 1,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_23",
- "id" : 45,
+ "name" : "tbl_act_10",
+ "id" : 30,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 89,
@@ -17497,14 +17535,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [86],
- "actions" : ["act_23"],
+ "action_ids" : [72],
+ "actions" : ["act_10"],
"base_default_next" : "FabricIngress.bng_ingress.t_line_map",
"next_tables" : {
- "act_23" : "FabricIngress.bng_ingress.t_line_map"
+ "act_10" : "FabricIngress.bng_ingress.t_line_map"
},
"default_entry" : {
- "action_id" : 86,
+ "action_id" : 72,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17512,7 +17550,7 @@
},
{
"name" : "FabricIngress.bng_ingress.t_line_map",
- "id" : 46,
+ "id" : 31,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 323,
@@ -17523,13 +17561,13 @@
{
"match_type" : "exact",
"name" : "s_tag",
- "target" : ["scalars", "fabric_metadata_t._bng_s_tag36"],
+ "target" : ["scalars", "fabric_metadata_t._bng_s_tag42"],
"mask" : null
},
{
"match_type" : "exact",
"name" : "c_tag",
- "target" : ["scalars", "fabric_metadata_t._bng_c_tag37"],
+ "target" : ["scalars", "fabric_metadata_t._bng_c_tag43"],
"mask" : null
}
],
@@ -17539,22 +17577,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [36],
+ "action_ids" : [26],
"actions" : ["FabricIngress.bng_ingress.set_line"],
- "base_default_next" : "node_74",
+ "base_default_next" : "node_52",
"next_tables" : {
- "FabricIngress.bng_ingress.set_line" : "node_74"
+ "FabricIngress.bng_ingress.set_line" : "node_52"
},
"default_entry" : {
- "action_id" : 36,
+ "action_id" : 26,
"action_const" : true,
"action_data" : ["0x0"],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_24",
- "id" : 47,
+ "name" : "tbl_act_11",
+ "id" : 32,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 342,
@@ -17568,14 +17606,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [89],
- "actions" : ["act_26"],
+ "action_ids" : [75],
+ "actions" : ["act_13"],
"base_default_next" : "FabricIngress.bng_ingress.upstream.t_pppoe_cp",
"next_tables" : {
- "act_26" : "FabricIngress.bng_ingress.upstream.t_pppoe_cp"
+ "act_13" : "FabricIngress.bng_ingress.upstream.t_pppoe_cp"
},
"default_entry" : {
- "action_id" : 89,
+ "action_id" : 75,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17583,7 +17621,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.t_pppoe_cp",
- "id" : 48,
+ "id" : 33,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 51,
@@ -17610,23 +17648,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [25, 4],
+ "action_ids" : [15, 2],
"actions" : ["FabricIngress.bng_ingress.upstream.punt_to_cpu", "nop"],
"base_default_next" : null,
"next_tables" : {
- "__HIT__" : "tbl_act_25",
- "__MISS__" : "tbl_act_26"
+ "__HIT__" : "tbl_act_12",
+ "__MISS__" : "tbl_act_13"
},
"default_entry" : {
- "action_id" : 4,
+ "action_id" : 2,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_25",
- "id" : 49,
+ "name" : "tbl_act_12",
+ "id" : 34,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -17634,22 +17672,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [87],
- "actions" : ["act_24"],
- "base_default_next" : "node_79",
+ "action_ids" : [73],
+ "actions" : ["act_11"],
+ "base_default_next" : "node_57",
"next_tables" : {
- "act_24" : "node_79"
+ "act_11" : "node_57"
},
"default_entry" : {
- "action_id" : 87,
+ "action_id" : 73,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_26",
- "id" : 50,
+ "name" : "tbl_act_13",
+ "id" : 35,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -17657,22 +17695,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [88],
- "actions" : ["act_25"],
- "base_default_next" : "node_79",
+ "action_ids" : [74],
+ "actions" : ["act_12"],
+ "base_default_next" : "node_57",
"next_tables" : {
- "act_25" : "node_79"
+ "act_12" : "node_57"
},
"default_entry" : {
- "action_id" : 88,
+ "action_id" : 74,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_27",
- "id" : 51,
+ "name" : "tbl_act_14",
+ "id" : 36,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 126,
@@ -17686,14 +17724,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [90],
- "actions" : ["act_27"],
- "base_default_next" : "node_81",
+ "action_ids" : [76],
+ "actions" : ["act_14"],
+ "base_default_next" : "node_59",
"next_tables" : {
- "act_27" : "node_81"
+ "act_14" : "node_59"
},
"default_entry" : {
- "action_id" : 90,
+ "action_id" : 76,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17701,7 +17739,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v4",
- "id" : 52,
+ "id" : 37,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 87,
@@ -17712,7 +17750,7 @@
{
"match_type" : "exact",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id33"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id39"],
"mask" : null
},
{
@@ -17734,23 +17772,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [28, 26],
+ "action_ids" : [18, 16],
"actions" : ["FabricIngress.bng_ingress.upstream.term_enabled_v4", "FabricIngress.bng_ingress.upstream.term_disabled"],
"base_default_next" : null,
"next_tables" : {
- "FabricIngress.bng_ingress.upstream.term_disabled" : "tbl_act_28",
+ "FabricIngress.bng_ingress.upstream.term_disabled" : "tbl_act_15",
"FabricIngress.bng_ingress.upstream.term_enabled_v4" : null
},
"default_entry" : {
- "action_id" : 26,
+ "action_id" : 16,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_28",
- "id" : 53,
+ "name" : "tbl_act_15",
+ "id" : 38,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 131,
@@ -17764,22 +17802,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [91],
- "actions" : ["act_28"],
+ "action_ids" : [77],
+ "actions" : ["act_15"],
"base_default_next" : null,
"next_tables" : {
- "act_28" : null
+ "act_15" : null
},
"default_entry" : {
- "action_id" : 91,
+ "action_id" : 77,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_29",
- "id" : 54,
+ "name" : "tbl_act_16",
+ "id" : 39,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 112,
@@ -17793,14 +17831,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [93],
- "actions" : ["act_30"],
+ "action_ids" : [79],
+ "actions" : ["act_17"],
"base_default_next" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v6",
"next_tables" : {
- "act_30" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v6"
+ "act_17" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v6"
},
"default_entry" : {
- "action_id" : 93,
+ "action_id" : 79,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17808,7 +17846,7 @@
},
{
"name" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v6",
- "id" : 55,
+ "id" : 40,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 109,
@@ -17819,7 +17857,7 @@
{
"match_type" : "exact",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id33"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id39"],
"mask" : null
},
{
@@ -17841,23 +17879,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [29, 27],
+ "action_ids" : [19, 17],
"actions" : ["FabricIngress.bng_ingress.upstream.term_enabled_v6", "FabricIngress.bng_ingress.upstream.term_disabled"],
"base_default_next" : null,
"next_tables" : {
- "FabricIngress.bng_ingress.upstream.term_disabled" : "tbl_act_30",
+ "FabricIngress.bng_ingress.upstream.term_disabled" : "tbl_act_17",
"FabricIngress.bng_ingress.upstream.term_enabled_v6" : null
},
"default_entry" : {
- "action_id" : 27,
+ "action_id" : 17,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_30",
- "id" : 56,
+ "name" : "tbl_act_17",
+ "id" : 41,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 139,
@@ -17871,14 +17909,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [92],
- "actions" : ["act_29"],
+ "action_ids" : [78],
+ "actions" : ["act_16"],
"base_default_next" : null,
"next_tables" : {
- "act_29" : null
+ "act_16" : null
},
"default_entry" : {
- "action_id" : 92,
+ "action_id" : 78,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17886,7 +17924,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.t_line_session_map",
- "id" : 57,
+ "id" : 42,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 169,
@@ -17897,7 +17935,7 @@
{
"match_type" : "exact",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id33"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id39"],
"mask" : null
}
],
@@ -17907,23 +17945,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [5, 30, 31],
+ "action_ids" : [3, 20, 21],
"actions" : ["nop", "FabricIngress.bng_ingress.downstream.set_session", "FabricIngress.bng_ingress.downstream.drop"],
"base_default_next" : null,
"next_tables" : {
- "__HIT__" : "tbl_act_31",
- "__MISS__" : "tbl_act_32"
+ "__HIT__" : "tbl_act_18",
+ "__MISS__" : "tbl_act_19"
},
"default_entry" : {
- "action_id" : 5,
+ "action_id" : 3,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_31",
- "id" : 58,
+ "name" : "tbl_act_18",
+ "id" : 43,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -17931,22 +17969,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [94],
- "actions" : ["act_31"],
- "base_default_next" : "node_92",
+ "action_ids" : [80],
+ "actions" : ["act_18"],
+ "base_default_next" : "node_70",
"next_tables" : {
- "act_31" : "node_92"
+ "act_18" : "node_70"
},
"default_entry" : {
- "action_id" : 94,
+ "action_id" : 80,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_32",
- "id" : 59,
+ "name" : "tbl_act_19",
+ "id" : 44,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -17954,14 +17992,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [95],
- "actions" : ["act_32"],
- "base_default_next" : "node_92",
+ "action_ids" : [81],
+ "actions" : ["act_19"],
+ "base_default_next" : "node_70",
"next_tables" : {
- "act_32" : "node_92"
+ "act_19" : "node_70"
},
"default_entry" : {
- "action_id" : 95,
+ "action_id" : 81,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -17969,7 +18007,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.t_qos_v4",
- "id" : 60,
+ "id" : 45,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 194,
@@ -17980,7 +18018,7 @@
{
"match_type" : "ternary",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id33"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id39"],
"mask" : null
},
{
@@ -18008,23 +18046,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [32, 34],
+ "action_ids" : [22, 24],
"actions" : ["FabricIngress.bng_ingress.downstream.qos_prio", "FabricIngress.bng_ingress.downstream.qos_besteff"],
"base_default_next" : null,
"next_tables" : {
- "FabricIngress.bng_ingress.downstream.qos_prio" : "tbl_act_33",
- "FabricIngress.bng_ingress.downstream.qos_besteff" : "tbl_act_34"
+ "FabricIngress.bng_ingress.downstream.qos_prio" : "tbl_act_20",
+ "FabricIngress.bng_ingress.downstream.qos_besteff" : "tbl_act_21"
},
"default_entry" : {
- "action_id" : 34,
+ "action_id" : 24,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_33",
- "id" : 61,
+ "name" : "tbl_act_20",
+ "id" : 46,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 238,
@@ -18038,22 +18076,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [96],
- "actions" : ["act_33"],
+ "action_ids" : [82],
+ "actions" : ["act_20"],
"base_default_next" : null,
"next_tables" : {
- "act_33" : null
+ "act_20" : null
},
"default_entry" : {
- "action_id" : 96,
+ "action_id" : 82,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_34",
- "id" : 62,
+ "name" : "tbl_act_21",
+ "id" : 47,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 241,
@@ -18067,14 +18105,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [97],
- "actions" : ["act_34"],
+ "action_ids" : [83],
+ "actions" : ["act_21"],
"base_default_next" : null,
"next_tables" : {
- "act_34" : null
+ "act_21" : null
},
"default_entry" : {
- "action_id" : 97,
+ "action_id" : 83,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -18082,7 +18120,7 @@
},
{
"name" : "FabricIngress.bng_ingress.downstream.t_qos_v6",
- "id" : 63,
+ "id" : 48,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 210,
@@ -18093,7 +18131,7 @@
{
"match_type" : "ternary",
"name" : "line_id",
- "target" : ["scalars", "fabric_metadata_t._bng_line_id33"],
+ "target" : ["scalars", "fabric_metadata_t._bng_line_id39"],
"mask" : null
},
{
@@ -18115,23 +18153,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [33, 35],
+ "action_ids" : [23, 25],
"actions" : ["FabricIngress.bng_ingress.downstream.qos_prio", "FabricIngress.bng_ingress.downstream.qos_besteff"],
"base_default_next" : null,
"next_tables" : {
- "FabricIngress.bng_ingress.downstream.qos_prio" : "tbl_act_35",
- "FabricIngress.bng_ingress.downstream.qos_besteff" : "tbl_act_36"
+ "FabricIngress.bng_ingress.downstream.qos_prio" : "tbl_act_22",
+ "FabricIngress.bng_ingress.downstream.qos_besteff" : "tbl_act_23"
},
"default_entry" : {
- "action_id" : 35,
+ "action_id" : 25,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_35",
- "id" : 64,
+ "name" : "tbl_act_22",
+ "id" : 49,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 250,
@@ -18145,22 +18183,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [98],
- "actions" : ["act_35"],
+ "action_ids" : [84],
+ "actions" : ["act_22"],
"base_default_next" : null,
"next_tables" : {
- "act_35" : null
+ "act_22" : null
},
"default_entry" : {
- "action_id" : 98,
+ "action_id" : 84,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_36",
- "id" : 65,
+ "name" : "tbl_act_23",
+ "id" : 50,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 253,
@@ -18174,14 +18212,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [99],
- "actions" : ["act_36"],
+ "action_ids" : [85],
+ "actions" : ["act_23"],
"base_default_next" : null,
"next_tables" : {
- "act_36" : null
+ "act_23" : null
},
"default_entry" : {
- "action_id" : 99,
+ "action_id" : 85,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -18228,86 +18266,9 @@
],
"conditionals" : [
{
- "name" : "node_3",
+ "name" : "node_2",
"id" : 0,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 12,
- "source_fragment" : "! is_gtpu_encapped"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_0",
- "false_next" : "node_5"
- },
- {
- "name" : "node_5",
- "id" : 1,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_1",
- "false_next" : "node_10"
- },
- {
- "name" : "node_7",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 38,
- "column" : 12,
- "source_fragment" : "inner_udp.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["inner_udp", "$valid$"]
- }
- }
- },
- "true_next" : "tbl_act_2",
- "false_next" : "tbl_act_3"
- },
- {
- "name" : "node_10",
- "id" : 3,
- "source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 24,
"column" : 12,
@@ -18324,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,
@@ -18348,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,
@@ -18371,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,
@@ -18404,247 +18511,11 @@
"false_next" : "FabricIngress.filtering.ingress_port_vlan"
},
{
- "name" : "node_21",
- "id" : 7,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 181,
- "column" : 12,
- "source_fragment" : "gtpu.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.uplink_filter_table",
- "false_next" : "FabricIngress.spgw_ingress.downlink_filter_table"
- },
- {
- "name" : "node_25",
- "id" : 8,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 185,
- "column" : 16,
- "source_fragment" : "!uplink_filter_table.apply().hit"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_11",
- "false_next" : "tbl_act_12"
- },
- {
- "name" : "node_32",
+ "name" : "node_27",
"id" : 9,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- }
- }
- },
- "true_next" : "tbl_act_15",
- "false_next" : "tbl_act_16"
- },
- {
- "name" : "node_35",
- "id" : 10,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- }
- }
- }
- }
- },
- "true_next" : "node_36",
- "false_next" : "node_41"
- },
- {
- "name" : "node_36",
- "id" : 11,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 201,
- "column" : 12,
- "source_fragment" : "fabric_meta.spgw.direction == SPGW_DIR_UPLINK"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction21"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x01"
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
- "false_next" : "node_38"
- },
- {
- "name" : "node_38",
- "id" : 12,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 203,
- "column" : 19,
- "source_fragment" : "fabric_meta.spgw.direction == SPGW_DIR_DOWNLINK"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction21"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.downlink_pdr_lookup",
- "false_next" : "tbl_act_17"
- },
- {
- "name" : "node_41",
- "id" : 13,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- }
- }
- }
- }
- },
- "true_next" : "node_42",
- "false_next" : "node_49"
- },
- {
- "name" : "node_42",
- "id" : 14,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 209,
- "column" : 12,
- "source_fragment" : "fabric_meta.spgw.pdr_hit == false"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit28"]
- }
- }
- },
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.flexible_pdr_lookup",
- "false_next" : "tbl_act_18"
- },
- {
- "name" : "node_46",
- "id" : 15,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 220,
- "column" : 12,
- "source_fragment" : "fabric_meta.spgw.far_dropped == true"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped29"]
- }
- }
- },
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- },
- "true_next" : "tbl_act_19",
- "false_next" : "tbl_act_20"
- },
- {
- "name" : "node_49",
- "id" : 16,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -18669,12 +18540,12 @@
}
}
},
- "true_next" : "node_50",
+ "true_next" : "node_28",
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_50",
- "id" : 17,
+ "name" : "node_28",
+ "id" : 10,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 150,
@@ -18696,11 +18567,11 @@
}
},
"true_next" : "FabricIngress.forwarding.bridging",
- "false_next" : "node_52"
+ "false_next" : "node_30"
},
{
- "name" : "node_52",
- "id" : 18,
+ "name" : "node_30",
+ "id" : 11,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 151,
@@ -18722,11 +18593,11 @@
}
},
"true_next" : "FabricIngress.forwarding.mpls",
- "false_next" : "node_54"
+ "false_next" : "node_32"
},
{
- "name" : "node_54",
- "id" : 19,
+ "name" : "node_32",
+ "id" : 12,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 152,
@@ -18748,11 +18619,11 @@
}
},
"true_next" : "FabricIngress.forwarding.routing_v4",
- "false_next" : "node_56"
+ "false_next" : "node_34"
},
{
- "name" : "node_56",
- "id" : 20,
+ "name" : "node_34",
+ "id" : 13,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 154,
@@ -18777,11 +18648,11 @@
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_59",
- "id" : 21,
+ "name" : "node_37",
+ "id" : 14,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -18810,8 +18681,8 @@
"false_next" : "FabricIngress.bng_ingress.t_line_map"
},
{
- "name" : "node_65",
- "id" : 22,
+ "name" : "node_43",
+ "id" : 15,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 30,
@@ -18832,12 +18703,12 @@
}
}
},
- "true_next" : "tbl_act_21",
- "false_next" : "node_67"
+ "true_next" : "tbl_act_8",
+ "false_next" : "node_45"
},
{
- "name" : "node_67",
- "id" : 23,
+ "name" : "node_45",
+ "id" : 16,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 33,
@@ -18858,12 +18729,12 @@
}
}
},
- "true_next" : "tbl_act_22",
+ "true_next" : "tbl_act_9",
"false_next" : "FabricIngress.process_set_source_sink.tb_set_source"
},
{
- "name" : "node_71",
- "id" : 24,
+ "name" : "node_49",
+ "id" : 17,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 86,
@@ -18881,7 +18752,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_sink40"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_sink46"]
}
}
},
@@ -18891,12 +18762,12 @@
}
}
},
- "true_next" : "tbl_act_23",
+ "true_next" : "tbl_act_10",
"false_next" : "FabricIngress.bng_ingress.t_line_map"
},
{
- "name" : "node_74",
- "id" : 25,
+ "name" : "node_52",
+ "id" : 18,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 341,
@@ -18914,12 +18785,12 @@
}
}
},
- "true_next" : "tbl_act_24",
+ "true_next" : "tbl_act_11",
"false_next" : "FabricIngress.bng_ingress.downstream.t_line_session_map"
},
{
- "name" : "node_79",
- "id" : 26,
+ "name" : "node_57",
+ "id" : 19,
"expression" : {
"type" : "expression",
"value" : {
@@ -18931,12 +18802,12 @@
}
}
},
- "true_next" : "tbl_act_27",
- "false_next" : "node_81"
+ "true_next" : "tbl_act_14",
+ "false_next" : "node_59"
},
{
- "name" : "node_81",
- "id" : 27,
+ "name" : "node_59",
+ "id" : 20,
"expression" : {
"type" : "expression",
"value" : {
@@ -18956,11 +18827,11 @@
}
},
"false_next" : null,
- "true_next" : "node_82"
+ "true_next" : "node_60"
},
{
- "name" : "node_82",
- "id" : 28,
+ "name" : "node_60",
+ "id" : 21,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 128,
@@ -18979,11 +18850,11 @@
}
},
"true_next" : "FabricIngress.bng_ingress.upstream.t_pppoe_term_v4",
- "false_next" : "node_85"
+ "false_next" : "node_63"
},
{
- "name" : "node_85",
- "id" : 29,
+ "name" : "node_63",
+ "id" : 22,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 136,
@@ -19002,11 +18873,11 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_29"
+ "true_next" : "tbl_act_16"
},
{
- "name" : "node_92",
- "id" : 30,
+ "name" : "node_70",
+ "id" : 23,
"expression" : {
"type" : "expression",
"value" : {
@@ -19019,11 +18890,11 @@
}
},
"false_next" : null,
- "true_next" : "node_93"
+ "true_next" : "node_71"
},
{
- "name" : "node_93",
- "id" : 31,
+ "name" : "node_71",
+ "id" : 24,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 235,
@@ -19042,11 +18913,11 @@
}
},
"true_next" : "FabricIngress.bng_ingress.downstream.t_qos_v4",
- "false_next" : "node_97"
+ "false_next" : "node_75"
},
{
- "name" : "node_97",
- "id" : 32,
+ "name" : "node_75",
+ "id" : 25,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 247,
@@ -19074,15 +18945,15 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},
- "init_table" : "node_103",
+ "init_table" : "node_81",
"tables" : [
{
- "name" : "tbl_act_37",
- "id" : 66,
+ "name" : "tbl_act_24",
+ "id" : 51,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 41,
@@ -19096,22 +18967,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [152],
- "actions" : ["act_37"],
- "base_default_next" : "node_105",
+ "action_ids" : [138],
+ "actions" : ["act_24"],
+ "base_default_next" : "node_83",
"next_tables" : {
- "act_37" : "node_105"
+ "act_24" : "node_83"
},
"default_entry" : {
- "action_id" : 152,
+ "action_id" : 138,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_38",
- "id" : 67,
+ "name" : "tbl_act_25",
+ "id" : 52,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 44,
@@ -19125,22 +18996,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [153],
- "actions" : ["act_38"],
- "base_default_next" : "node_107",
+ "action_ids" : [139],
+ "actions" : ["act_25"],
+ "base_default_next" : "node_85",
"next_tables" : {
- "act_38" : "node_107"
+ "act_25" : "node_85"
},
"default_entry" : {
- "action_id" : 153,
+ "action_id" : 139,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_39",
- "id" : 68,
+ "name" : "tbl_act_26",
+ "id" : 53,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 337,
@@ -19154,14 +19025,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [154],
- "actions" : ["act_39"],
- "base_default_next" : "node_109",
+ "action_ids" : [140],
+ "actions" : ["act_26"],
+ "base_default_next" : "node_87",
"next_tables" : {
- "act_39" : "node_109"
+ "act_26" : "node_87"
},
"default_entry" : {
- "action_id" : 154,
+ "action_id" : 140,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19169,7 +19040,7 @@
},
{
"name" : "tbl_egress_next_pop_mpls_if_present",
- "id" : 69,
+ "id" : 54,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -19183,14 +19054,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [146],
+ "action_ids" : [131],
"actions" : ["FabricEgress.egress_next.pop_mpls_if_present"],
- "base_default_next" : "node_113",
+ "base_default_next" : "node_91",
"next_tables" : {
- "FabricEgress.egress_next.pop_mpls_if_present" : "node_113"
+ "FabricEgress.egress_next.pop_mpls_if_present" : "node_91"
},
"default_entry" : {
- "action_id" : 146,
+ "action_id" : 131,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19198,7 +19069,7 @@
},
{
"name" : "tbl_egress_next_set_mpls",
- "id" : 70,
+ "id" : 55,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 343,
@@ -19212,14 +19083,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [147],
+ "action_ids" : [132],
"actions" : ["FabricEgress.egress_next.set_mpls"],
- "base_default_next" : "node_113",
+ "base_default_next" : "node_91",
"next_tables" : {
- "FabricEgress.egress_next.set_mpls" : "node_113"
+ "FabricEgress.egress_next.set_mpls" : "node_91"
},
"default_entry" : {
- "action_id" : 147,
+ "action_id" : 132,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19227,7 +19098,7 @@
},
{
"name" : "tbl_egress_next_push_vlan",
- "id" : 71,
+ "id" : 56,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 349,
@@ -19241,14 +19112,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [148],
+ "action_ids" : [133],
"actions" : ["FabricEgress.egress_next.push_vlan"],
"base_default_next" : "tbl_egress_next_push_inner_vlan",
"next_tables" : {
"FabricEgress.egress_next.push_vlan" : "tbl_egress_next_push_inner_vlan"
},
"default_entry" : {
- "action_id" : 148,
+ "action_id" : 133,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19256,7 +19127,7 @@
},
{
"name" : "tbl_egress_next_push_inner_vlan",
- "id" : 72,
+ "id" : 57,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 350,
@@ -19270,22 +19141,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [150],
+ "action_ids" : [135],
"actions" : ["FabricEgress.egress_next.push_inner_vlan"],
- "base_default_next" : "node_123",
+ "base_default_next" : "node_101",
"next_tables" : {
- "FabricEgress.egress_next.push_inner_vlan" : "node_123"
+ "FabricEgress.egress_next.push_inner_vlan" : "node_101"
},
"default_entry" : {
- "action_id" : 150,
+ "action_id" : 135,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_40",
- "id" : 73,
+ "name" : "tbl_act_27",
+ "id" : 58,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 353,
@@ -19299,14 +19170,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [157],
- "actions" : ["act_42"],
+ "action_ids" : [143],
+ "actions" : ["act_29"],
"base_default_next" : "FabricEgress.egress_next.egress_vlan",
"next_tables" : {
- "act_42" : "FabricEgress.egress_next.egress_vlan"
+ "act_29" : "FabricEgress.egress_next.egress_vlan"
},
"default_entry" : {
- "action_id" : 157,
+ "action_id" : 143,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19314,7 +19185,7 @@
},
{
"name" : "FabricEgress.egress_next.egress_vlan",
- "id" : 74,
+ "id" : 59,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 320,
@@ -19341,23 +19212,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [151, 103],
+ "action_ids" : [136, 89],
"actions" : ["FabricEgress.egress_next.pop_vlan", "nop"],
"base_default_next" : null,
"next_tables" : {
- "__HIT__" : "tbl_act_41",
- "__MISS__" : "tbl_act_42"
+ "__HIT__" : "tbl_act_28",
+ "__MISS__" : "tbl_act_29"
},
"default_entry" : {
- "action_id" : 103,
+ "action_id" : 89,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_41",
- "id" : 75,
+ "name" : "tbl_act_28",
+ "id" : 60,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -19365,22 +19236,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [155],
- "actions" : ["act_40"],
- "base_default_next" : "node_120",
+ "action_ids" : [141],
+ "actions" : ["act_27"],
+ "base_default_next" : "node_98",
"next_tables" : {
- "act_40" : "node_120"
+ "act_27" : "node_98"
},
"default_entry" : {
- "action_id" : 155,
+ "action_id" : 141,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_42",
- "id" : 76,
+ "name" : "tbl_act_29",
+ "id" : 61,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -19388,14 +19259,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [156],
- "actions" : ["act_41"],
- "base_default_next" : "node_120",
+ "action_ids" : [142],
+ "actions" : ["act_28"],
+ "base_default_next" : "node_98",
"next_tables" : {
- "act_41" : "node_120"
+ "act_28" : "node_98"
},
"default_entry" : {
- "action_id" : 156,
+ "action_id" : 142,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19403,7 +19274,7 @@
},
{
"name" : "tbl_egress_next_push_vlan_0",
- "id" : 77,
+ "id" : 62,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 360,
@@ -19417,22 +19288,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [149],
+ "action_ids" : [134],
"actions" : ["FabricEgress.egress_next.push_vlan"],
- "base_default_next" : "node_123",
+ "base_default_next" : "node_101",
"next_tables" : {
- "FabricEgress.egress_next.push_vlan" : "node_123"
+ "FabricEgress.egress_next.push_vlan" : "node_101"
},
"default_entry" : {
- "action_id" : 149,
+ "action_id" : 134,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_43",
- "id" : 78,
+ "name" : "tbl_act_30",
+ "id" : 63,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 369,
@@ -19446,22 +19317,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [159],
- "actions" : ["act_44"],
- "base_default_next" : "node_125",
+ "action_ids" : [145],
+ "actions" : ["act_31"],
+ "base_default_next" : "node_103",
"next_tables" : {
- "act_44" : "node_125"
+ "act_31" : "node_103"
},
"default_entry" : {
- "action_id" : 159,
+ "action_id" : 145,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_44",
- "id" : 79,
+ "name" : "tbl_act_31",
+ "id" : 64,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -19475,22 +19346,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [158],
- "actions" : ["act_43"],
- "base_default_next" : "tbl_act_49",
+ "action_ids" : [144],
+ "actions" : ["act_30"],
+ "base_default_next" : "tbl_act_36",
"next_tables" : {
- "act_43" : "tbl_act_49"
+ "act_30" : "tbl_act_36"
},
"default_entry" : {
- "action_id" : 158,
+ "action_id" : 144,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_45",
- "id" : 80,
+ "name" : "tbl_act_32",
+ "id" : 65,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 373,
@@ -19504,22 +19375,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [161],
- "actions" : ["act_46"],
- "base_default_next" : "node_129",
+ "action_ids" : [147],
+ "actions" : ["act_33"],
+ "base_default_next" : "node_107",
"next_tables" : {
- "act_46" : "node_129"
+ "act_33" : "node_107"
},
"default_entry" : {
- "action_id" : 161,
+ "action_id" : 147,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_46",
- "id" : 81,
+ "name" : "tbl_act_33",
+ "id" : 66,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -19533,22 +19404,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [160],
- "actions" : ["act_45"],
- "base_default_next" : "tbl_act_49",
+ "action_ids" : [146],
+ "actions" : ["act_32"],
+ "base_default_next" : "tbl_act_36",
"next_tables" : {
- "act_45" : "tbl_act_49"
+ "act_32" : "tbl_act_36"
},
"default_entry" : {
- "action_id" : 160,
+ "action_id" : 146,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_47",
- "id" : 82,
+ "name" : "tbl_act_34",
+ "id" : 67,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 378,
@@ -19562,22 +19433,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [163],
- "actions" : ["act_48"],
- "base_default_next" : "node_133",
+ "action_ids" : [149],
+ "actions" : ["act_35"],
+ "base_default_next" : "node_111",
"next_tables" : {
- "act_48" : "node_133"
+ "act_35" : "node_111"
},
"default_entry" : {
- "action_id" : 163,
+ "action_id" : 149,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_48",
- "id" : 83,
+ "name" : "tbl_act_35",
+ "id" : 68,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 379,
@@ -19591,27 +19462,50 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [162],
- "actions" : ["act_47"],
- "base_default_next" : "tbl_act_49",
+ "action_ids" : [148],
+ "actions" : ["act_34"],
+ "base_default_next" : "tbl_act_36",
"next_tables" : {
- "act_47" : "tbl_act_49"
+ "act_34" : "tbl_act_36"
},
"default_entry" : {
- "action_id" : 162,
+ "action_id" : 148,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_49",
- "id" : 84,
+ "name" : "tbl_act_36",
+ "id" : 69,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [151],
+ "actions" : ["act_37"],
+ "base_default_next" : "node_114",
+ "next_tables" : {
+ "act_37" : "node_114"
+ },
+ "default_entry" : {
+ "action_id" : 151,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_37",
+ "id" : 70,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 288,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
+ "column" : 46,
+ "source_fragment" : "return"
},
"key" : [],
"match_type" : "exact",
@@ -19620,14 +19514,43 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [164],
- "actions" : ["act_49"],
- "base_default_next" : "node_136",
+ "action_ids" : [150],
+ "actions" : ["act_36"],
+ "base_default_next" : "node_116",
"next_tables" : {
- "act_49" : "node_136"
+ "act_36" : "node_116"
},
"default_entry" : {
- "action_id" : 164,
+ "action_id" : 150,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_38",
+ "id" : 71,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 346,
+ "column" : 8,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [152],
+ "actions" : ["act_38"],
+ "base_default_next" : "node_118",
+ "next_tables" : {
+ "act_38" : "node_118"
+ },
+ "default_entry" : {
+ "action_id" : 152,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19635,10 +19558,10 @@
},
{
"name" : "tbl_spgw_egress_gtpu_encap",
- "id" : 85,
+ "id" : 72,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 291,
+ "filename" : "include/control/spgw.p4",
+ "line" : 349,
"column" : 12,
"source_fragment" : "gtpu_encap()"
},
@@ -19649,14 +19572,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [106],
+ "action_ids" : [137],
"actions" : ["FabricEgress.spgw_egress.gtpu_encap"],
- "base_default_next" : "node_138",
+ "base_default_next" : "node_120",
"next_tables" : {
- "FabricEgress.spgw_egress.gtpu_encap" : "node_138"
+ "FabricEgress.spgw_egress.gtpu_encap" : "node_120"
},
"default_entry" : {
- "action_id" : 106,
+ "action_id" : 137,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19664,7 +19587,7 @@
},
{
"name" : "tbl_bng_egress_downstream_encap_v4",
- "id" : 86,
+ "id" : 73,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 297,
@@ -19678,14 +19601,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [107],
+ "action_ids" : [92],
"actions" : ["FabricEgress.bng_egress.downstream.encap_v4"],
- "base_default_next" : "node_143",
+ "base_default_next" : "node_125",
"next_tables" : {
- "FabricEgress.bng_egress.downstream.encap_v4" : "node_143"
+ "FabricEgress.bng_egress.downstream.encap_v4" : "node_125"
},
"default_entry" : {
- "action_id" : 107,
+ "action_id" : 92,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19693,7 +19616,7 @@
},
{
"name" : "tbl_bng_egress_downstream_encap_v6",
- "id" : 87,
+ "id" : 74,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 302,
@@ -19707,14 +19630,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [108],
+ "action_ids" : [93],
"actions" : ["FabricEgress.bng_egress.downstream.encap_v6"],
- "base_default_next" : "node_143",
+ "base_default_next" : "node_125",
"next_tables" : {
- "FabricEgress.bng_egress.downstream.encap_v6" : "node_143"
+ "FabricEgress.bng_egress.downstream.encap_v6" : "node_125"
},
"default_entry" : {
- "action_id" : 108,
+ "action_id" : 93,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19722,7 +19645,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_source.tb_int_source",
- "id" : 88,
+ "id" : 75,
"source_info" : {
"filename" : "include/int/int_source.p4",
"line" : 66,
@@ -19761,23 +19684,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [109, 100],
+ "action_ids" : [94, 86],
"actions" : ["FabricEgress.process_int_main.process_int_source.int_source_dscp", "nop"],
- "base_default_next" : "node_146",
+ "base_default_next" : "node_128",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_source.int_source_dscp" : "node_146",
- "nop" : "node_146"
+ "FabricEgress.process_int_main.process_int_source.int_source_dscp" : "node_128",
+ "nop" : "node_128"
},
"default_entry" : {
- "action_id" : 100,
+ "action_id" : 86,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_50",
- "id" : 89,
+ "name" : "tbl_act_39",
+ "id" : 76,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -19785,14 +19708,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [165],
- "actions" : ["act_50"],
+ "action_ids" : [153],
+ "actions" : ["act_39"],
"base_default_next" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert",
"next_tables" : {
- "act_50" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert"
+ "act_39" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert"
},
"default_entry" : {
- "action_id" : 165,
+ "action_id" : 153,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19800,7 +19723,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert",
- "id" : 90,
+ "id" : 77,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 315,
@@ -19821,23 +19744,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [110, 101],
+ "action_ids" : [95, 87],
"actions" : ["FabricEgress.process_int_main.process_int_transit.init_metadata", "nop"],
- "base_default_next" : "node_149",
+ "base_default_next" : "node_131",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_transit.init_metadata" : "node_149",
- "nop" : "node_149"
+ "FabricEgress.process_int_main.process_int_transit.init_metadata" : "node_131",
+ "nop" : "node_131"
},
"default_entry" : {
- "action_id" : 101,
+ "action_id" : 87,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_51",
- "id" : 91,
+ "name" : "tbl_act_40",
+ "id" : 78,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 420,
@@ -19851,14 +19774,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [166],
- "actions" : ["act_51"],
- "base_default_next" : "node_151",
+ "action_ids" : [154],
+ "actions" : ["act_40"],
+ "base_default_next" : "node_133",
"next_tables" : {
- "act_51" : "node_151"
+ "act_40" : "node_133"
},
"default_entry" : {
- "action_id" : 166,
+ "action_id" : 154,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -19866,7 +19789,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0003",
- "id" : 92,
+ "id" : 79,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 331,
@@ -19887,7 +19810,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 104],
+ "action_ids" : [96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 90],
"actions" : ["FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i0", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i1", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i2", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i3", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i4", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i5", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i6", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i7", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i8", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i9", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i10", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i11", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i12", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i13", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i14", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i15", "NoAction"],
"base_default_next" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407",
"next_tables" : {
@@ -19910,7 +19833,7 @@
"NoAction" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407"
},
"default_entry" : {
- "action_id" : 104,
+ "action_id" : 90,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -19930,7 +19853,7 @@
}
],
"action_entry" : {
- "action_id" : 111,
+ "action_id" : 96,
"action_data" : []
},
"priority" : 1
@@ -19949,7 +19872,7 @@
}
],
"action_entry" : {
- "action_id" : 112,
+ "action_id" : 97,
"action_data" : []
},
"priority" : 2
@@ -19968,7 +19891,7 @@
}
],
"action_entry" : {
- "action_id" : 113,
+ "action_id" : 98,
"action_data" : []
},
"priority" : 3
@@ -19987,7 +19910,7 @@
}
],
"action_entry" : {
- "action_id" : 114,
+ "action_id" : 99,
"action_data" : []
},
"priority" : 4
@@ -20006,7 +19929,7 @@
}
],
"action_entry" : {
- "action_id" : 115,
+ "action_id" : 100,
"action_data" : []
},
"priority" : 5
@@ -20025,7 +19948,7 @@
}
],
"action_entry" : {
- "action_id" : 116,
+ "action_id" : 101,
"action_data" : []
},
"priority" : 6
@@ -20044,7 +19967,7 @@
}
],
"action_entry" : {
- "action_id" : 117,
+ "action_id" : 102,
"action_data" : []
},
"priority" : 7
@@ -20063,7 +19986,7 @@
}
],
"action_entry" : {
- "action_id" : 118,
+ "action_id" : 103,
"action_data" : []
},
"priority" : 8
@@ -20082,7 +20005,7 @@
}
],
"action_entry" : {
- "action_id" : 119,
+ "action_id" : 104,
"action_data" : []
},
"priority" : 9
@@ -20101,7 +20024,7 @@
}
],
"action_entry" : {
- "action_id" : 120,
+ "action_id" : 105,
"action_data" : []
},
"priority" : 10
@@ -20120,7 +20043,7 @@
}
],
"action_entry" : {
- "action_id" : 121,
+ "action_id" : 106,
"action_data" : []
},
"priority" : 11
@@ -20139,7 +20062,7 @@
}
],
"action_entry" : {
- "action_id" : 122,
+ "action_id" : 107,
"action_data" : []
},
"priority" : 12
@@ -20158,7 +20081,7 @@
}
],
"action_entry" : {
- "action_id" : 123,
+ "action_id" : 108,
"action_data" : []
},
"priority" : 13
@@ -20177,7 +20100,7 @@
}
],
"action_entry" : {
- "action_id" : 124,
+ "action_id" : 109,
"action_data" : []
},
"priority" : 14
@@ -20196,7 +20119,7 @@
}
],
"action_entry" : {
- "action_id" : 125,
+ "action_id" : 110,
"action_data" : []
},
"priority" : 15
@@ -20215,7 +20138,7 @@
}
],
"action_entry" : {
- "action_id" : 126,
+ "action_id" : 111,
"action_data" : []
},
"priority" : 16
@@ -20224,7 +20147,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407",
- "id" : 93,
+ "id" : 80,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 375,
@@ -20245,30 +20168,30 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 105],
+ "action_ids" : [112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 91],
"actions" : ["FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15", "NoAction"],
- "base_default_next" : "tbl_act_52",
+ "base_default_next" : "tbl_act_41",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14" : "tbl_act_52",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15" : "tbl_act_52",
- "NoAction" : "tbl_act_52"
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14" : "tbl_act_41",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15" : "tbl_act_41",
+ "NoAction" : "tbl_act_41"
},
"default_entry" : {
- "action_id" : 105,
+ "action_id" : 91,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -20288,7 +20211,7 @@
}
],
"action_entry" : {
- "action_id" : 127,
+ "action_id" : 112,
"action_data" : []
},
"priority" : 1
@@ -20307,7 +20230,7 @@
}
],
"action_entry" : {
- "action_id" : 128,
+ "action_id" : 113,
"action_data" : []
},
"priority" : 2
@@ -20326,7 +20249,7 @@
}
],
"action_entry" : {
- "action_id" : 129,
+ "action_id" : 114,
"action_data" : []
},
"priority" : 3
@@ -20345,7 +20268,7 @@
}
],
"action_entry" : {
- "action_id" : 130,
+ "action_id" : 115,
"action_data" : []
},
"priority" : 4
@@ -20364,7 +20287,7 @@
}
],
"action_entry" : {
- "action_id" : 131,
+ "action_id" : 116,
"action_data" : []
},
"priority" : 5
@@ -20383,7 +20306,7 @@
}
],
"action_entry" : {
- "action_id" : 132,
+ "action_id" : 117,
"action_data" : []
},
"priority" : 6
@@ -20402,7 +20325,7 @@
}
],
"action_entry" : {
- "action_id" : 133,
+ "action_id" : 118,
"action_data" : []
},
"priority" : 7
@@ -20421,7 +20344,7 @@
}
],
"action_entry" : {
- "action_id" : 134,
+ "action_id" : 119,
"action_data" : []
},
"priority" : 8
@@ -20440,7 +20363,7 @@
}
],
"action_entry" : {
- "action_id" : 135,
+ "action_id" : 120,
"action_data" : []
},
"priority" : 9
@@ -20459,7 +20382,7 @@
}
],
"action_entry" : {
- "action_id" : 136,
+ "action_id" : 121,
"action_data" : []
},
"priority" : 10
@@ -20478,7 +20401,7 @@
}
],
"action_entry" : {
- "action_id" : 137,
+ "action_id" : 122,
"action_data" : []
},
"priority" : 11
@@ -20497,7 +20420,7 @@
}
],
"action_entry" : {
- "action_id" : 138,
+ "action_id" : 123,
"action_data" : []
},
"priority" : 12
@@ -20516,7 +20439,7 @@
}
],
"action_entry" : {
- "action_id" : 139,
+ "action_id" : 124,
"action_data" : []
},
"priority" : 13
@@ -20535,7 +20458,7 @@
}
],
"action_entry" : {
- "action_id" : 140,
+ "action_id" : 125,
"action_data" : []
},
"priority" : 14
@@ -20554,7 +20477,7 @@
}
],
"action_entry" : {
- "action_id" : 141,
+ "action_id" : 126,
"action_data" : []
},
"priority" : 15
@@ -20573,7 +20496,7 @@
}
],
"action_entry" : {
- "action_id" : 142,
+ "action_id" : 127,
"action_data" : []
},
"priority" : 16
@@ -20581,8 +20504,8 @@
]
},
{
- "name" : "tbl_act_52",
- "id" : 94,
+ "name" : "tbl_act_41",
+ "id" : 81,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 425,
@@ -20596,22 +20519,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [168],
- "actions" : ["act_53"],
- "base_default_next" : "node_155",
+ "action_ids" : [156],
+ "actions" : ["act_42"],
+ "base_default_next" : "node_137",
"next_tables" : {
- "act_53" : "node_155"
+ "act_42" : "node_137"
},
"default_entry" : {
- "action_id" : 168,
+ "action_id" : 156,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_53",
- "id" : 95,
+ "name" : "tbl_act_42",
+ "id" : 82,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 428,
@@ -20625,22 +20548,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [167],
- "actions" : ["act_52"],
- "base_default_next" : "node_157",
+ "action_ids" : [155],
+ "actions" : ["act_41"],
+ "base_default_next" : "node_139",
"next_tables" : {
- "act_52" : "node_157"
+ "act_41" : "node_139"
},
"default_entry" : {
- "action_id" : 167,
+ "action_id" : 155,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_54",
- "id" : 96,
+ "name" : "tbl_act_43",
+ "id" : 83,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 431,
@@ -20654,22 +20577,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [169],
- "actions" : ["act_54"],
- "base_default_next" : "node_159",
+ "action_ids" : [157],
+ "actions" : ["act_43"],
+ "base_default_next" : "node_141",
"next_tables" : {
- "act_54" : "node_159"
+ "act_43" : "node_141"
},
"default_entry" : {
- "action_id" : 169,
+ "action_id" : 157,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_55",
- "id" : 97,
+ "name" : "tbl_act_44",
+ "id" : 84,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 434,
@@ -20683,14 +20606,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [170],
- "actions" : ["act_55"],
- "base_default_next" : "node_161",
+ "action_ids" : [158],
+ "actions" : ["act_44"],
+ "base_default_next" : "node_143",
"next_tables" : {
- "act_55" : "node_161"
+ "act_44" : "node_143"
},
"default_entry" : {
- "action_id" : 170,
+ "action_id" : 158,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -20698,7 +20621,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_report.tb_generate_report",
- "id" : 98,
+ "id" : 85,
"source_info" : {
"filename" : "include/int/int_report.p4",
"line" : 86,
@@ -20712,15 +20635,15 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [143, 102],
+ "action_ids" : [128, 88],
"actions" : ["FabricEgress.process_int_main.process_int_report.do_report_encapsulation", "nop"],
- "base_default_next" : "node_163",
+ "base_default_next" : "node_145",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_report.do_report_encapsulation" : "node_163",
- "nop" : "node_163"
+ "FabricEgress.process_int_main.process_int_report.do_report_encapsulation" : "node_145",
+ "nop" : "node_145"
},
"default_entry" : {
- "action_id" : 102,
+ "action_id" : 88,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -20728,7 +20651,7 @@
},
{
"name" : "tbl_process_int_main_process_int_sink_restore_header",
- "id" : 99,
+ "id" : 86,
"source_info" : {
"filename" : "include/int/int_sink.p4",
"line" : 53,
@@ -20742,14 +20665,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [144],
+ "action_ids" : [129],
"actions" : ["FabricEgress.process_int_main.process_int_sink.restore_header"],
"base_default_next" : "tbl_process_int_main_process_int_sink_int_sink",
"next_tables" : {
"FabricEgress.process_int_main.process_int_sink.restore_header" : "tbl_process_int_main_process_int_sink_int_sink"
},
"default_entry" : {
- "action_id" : 144,
+ "action_id" : 129,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -20757,7 +20680,7 @@
},
{
"name" : "tbl_process_int_main_process_int_sink_int_sink",
- "id" : 100,
+ "id" : 87,
"source_info" : {
"filename" : "include/int/int_sink.p4",
"line" : 54,
@@ -20771,14 +20694,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [145],
+ "action_ids" : [130],
"actions" : ["FabricEgress.process_int_main.process_int_sink.int_sink"],
"base_default_next" : null,
"next_tables" : {
"FabricEgress.process_int_main.process_int_sink.int_sink" : null
},
"default_entry" : {
- "action_id" : 145,
+ "action_id" : 130,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -20788,8 +20711,8 @@
"action_profiles" : [],
"conditionals" : [
{
- "name" : "node_103",
- "id" : 33,
+ "name" : "node_81",
+ "id" : 26,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 39,
@@ -20817,12 +20740,12 @@
}
}
},
- "true_next" : "tbl_act_37",
- "false_next" : "node_105"
+ "true_next" : "tbl_act_24",
+ "false_next" : "node_83"
},
{
- "name" : "node_105",
- "id" : 34,
+ "name" : "node_83",
+ "id" : 27,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 43,
@@ -20843,12 +20766,12 @@
}
}
},
- "true_next" : "tbl_act_38",
- "false_next" : "node_107"
+ "true_next" : "tbl_act_25",
+ "false_next" : "node_85"
},
{
- "name" : "node_107",
- "id" : 35,
+ "name" : "node_85",
+ "id" : 28,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 335,
@@ -20896,12 +20819,12 @@
}
}
},
- "true_next" : "tbl_act_39",
- "false_next" : "node_109"
+ "true_next" : "tbl_act_26",
+ "false_next" : "node_87"
},
{
- "name" : "node_109",
- "id" : 36,
+ "name" : "node_87",
+ "id" : 29,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 340,
@@ -20922,12 +20845,12 @@
}
}
},
- "true_next" : "node_110",
+ "true_next" : "node_88",
"false_next" : "tbl_egress_next_set_mpls"
},
{
- "name" : "node_110",
- "id" : 37,
+ "name" : "node_88",
+ "id" : 30,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -20946,11 +20869,11 @@
}
},
"true_next" : "tbl_egress_next_pop_mpls_if_present",
- "false_next" : "node_113"
+ "false_next" : "node_91"
},
{
- "name" : "node_113",
- "id" : 38,
+ "name" : "node_91",
+ "id" : 31,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 347,
@@ -20979,11 +20902,11 @@
}
},
"true_next" : "tbl_egress_next_push_vlan",
- "false_next" : "tbl_act_40"
+ "false_next" : "tbl_act_27"
},
{
- "name" : "node_120",
- "id" : 39,
+ "name" : "node_98",
+ "id" : 32,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 357,
@@ -21008,12 +20931,12 @@
}
}
},
- "true_next" : "node_121",
- "false_next" : "node_123"
+ "true_next" : "node_99",
+ "false_next" : "node_101"
},
{
- "name" : "node_121",
- "id" : 40,
+ "name" : "node_99",
+ "id" : 33,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 359,
@@ -21035,11 +20958,11 @@
}
},
"true_next" : "tbl_egress_next_push_vlan_0",
- "false_next" : "node_123"
+ "false_next" : "node_101"
},
{
- "name" : "node_123",
- "id" : 41,
+ "name" : "node_101",
+ "id" : 34,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 368,
@@ -21057,12 +20980,12 @@
}
}
},
- "true_next" : "tbl_act_43",
- "false_next" : "node_127"
+ "true_next" : "tbl_act_30",
+ "false_next" : "node_105"
},
{
- "name" : "node_125",
- "id" : 42,
+ "name" : "node_103",
+ "id" : 35,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -21083,12 +21006,12 @@
}
}
},
- "true_next" : "tbl_act_44",
- "false_next" : "tbl_act_49"
+ "true_next" : "tbl_act_31",
+ "false_next" : "tbl_act_36"
},
{
- "name" : "node_127",
- "id" : 43,
+ "name" : "node_105",
+ "id" : 36,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 372,
@@ -21106,12 +21029,12 @@
}
}
},
- "true_next" : "tbl_act_45",
- "false_next" : "node_131"
+ "true_next" : "tbl_act_32",
+ "false_next" : "node_109"
},
{
- "name" : "node_129",
- "id" : 44,
+ "name" : "node_107",
+ "id" : 37,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -21132,12 +21055,12 @@
}
}
},
- "true_next" : "tbl_act_46",
- "false_next" : "tbl_act_49"
+ "true_next" : "tbl_act_33",
+ "false_next" : "tbl_act_36"
},
{
- "name" : "node_131",
- "id" : 45,
+ "name" : "node_109",
+ "id" : 38,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 377,
@@ -21155,12 +21078,12 @@
}
}
},
- "true_next" : "tbl_act_47",
- "false_next" : "tbl_act_49"
+ "true_next" : "tbl_act_34",
+ "false_next" : "tbl_act_36"
},
{
- "name" : "node_133",
- "id" : 46,
+ "name" : "node_111",
+ "id" : 39,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 379,
@@ -21181,17 +21104,17 @@
}
}
},
- "true_next" : "tbl_act_48",
- "false_next" : "tbl_act_49"
+ "true_next" : "tbl_act_35",
+ "false_next" : "tbl_act_36"
},
{
- "name" : "node_136",
- "id" : 47,
+ "name" : "node_114",
+ "id" : 40,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 290,
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
"column" : 12,
- "source_fragment" : "fabric_meta.spgw.outer_header_creation == true"
+ "source_fragment" : "fabric_md.spgw.skip_spgw == true"
},
"expression" : {
"type" : "expression",
@@ -21204,7 +21127,64 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_outer_header_creation31"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw32"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "true_next" : "tbl_act_37",
+ "false_next" : "node_116"
+ },
+ {
+ "name" : "node_116",
+ "id" : 41,
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "not",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "spgw_egress_hasReturned"]
+ }
+ }
+ }
+ }
+ },
+ "true_next" : "tbl_act_38",
+ "false_next" : "node_120"
+ },
+ {
+ "name" : "node_118",
+ "id" : 42,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 348,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.needs_gtpu_encap == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap36"]
}
}
},
@@ -21215,11 +21195,11 @@
}
},
"true_next" : "tbl_spgw_egress_gtpu_encap",
- "false_next" : "node_138"
+ "false_next" : "node_120"
},
{
- "name" : "node_138",
- "id" : 48,
+ "name" : "node_120",
+ "id" : 43,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 358,
@@ -21232,7 +21212,7 @@
"op" : "==",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._bng_type32"]
+ "value" : ["scalars", "fabric_metadata_t._bng_type38"]
},
"right" : {
"type" : "hexstr",
@@ -21240,12 +21220,12 @@
}
}
},
- "true_next" : "node_139",
- "false_next" : "node_143"
+ "true_next" : "node_121",
+ "false_next" : "node_125"
},
{
- "name" : "node_139",
- "id" : 49,
+ "name" : "node_121",
+ "id" : 44,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 296,
@@ -21264,11 +21244,11 @@
}
},
"true_next" : "tbl_bng_egress_downstream_encap_v4",
- "false_next" : "node_141"
+ "false_next" : "node_123"
},
{
- "name" : "node_141",
- "id" : 50,
+ "name" : "node_123",
+ "id" : 45,
"source_info" : {
"filename" : "include/bng.p4",
"line" : 301,
@@ -21287,11 +21267,11 @@
}
},
"true_next" : "tbl_bng_egress_downstream_encap_v6",
- "false_next" : "node_143"
+ "false_next" : "node_125"
},
{
- "name" : "node_143",
- "id" : 51,
+ "name" : "node_125",
+ "id" : 46,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 102,
@@ -21367,11 +21347,11 @@
}
},
"false_next" : null,
- "true_next" : "node_144"
+ "true_next" : "node_126"
},
{
- "name" : "node_144",
- "id" : 52,
+ "name" : "node_126",
+ "id" : 47,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 106,
@@ -21389,7 +21369,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_source38"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_source44"]
}
}
},
@@ -21400,11 +21380,11 @@
}
},
"true_next" : "FabricEgress.process_int_main.process_int_source.tb_int_source",
- "false_next" : "node_146"
+ "false_next" : "node_128"
},
{
- "name" : "node_146",
- "id" : 53,
+ "name" : "node_128",
+ "id" : 48,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 110,
@@ -21423,11 +21403,11 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_50"
+ "true_next" : "tbl_act_39"
},
{
- "name" : "node_149",
- "id" : 54,
+ "name" : "node_131",
+ "id" : 49,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 419,
@@ -21445,7 +21425,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_transit39"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_transit45"]
}
}
},
@@ -21455,12 +21435,12 @@
}
}
},
- "true_next" : "tbl_act_51",
- "false_next" : "node_151"
+ "true_next" : "tbl_act_40",
+ "false_next" : "node_133"
},
{
- "name" : "node_151",
- "id" : 55,
+ "name" : "node_133",
+ "id" : 50,
"expression" : {
"type" : "expression",
"value" : {
@@ -21480,11 +21460,11 @@
}
},
"true_next" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0003",
- "false_next" : "node_161"
+ "false_next" : "node_143"
},
{
- "name" : "node_155",
- "id" : 56,
+ "name" : "node_137",
+ "id" : 51,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 427,
@@ -21502,12 +21482,12 @@
}
}
},
- "true_next" : "tbl_act_53",
- "false_next" : "node_157"
+ "true_next" : "tbl_act_42",
+ "false_next" : "node_139"
},
{
- "name" : "node_157",
- "id" : 57,
+ "name" : "node_139",
+ "id" : 52,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 430,
@@ -21525,12 +21505,12 @@
}
}
},
- "true_next" : "tbl_act_54",
- "false_next" : "node_159"
+ "true_next" : "tbl_act_43",
+ "false_next" : "node_141"
},
{
- "name" : "node_159",
- "id" : 58,
+ "name" : "node_141",
+ "id" : 53,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 433,
@@ -21548,12 +21528,12 @@
}
}
},
- "true_next" : "tbl_act_55",
- "false_next" : "node_161"
+ "true_next" : "tbl_act_44",
+ "false_next" : "node_143"
},
{
- "name" : "node_161",
- "id" : 59,
+ "name" : "node_143",
+ "id" : 54,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 115,
@@ -21575,11 +21555,11 @@
}
},
"true_next" : "FabricEgress.process_int_main.process_int_report.tb_generate_report",
- "false_next" : "node_163"
+ "false_next" : "node_145"
},
{
- "name" : "node_163",
- "id" : 60,
+ "name" : "node_145",
+ "id" : 55,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 119,
@@ -21597,7 +21577,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_sink40"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_sink46"]
}
}
},
@@ -21644,8 +21624,8 @@
"name" : "cksum_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 306,
+ "filename" : "include/control/spgw.p4",
+ "line" : 364,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-full/bmv2/default/p4info.txt b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-full/bmv2/default/p4info.txt
index 7a83ba9..4fd6025 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-full/bmv2/default/p4info.txt
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-full/bmv2/default/p4info.txt
@@ -3,179 +3,6 @@
}
tables {
preamble {
- id: 33586632
- name: "FabricIngress.spgw_ingress.downlink_filter_table"
- alias: "downlink_filter_table"
- }
- match_fields {
- id: 1
- name: "ipv4_prefix"
- bitwidth: 32
- match_type: LPM
- }
- action_refs {
- id: 16819938
- }
- const_default_action_id: 16819938
- size: 1024
-}
-tables {
- preamble {
- id: 33567046
- name: "FabricIngress.spgw_ingress.uplink_filter_table"
- alias: "uplink_filter_table"
- }
- match_fields {
- id: 1
- name: "gtp_ipv4_dst"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16819938
- }
- const_default_action_id: 16819938
- size: 1024
-}
-tables {
- preamble {
- id: 33586958
- name: "FabricIngress.spgw_ingress.downlink_pdr_lookup"
- alias: "downlink_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "ue_addr"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16799934
- }
- action_refs {
- id: 16800567
- annotations: "@defaultonly"
- scope: DEFAULT_ONLY
- }
- size: 1024
-}
-tables {
- preamble {
- id: 33587070
- name: "FabricIngress.spgw_ingress.uplink_pdr_lookup"
- alias: "uplink_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "tunnel_ipv4_dst"
- bitwidth: 32
- match_type: EXACT
- }
- match_fields {
- id: 2
- name: "teid"
- bitwidth: 32
- match_type: EXACT
- }
- match_fields {
- id: 3
- name: "ue_addr"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16799934
- }
- action_refs {
- id: 16800567
- annotations: "@defaultonly"
- scope: DEFAULT_ONLY
- }
- size: 1024
-}
-tables {
- preamble {
- id: 33582573
- name: "FabricIngress.spgw_ingress.flexible_pdr_lookup"
- alias: "flexible_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "spgw_direction"
- bitwidth: 2
- match_type: TERNARY
- }
- match_fields {
- id: 2
- name: "tunnel_ipv4_dst"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 3
- name: "teid"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 4
- name: "ipv4_src"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 5
- name: "ipv4_dst"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 6
- name: "ip_proto"
- bitwidth: 8
- match_type: TERNARY
- }
- match_fields {
- id: 7
- name: "l4_sport"
- bitwidth: 16
- match_type: TERNARY
- }
- match_fields {
- id: 8
- name: "l4_dport"
- bitwidth: 16
- match_type: TERNARY
- }
- action_refs {
- id: 16799934
- }
- const_default_action_id: 16799934
- size: 1024
-}
-tables {
- preamble {
- id: 33613200
- name: "FabricIngress.spgw_ingress.far_lookup"
- alias: "far_lookup"
- }
- match_fields {
- id: 1
- name: "far_id"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16834935
- }
- action_refs {
- id: 16787606
- }
- const_default_action_id: 16834935
- size: 1024
-}
-tables {
- preamble {
id: 33581620
name: "FabricIngress.process_set_source_sink.tb_set_source"
alias: "tb_set_source"
@@ -870,6 +697,99 @@
}
tables {
preamble {
+ id: 33584493
+ name: "FabricIngress.spgw_ingress.interface_lookup"
+ alias: "interface_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "ipv4_dst_addr"
+ bitwidth: 32
+ match_type: LPM
+ }
+ match_fields {
+ id: 2
+ name: "gtpu_is_valid"
+ bitwidth: 1
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16797935
+ }
+ const_default_action_id: 16797935
+ size: 128
+}
+tables {
+ preamble {
+ id: 33586958
+ name: "FabricIngress.spgw_ingress.downlink_pdr_lookup"
+ alias: "downlink_pdr_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "ue_addr"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16799934
+ }
+ const_default_action_id: 16799934
+ size: 1024
+}
+tables {
+ preamble {
+ id: 33587070
+ name: "FabricIngress.spgw_ingress.uplink_pdr_lookup"
+ alias: "uplink_pdr_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "tunnel_ipv4_dst"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ match_fields {
+ id: 2
+ name: "teid"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ match_fields {
+ id: 3
+ name: "ue_addr"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16799934
+ }
+ const_default_action_id: 16799934
+ size: 1024
+}
+tables {
+ preamble {
+ id: 33613200
+ name: "FabricIngress.spgw_ingress.far_lookup"
+ alias: "far_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "far_id"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16834935
+ }
+ action_refs {
+ id: 16787606
+ }
+ const_default_action_id: 16834935
+ size: 2048
+}
+tables {
+ preamble {
id: 33612258
name: "FabricEgress.process_int_main.process_int_source.tb_int_source"
alias: "tb_int_source"
@@ -988,79 +908,6 @@
}
actions {
preamble {
- id: 16800567
- name: "NoAction"
- alias: "NoAction"
- }
-}
-actions {
- preamble {
- id: 16799934
- name: "FabricIngress.spgw_ingress.set_pdr_attributes"
- alias: "set_pdr_attributes"
- }
- params {
- id: 1
- name: "ctr_id"
- bitwidth: 32
- }
- params {
- id: 2
- name: "far_id"
- bitwidth: 32
- }
-}
-actions {
- preamble {
- id: 16834935
- name: "FabricIngress.spgw_ingress.load_normal_far_attributes"
- alias: "load_normal_far_attributes"
- }
- params {
- id: 1
- name: "drop"
- bitwidth: 1
- }
- params {
- id: 2
- name: "notify_cp"
- bitwidth: 1
- }
-}
-actions {
- preamble {
- id: 16787606
- name: "FabricIngress.spgw_ingress.load_tunnel_far_attributes"
- alias: "load_tunnel_far_attributes"
- }
- params {
- id: 1
- name: "drop"
- bitwidth: 1
- }
- params {
- id: 2
- name: "notify_cp"
- bitwidth: 1
- }
- params {
- id: 3
- name: "tunnel_src_addr"
- bitwidth: 32
- }
- params {
- id: 4
- name: "tunnel_dst_addr"
- bitwidth: 32
- }
- params {
- id: 5
- name: "teid"
- bitwidth: 32
- }
-}
-actions {
- preamble {
id: 16778827
name: "FabricIngress.process_set_source_sink.int_set_source"
alias: "int_set_source"
@@ -1473,6 +1320,139 @@
}
actions {
preamble {
+ id: 16797935
+ name: "FabricIngress.spgw_ingress.set_source_iface"
+ alias: "set_source_iface"
+ }
+ params {
+ id: 1
+ name: "src_iface"
+ bitwidth: 8
+ }
+ params {
+ id: 2
+ name: "direction"
+ bitwidth: 2
+ }
+ params {
+ id: 3
+ name: "skip_spgw"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16799934
+ name: "FabricIngress.spgw_ingress.set_pdr_attributes"
+ alias: "set_pdr_attributes"
+ }
+ params {
+ id: 1
+ name: "ctr_id"
+ bitwidth: 32
+ }
+ params {
+ id: 2
+ name: "far_id"
+ bitwidth: 32
+ }
+ params {
+ id: 3
+ name: "needs_gtpu_decap"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16834935
+ name: "FabricIngress.spgw_ingress.load_normal_far_attributes"
+ alias: "load_normal_far_attributes"
+ }
+ params {
+ id: 1
+ name: "drop"
+ bitwidth: 1
+ }
+ params {
+ id: 2
+ name: "notify_cp"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16787606
+ name: "FabricIngress.spgw_ingress.load_tunnel_far_attributes"
+ alias: "load_tunnel_far_attributes"
+ }
+ params {
+ id: 1
+ name: "drop"
+ bitwidth: 1
+ }
+ params {
+ id: 2
+ name: "notify_cp"
+ bitwidth: 1
+ }
+ params {
+ id: 3
+ name: "tunnel_src_port"
+ bitwidth: 16
+ }
+ params {
+ id: 4
+ name: "tunnel_src_addr"
+ bitwidth: 32
+ }
+ params {
+ id: 5
+ name: "tunnel_dst_addr"
+ bitwidth: 32
+ }
+ params {
+ id: 6
+ name: "teid"
+ bitwidth: 32
+ }
+}
+actions {
+ preamble {
+ id: 16829280
+ name: "FabricIngress.spgw_ingress.decap_inner_tcp"
+ alias: "decap_inner_tcp"
+ }
+}
+actions {
+ preamble {
+ id: 16815878
+ name: "FabricIngress.spgw_ingress.decap_inner_udp"
+ alias: "decap_inner_udp"
+ }
+}
+actions {
+ preamble {
+ id: 16801274
+ name: "FabricIngress.spgw_ingress.decap_inner_icmp"
+ alias: "decap_inner_icmp"
+ }
+}
+actions {
+ preamble {
+ id: 16830582
+ name: "FabricIngress.spgw_ingress.decap_inner_unknown"
+ alias: "decap_inner_unknown"
+ }
+}
+actions {
+ preamble {
+ id: 16800567
+ name: "NoAction"
+ alias: "NoAction"
+ }
+}
+actions {
+ preamble {
id: 16784000
name: "FabricEgress.bng_egress.downstream.encap_v4"
alias: "encap_v4"
@@ -1576,17 +1556,6 @@
}
counters {
preamble {
- id: 302029884
- name: "FabricIngress.spgw_ingress.pdr_counter"
- alias: "spgw_ingress.pdr_counter"
- }
- spec {
- unit: BOTH
- }
- size: 1024
-}
-counters {
- preamble {
id: 302022672
name: "FabricIngress.bng_ingress.upstream.c_terminated"
alias: "c_terminated"
@@ -1653,14 +1622,14 @@
}
counters {
preamble {
- id: 302012289
- name: "FabricEgress.spgw_egress.pdr_counter"
- alias: "spgw_egress.pdr_counter"
+ id: 302029884
+ name: "FabricIngress.spgw_ingress.pdr_counter"
+ alias: "spgw_ingress.pdr_counter"
}
spec {
unit: BOTH
}
- size: 1024
+ size: 2048
}
counters {
preamble {
@@ -1673,6 +1642,17 @@
}
size: 8192
}
+counters {
+ preamble {
+ id: 302012289
+ name: "FabricEgress.spgw_egress.pdr_counter"
+ alias: "spgw_egress.pdr_counter"
+ }
+ spec {
+ unit: BOTH
+ }
+ size: 2048
+}
direct_counters {
preamble {
id: 318787614
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-int/bmv2/default/bmv2.json b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-int/bmv2/default/bmv2.json
index 931d929..581f0e6 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-int/bmv2/default/bmv2.json
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-int/bmv2/default/bmv2.json
@@ -1137,7 +1137,7 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 267,
+ "line" : 268,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
@@ -2698,7 +2698,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 163,
+ "line" : 165,
"column" : 36,
"source_fragment" : "4; ..."
}
@@ -3116,7 +3116,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 159,
+ "line" : 161,
"column" : 24,
"source_fragment" : "0x1; ..."
}
@@ -9204,7 +9204,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 118,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -9283,7 +9283,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 117,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -10681,7 +10681,7 @@
"id" : 3,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -10792,7 +10792,7 @@
"id" : 7,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -10879,7 +10879,7 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/bmv2.json b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/bmv2.json
index 50d6f2d..66cdf74 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/bmv2.json
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/bmv2.json
@@ -5,17 +5,14 @@
"id" : 0,
"fields" : [
["last_ipv4_dscp_0", 6, false],
- ["tmp_2", 16, false],
- ["tmp_3", 16, false],
- ["tmp_4", 4, false],
- ["tmp", 8, false],
- ["tmp_0", 32, false],
- ["tmp_1", 32, false],
- ["spgw_ingress_tmp", 1, false],
- ["spgw_ingress_tmp_0", 1, false],
- ["spgw_normalizer_hasReturned", 1, false],
+ ["tmp_0", 16, false],
+ ["tmp_1", 16, false],
+ ["tmp_2", 4, false],
+ ["tmp", 32, false],
+ ["tmp_3", 32, false],
["spgw_ingress_hasReturned", 1, false],
["egress_next_tmp", 1, false],
+ ["spgw_egress_hasReturned", 1, false],
["process_int_main_process_int_transit_hasReturned", 1, false],
["fabric_metadata_t._ip_eth_type0", 16, false],
["fabric_metadata_t._vlan_id1", 12, false],
@@ -34,25 +31,31 @@
["fabric_metadata_t._l4_dport14", 16, false],
["fabric_metadata_t._ipv4_src_addr15", 32, false],
["fabric_metadata_t._ipv4_dst_addr16", 32, false],
- ["fabric_metadata_t._spgw_direction17", 2, false],
- ["fabric_metadata_t._spgw_ipv4_len18", 16, false],
- ["fabric_metadata_t._spgw_teid19", 32, false],
- ["fabric_metadata_t._spgw_tunnel_src_addr20", 32, false],
- ["fabric_metadata_t._spgw_tunnel_dst_addr21", 32, false],
- ["fabric_metadata_t._spgw_ctr_id22", 32, false],
- ["fabric_metadata_t._spgw_far_id23", 32, false],
- ["fabric_metadata_t._spgw_pdr_hit24", 1, false],
- ["fabric_metadata_t._spgw_far_dropped25", 1, false],
- ["fabric_metadata_t._spgw_notify_cp26", 1, false],
- ["fabric_metadata_t._spgw_outer_header_creation27", 1, false],
- ["fabric_metadata_t._int_meta_source28", 1, false],
- ["fabric_metadata_t._int_meta_transit29", 1, false],
- ["fabric_metadata_t._int_meta_sink30", 1, false],
- ["fabric_metadata_t._int_meta_switch_id31", 32, false],
- ["fabric_metadata_t._int_meta_new_words32", 8, false],
- ["fabric_metadata_t._int_meta_new_bytes33", 16, false],
- ["fabric_metadata_t._int_meta_ig_tstamp34", 32, false],
- ["fabric_metadata_t._int_meta_eg_tstamp35", 32, false],
+ ["fabric_metadata_t._inner_l4_sport17", 16, false],
+ ["fabric_metadata_t._inner_l4_dport18", 16, false],
+ ["fabric_metadata_t._spgw_direction19", 2, false],
+ ["fabric_metadata_t._spgw_ipv4_len20", 16, false],
+ ["fabric_metadata_t._spgw_teid21", 32, false],
+ ["fabric_metadata_t._spgw_tunnel_src_port22", 16, false],
+ ["fabric_metadata_t._spgw_tunnel_src_addr23", 32, false],
+ ["fabric_metadata_t._spgw_tunnel_dst_addr24", 32, false],
+ ["fabric_metadata_t._spgw_ctr_id25", 32, false],
+ ["fabric_metadata_t._spgw_far_id26", 32, false],
+ ["fabric_metadata_t._spgw_src_iface27", 8, false],
+ ["fabric_metadata_t._spgw_skip_spgw28", 1, false],
+ ["fabric_metadata_t._spgw_pdr_hit29", 1, false],
+ ["fabric_metadata_t._spgw_far_dropped30", 1, false],
+ ["fabric_metadata_t._spgw_notify_spgwc31", 1, false],
+ ["fabric_metadata_t._spgw_needs_gtpu_encap32", 1, false],
+ ["fabric_metadata_t._spgw_needs_gtpu_decap33", 1, false],
+ ["fabric_metadata_t._int_meta_source34", 1, false],
+ ["fabric_metadata_t._int_meta_transit35", 1, false],
+ ["fabric_metadata_t._int_meta_sink36", 1, false],
+ ["fabric_metadata_t._int_meta_switch_id37", 32, false],
+ ["fabric_metadata_t._int_meta_new_words38", 8, false],
+ ["fabric_metadata_t._int_meta_new_bytes39", 16, false],
+ ["fabric_metadata_t._int_meta_ig_tstamp40", 32, false],
+ ["fabric_metadata_t._int_meta_eg_tstamp41", 32, false],
["_padding_0", 4, false]
]
},
@@ -373,141 +376,162 @@
"pi_omit" : true
},
{
- "name" : "gtpu",
+ "name" : "outer_gtpu",
"id" : 9,
"header_type" : "gtpu_t",
"metadata" : false,
"pi_omit" : true
},
{
- "name" : "inner_ipv4",
+ "name" : "gtpu",
"id" : 10,
+ "header_type" : "gtpu_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "inner_ipv4",
+ "id" : 11,
"header_type" : "ipv4_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "inner_udp",
- "id" : 11,
+ "id" : 12,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
- "name" : "ipv4",
- "id" : 12,
- "header_type" : "ipv4_t",
- "metadata" : false,
- "pi_omit" : true
- },
- {
- "name" : "tcp",
+ "name" : "inner_tcp",
"id" : 13,
"header_type" : "tcp_t",
"metadata" : false,
"pi_omit" : true
},
{
- "name" : "udp",
+ "name" : "inner_icmp",
"id" : 14,
+ "header_type" : "icmp_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "ipv4",
+ "id" : 15,
+ "header_type" : "ipv4_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "tcp",
+ "id" : 16,
+ "header_type" : "tcp_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "udp",
+ "id" : 17,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "icmp",
- "id" : 15,
+ "id" : 18,
"header_type" : "icmp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_out",
- "id" : 16,
+ "id" : 19,
"header_type" : "packet_out_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_in",
- "id" : 17,
+ "id" : 20,
"header_type" : "packet_in_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "intl4_shim",
- "id" : 18,
+ "id" : 21,
"header_type" : "intl4_shim_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_header",
- "id" : 19,
+ "id" : 22,
"header_type" : "int_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_switch_id",
- "id" : 20,
+ "id" : 23,
"header_type" : "int_switch_id_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_port_ids",
- "id" : 21,
+ "id" : 24,
"header_type" : "int_port_ids_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_hop_latency",
- "id" : 22,
+ "id" : 25,
"header_type" : "int_hop_latency_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_q_occupancy",
- "id" : 23,
+ "id" : 26,
"header_type" : "int_q_occupancy_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_ingress_tstamp",
- "id" : 24,
+ "id" : 27,
"header_type" : "int_ingress_tstamp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_egress_tstamp",
- "id" : 25,
+ "id" : 28,
"header_type" : "int_egress_tstamp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_q_congestion",
- "id" : 26,
+ "id" : 29,
"header_type" : "int_q_congestion_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "int_egress_tx_util",
- "id" : 27,
+ "id" : 30,
"header_type" : "int_egress_port_tx_util_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "intl4_tail",
- "id" : 28,
+ "id" : 31,
"header_type" : "intl4_tail_t",
"metadata" : false,
"pi_omit" : true
@@ -628,7 +652,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
},
{
"type" : "lookahead",
@@ -666,7 +690,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
}
]
},
@@ -687,7 +711,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
},
{
"type" : "lookahead",
@@ -713,7 +737,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
}
]
},
@@ -823,7 +847,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
},
{
"type" : "lookahead",
@@ -849,7 +873,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
}
]
},
@@ -1103,77 +1127,6 @@
{
"parameters" : [
{
- "type" : "field",
- "value" : ["scalars", "tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : ">>",
- "left" : {
- "type" : "field",
- "value" : ["ipv4", "dst_addr"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x18"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffffff"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "op" : "set"
- }
- ],
- "transitions" : [
- {
- "type" : "hexstr",
- "value" : "0x8c",
- "mask" : null,
- "next_state" : "do_parse_gtpu"
- },
- {
- "value" : "default",
- "mask" : null,
- "next_state" : null
- }
- ],
- "transition_key" : [
- {
- "type" : "field",
- "value" : ["scalars", "tmp"]
- }
- ]
- },
- {
- "name" : "do_parse_gtpu",
- "id" : 12,
- "parser_ops" : [
- {
- "parameters" : [
- {
"type" : "regular",
"value" : "gtpu"
}
@@ -1237,7 +1190,7 @@
},
{
"name" : "parse_inner_udp",
- "id" : 13,
+ "id" : 12,
"parser_ops" : [
{
"parameters" : [
@@ -1252,7 +1205,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
},
{
"type" : "field",
@@ -1265,7 +1218,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
},
{
"type" : "field",
@@ -1286,7 +1239,7 @@
},
{
"name" : "parse_int",
- "id" : 14,
+ "id" : 13,
"parser_ops" : [],
"transitions" : [
{
@@ -1310,7 +1263,7 @@
},
{
"name" : "parse_intl4_shim",
- "id" : 15,
+ "id" : 14,
"parser_ops" : [
{
"parameters" : [
@@ -1353,7 +1306,7 @@
},
{
"name" : "parse_int_data",
- "id" : 16,
+ "id" : 15,
"parser_ops" : [],
"transitions" : [
{
@@ -1366,7 +1319,7 @@
},
{
"name" : "parse_intl4_tail",
- "id" : 17,
+ "id" : 16,
"parser_ops" : [
{
"parameters" : [
@@ -1397,30 +1350,18 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 267,
+ "line" : 268,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
- "order" : ["packet_in", "ethernet", "vlan_tag", "inner_vlan_tag", "eth_type", "mpls", "gtpu_ipv4", "gtpu_udp", "gtpu", "ipv4", "tcp", "udp", "icmp", "intl4_shim", "int_header", "int_switch_id", "int_port_ids", "int_hop_latency", "int_q_occupancy", "int_ingress_tstamp", "int_egress_tstamp", "int_q_congestion", "int_egress_tx_util", "intl4_tail"]
+ "order" : ["packet_in", "ethernet", "vlan_tag", "inner_vlan_tag", "eth_type", "mpls", "gtpu_ipv4", "gtpu_udp", "outer_gtpu", "ipv4", "tcp", "udp", "icmp", "gtpu", "inner_ipv4", "inner_tcp", "inner_udp", "inner_icmp", "intl4_shim", "int_header", "int_switch_id", "int_port_ids", "int_hop_latency", "int_q_occupancy", "int_ingress_tstamp", "int_egress_tstamp", "int_q_congestion", "int_egress_tx_util", "intl4_tail"]
}
],
"meter_arrays" : [],
"counter_arrays" : [
{
- "name" : "FabricIngress.spgw_ingress.pdr_counter",
- "id" : 0,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 56,
- "column" : 49,
- "source_fragment" : "pdr_counter"
- },
- "size" : 1024,
- "is_direct" : false
- },
- {
"name" : "FabricIngress.process_set_source_sink.counter_set_source",
- "id" : 1,
+ "id" : 0,
"is_direct" : true,
"binding" : "FabricIngress.process_set_source_sink.tb_set_source",
"source_info" : {
@@ -1432,7 +1373,7 @@
},
{
"name" : "FabricIngress.filtering.ingress_port_vlan_counter",
- "id" : 2,
+ "id" : 1,
"is_direct" : true,
"binding" : "FabricIngress.filtering.ingress_port_vlan",
"source_info" : {
@@ -1444,7 +1385,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier_counter",
- "id" : 3,
+ "id" : 2,
"is_direct" : true,
"binding" : "FabricIngress.filtering.fwd_classifier",
"source_info" : {
@@ -1456,7 +1397,7 @@
},
{
"name" : "FabricIngress.forwarding.bridging_counter",
- "id" : 4,
+ "id" : 3,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.bridging",
"source_info" : {
@@ -1468,7 +1409,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls_counter",
- "id" : 5,
+ "id" : 4,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.mpls",
"source_info" : {
@@ -1480,7 +1421,7 @@
},
{
"name" : "FabricIngress.acl.acl_counter",
- "id" : 6,
+ "id" : 5,
"is_direct" : true,
"binding" : "FabricIngress.acl.acl",
"source_info" : {
@@ -1492,7 +1433,7 @@
},
{
"name" : "FabricIngress.next.next_vlan_counter",
- "id" : 7,
+ "id" : 6,
"is_direct" : true,
"binding" : "FabricIngress.next.next_vlan",
"source_info" : {
@@ -1504,7 +1445,7 @@
},
{
"name" : "FabricIngress.next.xconnect_counter",
- "id" : 8,
+ "id" : 7,
"is_direct" : true,
"binding" : "FabricIngress.next.xconnect",
"source_info" : {
@@ -1516,7 +1457,7 @@
},
{
"name" : "FabricIngress.next.hashed_counter",
- "id" : 9,
+ "id" : 8,
"is_direct" : true,
"binding" : "FabricIngress.next.hashed",
"source_info" : {
@@ -1528,7 +1469,7 @@
},
{
"name" : "FabricIngress.next.multicast_counter",
- "id" : 10,
+ "id" : 9,
"is_direct" : true,
"binding" : "FabricIngress.next.multicast",
"source_info" : {
@@ -1540,7 +1481,7 @@
},
{
"name" : "FabricIngress.port_counters_control.egress_port_counter",
- "id" : 11,
+ "id" : 10,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 26,
@@ -1552,7 +1493,7 @@
},
{
"name" : "FabricIngress.port_counters_control.ingress_port_counter",
- "id" : 12,
+ "id" : 11,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 27,
@@ -1563,20 +1504,20 @@
"is_direct" : false
},
{
- "name" : "FabricEgress.spgw_egress.pdr_counter",
- "id" : 13,
+ "name" : "FabricIngress.spgw_ingress.pdr_counter",
+ "id" : 12,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 246,
- "column" : 49,
+ "filename" : "include/control/spgw.p4",
+ "line" : 182,
+ "column" : 53,
"source_fragment" : "pdr_counter"
},
- "size" : 1024,
+ "size" : 2048,
"is_direct" : false
},
{
"name" : "FabricEgress.process_int_main.process_int_source.counter_int_source",
- "id" : 14,
+ "id" : 13,
"is_direct" : true,
"binding" : "FabricEgress.process_int_main.process_int_source.tb_int_source",
"source_info" : {
@@ -1588,7 +1529,7 @@
},
{
"name" : "FabricEgress.egress_next.egress_vlan_counter",
- "id" : 15,
+ "id" : 14,
"is_direct" : true,
"binding" : "FabricEgress.egress_next.egress_vlan",
"source_info" : {
@@ -1597,6 +1538,18 @@
"column" : 50,
"source_fragment" : "egress_vlan_counter"
}
+ },
+ {
+ "name" : "FabricEgress.spgw_egress.pdr_counter",
+ "id" : 15,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 303,
+ "column" : 53,
+ "source_fragment" : "pdr_counter"
+ },
+ "size" : 2048,
+ "is_direct" : false
}
],
"register_arrays" : [],
@@ -1666,8 +1619,8 @@
"name" : "calc_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 306,
+ "filename" : "include/control/spgw.p4",
+ "line" : 364,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
@@ -1836,741 +1789,16 @@
"primitives" : []
},
{
- "name" : "nop",
+ "name" : "FabricIngress.process_set_source_sink.int_set_source",
"id" : 8,
"runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "nop",
- "id" : 9,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "NoAction",
- "id" : 10,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "NoAction",
- "id" : 11,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "FabricIngress.spgw_ingress.gtpu_decap",
- "id" : 12,
- "runtime_data" : [],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid19"]
- },
- {
- "type" : "field",
- "value" : ["gtpu", "teid"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 61,
- "column" : 30,
- "source_fragment" : "= gtpu.teid; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"]
- },
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dst_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 62,
- "column" : 41,
- "source_fragment" : "= gtpu_ipv4.dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "src_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 64,
- "column" : 34,
- "source_fragment" : "= ipv4.src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "dst_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 65,
- "column" : 34,
- "source_fragment" : "= ipv4.dst_addr; ..."
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 67,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "gtpu_udp.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "gtpu.setInvalid()"
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 13,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id23"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 14,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id23"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 15,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id23"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.load_normal_far_attributes",
- "id" : 16,
- "runtime_data" : [
- {
- "name" : "drop",
- "bitwidth" : 1
- },
- {
- "name" : "notify_cp",
- "bitwidth" : 1
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "!=",
- "left" : {
- "type" : "local",
- "value" : 0
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x00"
- }
- }
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 146,
- "column" : 37,
- "source_fragment" : "= (bool)drop; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_notify_cp26"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "!=",
- "left" : {
- "type" : "local",
- "value" : 1
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x00"
- }
- }
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 147,
- "column" : 35,
- "source_fragment" : "= (bool)notify_cp; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.load_tunnel_far_attributes",
- "id" : 17,
- "runtime_data" : [
- {
- "name" : "drop",
- "bitwidth" : 1
- },
- {
- "name" : "notify_cp",
- "bitwidth" : 1
- },
- {
- "name" : "tunnel_src_addr",
- "bitwidth" : 32
- },
- {
- "name" : "tunnel_dst_addr",
- "bitwidth" : 32
- },
- {
- "name" : "teid",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "!=",
- "left" : {
- "type" : "local",
- "value" : 0
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x00"
- }
- }
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 155,
- "column" : 37,
- "source_fragment" : "= (bool)drop; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_notify_cp26"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "!=",
- "left" : {
- "type" : "local",
- "value" : 1
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x00"
- }
- }
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 156,
- "column" : 35,
- "source_fragment" : "= (bool)notify_cp; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_outer_header_creation27"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 158,
- "column" : 47,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid19"]
- },
- {
- "type" : "runtime_data",
- "value" : 4
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 159,
- "column" : 30,
- "source_fragment" : "= teid; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr20"]
- },
- {
- "type" : "runtime_data",
- "value" : 2
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 160,
- "column" : 41,
- "source_fragment" : "= tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"]
- },
- {
- "type" : "runtime_data",
- "value" : 3
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 161,
- "column" : 41,
- "source_fragment" : "= tunnel_dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
- },
- {
- "type" : "runtime_data",
- "value" : 2
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 163,
- "column" : 34,
- "source_fragment" : "= tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
- },
- {
- "type" : "runtime_data",
- "value" : 3
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 164,
- "column" : 34,
- "source_fragment" : "= tunnel_dst_addr; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.process_set_source_sink.int_set_source",
- "id" : 18,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_source28"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_source34"]
},
{
"type" : "expression",
@@ -2598,7 +1826,7 @@
},
{
"name" : "FabricIngress.filtering.deny",
- "id" : 19,
+ "id" : 9,
"runtime_data" : [],
"primitives" : [
{
@@ -2663,13 +1891,13 @@
},
{
"name" : "FabricIngress.filtering.permit",
- "id" : 20,
+ "id" : 10,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.filtering.permit_with_internal_vlan",
- "id" : 21,
+ "id" : 11,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -2700,7 +1928,7 @@
},
{
"name" : "FabricIngress.filtering.set_forwarding_type",
- "id" : 22,
+ "id" : 12,
"runtime_data" : [
{
"name" : "fwd_type",
@@ -2731,7 +1959,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_bridging",
- "id" : 23,
+ "id" : 13,
"runtime_data" : [
{
"name" : "next_id",
@@ -2762,7 +1990,7 @@
},
{
"name" : "FabricIngress.forwarding.pop_mpls_and_next",
- "id" : 24,
+ "id" : 14,
"runtime_data" : [
{
"name" : "next_id",
@@ -2812,7 +2040,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_routing_v4",
- "id" : 25,
+ "id" : 15,
"runtime_data" : [
{
"name" : "next_id",
@@ -2843,13 +2071,13 @@
},
{
"name" : "FabricIngress.forwarding.nop_routing_v4",
- "id" : 26,
+ "id" : 16,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.acl.set_next_id_acl",
- "id" : 27,
+ "id" : 17,
"runtime_data" : [
{
"name" : "next_id",
@@ -2880,7 +2108,7 @@
},
{
"name" : "FabricIngress.acl.punt_to_cpu",
- "id" : 28,
+ "id" : 18,
"runtime_data" : [],
"primitives" : [
{
@@ -2935,7 +2163,7 @@
},
{
"name" : "FabricIngress.acl.set_clone_session_id",
- "id" : 29,
+ "id" : 19,
"runtime_data" : [
{
"name" : "clone_id",
@@ -2966,7 +2194,7 @@
},
{
"name" : "FabricIngress.acl.drop",
- "id" : 30,
+ "id" : 20,
"runtime_data" : [],
"primitives" : [
{
@@ -3017,13 +2245,13 @@
},
{
"name" : "FabricIngress.acl.nop_acl",
- "id" : 31,
+ "id" : 21,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.next.set_vlan",
- "id" : 32,
+ "id" : 22,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -3054,7 +2282,7 @@
},
{
"name" : "FabricIngress.next.output_xconnect",
- "id" : 33,
+ "id" : 23,
"runtime_data" : [
{
"name" : "port_num",
@@ -3085,7 +2313,7 @@
},
{
"name" : "FabricIngress.next.set_next_id_xconnect",
- "id" : 34,
+ "id" : 24,
"runtime_data" : [
{
"name" : "next_id",
@@ -3116,7 +2344,7 @@
},
{
"name" : "FabricIngress.next.output_hashed",
- "id" : 35,
+ "id" : 25,
"runtime_data" : [
{
"name" : "port_num",
@@ -3147,7 +2375,7 @@
},
{
"name" : "FabricIngress.next.routing_hashed",
- "id" : 36,
+ "id" : 26,
"runtime_data" : [
{
"name" : "port_num",
@@ -3224,7 +2452,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_hashed",
- "id" : 37,
+ "id" : 27,
"runtime_data" : [
{
"name" : "port_num",
@@ -3324,7 +2552,7 @@
},
{
"name" : "FabricIngress.next.set_mcast_group_id",
- "id" : 38,
+ "id" : 28,
"runtime_data" : [
{
"name" : "group_id",
@@ -3383,16 +2611,126 @@
]
},
{
- "name" : "act",
- "id" : 39,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.set_source_iface",
+ "id" : 29,
+ "runtime_data" : [
+ {
+ "name" : "src_iface",
+ "bitwidth" : 8
+ },
+ {
+ "name" : "direction",
+ "bitwidth" : 2
+ },
+ {
+ "name" : "skip_spgw",
+ "bitwidth" : 1
+ }
+ ],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_src_iface27"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 0
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 50,
+ "column" : 33,
+ "source_fragment" : "= src_iface; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_direction19"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 1
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 51,
+ "column" : 33,
+ "source_fragment" : "= direction; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw28"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 52,
+ "column" : 33,
+ "source_fragment" : "= (bool)skip_spgw; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
+ "id" : 30,
+ "runtime_data" : [
+ {
+ "name" : "ctr_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "far_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "needs_gtpu_decap",
+ "bitwidth" : 1
+ }
+ ],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit29"]
},
{
"type" : "expression",
@@ -3410,47 +2748,10 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 32,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_0",
- "id" : 40,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 50,
- "source_fragment" : "hdr.gtpu_ipv4"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 65,
- "source_fragment" : "hdr.gtpu_udp"
+ "filename" : "include/control/spgw.p4",
+ "line" : 75,
+ "column" : 31,
+ "source_fragment" : "= true; ..."
}
},
{
@@ -3458,7 +2759,104 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 0
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 76,
+ "column" : 30,
+ "source_fragment" : "= ctr_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_id26"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 1
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 77,
+ "column" : 30,
+ "source_fragment" : "= far_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap33"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 78,
+ "column" : 40,
+ "source_fragment" : "= (bool)needs_gtpu_decap; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
+ "id" : 31,
+ "runtime_data" : [
+ {
+ "name" : "ctr_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "far_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "needs_gtpu_decap",
+ "bitwidth" : 1
+ }
+ ],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit29"]
},
{
"type" : "expression",
@@ -3469,85 +2867,600 @@
"left" : null,
"right" : {
"type" : "bool",
- "value" : false
+ "value" : true
}
}
}
}
- ]
- }
- ]
- },
- {
- "name" : "act_1",
- "id" : 41,
- "runtime_data" : [],
- "primitives" : [
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 75,
+ "column" : 31,
+ "source_fragment" : "= true; ..."
+ }
+ },
{
- "op" : "assign_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "udp"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
},
{
- "type" : "header",
- "value" : "inner_udp"
+ "type" : "runtime_data",
+ "value" : 0
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 39,
- "column" : 16,
- "source_fragment" : "= inner_udp; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 76,
+ "column" : 30,
+ "source_fragment" : "= ctr_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_id26"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 1
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 77,
+ "column" : 30,
+ "source_fragment" : "= far_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap33"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 78,
+ "column" : 40,
+ "source_fragment" : "= (bool)needs_gtpu_decap; ..."
}
}
]
},
{
- "name" : "act_2",
- "id" : 42,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.load_normal_far_attributes",
+ "id" : 32,
+ "runtime_data" : [
+ {
+ "name" : "drop",
+ "bitwidth" : 1
+ },
+ {
+ "name" : "notify_cp",
+ "bitwidth" : 1
+ }
+ ],
"primitives" : [
{
- "op" : "remove_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "udp"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped30"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 0
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 41,
- "column" : 12,
- "source_fragment" : "udp.setInvalid()"
+ "filename" : "include/control/spgw.p4",
+ "line" : 140,
+ "column" : 35,
+ "source_fragment" : "= (bool)drop; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc31"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 1
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 141,
+ "column" : 36,
+ "source_fragment" : "= (bool)notify_cp; ..."
}
}
]
},
{
- "name" : "act_3",
- "id" : 43,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.load_tunnel_far_attributes",
+ "id" : 33,
+ "runtime_data" : [
+ {
+ "name" : "drop",
+ "bitwidth" : 1
+ },
+ {
+ "name" : "notify_cp",
+ "bitwidth" : 1
+ },
+ {
+ "name" : "tunnel_src_port",
+ "bitwidth" : 16
+ },
+ {
+ "name" : "tunnel_src_addr",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "tunnel_dst_addr",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "teid",
+ "bitwidth" : 32
+ }
+ ],
"primitives" : [
{
- "op" : "assign_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "gtpu_ipv4"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped30"]
},
{
- "type" : "header",
- "value" : "ipv4"
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 0
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 35,
- "column" : 18,
- "source_fragment" : "= ipv4; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 150,
+ "column" : 35,
+ "source_fragment" : "= (bool)drop; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc31"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 1
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 151,
+ "column" : 36,
+ "source_fragment" : "= (bool)notify_cp; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap32"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 153,
+ "column" : 40,
+ "source_fragment" : "= true; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_teid21"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 5
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 154,
+ "column" : 28,
+ "source_fragment" : "= teid; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port22"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 2
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 155,
+ "column" : 39,
+ "source_fragment" : "= tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr23"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 3
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 156,
+ "column" : 39,
+ "source_fragment" : "= tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr24"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 4
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 157,
+ "column" : 39,
+ "source_fragment" : "= tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 3
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 159,
+ "column" : 32,
+ "source_fragment" : "= tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 4
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 160,
+ "column" : 32,
+ "source_fragment" : "= tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 2
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 161,
+ "column" : 27,
+ "source_fragment" : "= tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0868"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 162,
+ "column" : 27,
+ "source_fragment" : "= 2152; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_inner_tcp",
+ "id" : 34,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 128,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 189,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 190,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 191,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 192,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 193,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
}
},
{
@@ -3563,10 +3476,55 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 36,
- "column" : 13,
- "source_fragment" : "= inner_ipv4; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 195,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 201,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
}
},
{
@@ -3574,25 +3532,648 @@
"parameters" : [
{
"type" : "header",
- "value" : "gtpu_udp"
+ "value" : "tcp"
},
{
"type" : "header",
+ "value" : "inner_tcp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 202,
+ "column" : 8,
+ "source_fragment" : "hdr.tcp = hdr.inner_tcp"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_tcp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 203,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_tcp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_inner_udp",
+ "id" : 35,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 128,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 189,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 190,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 191,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 192,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 193,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 195,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 207,
+ "column" : 8,
+ "source_fragment" : "hdr.udp = hdr.inner_udp"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 208,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_udp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_inner_icmp",
+ "id" : 36,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 128,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 189,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 190,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 191,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 192,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 193,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 195,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "udp"
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 37,
- "column" : 17,
- "source_fragment" : "= udp; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 212,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "icmp"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_icmp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 213,
+ "column" : 8,
+ "source_fragment" : "hdr.icmp = hdr.inner_icmp"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_icmp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 214,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_icmp.setInvalid()"
}
}
]
},
{
- "name" : "act_4",
- "id" : 44,
+ "name" : "FabricIngress.spgw_ingress.decap_inner_unknown",
+ "id" : 37,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 128,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 189,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 190,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 191,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 192,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 193,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 195,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 218,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act",
+ "id" : 38,
"runtime_data" : [],
"primitives" : [
{
@@ -3671,8 +4252,191 @@
]
},
{
+ "name" : "act_0",
+ "id" : 39,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "spgw_ingress_hasReturned"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : false
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name" : "act_1",
+ "id" : 40,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "spgw_ingress_hasReturned"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 251,
+ "column" : 46,
+ "source_fragment" : "return"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_2",
+ "id" : 41,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "count",
+ "parameters" : [
+ {
+ "type" : "counter_array",
+ "value" : "FabricIngress.spgw_ingress.pdr_counter"
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 265,
+ "column" : 8,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_3",
+ "id" : 42,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._skip_forwarding6"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 282,
+ "column" : 38,
+ "source_fragment" : "= true; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._skip_next7"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 283,
+ "column" : 32,
+ "source_fragment" : "= true; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_4",
+ "id" : 43,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len20"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 291,
+ "column" : 32,
+ "source_fragment" : "= hdr.ipv4.total_len; ..."
+ }
+ }
+ ]
+ },
+ {
"name" : "act_5",
- "id" : 45,
+ "id" : 44,
"runtime_data" : [],
"primitives" : [
{
@@ -3736,7 +4500,7 @@
},
{
"name" : "act_6",
- "id" : 46,
+ "id" : 45,
"runtime_data" : [],
"primitives" : [
{
@@ -3762,7 +4526,7 @@
},
{
"name" : "act_7",
- "id" : 47,
+ "id" : 46,
"runtime_data" : [],
"primitives" : [
{
@@ -3770,439 +4534,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_8",
- "id" : 48,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_9",
- "id" : 49,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "mark_to_drop",
- "parameters" : [
- {
- "type" : "header",
- "value" : "standard_metadata"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 187,
- "column" : 16,
- "source_fragment" : "mark_to_drop(standard_metadata)"
- }
- }
- ]
- },
- {
- "name" : "act_10",
- "id" : 50,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 153,
- "column" : 36,
- "source_fragment" : "2w1; ..."
- }
- }
- ]
- },
- {
- "name" : "act_11",
- "id" : 51,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_12",
- "id" : 52,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_13",
- "id" : 53,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- {
- "type" : "hexstr",
- "value" : "0x02"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 154,
- "column" : 38,
- "source_fragment" : "2w2; ..."
- }
- }
- ]
- },
- {
- "name" : "act_14",
- "id" : 54,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 152,
- "column" : 37,
- "source_fragment" : "2w0; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 196,
- "column" : 12,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_15",
- "id" : 55,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_16",
- "id" : 56,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 206,
- "column" : 12,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_17",
- "id" : 57,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "count",
- "parameters" : [
- {
- "type" : "counter_array",
- "value" : "FabricIngress.spgw_ingress.pdr_counter"
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 213,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
- }
- }
- ]
- },
- {
- "name" : "act_18",
- "id" : 58,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._skip_forwarding6"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 223,
- "column" : 40,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._skip_next7"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 224,
- "column" : 34,
- "source_fragment" : "= true; ..."
- }
- }
- ]
- },
- {
- "name" : "act_19",
- "id" : 59,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len18"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "total_len"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 232,
- "column" : 34,
- "source_fragment" : "= ipv4.total_len; ..."
- }
- }
- ]
- },
- {
- "name" : "act_20",
- "id" : 60,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
},
{
"type" : "expression",
@@ -4238,7 +4570,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
}
],
"source_info" : {
@@ -4251,8 +4583,8 @@
]
},
{
- "name" : "act_21",
- "id" : 61,
+ "name" : "act_8",
+ "id" : 47,
"runtime_data" : [],
"primitives" : [
{
@@ -4260,7 +4592,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
},
{
"type" : "expression",
@@ -4296,7 +4628,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
}
],
"source_info" : {
@@ -4310,629 +4642,37 @@
},
{
"name" : "nop",
- "id" : 62,
+ "id" : 48,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "nop",
- "id" : 63,
+ "id" : 49,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "nop",
- "id" : 64,
+ "id" : 50,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
- "id" : 65,
+ "id" : 51,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "NoAction",
- "id" : 66,
+ "id" : 52,
"runtime_data" : [],
"primitives" : []
},
{
- "name" : "FabricEgress.spgw_egress.gtpu_encap",
- "id" : 67,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 251,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "version"]
- },
- {
- "type" : "hexstr",
- "value" : "0x04"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 252,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.version = 4"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ihl"]
- },
- {
- "type" : "hexstr",
- "value" : "0x05"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 135,
- "column" : 28,
- "source_fragment" : "5; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dscp"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 254,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.dscp = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ecn"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 255,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.ecn = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "total_len"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["ipv4", "total_len"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0024"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 256,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.total_len = ipv4.total_len ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "identification"]
- },
- {
- "type" : "hexstr",
- "value" : "0x1513"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 258,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.identification = 0x1513"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "flags"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 259,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.flags = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "frag_offset"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 260,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.frag_offset = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ttl"]
- },
- {
- "type" : "hexstr",
- "value" : "0x40"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 148,
- "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" : 132,
- "column" : 25,
- "source_fragment" : "17; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "src_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr20"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 263,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.src_addr = fabric_meta.spgw.tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dst_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 264,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.dst_addr = fabric_meta.spgw.tunnel_dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "hdr_checksum"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 265,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.hdr_checksum = 0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 267,
- "column" : 8,
- "source_fragment" : "gtpu_udp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "sport"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0868"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 268,
- "column" : 8,
- "source_fragment" : "gtpu_udp.sport = 2152"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "dport"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0868"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 269,
- "column" : 8,
- "source_fragment" : "gtpu_udp.dport = 2152"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "len"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len18"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0010"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 270,
- "column" : 8,
- "source_fragment" : "gtpu_udp.len = fabric_meta.spgw.ipv4_len ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "checksum"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 272,
- "column" : 8,
- "source_fragment" : "gtpu_udp.checksum = 0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 275,
- "column" : 8,
- "source_fragment" : "gtpu.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "version"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 276,
- "column" : 8,
- "source_fragment" : "gtpu.version = 0x01"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "pt"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 277,
- "column" : 8,
- "source_fragment" : "gtpu.pt = 0x01"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "spare"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 278,
- "column" : 8,
- "source_fragment" : "gtpu.spare = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "ex_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 279,
- "column" : 8,
- "source_fragment" : "gtpu.ex_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "seq_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 280,
- "column" : 8,
- "source_fragment" : "gtpu.seq_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "npdu_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 281,
- "column" : 8,
- "source_fragment" : "gtpu.npdu_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "msgtype"]
- },
- {
- "type" : "hexstr",
- "value" : "0xff"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 282,
- "column" : 8,
- "source_fragment" : "gtpu.msgtype = 0xff"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "msglen"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len18"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 283,
- "column" : 8,
- "source_fragment" : "gtpu.msglen = fabric_meta.spgw.ipv4_len; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "teid"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid19"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 284,
- "column" : 8,
- "source_fragment" : "gtpu.teid = fabric_meta.spgw.teid; ..."
- }
- }
- ]
- },
- {
"name" : "FabricEgress.process_int_main.process_int_source.int_source_dscp",
- "id" : 68,
+ "id" : 53,
"runtime_data" : [
{
"name" : "max_hop",
@@ -5000,7 +4740,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 163,
+ "line" : 165,
"column" : 36,
"source_fragment" : "4; ..."
}
@@ -5418,7 +5158,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 159,
+ "line" : 161,
"column" : 24,
"source_fragment" : "0x1; ..."
}
@@ -5427,7 +5167,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.init_metadata",
- "id" : 69,
+ "id" : 54,
"runtime_data" : [
{
"name" : "switch_id",
@@ -5440,7 +5180,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_transit29"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_transit35"]
},
{
"type" : "expression",
@@ -5469,7 +5209,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
},
{
"type" : "runtime_data",
@@ -5487,13 +5227,13 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i0",
- "id" : 70,
+ "id" : 55,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i1",
- "id" : 71,
+ "id" : 56,
"runtime_data" : [],
"primitives" : [
{
@@ -5567,7 +5307,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -5581,7 +5321,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -5609,7 +5349,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -5623,7 +5363,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -5650,7 +5390,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i2",
- "id" : 72,
+ "id" : 57,
"runtime_data" : [],
"primitives" : [
{
@@ -5692,7 +5432,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -5706,7 +5446,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -5734,7 +5474,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -5748,7 +5488,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -5775,7 +5515,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i3",
- "id" : 73,
+ "id" : 58,
"runtime_data" : [],
"primitives" : [
{
@@ -5883,7 +5623,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -5897,7 +5637,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -5925,7 +5665,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -5939,7 +5679,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -5966,7 +5706,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i4",
- "id" : 74,
+ "id" : 59,
"runtime_data" : [],
"primitives" : [
{
@@ -6053,7 +5793,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -6067,7 +5807,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -6095,7 +5835,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -6109,7 +5849,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -6136,7 +5876,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i5",
- "id" : 75,
+ "id" : 60,
"runtime_data" : [],
"primitives" : [
{
@@ -6289,7 +6029,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -6303,7 +6043,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -6331,7 +6071,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -6345,7 +6085,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -6372,7 +6112,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i6",
- "id" : 76,
+ "id" : 61,
"runtime_data" : [],
"primitives" : [
{
@@ -6493,7 +6233,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -6507,7 +6247,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -6535,7 +6275,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -6549,7 +6289,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -6576,7 +6316,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i7",
- "id" : 77,
+ "id" : 62,
"runtime_data" : [],
"primitives" : [
{
@@ -6763,7 +6503,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -6777,7 +6517,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -6805,7 +6545,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -6819,7 +6559,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -6846,7 +6586,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i8",
- "id" : 78,
+ "id" : 63,
"runtime_data" : [],
"primitives" : [
{
@@ -6873,7 +6613,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -6888,7 +6628,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -6902,7 +6642,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -6930,7 +6670,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -6944,7 +6684,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -6971,7 +6711,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i9",
- "id" : 79,
+ "id" : 64,
"runtime_data" : [],
"primitives" : [
{
@@ -7064,7 +6804,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -7079,7 +6819,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -7093,7 +6833,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -7121,7 +6861,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -7135,7 +6875,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -7162,7 +6902,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i10",
- "id" : 80,
+ "id" : 65,
"runtime_data" : [],
"primitives" : [
{
@@ -7223,7 +6963,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -7238,7 +6978,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -7252,7 +6992,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -7280,7 +7020,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -7294,7 +7034,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -7321,7 +7061,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i11",
- "id" : 81,
+ "id" : 66,
"runtime_data" : [],
"primitives" : [
{
@@ -7448,7 +7188,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -7463,7 +7203,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -7477,7 +7217,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -7505,7 +7245,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -7519,7 +7259,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -7546,7 +7286,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i12",
- "id" : 82,
+ "id" : 67,
"runtime_data" : [],
"primitives" : [
{
@@ -7652,7 +7392,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -7667,7 +7407,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -7681,7 +7421,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -7709,7 +7449,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -7723,7 +7463,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -7750,7 +7490,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i13",
- "id" : 83,
+ "id" : 68,
"runtime_data" : [],
"primitives" : [
{
@@ -7922,7 +7662,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -7937,7 +7677,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -7951,7 +7691,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -7979,7 +7719,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -7993,7 +7733,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -8020,7 +7760,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i14",
- "id" : 84,
+ "id" : 69,
"runtime_data" : [],
"primitives" : [
{
@@ -8160,7 +7900,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -8175,7 +7915,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -8189,7 +7929,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -8217,7 +7957,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -8231,7 +7971,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -8258,7 +7998,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i15",
- "id" : 85,
+ "id" : 70,
"runtime_data" : [],
"primitives" : [
{
@@ -8464,7 +8204,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id31"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_switch_id37"]
}
],
"source_info" : {
@@ -8479,7 +8219,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -8493,7 +8233,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -8521,7 +8261,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -8535,7 +8275,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -8562,13 +8302,13 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0",
- "id" : 86,
+ "id" : 71,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1",
- "id" : 87,
+ "id" : 72,
"runtime_data" : [],
"primitives" : [
{
@@ -8610,7 +8350,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -8624,7 +8364,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -8652,7 +8392,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -8666,7 +8406,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -8693,7 +8433,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2",
- "id" : 88,
+ "id" : 73,
"runtime_data" : [],
"primitives" : [
{
@@ -8754,7 +8494,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -8768,7 +8508,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -8796,7 +8536,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -8810,7 +8550,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -8837,7 +8577,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3",
- "id" : 89,
+ "id" : 74,
"runtime_data" : [],
"primitives" : [
{
@@ -8932,7 +8672,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -8946,7 +8686,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -8974,7 +8714,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -8988,7 +8728,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -9015,7 +8755,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4",
- "id" : 90,
+ "id" : 75,
"runtime_data" : [],
"primitives" : [
{
@@ -9080,7 +8820,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -9094,7 +8834,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -9122,7 +8862,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -9136,7 +8876,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -9163,7 +8903,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5",
- "id" : 91,
+ "id" : 76,
"runtime_data" : [],
"primitives" : [
{
@@ -9262,7 +9002,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -9276,7 +9016,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -9304,7 +9044,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -9318,7 +9058,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -9345,7 +9085,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6",
- "id" : 92,
+ "id" : 77,
"runtime_data" : [],
"primitives" : [
{
@@ -9463,7 +9203,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -9477,7 +9217,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -9505,7 +9245,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -9519,7 +9259,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -9546,7 +9286,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7",
- "id" : 93,
+ "id" : 78,
"runtime_data" : [],
"primitives" : [
{
@@ -9698,7 +9438,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -9712,7 +9452,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -9740,7 +9480,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -9754,7 +9494,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -9781,7 +9521,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8",
- "id" : 94,
+ "id" : 79,
"runtime_data" : [],
"primitives" : [
{
@@ -9823,7 +9563,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -9837,7 +9577,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -9865,7 +9605,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -9879,7 +9619,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -9906,7 +9646,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9",
- "id" : 95,
+ "id" : 80,
"runtime_data" : [],
"primitives" : [
{
@@ -9982,7 +9722,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -9996,7 +9736,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -10024,7 +9764,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -10038,7 +9778,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -10065,7 +9805,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10",
- "id" : 96,
+ "id" : 81,
"runtime_data" : [],
"primitives" : [
{
@@ -10160,7 +9900,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -10174,7 +9914,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -10202,7 +9942,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -10216,7 +9956,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -10243,7 +9983,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11",
- "id" : 97,
+ "id" : 82,
"runtime_data" : [],
"primitives" : [
{
@@ -10372,7 +10112,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -10386,7 +10126,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -10414,7 +10154,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -10428,7 +10168,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -10455,7 +10195,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12",
- "id" : 98,
+ "id" : 83,
"runtime_data" : [],
"primitives" : [
{
@@ -10554,7 +10294,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -10568,7 +10308,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -10596,7 +10336,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -10610,7 +10350,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -10637,7 +10377,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13",
- "id" : 99,
+ "id" : 84,
"runtime_data" : [],
"primitives" : [
{
@@ -10770,7 +10510,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -10784,7 +10524,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -10812,7 +10552,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -10826,7 +10566,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -10853,7 +10593,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14",
- "id" : 100,
+ "id" : 85,
"runtime_data" : [],
"primitives" : [
{
@@ -11005,7 +10745,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -11019,7 +10759,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -11047,7 +10787,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -11061,7 +10801,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -11088,7 +10828,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15",
- "id" : 101,
+ "id" : 86,
"runtime_data" : [],
"primitives" : [
{
@@ -11274,7 +11014,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
{
"type" : "expression",
@@ -11288,7 +11028,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
},
"right" : {
"type" : "hexstr",
@@ -11316,7 +11056,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
{
"type" : "expression",
@@ -11330,7 +11070,7 @@
"op" : "+",
"left" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
},
"right" : {
"type" : "hexstr",
@@ -11357,7 +11097,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_mpls_if_present",
- "id" : 102,
+ "id" : 87,
"runtime_data" : [],
"primitives" : [
{
@@ -11398,7 +11138,7 @@
},
{
"name" : "FabricEgress.egress_next.set_mpls",
- "id" : 103,
+ "id" : 88,
"runtime_data" : [],
"primitives" : [
{
@@ -11506,7 +11246,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 118,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -11515,7 +11255,7 @@
},
{
"name" : "FabricEgress.egress_next.push_vlan",
- "id" : 104,
+ "id" : 89,
"runtime_data" : [],
"primitives" : [
{
@@ -11585,7 +11325,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 117,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -11613,7 +11353,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_vlan",
- "id" : 105,
+ "id" : 90,
"runtime_data" : [],
"primitives" : [
{
@@ -11634,8 +11374,600 @@
]
},
{
- "name" : "act_22",
- "id" : 106,
+ "name" : "FabricEgress.spgw_egress.gtpu_encap",
+ "id" : 91,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 308,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "version"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x04"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 309,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.version = 4"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ihl"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x05"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 143,
+ "column" : 28,
+ "source_fragment" : "5; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "dscp"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 311,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.dscp = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ecn"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 312,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.ecn = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "total_len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0024"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 313,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.total_len = hdr.ipv4.total_len ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "identification"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x1513"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 315,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.identification = 0x1513"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "flags"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 316,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.flags = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "frag_offset"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 317,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.frag_offset = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ttl"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x40"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 156,
+ "column" : 32,
+ "source_fragment" : "64; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "protocol"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x11"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 140,
+ "column" : 25,
+ "source_fragment" : "17; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "src_addr"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr23"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 320,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.src_addr = fabric_md.spgw.tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "dst_addr"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr24"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 321,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.dst_addr = fabric_md.spgw.tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "hdr_checksum"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 322,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.hdr_checksum = 0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 324,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "sport"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port22"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 325,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.sport = fabric_md.spgw.tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "dport"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0868"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 326,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.dport = 2152"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len20"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0010"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 327,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.len = fabric_md.spgw.ipv4_len ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "checksum"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 329,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.checksum = 0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "outer_gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 332,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "version"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 333,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.version = 0x01"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "pt"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 334,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.pt = 0x01"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "spare"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 335,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.spare = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "ex_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 336,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.ex_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "seq_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 337,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.seq_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "npdu_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 338,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.npdu_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "msgtype"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 339,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.msgtype = 0xff"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "msglen"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len20"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 340,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.msglen = fabric_md.spgw.ipv4_len; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "teid"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_teid21"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 341,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.teid = fabric_md.spgw.teid; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_9",
+ "id" : 92,
"runtime_data" : [],
"primitives" : [
{
@@ -11651,8 +11983,8 @@
]
},
{
- "name" : "act_23",
- "id" : 107,
+ "name" : "act_10",
+ "id" : 93,
"runtime_data" : [],
"primitives" : [
{
@@ -11702,8 +12034,8 @@
]
},
{
- "name" : "act_24",
- "id" : 108,
+ "name" : "act_11",
+ "id" : 94,
"runtime_data" : [],
"primitives" : [
{
@@ -11724,8 +12056,8 @@
]
},
{
- "name" : "act_25",
- "id" : 109,
+ "name" : "act_12",
+ "id" : 95,
"runtime_data" : [],
"primitives" : [
{
@@ -11754,8 +12086,8 @@
]
},
{
- "name" : "act_26",
- "id" : 110,
+ "name" : "act_13",
+ "id" : 96,
"runtime_data" : [],
"primitives" : [
{
@@ -11784,8 +12116,8 @@
]
},
{
- "name" : "act_27",
- "id" : 111,
+ "name" : "act_14",
+ "id" : 97,
"runtime_data" : [],
"primitives" : [
{
@@ -11806,8 +12138,8 @@
]
},
{
- "name" : "act_28",
- "id" : 112,
+ "name" : "act_15",
+ "id" : 98,
"runtime_data" : [],
"primitives" : [
{
@@ -11855,8 +12187,8 @@
]
},
{
- "name" : "act_29",
- "id" : 113,
+ "name" : "act_16",
+ "id" : 99,
"runtime_data" : [],
"primitives" : [
{
@@ -11877,8 +12209,8 @@
]
},
{
- "name" : "act_30",
- "id" : 114,
+ "name" : "act_17",
+ "id" : 100,
"runtime_data" : [],
"primitives" : [
{
@@ -11926,8 +12258,74 @@
]
},
{
- "name" : "act_31",
- "id" : 115,
+ "name" : "act_18",
+ "id" : 101,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "spgw_egress_hasReturned"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
+ "column" : 46,
+ "source_fragment" : "return"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_19",
+ "id" : 102,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "spgw_egress_hasReturned"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : false
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name" : "act_20",
+ "id" : 103,
"runtime_data" : [],
"primitives" : [
{
@@ -11939,21 +12337,21 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 288,
+ "filename" : "include/control/spgw.p4",
+ "line" : 346,
"column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
}
}
]
},
{
- "name" : "act_32",
- "id" : 116,
+ "name" : "act_21",
+ "id" : 104,
"runtime_data" : [],
"primitives" : [
{
@@ -11982,8 +12380,8 @@
]
},
{
- "name" : "act_33",
- "id" : 117,
+ "name" : "act_22",
+ "id" : 105,
"runtime_data" : [],
"primitives" : [
{
@@ -12018,8 +12416,8 @@
]
},
{
- "name" : "act_34",
- "id" : 118,
+ "name" : "act_23",
+ "id" : 106,
"runtime_data" : [],
"primitives" : [
{
@@ -12045,7 +12443,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
}
}
},
@@ -12067,8 +12465,8 @@
]
},
{
- "name" : "act_35",
- "id" : 119,
+ "name" : "act_24",
+ "id" : 107,
"runtime_data" : [],
"primitives" : [
{
@@ -12116,8 +12514,8 @@
]
},
{
- "name" : "act_36",
- "id" : 120,
+ "name" : "act_25",
+ "id" : 108,
"runtime_data" : [],
"primitives" : [
{
@@ -12143,7 +12541,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes33"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_bytes39"]
}
}
},
@@ -12165,8 +12563,8 @@
]
},
{
- "name" : "act_37",
- "id" : 121,
+ "name" : "act_26",
+ "id" : 109,
"runtime_data" : [],
"primitives" : [
{
@@ -12192,7 +12590,7 @@
},
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_new_words32"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_new_words38"]
}
}
},
@@ -12224,157 +12622,12 @@
"column" : 8,
"source_fragment" : "FabricIngress"
},
- "init_table" : "tbl_act",
+ "init_table" : "node_2",
"tables" : [
{
"name" : "tbl_act",
"id" : 0,
"source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 50,
- "source_fragment" : "hdr.gtpu_ipv4, hdr.gtpu_udp"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [40],
- "actions" : ["act_0"],
- "base_default_next" : "node_3",
- "next_tables" : {
- "act_0" : "node_3"
- },
- "default_entry" : {
- "action_id" : 40,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_0",
- "id" : 1,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 32,
- "source_fragment" : "return"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [39],
- "actions" : ["act"],
- "base_default_next" : "node_5",
- "next_tables" : {
- "act" : "node_5"
- },
- "default_entry" : {
- "action_id" : 39,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_1",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 35,
- "column" : 18,
- "source_fragment" : "= ipv4; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [43],
- "actions" : ["act_3"],
- "base_default_next" : "node_7",
- "next_tables" : {
- "act_3" : "node_7"
- },
- "default_entry" : {
- "action_id" : 43,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_2",
- "id" : 3,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 39,
- "column" : 16,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [41],
- "actions" : ["act_1"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_1" : "node_10"
- },
- "default_entry" : {
- "action_id" : 41,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_3",
- "id" : 4,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 41,
- "column" : 12,
- "source_fragment" : "udp.setInvalid()"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [42],
- "actions" : ["act_2"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_2" : "node_10"
- },
- "default_entry" : {
- "action_id" : 42,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_4",
- "id" : 5,
- "source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 25,
"column" : 42,
@@ -12387,14 +12640,450 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [44],
- "actions" : ["act_4"],
- "base_default_next" : "node_12",
+ "action_ids" : [38],
+ "actions" : ["act"],
+ "base_default_next" : "tbl_act_0",
"next_tables" : {
- "act_4" : "node_12"
+ "act" : "tbl_act_0"
},
"default_entry" : {
- "action_id" : 44,
+ "action_id" : 38,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_0",
+ "id" : 1,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [39],
+ "actions" : ["act_0"],
+ "base_default_next" : "FabricIngress.spgw_ingress.interface_lookup",
+ "next_tables" : {
+ "act_0" : "FabricIngress.spgw_ingress.interface_lookup"
+ },
+ "default_entry" : {
+ "action_id" : 39,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.interface_lookup",
+ "id" : 2,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 55,
+ "column" : 10,
+ "source_fragment" : "interface_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "lpm",
+ "name" : "ipv4_dst_addr",
+ "target" : ["ipv4", "dst_addr"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "gtpu_is_valid",
+ "target" : ["gtpu", "$valid$"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "lpm",
+ "type" : "simple",
+ "max_size" : 128,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [29],
+ "actions" : ["FabricIngress.spgw_ingress.set_source_iface"],
+ "base_default_next" : "node_6",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.set_source_iface" : "node_6"
+ },
+ "default_entry" : {
+ "action_id" : 29,
+ "action_const" : true,
+ "action_data" : ["0x0", "0x0", "0x1"],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_1",
+ "id" : 3,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 251,
+ "column" : 46,
+ "source_fragment" : "return"
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [40],
+ "actions" : ["act_1"],
+ "base_default_next" : "node_8",
+ "next_tables" : {
+ "act_1" : "node_8"
+ },
+ "default_entry" : {
+ "action_id" : 40,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
+ "id" : 4,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 93,
+ "column" : 10,
+ "source_fragment" : "uplink_pdr_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "tunnel_ipv4_dst",
+ "target" : ["ipv4", "dst_addr"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "teid",
+ "target" : ["gtpu", "teid"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "ue_addr",
+ "target" : ["inner_ipv4", "src_addr"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [31],
+ "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes"],
+ "base_default_next" : "tbl_act_2",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.set_pdr_attributes" : "tbl_act_2"
+ },
+ "default_entry" : {
+ "action_id" : 31,
+ "action_const" : true,
+ "action_data" : ["0x0", "0x0", "0x0"],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.downlink_pdr_lookup",
+ "id" : 5,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 82,
+ "column" : 10,
+ "source_fragment" : "downlink_pdr_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "ue_addr",
+ "target" : ["ipv4", "dst_addr"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [30],
+ "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes"],
+ "base_default_next" : "tbl_act_2",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.set_pdr_attributes" : "tbl_act_2"
+ },
+ "default_entry" : {
+ "action_id" : 30,
+ "action_const" : true,
+ "action_data" : ["0x0", "0x0", "0x0"],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_2",
+ "id" : 6,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 265,
+ "column" : 8,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [41],
+ "actions" : ["act_2"],
+ "base_default_next" : "node_13",
+ "next_tables" : {
+ "act_2" : "node_13"
+ },
+ "default_entry" : {
+ "action_id" : 41,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_gtpu",
+ "id" : 7,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 221,
+ "column" : 10,
+ "source_fragment" : "decap_gtpu"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "hdr.inner_tcp.$valid$",
+ "target" : ["inner_tcp", "$valid$"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "hdr.inner_udp.$valid$",
+ "target" : ["inner_udp", "$valid$"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "hdr.inner_icmp.$valid$",
+ "target" : ["inner_icmp", "$valid$"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [34, 35, 36, 37],
+ "actions" : ["FabricIngress.spgw_ingress.decap_inner_tcp", "FabricIngress.spgw_ingress.decap_inner_udp", "FabricIngress.spgw_ingress.decap_inner_icmp", "FabricIngress.spgw_ingress.decap_inner_unknown"],
+ "base_default_next" : "FabricIngress.spgw_ingress.far_lookup",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.decap_inner_tcp" : "FabricIngress.spgw_ingress.far_lookup",
+ "FabricIngress.spgw_ingress.decap_inner_udp" : "FabricIngress.spgw_ingress.far_lookup",
+ "FabricIngress.spgw_ingress.decap_inner_icmp" : "FabricIngress.spgw_ingress.far_lookup",
+ "FabricIngress.spgw_ingress.decap_inner_unknown" : "FabricIngress.spgw_ingress.far_lookup"
+ },
+ "default_entry" : {
+ "action_id" : 37,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ },
+ "entries" : [
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 235,
+ "column" : 12,
+ "source_fragment" : "(true, false, false) : decap_inner_tcp()"
+ },
+ "match_key" : [
+ {
+ "match_type" : "exact",
+ "key" : "0x01"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ }
+ ],
+ "action_entry" : {
+ "action_id" : 34,
+ "action_data" : []
+ },
+ "priority" : 1
+ },
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 236,
+ "column" : 12,
+ "source_fragment" : "(false, true, false) : decap_inner_udp()"
+ },
+ "match_key" : [
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x01"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ }
+ ],
+ "action_entry" : {
+ "action_id" : 35,
+ "action_data" : []
+ },
+ "priority" : 2
+ },
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 237,
+ "column" : 12,
+ "source_fragment" : "(false, false, true) : decap_inner_icmp()"
+ },
+ "match_key" : [
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x01"
+ }
+ ],
+ "action_entry" : {
+ "action_id" : 36,
+ "action_data" : []
+ },
+ "priority" : 3
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.far_lookup",
+ "id" : 8,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 165,
+ "column" : 10,
+ "source_fragment" : "far_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "far_id",
+ "target" : ["scalars", "fabric_metadata_t._spgw_far_id26"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 2048,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [32, 33],
+ "actions" : ["FabricIngress.spgw_ingress.load_normal_far_attributes", "FabricIngress.spgw_ingress.load_tunnel_far_attributes"],
+ "base_default_next" : "node_16",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.load_normal_far_attributes" : "node_16",
+ "FabricIngress.spgw_ingress.load_tunnel_far_attributes" : "node_16"
+ },
+ "default_entry" : {
+ "action_id" : 32,
+ "action_const" : true,
+ "action_data" : ["0x1", "0x1"],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_3",
+ "id" : 9,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 282,
+ "column" : 38,
+ "source_fragment" : "= true; ..."
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [42],
+ "actions" : ["act_3"],
+ "base_default_next" : "tbl_act_4",
+ "next_tables" : {
+ "act_3" : "tbl_act_4"
+ },
+ "default_entry" : {
+ "action_id" : 42,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_4",
+ "id" : 10,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 291,
+ "column" : 32,
+ "source_fragment" : "="
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [43],
+ "actions" : ["act_4"],
+ "base_default_next" : "node_19",
+ "next_tables" : {
+ "act_4" : "node_19"
+ },
+ "default_entry" : {
+ "action_id" : 43,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -12402,7 +13091,7 @@
},
{
"name" : "tbl_act_5",
- "id" : 6,
+ "id" : 11,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 111,
@@ -12416,14 +13105,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [45],
+ "action_ids" : [44],
"actions" : ["act_5"],
- "base_default_next" : "node_14",
+ "base_default_next" : "node_21",
"next_tables" : {
- "act_5" : "node_14"
+ "act_5" : "node_21"
},
"default_entry" : {
- "action_id" : 45,
+ "action_id" : 44,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -12431,7 +13120,7 @@
},
{
"name" : "tbl_act_6",
- "id" : 7,
+ "id" : 12,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 127,
@@ -12445,14 +13134,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [46],
+ "action_ids" : [45],
"actions" : ["act_6"],
"base_default_next" : "FabricIngress.filtering.ingress_port_vlan",
"next_tables" : {
"act_6" : "FabricIngress.filtering.ingress_port_vlan"
},
"default_entry" : {
- "action_id" : 46,
+ "action_id" : 45,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -12460,7 +13149,7 @@
},
{
"name" : "FabricIngress.filtering.ingress_port_vlan",
- "id" : 8,
+ "id" : 13,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 53,
@@ -12493,7 +13182,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [19, 20, 21],
+ "action_ids" : [9, 10, 11],
"actions" : ["FabricIngress.filtering.deny", "FabricIngress.filtering.permit", "FabricIngress.filtering.permit_with_internal_vlan"],
"base_default_next" : "FabricIngress.filtering.fwd_classifier",
"next_tables" : {
@@ -12502,7 +13191,7 @@
"FabricIngress.filtering.permit_with_internal_vlan" : "FabricIngress.filtering.fwd_classifier"
},
"default_entry" : {
- "action_id" : 19,
+ "action_id" : 9,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -12510,7 +13199,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier",
- "id" : 9,
+ "id" : 14,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 92,
@@ -12549,673 +13238,22 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [22],
+ "action_ids" : [12],
"actions" : ["FabricIngress.filtering.set_forwarding_type"],
- "base_default_next" : "tbl_act_7",
+ "base_default_next" : "node_25",
"next_tables" : {
- "FabricIngress.filtering.set_forwarding_type" : "tbl_act_7"
+ "FabricIngress.filtering.set_forwarding_type" : "node_25"
},
"default_entry" : {
- "action_id" : 22,
+ "action_id" : 12,
"action_const" : true,
"action_data" : ["0x0"],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_7",
- "id" : 10,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [55],
- "actions" : ["act_15"],
- "base_default_next" : "node_19",
- "next_tables" : {
- "act_15" : "node_19"
- },
- "default_entry" : {
- "action_id" : 55,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.uplink_filter_table",
- "id" : 11,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 84,
- "column" : 10,
- "source_fragment" : "uplink_filter_table"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "gtp_ipv4_dst",
- "target" : ["gtpu_ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [1],
- "actions" : ["nop"],
- "base_default_next" : null,
- "next_tables" : {
- "__HIT__" : "tbl_act_8",
- "__MISS__" : "tbl_act_9"
- },
- "default_entry" : {
- "action_id" : 1,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_8",
- "id" : 12,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [47],
- "actions" : ["act_7"],
- "base_default_next" : "node_23",
- "next_tables" : {
- "act_7" : "node_23"
- },
- "default_entry" : {
- "action_id" : 47,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_9",
- "id" : 13,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [48],
- "actions" : ["act_8"],
- "base_default_next" : "node_23",
- "next_tables" : {
- "act_8" : "node_23"
- },
- "default_entry" : {
- "action_id" : 48,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_10",
- "id" : 14,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 187,
- "column" : 16,
- "source_fragment" : "mark_to_drop(standard_metadata)"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [49],
- "actions" : ["act_9"],
- "base_default_next" : "tbl_act_11",
- "next_tables" : {
- "act_9" : "tbl_act_11"
- },
- "default_entry" : {
- "action_id" : 49,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_11",
- "id" : 15,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 189,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [50],
- "actions" : ["act_10"],
- "base_default_next" : "tbl_spgw_ingress_gtpu_decap",
- "next_tables" : {
- "act_10" : "tbl_spgw_ingress_gtpu_decap"
- },
- "default_entry" : {
- "action_id" : 50,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_spgw_ingress_gtpu_decap",
- "id" : 16,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 190,
- "column" : 12,
- "source_fragment" : "gtpu_decap()"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [12],
- "actions" : ["FabricIngress.spgw_ingress.gtpu_decap"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "FabricIngress.spgw_ingress.gtpu_decap" : "node_33"
- },
- "default_entry" : {
- "action_id" : 12,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.downlink_filter_table",
- "id" : 17,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 73,
- "column" : 10,
- "source_fragment" : "downlink_filter_table"
- },
- "key" : [
- {
- "match_type" : "lpm",
- "name" : "ipv4_prefix",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "lpm",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [0],
- "actions" : ["nop"],
- "base_default_next" : null,
- "next_tables" : {
- "__HIT__" : "tbl_act_12",
- "__MISS__" : "tbl_act_13"
- },
- "default_entry" : {
- "action_id" : 0,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_12",
- "id" : 18,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [51],
- "actions" : ["act_11"],
- "base_default_next" : "node_30",
- "next_tables" : {
- "act_11" : "node_30"
- },
- "default_entry" : {
- "action_id" : 51,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_13",
- "id" : 19,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [52],
- "actions" : ["act_12"],
- "base_default_next" : "node_30",
- "next_tables" : {
- "act_12" : "node_30"
- },
- "default_entry" : {
- "action_id" : 52,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_14",
- "id" : 20,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 192,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [53],
- "actions" : ["act_13"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "act_13" : "node_33"
- },
- "default_entry" : {
- "action_id" : 53,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_15",
- "id" : 21,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 194,
- "column" : 39,
- "source_fragment" : "= SPGW_DIR_UNKNOWN; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [54],
- "actions" : ["act_14"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "act_14" : "node_33"
- },
- "default_entry" : {
- "action_id" : 54,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
- "id" : 22,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 111,
- "column" : 10,
- "source_fragment" : "uplink_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "tunnel_ipv4_dst",
- "target" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"],
- "mask" : null
- },
- {
- "match_type" : "exact",
- "name" : "teid",
- "target" : ["scalars", "fabric_metadata_t._spgw_teid19"],
- "mask" : null
- },
- {
- "match_type" : "exact",
- "name" : "ue_addr",
- "target" : ["ipv4", "src_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [14, 11],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes", "NoAction"],
- "base_default_next" : "node_39",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "node_39",
- "NoAction" : "node_39"
- },
- "default_entry" : {
- "action_id" : 11,
- "action_const" : false,
- "action_data" : [],
- "action_entry_const" : false
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.downlink_pdr_lookup",
- "id" : 23,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 103,
- "column" : 10,
- "source_fragment" : "downlink_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "ue_addr",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [13, 10],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes", "NoAction"],
- "base_default_next" : "node_39",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "node_39",
- "NoAction" : "node_39"
- },
- "default_entry" : {
- "action_id" : 10,
- "action_const" : false,
- "action_data" : [],
- "action_entry_const" : false
- }
- },
- {
- "name" : "tbl_act_16",
- "id" : 24,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 206,
- "column" : 12,
- "source_fragment" : "return"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [56],
- "actions" : ["act_16"],
- "base_default_next" : "node_39",
- "next_tables" : {
- "act_16" : "node_39"
- },
- "default_entry" : {
- "action_id" : 56,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.flexible_pdr_lookup",
- "id" : 25,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 123,
- "column" : 10,
- "source_fragment" : "flexible_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "ternary",
- "name" : "spgw_direction",
- "target" : ["scalars", "fabric_metadata_t._spgw_direction17"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "tunnel_ipv4_dst",
- "target" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "teid",
- "target" : ["scalars", "fabric_metadata_t._spgw_teid19"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ipv4_src",
- "target" : ["ipv4", "src_addr"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ipv4_dst",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ip_proto",
- "target" : ["ipv4", "protocol"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "l4_sport",
- "target" : ["scalars", "fabric_metadata_t._l4_sport13"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "l4_dport",
- "target" : ["scalars", "fabric_metadata_t._l4_dport14"],
- "mask" : null
- }
- ],
- "match_type" : "ternary",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [15],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes"],
- "base_default_next" : "tbl_act_17",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "tbl_act_17"
- },
- "default_entry" : {
- "action_id" : 15,
- "action_const" : true,
- "action_data" : ["0x0", "0x0"],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_17",
- "id" : 26,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 213,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [57],
- "actions" : ["act_17"],
- "base_default_next" : "FabricIngress.spgw_ingress.far_lookup",
- "next_tables" : {
- "act_17" : "FabricIngress.spgw_ingress.far_lookup"
- },
- "default_entry" : {
- "action_id" : 57,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.far_lookup",
- "id" : 27,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 168,
- "column" : 10,
- "source_fragment" : "far_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "far_id",
- "target" : ["scalars", "fabric_metadata_t._spgw_far_id23"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [16, 17],
- "actions" : ["FabricIngress.spgw_ingress.load_normal_far_attributes", "FabricIngress.spgw_ingress.load_tunnel_far_attributes"],
- "base_default_next" : "node_44",
- "next_tables" : {
- "FabricIngress.spgw_ingress.load_normal_far_attributes" : "node_44",
- "FabricIngress.spgw_ingress.load_tunnel_far_attributes" : "node_44"
- },
- "default_entry" : {
- "action_id" : 16,
- "action_const" : true,
- "action_data" : ["0x1", "0x0"],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_18",
- "id" : 28,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 223,
- "column" : 40,
- "source_fragment" : "= true; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [58],
- "actions" : ["act_18"],
- "base_default_next" : "tbl_act_19",
- "next_tables" : {
- "act_18" : "tbl_act_19"
- },
- "default_entry" : {
- "action_id" : 58,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_19",
- "id" : 29,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 232,
- "column" : 34,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [59],
- "actions" : ["act_19"],
- "base_default_next" : "node_47",
- "next_tables" : {
- "act_19" : "node_47"
- },
- "default_entry" : {
- "action_id" : 59,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
"name" : "FabricIngress.forwarding.bridging",
- "id" : 30,
+ "id" : 15,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 46,
@@ -13242,7 +13280,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [23, 3],
+ "action_ids" : [13, 1],
"actions" : ["FabricIngress.forwarding.set_next_id_bridging", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -13250,7 +13288,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 3,
+ "action_id" : 1,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13258,7 +13296,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls",
- "id" : 31,
+ "id" : 16,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 71,
@@ -13279,7 +13317,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [24, 4],
+ "action_ids" : [14, 2],
"actions" : ["FabricIngress.forwarding.pop_mpls_and_next", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -13287,7 +13325,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 4,
+ "action_id" : 2,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13295,7 +13333,7 @@
},
{
"name" : "FabricIngress.forwarding.routing_v4",
- "id" : 32,
+ "id" : 17,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 108,
@@ -13316,7 +13354,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [25, 26, 5],
+ "action_ids" : [15, 16, 3],
"actions" : ["FabricIngress.forwarding.set_next_id_routing_v4", "FabricIngress.forwarding.nop_routing_v4", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -13325,7 +13363,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 5,
+ "action_id" : 3,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -13333,7 +13371,7 @@
},
{
"name" : "FabricIngress.acl.acl",
- "id" : 33,
+ "id" : 18,
"source_info" : {
"filename" : "include/control/acl.p4",
"line" : 60,
@@ -13420,18 +13458,18 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [27, 28, 29, 30, 31],
+ "action_ids" : [17, 18, 19, 20, 21],
"actions" : ["FabricIngress.acl.set_next_id_acl", "FabricIngress.acl.punt_to_cpu", "FabricIngress.acl.set_clone_session_id", "FabricIngress.acl.drop", "FabricIngress.acl.nop_acl"],
- "base_default_next" : "node_55",
+ "base_default_next" : "node_33",
"next_tables" : {
- "FabricIngress.acl.set_next_id_acl" : "node_55",
- "FabricIngress.acl.punt_to_cpu" : "node_55",
- "FabricIngress.acl.set_clone_session_id" : "node_55",
- "FabricIngress.acl.drop" : "node_55",
- "FabricIngress.acl.nop_acl" : "node_55"
+ "FabricIngress.acl.set_next_id_acl" : "node_33",
+ "FabricIngress.acl.punt_to_cpu" : "node_33",
+ "FabricIngress.acl.set_clone_session_id" : "node_33",
+ "FabricIngress.acl.drop" : "node_33",
+ "FabricIngress.acl.nop_acl" : "node_33"
},
"default_entry" : {
- "action_id" : 31,
+ "action_id" : 21,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13439,7 +13477,7 @@
},
{
"name" : "FabricIngress.next.xconnect",
- "id" : 34,
+ "id" : 19,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 119,
@@ -13466,7 +13504,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [33, 34, 7],
+ "action_ids" : [23, 24, 5],
"actions" : ["FabricIngress.next.output_xconnect", "FabricIngress.next.set_next_id_xconnect", "nop"],
"base_default_next" : "FabricIngress.next.hashed",
"next_tables" : {
@@ -13475,7 +13513,7 @@
"nop" : "FabricIngress.next.hashed"
},
"default_entry" : {
- "action_id" : 7,
+ "action_id" : 5,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13483,7 +13521,7 @@
},
{
"name" : "FabricIngress.next.hashed",
- "id" : 35,
+ "id" : 20,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 202,
@@ -13505,7 +13543,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [35, 36, 37, 8],
+ "action_ids" : [25, 26, 27, 6],
"actions" : ["FabricIngress.next.output_hashed", "FabricIngress.next.routing_hashed", "FabricIngress.next.mpls_routing_hashed", "nop"],
"base_default_next" : "FabricIngress.next.multicast",
"next_tables" : {
@@ -13517,7 +13555,7 @@
},
{
"name" : "FabricIngress.next.multicast",
- "id" : 36,
+ "id" : 21,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 236,
@@ -13538,7 +13576,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [38, 9],
+ "action_ids" : [28, 7],
"actions" : ["FabricIngress.next.set_mcast_group_id", "nop"],
"base_default_next" : "FabricIngress.next.next_vlan",
"next_tables" : {
@@ -13546,7 +13584,7 @@
"nop" : "FabricIngress.next.next_vlan"
},
"default_entry" : {
- "action_id" : 9,
+ "action_id" : 7,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13554,7 +13592,7 @@
},
{
"name" : "FabricIngress.next.next_vlan",
- "id" : 37,
+ "id" : 22,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 86,
@@ -13575,23 +13613,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [32, 6],
+ "action_ids" : [22, 4],
"actions" : ["FabricIngress.next.set_vlan", "nop"],
- "base_default_next" : "node_60",
+ "base_default_next" : "node_38",
"next_tables" : {
- "FabricIngress.next.set_vlan" : "node_60",
- "nop" : "node_60"
+ "FabricIngress.next.set_vlan" : "node_38",
+ "nop" : "node_38"
},
"default_entry" : {
- "action_id" : 6,
+ "action_id" : 4,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_20",
- "id" : 38,
+ "name" : "tbl_act_7",
+ "id" : 23,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 31,
@@ -13605,22 +13643,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [60],
- "actions" : ["act_20"],
- "base_default_next" : "node_62",
+ "action_ids" : [46],
+ "actions" : ["act_7"],
+ "base_default_next" : "node_40",
"next_tables" : {
- "act_20" : "node_62"
+ "act_7" : "node_40"
},
"default_entry" : {
- "action_id" : 60,
+ "action_id" : 46,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_21",
- "id" : 39,
+ "name" : "tbl_act_8",
+ "id" : 24,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 34,
@@ -13634,14 +13672,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [61],
- "actions" : ["act_21"],
+ "action_ids" : [47],
+ "actions" : ["act_8"],
"base_default_next" : "FabricIngress.process_set_source_sink.tb_set_source",
"next_tables" : {
- "act_21" : "FabricIngress.process_set_source_sink.tb_set_source"
+ "act_8" : "FabricIngress.process_set_source_sink.tb_set_source"
},
"default_entry" : {
- "action_id" : 61,
+ "action_id" : 47,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13649,7 +13687,7 @@
},
{
"name" : "FabricIngress.process_set_source_sink.tb_set_source",
- "id" : 40,
+ "id" : 25,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 46,
@@ -13670,7 +13708,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [18, 2],
+ "action_ids" : [8, 0],
"actions" : ["FabricIngress.process_set_source_sink.int_set_source", "nop"],
"base_default_next" : null,
"next_tables" : {
@@ -13678,7 +13716,7 @@
"nop" : null
},
"default_entry" : {
- "action_id" : 2,
+ "action_id" : 0,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -13725,86 +13763,9 @@
],
"conditionals" : [
{
- "name" : "node_3",
+ "name" : "node_2",
"id" : 0,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 12,
- "source_fragment" : "! is_gtpu_encapped"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_0",
- "false_next" : "node_5"
- },
- {
- "name" : "node_5",
- "id" : 1,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_1",
- "false_next" : "node_10"
- },
- {
- "name" : "node_7",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 38,
- "column" : 12,
- "source_fragment" : "inner_udp.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["inner_udp", "$valid$"]
- }
- }
- },
- "true_next" : "tbl_act_2",
- "false_next" : "tbl_act_3"
- },
- {
- "name" : "node_10",
- "id" : 3,
- "source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 24,
"column" : 12,
@@ -13821,13 +13782,159 @@
}
}
},
- "true_next" : "tbl_act_4",
- "false_next" : "node_12"
+ "true_next" : "tbl_act",
+ "false_next" : "tbl_act_0"
},
{
- "name" : "node_12",
+ "name" : "node_6",
+ "id" : 1,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 251,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.skip_spgw == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw28"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "true_next" : "tbl_act_1",
+ "false_next" : "node_8"
+ },
+ {
+ "name" : "node_8",
+ "id" : 2,
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "not",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "spgw_ingress_hasReturned"]
+ }
+ }
+ }
+ }
+ },
+ "true_next" : "node_9",
+ "false_next" : "node_19"
+ },
+ {
+ "name" : "node_9",
+ "id" : 3,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 255,
+ "column" : 12,
+ "source_fragment" : "hdr.gtpu.isValid()"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["gtpu", "$valid$"]
+ }
+ }
+ },
+ "true_next" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
+ "false_next" : "FabricIngress.spgw_ingress.downlink_pdr_lookup"
+ },
+ {
+ "name" : "node_13",
"id" : 4,
"source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 268,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.needs_gtpu_decap == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap33"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "true_next" : "FabricIngress.spgw_ingress.decap_gtpu",
+ "false_next" : "FabricIngress.spgw_ingress.far_lookup"
+ },
+ {
+ "name" : "node_16",
+ "id" : 5,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 279,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.far_dropped == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped30"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "true_next" : "tbl_act_3",
+ "false_next" : "tbl_act_4"
+ },
+ {
+ "name" : "node_19",
+ "id" : 6,
+ "source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 110,
"column" : 12,
@@ -13845,11 +13952,11 @@
}
},
"true_next" : "tbl_act_5",
- "false_next" : "node_14"
+ "false_next" : "node_21"
},
{
- "name" : "node_14",
- "id" : 5,
+ "name" : "node_21",
+ "id" : 7,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 122,
@@ -13878,247 +13985,11 @@
"false_next" : "FabricIngress.filtering.ingress_port_vlan"
},
{
- "name" : "node_19",
- "id" : 6,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 181,
- "column" : 12,
- "source_fragment" : "gtpu.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.uplink_filter_table",
- "false_next" : "FabricIngress.spgw_ingress.downlink_filter_table"
- },
- {
- "name" : "node_23",
- "id" : 7,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 185,
- "column" : 16,
- "source_fragment" : "!uplink_filter_table.apply().hit"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_10",
- "false_next" : "tbl_act_11"
- },
- {
- "name" : "node_30",
+ "name" : "node_25",
"id" : 8,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- }
- }
- },
- "true_next" : "tbl_act_14",
- "false_next" : "tbl_act_15"
- },
- {
- "name" : "node_33",
- "id" : 9,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- }
- }
- }
- }
- },
- "true_next" : "node_34",
- "false_next" : "node_39"
- },
- {
- "name" : "node_34",
- "id" : 10,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 201,
- "column" : 12,
- "source_fragment" : "fabric_meta.spgw.direction == SPGW_DIR_UPLINK"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x01"
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
- "false_next" : "node_36"
- },
- {
- "name" : "node_36",
- "id" : 11,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 203,
- "column" : 19,
- "source_fragment" : "fabric_meta.spgw.direction == SPGW_DIR_DOWNLINK"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.downlink_pdr_lookup",
- "false_next" : "tbl_act_16"
- },
- {
- "name" : "node_39",
- "id" : 12,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- }
- }
- }
- }
- },
- "true_next" : "node_40",
- "false_next" : "node_47"
- },
- {
- "name" : "node_40",
- "id" : 13,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 209,
- "column" : 12,
- "source_fragment" : "fabric_meta.spgw.pdr_hit == false"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit24"]
- }
- }
- },
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.flexible_pdr_lookup",
- "false_next" : "tbl_act_17"
- },
- {
- "name" : "node_44",
- "id" : 14,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 220,
- "column" : 12,
- "source_fragment" : "fabric_meta.spgw.far_dropped == true"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped25"]
- }
- }
- },
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- },
- "true_next" : "tbl_act_18",
- "false_next" : "tbl_act_19"
- },
- {
- "name" : "node_47",
- "id" : 15,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -14143,12 +14014,12 @@
}
}
},
- "true_next" : "node_48",
+ "true_next" : "node_26",
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_48",
- "id" : 16,
+ "name" : "node_26",
+ "id" : 9,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 150,
@@ -14170,11 +14041,11 @@
}
},
"true_next" : "FabricIngress.forwarding.bridging",
- "false_next" : "node_50"
+ "false_next" : "node_28"
},
{
- "name" : "node_50",
- "id" : 17,
+ "name" : "node_28",
+ "id" : 10,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 151,
@@ -14196,11 +14067,11 @@
}
},
"true_next" : "FabricIngress.forwarding.mpls",
- "false_next" : "node_52"
+ "false_next" : "node_30"
},
{
- "name" : "node_52",
- "id" : 18,
+ "name" : "node_30",
+ "id" : 11,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 152,
@@ -14225,11 +14096,11 @@
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_55",
- "id" : 19,
+ "name" : "node_33",
+ "id" : 12,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -14258,8 +14129,8 @@
"true_next" : "FabricIngress.next.xconnect"
},
{
- "name" : "node_60",
- "id" : 20,
+ "name" : "node_38",
+ "id" : 13,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 30,
@@ -14280,12 +14151,12 @@
}
}
},
- "true_next" : "tbl_act_20",
- "false_next" : "node_62"
+ "true_next" : "tbl_act_7",
+ "false_next" : "node_40"
},
{
- "name" : "node_62",
- "id" : 21,
+ "name" : "node_40",
+ "id" : 14,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 33,
@@ -14306,7 +14177,7 @@
}
}
},
- "true_next" : "tbl_act_21",
+ "true_next" : "tbl_act_8",
"false_next" : "FabricIngress.process_set_source_sink.tb_set_source"
}
]
@@ -14316,15 +14187,15 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},
- "init_table" : "node_67",
+ "init_table" : "node_45",
"tables" : [
{
- "name" : "tbl_act_22",
- "id" : 41,
+ "name" : "tbl_act_9",
+ "id" : 26,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 41,
@@ -14338,22 +14209,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [106],
- "actions" : ["act_22"],
- "base_default_next" : "node_69",
+ "action_ids" : [92],
+ "actions" : ["act_9"],
+ "base_default_next" : "node_47",
"next_tables" : {
- "act_22" : "node_69"
+ "act_9" : "node_47"
},
"default_entry" : {
- "action_id" : 106,
+ "action_id" : 92,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_23",
- "id" : 42,
+ "name" : "tbl_act_10",
+ "id" : 27,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 44,
@@ -14367,22 +14238,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [107],
- "actions" : ["act_23"],
- "base_default_next" : "node_71",
+ "action_ids" : [93],
+ "actions" : ["act_10"],
+ "base_default_next" : "node_49",
"next_tables" : {
- "act_23" : "node_71"
+ "act_10" : "node_49"
},
"default_entry" : {
- "action_id" : 107,
+ "action_id" : 93,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_24",
- "id" : 43,
+ "name" : "tbl_act_11",
+ "id" : 28,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 337,
@@ -14396,14 +14267,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [108],
- "actions" : ["act_24"],
- "base_default_next" : "node_73",
+ "action_ids" : [94],
+ "actions" : ["act_11"],
+ "base_default_next" : "node_51",
"next_tables" : {
- "act_24" : "node_73"
+ "act_11" : "node_51"
},
"default_entry" : {
- "action_id" : 108,
+ "action_id" : 94,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14411,7 +14282,7 @@
},
{
"name" : "tbl_egress_next_pop_mpls_if_present",
- "id" : 44,
+ "id" : 29,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -14425,14 +14296,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [102],
+ "action_ids" : [87],
"actions" : ["FabricEgress.egress_next.pop_mpls_if_present"],
"base_default_next" : "FabricEgress.egress_next.egress_vlan",
"next_tables" : {
"FabricEgress.egress_next.pop_mpls_if_present" : "FabricEgress.egress_next.egress_vlan"
},
"default_entry" : {
- "action_id" : 102,
+ "action_id" : 87,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14440,7 +14311,7 @@
},
{
"name" : "tbl_egress_next_set_mpls",
- "id" : 45,
+ "id" : 30,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 343,
@@ -14454,14 +14325,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [103],
+ "action_ids" : [88],
"actions" : ["FabricEgress.egress_next.set_mpls"],
"base_default_next" : "FabricEgress.egress_next.egress_vlan",
"next_tables" : {
"FabricEgress.egress_next.set_mpls" : "FabricEgress.egress_next.egress_vlan"
},
"default_entry" : {
- "action_id" : 103,
+ "action_id" : 88,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14469,7 +14340,7 @@
},
{
"name" : "FabricEgress.egress_next.egress_vlan",
- "id" : 46,
+ "id" : 31,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 320,
@@ -14496,23 +14367,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [105, 64],
+ "action_ids" : [90, 50],
"actions" : ["FabricEgress.egress_next.pop_vlan", "nop"],
"base_default_next" : null,
"next_tables" : {
- "__HIT__" : "tbl_act_25",
- "__MISS__" : "tbl_act_26"
+ "__HIT__" : "tbl_act_12",
+ "__MISS__" : "tbl_act_13"
},
"default_entry" : {
- "action_id" : 64,
+ "action_id" : 50,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_25",
- "id" : 47,
+ "name" : "tbl_act_12",
+ "id" : 32,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -14520,22 +14391,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [109],
- "actions" : ["act_25"],
- "base_default_next" : "node_80",
+ "action_ids" : [95],
+ "actions" : ["act_12"],
+ "base_default_next" : "node_58",
"next_tables" : {
- "act_25" : "node_80"
+ "act_12" : "node_58"
},
"default_entry" : {
- "action_id" : 109,
+ "action_id" : 95,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_26",
- "id" : 48,
+ "name" : "tbl_act_13",
+ "id" : 33,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -14543,14 +14414,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [110],
- "actions" : ["act_26"],
- "base_default_next" : "node_80",
+ "action_ids" : [96],
+ "actions" : ["act_13"],
+ "base_default_next" : "node_58",
"next_tables" : {
- "act_26" : "node_80"
+ "act_13" : "node_58"
},
"default_entry" : {
- "action_id" : 110,
+ "action_id" : 96,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14558,7 +14429,7 @@
},
{
"name" : "tbl_egress_next_push_vlan",
- "id" : 49,
+ "id" : 34,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 360,
@@ -14572,22 +14443,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [104],
+ "action_ids" : [89],
"actions" : ["FabricEgress.egress_next.push_vlan"],
- "base_default_next" : "node_83",
+ "base_default_next" : "node_61",
"next_tables" : {
- "FabricEgress.egress_next.push_vlan" : "node_83"
+ "FabricEgress.egress_next.push_vlan" : "node_61"
},
"default_entry" : {
- "action_id" : 104,
+ "action_id" : 89,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_27",
- "id" : 50,
+ "name" : "tbl_act_14",
+ "id" : 35,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 369,
@@ -14601,22 +14472,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [112],
- "actions" : ["act_28"],
- "base_default_next" : "node_85",
+ "action_ids" : [98],
+ "actions" : ["act_15"],
+ "base_default_next" : "node_63",
"next_tables" : {
- "act_28" : "node_85"
+ "act_15" : "node_63"
},
"default_entry" : {
- "action_id" : 112,
+ "action_id" : 98,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_28",
- "id" : 51,
+ "name" : "tbl_act_15",
+ "id" : 36,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -14630,22 +14501,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [111],
- "actions" : ["act_27"],
- "base_default_next" : "tbl_act_31",
+ "action_ids" : [97],
+ "actions" : ["act_14"],
+ "base_default_next" : "tbl_act_18",
"next_tables" : {
- "act_27" : "tbl_act_31"
+ "act_14" : "tbl_act_18"
},
"default_entry" : {
- "action_id" : 111,
+ "action_id" : 97,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_29",
- "id" : 52,
+ "name" : "tbl_act_16",
+ "id" : 37,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 373,
@@ -14659,22 +14530,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [114],
- "actions" : ["act_30"],
- "base_default_next" : "node_89",
+ "action_ids" : [100],
+ "actions" : ["act_17"],
+ "base_default_next" : "node_67",
"next_tables" : {
- "act_30" : "node_89"
+ "act_17" : "node_67"
},
"default_entry" : {
- "action_id" : 114,
+ "action_id" : 100,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_30",
- "id" : 53,
+ "name" : "tbl_act_17",
+ "id" : 38,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -14688,27 +14559,50 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [113],
- "actions" : ["act_29"],
- "base_default_next" : "tbl_act_31",
+ "action_ids" : [99],
+ "actions" : ["act_16"],
+ "base_default_next" : "tbl_act_18",
"next_tables" : {
- "act_29" : "tbl_act_31"
+ "act_16" : "tbl_act_18"
},
"default_entry" : {
- "action_id" : 113,
+ "action_id" : 99,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_31",
- "id" : 54,
+ "name" : "tbl_act_18",
+ "id" : 39,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [102],
+ "actions" : ["act_19"],
+ "base_default_next" : "node_70",
+ "next_tables" : {
+ "act_19" : "node_70"
+ },
+ "default_entry" : {
+ "action_id" : 102,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_19",
+ "id" : 40,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 288,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
+ "column" : 46,
+ "source_fragment" : "return"
},
"key" : [],
"match_type" : "exact",
@@ -14717,14 +14611,43 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [115],
- "actions" : ["act_31"],
- "base_default_next" : "node_92",
+ "action_ids" : [101],
+ "actions" : ["act_18"],
+ "base_default_next" : "node_72",
"next_tables" : {
- "act_31" : "node_92"
+ "act_18" : "node_72"
},
"default_entry" : {
- "action_id" : 115,
+ "action_id" : 101,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_20",
+ "id" : 41,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 346,
+ "column" : 8,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [103],
+ "actions" : ["act_20"],
+ "base_default_next" : "node_74",
+ "next_tables" : {
+ "act_20" : "node_74"
+ },
+ "default_entry" : {
+ "action_id" : 103,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14732,10 +14655,10 @@
},
{
"name" : "tbl_spgw_egress_gtpu_encap",
- "id" : 55,
+ "id" : 42,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 291,
+ "filename" : "include/control/spgw.p4",
+ "line" : 349,
"column" : 12,
"source_fragment" : "gtpu_encap()"
},
@@ -14746,14 +14669,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [67],
+ "action_ids" : [91],
"actions" : ["FabricEgress.spgw_egress.gtpu_encap"],
- "base_default_next" : "node_94",
+ "base_default_next" : "node_76",
"next_tables" : {
- "FabricEgress.spgw_egress.gtpu_encap" : "node_94"
+ "FabricEgress.spgw_egress.gtpu_encap" : "node_76"
},
"default_entry" : {
- "action_id" : 67,
+ "action_id" : 91,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14761,7 +14684,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_source.tb_int_source",
- "id" : 56,
+ "id" : 43,
"source_info" : {
"filename" : "include/int/int_source.p4",
"line" : 66,
@@ -14800,23 +14723,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [68, 62],
+ "action_ids" : [53, 48],
"actions" : ["FabricEgress.process_int_main.process_int_source.int_source_dscp", "nop"],
- "base_default_next" : "node_97",
+ "base_default_next" : "node_79",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_source.int_source_dscp" : "node_97",
- "nop" : "node_97"
+ "FabricEgress.process_int_main.process_int_source.int_source_dscp" : "node_79",
+ "nop" : "node_79"
},
"default_entry" : {
- "action_id" : 62,
+ "action_id" : 48,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_32",
- "id" : 57,
+ "name" : "tbl_act_21",
+ "id" : 44,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -14824,14 +14747,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [116],
- "actions" : ["act_32"],
+ "action_ids" : [104],
+ "actions" : ["act_21"],
"base_default_next" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert",
"next_tables" : {
- "act_32" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert"
+ "act_21" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert"
},
"default_entry" : {
- "action_id" : 116,
+ "action_id" : 104,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14839,7 +14762,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_insert",
- "id" : 58,
+ "id" : 45,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 315,
@@ -14860,23 +14783,23 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [69, 63],
+ "action_ids" : [54, 49],
"actions" : ["FabricEgress.process_int_main.process_int_transit.init_metadata", "nop"],
- "base_default_next" : "node_100",
+ "base_default_next" : "node_82",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_transit.init_metadata" : "node_100",
- "nop" : "node_100"
+ "FabricEgress.process_int_main.process_int_transit.init_metadata" : "node_82",
+ "nop" : "node_82"
},
"default_entry" : {
- "action_id" : 63,
+ "action_id" : 49,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_33",
- "id" : 59,
+ "name" : "tbl_act_22",
+ "id" : 46,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 420,
@@ -14890,14 +14813,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [117],
- "actions" : ["act_33"],
- "base_default_next" : "node_102",
+ "action_ids" : [105],
+ "actions" : ["act_22"],
+ "base_default_next" : "node_84",
"next_tables" : {
- "act_33" : "node_102"
+ "act_22" : "node_84"
},
"default_entry" : {
- "action_id" : 117,
+ "action_id" : 105,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -14905,7 +14828,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0003",
- "id" : 60,
+ "id" : 47,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 331,
@@ -14926,7 +14849,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 65],
+ "action_ids" : [55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 51],
"actions" : ["FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i0", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i1", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i2", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i3", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i4", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i5", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i6", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i7", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i8", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i9", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i10", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i11", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i12", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i13", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i14", "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i15", "NoAction"],
"base_default_next" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407",
"next_tables" : {
@@ -14949,7 +14872,7 @@
"NoAction" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407"
},
"default_entry" : {
- "action_id" : 65,
+ "action_id" : 51,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -14969,7 +14892,7 @@
}
],
"action_entry" : {
- "action_id" : 70,
+ "action_id" : 55,
"action_data" : []
},
"priority" : 1
@@ -14988,7 +14911,7 @@
}
],
"action_entry" : {
- "action_id" : 71,
+ "action_id" : 56,
"action_data" : []
},
"priority" : 2
@@ -15007,7 +14930,7 @@
}
],
"action_entry" : {
- "action_id" : 72,
+ "action_id" : 57,
"action_data" : []
},
"priority" : 3
@@ -15026,7 +14949,7 @@
}
],
"action_entry" : {
- "action_id" : 73,
+ "action_id" : 58,
"action_data" : []
},
"priority" : 4
@@ -15045,7 +14968,7 @@
}
],
"action_entry" : {
- "action_id" : 74,
+ "action_id" : 59,
"action_data" : []
},
"priority" : 5
@@ -15064,7 +14987,7 @@
}
],
"action_entry" : {
- "action_id" : 75,
+ "action_id" : 60,
"action_data" : []
},
"priority" : 6
@@ -15083,7 +15006,7 @@
}
],
"action_entry" : {
- "action_id" : 76,
+ "action_id" : 61,
"action_data" : []
},
"priority" : 7
@@ -15102,7 +15025,7 @@
}
],
"action_entry" : {
- "action_id" : 77,
+ "action_id" : 62,
"action_data" : []
},
"priority" : 8
@@ -15121,7 +15044,7 @@
}
],
"action_entry" : {
- "action_id" : 78,
+ "action_id" : 63,
"action_data" : []
},
"priority" : 9
@@ -15140,7 +15063,7 @@
}
],
"action_entry" : {
- "action_id" : 79,
+ "action_id" : 64,
"action_data" : []
},
"priority" : 10
@@ -15159,7 +15082,7 @@
}
],
"action_entry" : {
- "action_id" : 80,
+ "action_id" : 65,
"action_data" : []
},
"priority" : 11
@@ -15178,7 +15101,7 @@
}
],
"action_entry" : {
- "action_id" : 81,
+ "action_id" : 66,
"action_data" : []
},
"priority" : 12
@@ -15197,7 +15120,7 @@
}
],
"action_entry" : {
- "action_id" : 82,
+ "action_id" : 67,
"action_data" : []
},
"priority" : 13
@@ -15216,7 +15139,7 @@
}
],
"action_entry" : {
- "action_id" : 83,
+ "action_id" : 68,
"action_data" : []
},
"priority" : 14
@@ -15235,7 +15158,7 @@
}
],
"action_entry" : {
- "action_id" : 84,
+ "action_id" : 69,
"action_data" : []
},
"priority" : 15
@@ -15254,7 +15177,7 @@
}
],
"action_entry" : {
- "action_id" : 85,
+ "action_id" : 70,
"action_data" : []
},
"priority" : 16
@@ -15263,7 +15186,7 @@
},
{
"name" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407",
- "id" : 61,
+ "id" : 48,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 375,
@@ -15284,30 +15207,30 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 66],
+ "action_ids" : [71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 52],
"actions" : ["FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14", "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15", "NoAction"],
- "base_default_next" : "tbl_act_34",
+ "base_default_next" : "tbl_act_23",
"next_tables" : {
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14" : "tbl_act_34",
- "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15" : "tbl_act_34",
- "NoAction" : "tbl_act_34"
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14" : "tbl_act_23",
+ "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15" : "tbl_act_23",
+ "NoAction" : "tbl_act_23"
},
"default_entry" : {
- "action_id" : 66,
+ "action_id" : 52,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -15327,7 +15250,7 @@
}
],
"action_entry" : {
- "action_id" : 86,
+ "action_id" : 71,
"action_data" : []
},
"priority" : 1
@@ -15346,7 +15269,7 @@
}
],
"action_entry" : {
- "action_id" : 87,
+ "action_id" : 72,
"action_data" : []
},
"priority" : 2
@@ -15365,7 +15288,7 @@
}
],
"action_entry" : {
- "action_id" : 88,
+ "action_id" : 73,
"action_data" : []
},
"priority" : 3
@@ -15384,7 +15307,7 @@
}
],
"action_entry" : {
- "action_id" : 89,
+ "action_id" : 74,
"action_data" : []
},
"priority" : 4
@@ -15403,7 +15326,7 @@
}
],
"action_entry" : {
- "action_id" : 90,
+ "action_id" : 75,
"action_data" : []
},
"priority" : 5
@@ -15422,7 +15345,7 @@
}
],
"action_entry" : {
- "action_id" : 91,
+ "action_id" : 76,
"action_data" : []
},
"priority" : 6
@@ -15441,7 +15364,7 @@
}
],
"action_entry" : {
- "action_id" : 92,
+ "action_id" : 77,
"action_data" : []
},
"priority" : 7
@@ -15460,7 +15383,7 @@
}
],
"action_entry" : {
- "action_id" : 93,
+ "action_id" : 78,
"action_data" : []
},
"priority" : 8
@@ -15479,7 +15402,7 @@
}
],
"action_entry" : {
- "action_id" : 94,
+ "action_id" : 79,
"action_data" : []
},
"priority" : 9
@@ -15498,7 +15421,7 @@
}
],
"action_entry" : {
- "action_id" : 95,
+ "action_id" : 80,
"action_data" : []
},
"priority" : 10
@@ -15517,7 +15440,7 @@
}
],
"action_entry" : {
- "action_id" : 96,
+ "action_id" : 81,
"action_data" : []
},
"priority" : 11
@@ -15536,7 +15459,7 @@
}
],
"action_entry" : {
- "action_id" : 97,
+ "action_id" : 82,
"action_data" : []
},
"priority" : 12
@@ -15555,7 +15478,7 @@
}
],
"action_entry" : {
- "action_id" : 98,
+ "action_id" : 83,
"action_data" : []
},
"priority" : 13
@@ -15574,7 +15497,7 @@
}
],
"action_entry" : {
- "action_id" : 99,
+ "action_id" : 84,
"action_data" : []
},
"priority" : 14
@@ -15593,7 +15516,7 @@
}
],
"action_entry" : {
- "action_id" : 100,
+ "action_id" : 85,
"action_data" : []
},
"priority" : 15
@@ -15612,7 +15535,7 @@
}
],
"action_entry" : {
- "action_id" : 101,
+ "action_id" : 86,
"action_data" : []
},
"priority" : 16
@@ -15620,8 +15543,8 @@
]
},
{
- "name" : "tbl_act_34",
- "id" : 62,
+ "name" : "tbl_act_23",
+ "id" : 49,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 425,
@@ -15635,22 +15558,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [119],
- "actions" : ["act_35"],
- "base_default_next" : "node_106",
+ "action_ids" : [107],
+ "actions" : ["act_24"],
+ "base_default_next" : "node_88",
"next_tables" : {
- "act_35" : "node_106"
+ "act_24" : "node_88"
},
"default_entry" : {
- "action_id" : 119,
+ "action_id" : 107,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_35",
- "id" : 63,
+ "name" : "tbl_act_24",
+ "id" : 50,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 428,
@@ -15664,22 +15587,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [118],
- "actions" : ["act_34"],
- "base_default_next" : "node_108",
+ "action_ids" : [106],
+ "actions" : ["act_23"],
+ "base_default_next" : "node_90",
"next_tables" : {
- "act_34" : "node_108"
+ "act_23" : "node_90"
},
"default_entry" : {
- "action_id" : 118,
+ "action_id" : 106,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_36",
- "id" : 64,
+ "name" : "tbl_act_25",
+ "id" : 51,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 431,
@@ -15693,22 +15616,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [120],
- "actions" : ["act_36"],
- "base_default_next" : "node_110",
+ "action_ids" : [108],
+ "actions" : ["act_25"],
+ "base_default_next" : "node_92",
"next_tables" : {
- "act_36" : "node_110"
+ "act_25" : "node_92"
},
"default_entry" : {
- "action_id" : 120,
+ "action_id" : 108,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_37",
- "id" : 65,
+ "name" : "tbl_act_26",
+ "id" : 52,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 434,
@@ -15722,14 +15645,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [121],
- "actions" : ["act_37"],
+ "action_ids" : [109],
+ "actions" : ["act_26"],
"base_default_next" : null,
"next_tables" : {
- "act_37" : null
+ "act_26" : null
},
"default_entry" : {
- "action_id" : 121,
+ "action_id" : 109,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -15739,8 +15662,8 @@
"action_profiles" : [],
"conditionals" : [
{
- "name" : "node_67",
- "id" : 22,
+ "name" : "node_45",
+ "id" : 15,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 39,
@@ -15768,12 +15691,12 @@
}
}
},
- "true_next" : "tbl_act_22",
- "false_next" : "node_69"
+ "true_next" : "tbl_act_9",
+ "false_next" : "node_47"
},
{
- "name" : "node_69",
- "id" : 23,
+ "name" : "node_47",
+ "id" : 16,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 43,
@@ -15794,12 +15717,12 @@
}
}
},
- "true_next" : "tbl_act_23",
- "false_next" : "node_71"
+ "true_next" : "tbl_act_10",
+ "false_next" : "node_49"
},
{
- "name" : "node_71",
- "id" : 24,
+ "name" : "node_49",
+ "id" : 17,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 335,
@@ -15847,12 +15770,12 @@
}
}
},
- "true_next" : "tbl_act_24",
- "false_next" : "node_73"
+ "true_next" : "tbl_act_11",
+ "false_next" : "node_51"
},
{
- "name" : "node_73",
- "id" : 25,
+ "name" : "node_51",
+ "id" : 18,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 340,
@@ -15873,12 +15796,12 @@
}
}
},
- "true_next" : "node_74",
+ "true_next" : "node_52",
"false_next" : "tbl_egress_next_set_mpls"
},
{
- "name" : "node_74",
- "id" : 26,
+ "name" : "node_52",
+ "id" : 19,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -15900,8 +15823,8 @@
"false_next" : "FabricEgress.egress_next.egress_vlan"
},
{
- "name" : "node_80",
- "id" : 27,
+ "name" : "node_58",
+ "id" : 20,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 357,
@@ -15926,12 +15849,12 @@
}
}
},
- "true_next" : "node_81",
- "false_next" : "node_83"
+ "true_next" : "node_59",
+ "false_next" : "node_61"
},
{
- "name" : "node_81",
- "id" : 28,
+ "name" : "node_59",
+ "id" : 21,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 359,
@@ -15953,11 +15876,11 @@
}
},
"true_next" : "tbl_egress_next_push_vlan",
- "false_next" : "node_83"
+ "false_next" : "node_61"
},
{
- "name" : "node_83",
- "id" : 29,
+ "name" : "node_61",
+ "id" : 22,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 368,
@@ -15975,12 +15898,12 @@
}
}
},
- "true_next" : "tbl_act_27",
- "false_next" : "node_87"
+ "true_next" : "tbl_act_14",
+ "false_next" : "node_65"
},
{
- "name" : "node_85",
- "id" : 30,
+ "name" : "node_63",
+ "id" : 23,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -16001,12 +15924,12 @@
}
}
},
- "true_next" : "tbl_act_28",
- "false_next" : "tbl_act_31"
+ "true_next" : "tbl_act_15",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_87",
- "id" : 31,
+ "name" : "node_65",
+ "id" : 24,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 372,
@@ -16024,12 +15947,12 @@
}
}
},
- "true_next" : "tbl_act_29",
- "false_next" : "tbl_act_31"
+ "true_next" : "tbl_act_16",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_89",
- "id" : 32,
+ "name" : "node_67",
+ "id" : 25,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -16050,17 +15973,17 @@
}
}
},
- "true_next" : "tbl_act_30",
- "false_next" : "tbl_act_31"
+ "true_next" : "tbl_act_17",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_92",
- "id" : 33,
+ "name" : "node_70",
+ "id" : 26,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 290,
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
"column" : 12,
- "source_fragment" : "fabric_meta.spgw.outer_header_creation == true"
+ "source_fragment" : "fabric_md.spgw.skip_spgw == true"
},
"expression" : {
"type" : "expression",
@@ -16073,7 +15996,64 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_outer_header_creation27"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw28"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "true_next" : "tbl_act_19",
+ "false_next" : "node_72"
+ },
+ {
+ "name" : "node_72",
+ "id" : 27,
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "not",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "spgw_egress_hasReturned"]
+ }
+ }
+ }
+ }
+ },
+ "true_next" : "tbl_act_20",
+ "false_next" : "node_76"
+ },
+ {
+ "name" : "node_74",
+ "id" : 28,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 348,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.needs_gtpu_encap == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap32"]
}
}
},
@@ -16084,11 +16064,11 @@
}
},
"true_next" : "tbl_spgw_egress_gtpu_encap",
- "false_next" : "node_94"
+ "false_next" : "node_76"
},
{
- "name" : "node_94",
- "id" : 34,
+ "name" : "node_76",
+ "id" : 29,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 102,
@@ -16164,11 +16144,11 @@
}
},
"false_next" : null,
- "true_next" : "node_95"
+ "true_next" : "node_77"
},
{
- "name" : "node_95",
- "id" : 35,
+ "name" : "node_77",
+ "id" : 30,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 106,
@@ -16186,7 +16166,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_source28"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_source34"]
}
}
},
@@ -16197,11 +16177,11 @@
}
},
"true_next" : "FabricEgress.process_int_main.process_int_source.tb_int_source",
- "false_next" : "node_97"
+ "false_next" : "node_79"
},
{
- "name" : "node_97",
- "id" : 36,
+ "name" : "node_79",
+ "id" : 31,
"source_info" : {
"filename" : "include/int/int_main.p4",
"line" : 110,
@@ -16220,11 +16200,11 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_32"
+ "true_next" : "tbl_act_21"
},
{
- "name" : "node_100",
- "id" : 37,
+ "name" : "node_82",
+ "id" : 32,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 419,
@@ -16242,7 +16222,7 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._int_meta_transit29"]
+ "value" : ["scalars", "fabric_metadata_t._int_meta_transit35"]
}
}
},
@@ -16252,12 +16232,12 @@
}
}
},
- "true_next" : "tbl_act_33",
- "false_next" : "node_102"
+ "true_next" : "tbl_act_22",
+ "false_next" : "node_84"
},
{
- "name" : "node_102",
- "id" : 38,
+ "name" : "node_84",
+ "id" : 33,
"expression" : {
"type" : "expression",
"value" : {
@@ -16280,8 +16260,8 @@
"true_next" : "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0003"
},
{
- "name" : "node_106",
- "id" : 39,
+ "name" : "node_88",
+ "id" : 34,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 427,
@@ -16299,12 +16279,12 @@
}
}
},
- "true_next" : "tbl_act_35",
- "false_next" : "node_108"
+ "true_next" : "tbl_act_24",
+ "false_next" : "node_90"
},
{
- "name" : "node_108",
- "id" : 40,
+ "name" : "node_90",
+ "id" : 35,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 430,
@@ -16322,12 +16302,12 @@
}
}
},
- "true_next" : "tbl_act_36",
- "false_next" : "node_110"
+ "true_next" : "tbl_act_25",
+ "false_next" : "node_92"
},
{
- "name" : "node_110",
- "id" : 41,
+ "name" : "node_92",
+ "id" : 36,
"source_info" : {
"filename" : "include/int/int_transit.p4",
"line" : 433,
@@ -16346,7 +16326,7 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_37"
+ "true_next" : "tbl_act_26"
}
]
}
@@ -16382,8 +16362,8 @@
"name" : "cksum_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 306,
+ "filename" : "include/control/spgw.p4",
+ "line" : 364,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/p4info.txt b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/p4info.txt
index a009b3d..0a41be6 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/p4info.txt
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/p4info.txt
@@ -3,179 +3,6 @@
}
tables {
preamble {
- id: 33586632
- name: "FabricIngress.spgw_ingress.downlink_filter_table"
- alias: "downlink_filter_table"
- }
- match_fields {
- id: 1
- name: "ipv4_prefix"
- bitwidth: 32
- match_type: LPM
- }
- action_refs {
- id: 16819938
- }
- const_default_action_id: 16819938
- size: 1024
-}
-tables {
- preamble {
- id: 33567046
- name: "FabricIngress.spgw_ingress.uplink_filter_table"
- alias: "uplink_filter_table"
- }
- match_fields {
- id: 1
- name: "gtp_ipv4_dst"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16819938
- }
- const_default_action_id: 16819938
- size: 1024
-}
-tables {
- preamble {
- id: 33586958
- name: "FabricIngress.spgw_ingress.downlink_pdr_lookup"
- alias: "downlink_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "ue_addr"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16799934
- }
- action_refs {
- id: 16800567
- annotations: "@defaultonly"
- scope: DEFAULT_ONLY
- }
- size: 1024
-}
-tables {
- preamble {
- id: 33587070
- name: "FabricIngress.spgw_ingress.uplink_pdr_lookup"
- alias: "uplink_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "tunnel_ipv4_dst"
- bitwidth: 32
- match_type: EXACT
- }
- match_fields {
- id: 2
- name: "teid"
- bitwidth: 32
- match_type: EXACT
- }
- match_fields {
- id: 3
- name: "ue_addr"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16799934
- }
- action_refs {
- id: 16800567
- annotations: "@defaultonly"
- scope: DEFAULT_ONLY
- }
- size: 1024
-}
-tables {
- preamble {
- id: 33582573
- name: "FabricIngress.spgw_ingress.flexible_pdr_lookup"
- alias: "flexible_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "spgw_direction"
- bitwidth: 2
- match_type: TERNARY
- }
- match_fields {
- id: 2
- name: "tunnel_ipv4_dst"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 3
- name: "teid"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 4
- name: "ipv4_src"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 5
- name: "ipv4_dst"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 6
- name: "ip_proto"
- bitwidth: 8
- match_type: TERNARY
- }
- match_fields {
- id: 7
- name: "l4_sport"
- bitwidth: 16
- match_type: TERNARY
- }
- match_fields {
- id: 8
- name: "l4_dport"
- bitwidth: 16
- match_type: TERNARY
- }
- action_refs {
- id: 16799934
- }
- const_default_action_id: 16799934
- size: 1024
-}
-tables {
- preamble {
- id: 33613200
- name: "FabricIngress.spgw_ingress.far_lookup"
- alias: "far_lookup"
- }
- match_fields {
- id: 1
- name: "far_id"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16834935
- }
- action_refs {
- id: 16787606
- }
- const_default_action_id: 16834935
- size: 1024
-}
-tables {
- preamble {
id: 33581620
name: "FabricIngress.process_set_source_sink.tb_set_source"
alias: "tb_set_source"
@@ -562,6 +389,99 @@
}
tables {
preamble {
+ id: 33584493
+ name: "FabricIngress.spgw_ingress.interface_lookup"
+ alias: "interface_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "ipv4_dst_addr"
+ bitwidth: 32
+ match_type: LPM
+ }
+ match_fields {
+ id: 2
+ name: "gtpu_is_valid"
+ bitwidth: 1
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16797935
+ }
+ const_default_action_id: 16797935
+ size: 128
+}
+tables {
+ preamble {
+ id: 33586958
+ name: "FabricIngress.spgw_ingress.downlink_pdr_lookup"
+ alias: "downlink_pdr_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "ue_addr"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16799934
+ }
+ const_default_action_id: 16799934
+ size: 1024
+}
+tables {
+ preamble {
+ id: 33587070
+ name: "FabricIngress.spgw_ingress.uplink_pdr_lookup"
+ alias: "uplink_pdr_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "tunnel_ipv4_dst"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ match_fields {
+ id: 2
+ name: "teid"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ match_fields {
+ id: 3
+ name: "ue_addr"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16799934
+ }
+ const_default_action_id: 16799934
+ size: 1024
+}
+tables {
+ preamble {
+ id: 33613200
+ name: "FabricIngress.spgw_ingress.far_lookup"
+ alias: "far_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "far_id"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16834935
+ }
+ action_refs {
+ id: 16787606
+ }
+ const_default_action_id: 16834935
+ size: 2048
+}
+tables {
+ preamble {
id: 33612258
name: "FabricEgress.process_int_main.process_int_source.tb_int_source"
alias: "tb_int_source"
@@ -664,79 +584,6 @@
}
actions {
preamble {
- id: 16800567
- name: "NoAction"
- alias: "NoAction"
- }
-}
-actions {
- preamble {
- id: 16799934
- name: "FabricIngress.spgw_ingress.set_pdr_attributes"
- alias: "set_pdr_attributes"
- }
- params {
- id: 1
- name: "ctr_id"
- bitwidth: 32
- }
- params {
- id: 2
- name: "far_id"
- bitwidth: 32
- }
-}
-actions {
- preamble {
- id: 16834935
- name: "FabricIngress.spgw_ingress.load_normal_far_attributes"
- alias: "load_normal_far_attributes"
- }
- params {
- id: 1
- name: "drop"
- bitwidth: 1
- }
- params {
- id: 2
- name: "notify_cp"
- bitwidth: 1
- }
-}
-actions {
- preamble {
- id: 16787606
- name: "FabricIngress.spgw_ingress.load_tunnel_far_attributes"
- alias: "load_tunnel_far_attributes"
- }
- params {
- id: 1
- name: "drop"
- bitwidth: 1
- }
- params {
- id: 2
- name: "notify_cp"
- bitwidth: 1
- }
- params {
- id: 3
- name: "tunnel_src_addr"
- bitwidth: 32
- }
- params {
- id: 4
- name: "tunnel_dst_addr"
- bitwidth: 32
- }
- params {
- id: 5
- name: "teid"
- bitwidth: 32
- }
-}
-actions {
- preamble {
id: 16778827
name: "FabricIngress.process_set_source_sink.int_set_source"
alias: "int_set_source"
@@ -979,6 +826,139 @@
}
actions {
preamble {
+ id: 16797935
+ name: "FabricIngress.spgw_ingress.set_source_iface"
+ alias: "set_source_iface"
+ }
+ params {
+ id: 1
+ name: "src_iface"
+ bitwidth: 8
+ }
+ params {
+ id: 2
+ name: "direction"
+ bitwidth: 2
+ }
+ params {
+ id: 3
+ name: "skip_spgw"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16799934
+ name: "FabricIngress.spgw_ingress.set_pdr_attributes"
+ alias: "set_pdr_attributes"
+ }
+ params {
+ id: 1
+ name: "ctr_id"
+ bitwidth: 32
+ }
+ params {
+ id: 2
+ name: "far_id"
+ bitwidth: 32
+ }
+ params {
+ id: 3
+ name: "needs_gtpu_decap"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16834935
+ name: "FabricIngress.spgw_ingress.load_normal_far_attributes"
+ alias: "load_normal_far_attributes"
+ }
+ params {
+ id: 1
+ name: "drop"
+ bitwidth: 1
+ }
+ params {
+ id: 2
+ name: "notify_cp"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16787606
+ name: "FabricIngress.spgw_ingress.load_tunnel_far_attributes"
+ alias: "load_tunnel_far_attributes"
+ }
+ params {
+ id: 1
+ name: "drop"
+ bitwidth: 1
+ }
+ params {
+ id: 2
+ name: "notify_cp"
+ bitwidth: 1
+ }
+ params {
+ id: 3
+ name: "tunnel_src_port"
+ bitwidth: 16
+ }
+ params {
+ id: 4
+ name: "tunnel_src_addr"
+ bitwidth: 32
+ }
+ params {
+ id: 5
+ name: "tunnel_dst_addr"
+ bitwidth: 32
+ }
+ params {
+ id: 6
+ name: "teid"
+ bitwidth: 32
+ }
+}
+actions {
+ preamble {
+ id: 16829280
+ name: "FabricIngress.spgw_ingress.decap_inner_tcp"
+ alias: "decap_inner_tcp"
+ }
+}
+actions {
+ preamble {
+ id: 16815878
+ name: "FabricIngress.spgw_ingress.decap_inner_udp"
+ alias: "decap_inner_udp"
+ }
+}
+actions {
+ preamble {
+ id: 16801274
+ name: "FabricIngress.spgw_ingress.decap_inner_icmp"
+ alias: "decap_inner_icmp"
+ }
+}
+actions {
+ preamble {
+ id: 16830582
+ name: "FabricIngress.spgw_ingress.decap_inner_unknown"
+ alias: "decap_inner_unknown"
+ }
+}
+actions {
+ preamble {
+ id: 16800567
+ name: "NoAction"
+ alias: "NoAction"
+ }
+}
+actions {
+ preamble {
id: 16785857
name: "FabricEgress.process_int_main.process_int_source.int_source_dscp"
alias: "int_source_dscp"
@@ -1036,17 +1016,6 @@
}
counters {
preamble {
- id: 302029884
- name: "FabricIngress.spgw_ingress.pdr_counter"
- alias: "spgw_ingress.pdr_counter"
- }
- spec {
- unit: BOTH
- }
- size: 1024
-}
-counters {
- preamble {
id: 302011205
name: "FabricIngress.port_counters_control.egress_port_counter"
alias: "egress_port_counter"
@@ -1069,6 +1038,17 @@
}
counters {
preamble {
+ id: 302029884
+ name: "FabricIngress.spgw_ingress.pdr_counter"
+ alias: "spgw_ingress.pdr_counter"
+ }
+ spec {
+ unit: BOTH
+ }
+ size: 2048
+}
+counters {
+ preamble {
id: 302012289
name: "FabricEgress.spgw_egress.pdr_counter"
alias: "spgw_egress.pdr_counter"
@@ -1076,7 +1056,7 @@
spec {
unit: BOTH
}
- size: 1024
+ size: 2048
}
direct_counters {
preamble {
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw/bmv2/default/bmv2.json b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw/bmv2/default/bmv2.json
index 4765f10..250c226 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw/bmv2/default/bmv2.json
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw/bmv2/default/bmv2.json
@@ -4,17 +4,14 @@
"name" : "scalars_0",
"id" : 0,
"fields" : [
- ["tmp_2", 16, false],
- ["tmp_3", 16, false],
- ["tmp_4", 4, false],
- ["tmp", 8, false],
- ["tmp_0", 32, false],
- ["tmp_1", 32, false],
- ["spgw_ingress_tmp", 1, false],
- ["spgw_ingress_tmp_0", 1, false],
- ["spgw_normalizer_hasReturned", 1, false],
+ ["tmp_0", 16, false],
+ ["tmp_1", 16, false],
+ ["tmp_2", 4, false],
+ ["tmp", 32, false],
+ ["tmp_3", 32, false],
["spgw_ingress_hasReturned", 1, false],
["egress_next_tmp", 1, false],
+ ["spgw_egress_hasReturned", 1, false],
["fabric_metadata_t._ip_eth_type0", 16, false],
["fabric_metadata_t._vlan_id1", 12, false],
["fabric_metadata_t._vlan_pri2", 3, false],
@@ -32,17 +29,23 @@
["fabric_metadata_t._l4_dport14", 16, false],
["fabric_metadata_t._ipv4_src_addr15", 32, false],
["fabric_metadata_t._ipv4_dst_addr16", 32, false],
- ["fabric_metadata_t._spgw_direction17", 2, false],
- ["fabric_metadata_t._spgw_ipv4_len18", 16, false],
- ["fabric_metadata_t._spgw_teid19", 32, false],
- ["fabric_metadata_t._spgw_tunnel_src_addr20", 32, false],
- ["fabric_metadata_t._spgw_tunnel_dst_addr21", 32, false],
- ["fabric_metadata_t._spgw_ctr_id22", 32, false],
- ["fabric_metadata_t._spgw_far_id23", 32, false],
- ["fabric_metadata_t._spgw_pdr_hit24", 1, false],
- ["fabric_metadata_t._spgw_far_dropped25", 1, false],
- ["fabric_metadata_t._spgw_notify_cp26", 1, false],
- ["fabric_metadata_t._spgw_outer_header_creation27", 1, false],
+ ["fabric_metadata_t._inner_l4_sport17", 16, false],
+ ["fabric_metadata_t._inner_l4_dport18", 16, false],
+ ["fabric_metadata_t._spgw_direction19", 2, false],
+ ["fabric_metadata_t._spgw_ipv4_len20", 16, false],
+ ["fabric_metadata_t._spgw_teid21", 32, false],
+ ["fabric_metadata_t._spgw_tunnel_src_port22", 16, false],
+ ["fabric_metadata_t._spgw_tunnel_src_addr23", 32, false],
+ ["fabric_metadata_t._spgw_tunnel_dst_addr24", 32, false],
+ ["fabric_metadata_t._spgw_ctr_id25", 32, false],
+ ["fabric_metadata_t._spgw_far_id26", 32, false],
+ ["fabric_metadata_t._spgw_src_iface27", 8, false],
+ ["fabric_metadata_t._spgw_skip_spgw28", 1, false],
+ ["fabric_metadata_t._spgw_pdr_hit29", 1, false],
+ ["fabric_metadata_t._spgw_far_dropped30", 1, false],
+ ["fabric_metadata_t._spgw_notify_spgwc31", 1, false],
+ ["fabric_metadata_t._spgw_needs_gtpu_encap32", 1, false],
+ ["fabric_metadata_t._spgw_needs_gtpu_decap33", 1, false],
["_padding_0", 6, false]
]
},
@@ -265,64 +268,85 @@
"pi_omit" : true
},
{
- "name" : "gtpu",
+ "name" : "outer_gtpu",
"id" : 9,
"header_type" : "gtpu_t",
"metadata" : false,
"pi_omit" : true
},
{
- "name" : "inner_ipv4",
+ "name" : "gtpu",
"id" : 10,
+ "header_type" : "gtpu_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "inner_ipv4",
+ "id" : 11,
"header_type" : "ipv4_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "inner_udp",
- "id" : 11,
+ "id" : 12,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
- "name" : "ipv4",
- "id" : 12,
- "header_type" : "ipv4_t",
- "metadata" : false,
- "pi_omit" : true
- },
- {
- "name" : "tcp",
+ "name" : "inner_tcp",
"id" : 13,
"header_type" : "tcp_t",
"metadata" : false,
"pi_omit" : true
},
{
- "name" : "udp",
+ "name" : "inner_icmp",
"id" : 14,
+ "header_type" : "icmp_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "ipv4",
+ "id" : 15,
+ "header_type" : "ipv4_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "tcp",
+ "id" : 16,
+ "header_type" : "tcp_t",
+ "metadata" : false,
+ "pi_omit" : true
+ },
+ {
+ "name" : "udp",
+ "id" : 17,
"header_type" : "udp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "icmp",
- "id" : 15,
+ "id" : 18,
"header_type" : "icmp_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_out",
- "id" : 16,
+ "id" : 19,
"header_type" : "packet_out_header_t",
"metadata" : false,
"pi_omit" : true
},
{
"name" : "packet_in",
- "id" : 17,
+ "id" : 20,
"header_type" : "packet_in_header_t",
"metadata" : false,
"pi_omit" : true
@@ -443,7 +467,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
},
{
"type" : "lookahead",
@@ -481,7 +505,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_2"]
+ "value" : ["scalars", "tmp_0"]
}
]
},
@@ -502,7 +526,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
},
{
"type" : "lookahead",
@@ -528,7 +552,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_3"]
+ "value" : ["scalars", "tmp_1"]
}
]
},
@@ -638,7 +662,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
},
{
"type" : "lookahead",
@@ -664,7 +688,7 @@
"transition_key" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_4"]
+ "value" : ["scalars", "tmp_2"]
}
]
},
@@ -905,77 +929,6 @@
{
"parameters" : [
{
- "type" : "field",
- "value" : ["scalars", "tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : ">>",
- "left" : {
- "type" : "field",
- "value" : ["ipv4", "dst_addr"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x18"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffffffff"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xff"
- }
- }
- }
- }
- ],
- "op" : "set"
- }
- ],
- "transitions" : [
- {
- "type" : "hexstr",
- "value" : "0x8c",
- "mask" : null,
- "next_state" : "do_parse_gtpu"
- },
- {
- "value" : "default",
- "mask" : null,
- "next_state" : null
- }
- ],
- "transition_key" : [
- {
- "type" : "field",
- "value" : ["scalars", "tmp"]
- }
- ]
- },
- {
- "name" : "do_parse_gtpu",
- "id" : 12,
- "parser_ops" : [
- {
- "parameters" : [
- {
"type" : "regular",
"value" : "gtpu"
}
@@ -1026,7 +979,7 @@
},
{
"name" : "parse_inner_udp",
- "id" : 13,
+ "id" : 12,
"parser_ops" : [
{
"parameters" : [
@@ -1041,7 +994,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
},
{
"type" : "field",
@@ -1054,7 +1007,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
},
{
"type" : "field",
@@ -1083,30 +1036,18 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 267,
+ "line" : 268,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
- "order" : ["packet_in", "ethernet", "vlan_tag", "inner_vlan_tag", "eth_type", "mpls", "gtpu_ipv4", "gtpu_udp", "gtpu", "ipv4", "tcp", "udp", "icmp"]
+ "order" : ["packet_in", "ethernet", "vlan_tag", "inner_vlan_tag", "eth_type", "mpls", "gtpu_ipv4", "gtpu_udp", "outer_gtpu", "ipv4", "tcp", "udp", "icmp", "gtpu", "inner_ipv4", "inner_tcp", "inner_udp", "inner_icmp"]
}
],
"meter_arrays" : [],
"counter_arrays" : [
{
- "name" : "FabricIngress.spgw_ingress.pdr_counter",
- "id" : 0,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 56,
- "column" : 49,
- "source_fragment" : "pdr_counter"
- },
- "size" : 1024,
- "is_direct" : false
- },
- {
"name" : "FabricIngress.filtering.ingress_port_vlan_counter",
- "id" : 1,
+ "id" : 0,
"is_direct" : true,
"binding" : "FabricIngress.filtering.ingress_port_vlan",
"source_info" : {
@@ -1118,7 +1059,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier_counter",
- "id" : 2,
+ "id" : 1,
"is_direct" : true,
"binding" : "FabricIngress.filtering.fwd_classifier",
"source_info" : {
@@ -1130,7 +1071,7 @@
},
{
"name" : "FabricIngress.forwarding.bridging_counter",
- "id" : 3,
+ "id" : 2,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.bridging",
"source_info" : {
@@ -1142,7 +1083,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls_counter",
- "id" : 4,
+ "id" : 3,
"is_direct" : true,
"binding" : "FabricIngress.forwarding.mpls",
"source_info" : {
@@ -1154,7 +1095,7 @@
},
{
"name" : "FabricIngress.acl.acl_counter",
- "id" : 5,
+ "id" : 4,
"is_direct" : true,
"binding" : "FabricIngress.acl.acl",
"source_info" : {
@@ -1166,7 +1107,7 @@
},
{
"name" : "FabricIngress.next.next_vlan_counter",
- "id" : 6,
+ "id" : 5,
"is_direct" : true,
"binding" : "FabricIngress.next.next_vlan",
"source_info" : {
@@ -1178,7 +1119,7 @@
},
{
"name" : "FabricIngress.next.xconnect_counter",
- "id" : 7,
+ "id" : 6,
"is_direct" : true,
"binding" : "FabricIngress.next.xconnect",
"source_info" : {
@@ -1190,7 +1131,7 @@
},
{
"name" : "FabricIngress.next.hashed_counter",
- "id" : 8,
+ "id" : 7,
"is_direct" : true,
"binding" : "FabricIngress.next.hashed",
"source_info" : {
@@ -1202,7 +1143,7 @@
},
{
"name" : "FabricIngress.next.multicast_counter",
- "id" : 9,
+ "id" : 8,
"is_direct" : true,
"binding" : "FabricIngress.next.multicast",
"source_info" : {
@@ -1214,7 +1155,7 @@
},
{
"name" : "FabricIngress.port_counters_control.egress_port_counter",
- "id" : 10,
+ "id" : 9,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 26,
@@ -1226,7 +1167,7 @@
},
{
"name" : "FabricIngress.port_counters_control.ingress_port_counter",
- "id" : 11,
+ "id" : 10,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 27,
@@ -1237,20 +1178,20 @@
"is_direct" : false
},
{
- "name" : "FabricEgress.spgw_egress.pdr_counter",
- "id" : 12,
+ "name" : "FabricIngress.spgw_ingress.pdr_counter",
+ "id" : 11,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 246,
- "column" : 49,
+ "filename" : "include/control/spgw.p4",
+ "line" : 182,
+ "column" : 53,
"source_fragment" : "pdr_counter"
},
- "size" : 1024,
+ "size" : 2048,
"is_direct" : false
},
{
"name" : "FabricEgress.egress_next.egress_vlan_counter",
- "id" : 13,
+ "id" : 12,
"is_direct" : true,
"binding" : "FabricEgress.egress_next.egress_vlan",
"source_info" : {
@@ -1259,6 +1200,18 @@
"column" : 50,
"source_fragment" : "egress_vlan_counter"
}
+ },
+ {
+ "name" : "FabricEgress.spgw_egress.pdr_counter",
+ "id" : 13,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 303,
+ "column" : 53,
+ "source_fragment" : "pdr_counter"
+ },
+ "size" : 2048,
+ "is_direct" : false
}
],
"register_arrays" : [],
@@ -1328,8 +1281,8 @@
"name" : "calc_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 306,
+ "filename" : "include/control/spgw.p4",
+ "line" : 364,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
@@ -1492,733 +1445,8 @@
"primitives" : []
},
{
- "name" : "nop",
- "id" : 7,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "nop",
- "id" : 8,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "NoAction",
- "id" : 9,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "NoAction",
- "id" : 10,
- "runtime_data" : [],
- "primitives" : []
- },
- {
- "name" : "FabricIngress.spgw_ingress.gtpu_decap",
- "id" : 11,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid19"]
- },
- {
- "type" : "field",
- "value" : ["gtpu", "teid"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 61,
- "column" : 30,
- "source_fragment" : "= gtpu.teid; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"]
- },
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dst_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 62,
- "column" : 41,
- "source_fragment" : "= gtpu_ipv4.dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "src_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 64,
- "column" : 34,
- "source_fragment" : "= ipv4.src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "dst_addr"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 65,
- "column" : 34,
- "source_fragment" : "= ipv4.dst_addr; ..."
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 67,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 68,
- "column" : 8,
- "source_fragment" : "gtpu_udp.setInvalid()"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 69,
- "column" : 8,
- "source_fragment" : "gtpu.setInvalid()"
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 12,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id23"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 13,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id23"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
- "id" : 14,
- "runtime_data" : [
- {
- "name" : "ctr_id",
- "bitwidth" : 32
- },
- {
- "name" : "far_id",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit24"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 97,
- "column" : 33,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
- },
- {
- "type" : "runtime_data",
- "value" : 0
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 98,
- "column" : 32,
- "source_fragment" : "= ctr_id; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_id23"]
- },
- {
- "type" : "runtime_data",
- "value" : 1
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 99,
- "column" : 32,
- "source_fragment" : "= far_id; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.load_normal_far_attributes",
- "id" : 15,
- "runtime_data" : [
- {
- "name" : "drop",
- "bitwidth" : 1
- },
- {
- "name" : "notify_cp",
- "bitwidth" : 1
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "!=",
- "left" : {
- "type" : "local",
- "value" : 0
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x00"
- }
- }
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 146,
- "column" : 37,
- "source_fragment" : "= (bool)drop; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_notify_cp26"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "!=",
- "left" : {
- "type" : "local",
- "value" : 1
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x00"
- }
- }
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 147,
- "column" : 35,
- "source_fragment" : "= (bool)notify_cp; ..."
- }
- }
- ]
- },
- {
- "name" : "FabricIngress.spgw_ingress.load_tunnel_far_attributes",
- "id" : 16,
- "runtime_data" : [
- {
- "name" : "drop",
- "bitwidth" : 1
- },
- {
- "name" : "notify_cp",
- "bitwidth" : 1
- },
- {
- "name" : "tunnel_src_addr",
- "bitwidth" : 32
- },
- {
- "name" : "tunnel_dst_addr",
- "bitwidth" : 32
- },
- {
- "name" : "teid",
- "bitwidth" : 32
- }
- ],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped25"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "!=",
- "left" : {
- "type" : "local",
- "value" : 0
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x00"
- }
- }
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 155,
- "column" : 37,
- "source_fragment" : "= (bool)drop; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_notify_cp26"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "!=",
- "left" : {
- "type" : "local",
- "value" : 1
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x00"
- }
- }
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 156,
- "column" : 35,
- "source_fragment" : "= (bool)notify_cp; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_outer_header_creation27"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 158,
- "column" : 47,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid19"]
- },
- {
- "type" : "runtime_data",
- "value" : 4
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 159,
- "column" : 30,
- "source_fragment" : "= teid; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr20"]
- },
- {
- "type" : "runtime_data",
- "value" : 2
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 160,
- "column" : 41,
- "source_fragment" : "= tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"]
- },
- {
- "type" : "runtime_data",
- "value" : 3
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 161,
- "column" : 41,
- "source_fragment" : "= tunnel_dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
- },
- {
- "type" : "runtime_data",
- "value" : 2
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 163,
- "column" : 34,
- "source_fragment" : "= tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
- },
- {
- "type" : "runtime_data",
- "value" : 3
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 164,
- "column" : 34,
- "source_fragment" : "= tunnel_dst_addr; ..."
- }
- }
- ]
- },
- {
"name" : "FabricIngress.filtering.deny",
- "id" : 17,
+ "id" : 7,
"runtime_data" : [],
"primitives" : [
{
@@ -2283,13 +1511,13 @@
},
{
"name" : "FabricIngress.filtering.permit",
- "id" : 18,
+ "id" : 8,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.filtering.permit_with_internal_vlan",
- "id" : 19,
+ "id" : 9,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -2320,7 +1548,7 @@
},
{
"name" : "FabricIngress.filtering.set_forwarding_type",
- "id" : 20,
+ "id" : 10,
"runtime_data" : [
{
"name" : "fwd_type",
@@ -2351,7 +1579,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_bridging",
- "id" : 21,
+ "id" : 11,
"runtime_data" : [
{
"name" : "next_id",
@@ -2382,7 +1610,7 @@
},
{
"name" : "FabricIngress.forwarding.pop_mpls_and_next",
- "id" : 22,
+ "id" : 12,
"runtime_data" : [
{
"name" : "next_id",
@@ -2432,7 +1660,7 @@
},
{
"name" : "FabricIngress.forwarding.set_next_id_routing_v4",
- "id" : 23,
+ "id" : 13,
"runtime_data" : [
{
"name" : "next_id",
@@ -2463,13 +1691,13 @@
},
{
"name" : "FabricIngress.forwarding.nop_routing_v4",
- "id" : 24,
+ "id" : 14,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.acl.set_next_id_acl",
- "id" : 25,
+ "id" : 15,
"runtime_data" : [
{
"name" : "next_id",
@@ -2500,7 +1728,7 @@
},
{
"name" : "FabricIngress.acl.punt_to_cpu",
- "id" : 26,
+ "id" : 16,
"runtime_data" : [],
"primitives" : [
{
@@ -2555,7 +1783,7 @@
},
{
"name" : "FabricIngress.acl.set_clone_session_id",
- "id" : 27,
+ "id" : 17,
"runtime_data" : [
{
"name" : "clone_id",
@@ -2586,7 +1814,7 @@
},
{
"name" : "FabricIngress.acl.drop",
- "id" : 28,
+ "id" : 18,
"runtime_data" : [],
"primitives" : [
{
@@ -2637,13 +1865,13 @@
},
{
"name" : "FabricIngress.acl.nop_acl",
- "id" : 29,
+ "id" : 19,
"runtime_data" : [],
"primitives" : []
},
{
"name" : "FabricIngress.next.set_vlan",
- "id" : 30,
+ "id" : 20,
"runtime_data" : [
{
"name" : "vlan_id",
@@ -2674,7 +1902,7 @@
},
{
"name" : "FabricIngress.next.output_xconnect",
- "id" : 31,
+ "id" : 21,
"runtime_data" : [
{
"name" : "port_num",
@@ -2705,7 +1933,7 @@
},
{
"name" : "FabricIngress.next.set_next_id_xconnect",
- "id" : 32,
+ "id" : 22,
"runtime_data" : [
{
"name" : "next_id",
@@ -2736,7 +1964,7 @@
},
{
"name" : "FabricIngress.next.output_hashed",
- "id" : 33,
+ "id" : 23,
"runtime_data" : [
{
"name" : "port_num",
@@ -2767,7 +1995,7 @@
},
{
"name" : "FabricIngress.next.routing_hashed",
- "id" : 34,
+ "id" : 24,
"runtime_data" : [
{
"name" : "port_num",
@@ -2844,7 +2072,7 @@
},
{
"name" : "FabricIngress.next.mpls_routing_hashed",
- "id" : 35,
+ "id" : 25,
"runtime_data" : [
{
"name" : "port_num",
@@ -2944,7 +2172,7 @@
},
{
"name" : "FabricIngress.next.set_mcast_group_id",
- "id" : 36,
+ "id" : 26,
"runtime_data" : [
{
"name" : "group_id",
@@ -3003,16 +2231,126 @@
]
},
{
- "name" : "act",
- "id" : 37,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.set_source_iface",
+ "id" : 27,
+ "runtime_data" : [
+ {
+ "name" : "src_iface",
+ "bitwidth" : 8
+ },
+ {
+ "name" : "direction",
+ "bitwidth" : 2
+ },
+ {
+ "name" : "skip_spgw",
+ "bitwidth" : 1
+ }
+ ],
"primitives" : [
{
"op" : "assign",
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_src_iface27"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 0
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 50,
+ "column" : 33,
+ "source_fragment" : "= src_iface; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_direction19"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 1
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 51,
+ "column" : 33,
+ "source_fragment" : "= direction; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw28"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 52,
+ "column" : 33,
+ "source_fragment" : "= (bool)skip_spgw; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
+ "id" : 28,
+ "runtime_data" : [
+ {
+ "name" : "ctr_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "far_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "needs_gtpu_decap",
+ "bitwidth" : 1
+ }
+ ],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit29"]
},
{
"type" : "expression",
@@ -3030,47 +2368,10 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 32,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_0",
- "id" : 38,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 50,
- "source_fragment" : "hdr.gtpu_ipv4"
- }
- },
- {
- "op" : "remove_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 65,
- "source_fragment" : "hdr.gtpu_udp"
+ "filename" : "include/control/spgw.p4",
+ "line" : 75,
+ "column" : 31,
+ "source_fragment" : "= true; ..."
}
},
{
@@ -3078,7 +2379,104 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 0
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 76,
+ "column" : 30,
+ "source_fragment" : "= ctr_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_id26"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 1
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 77,
+ "column" : 30,
+ "source_fragment" : "= far_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap33"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 78,
+ "column" : 40,
+ "source_fragment" : "= (bool)needs_gtpu_decap; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.set_pdr_attributes",
+ "id" : 29,
+ "runtime_data" : [
+ {
+ "name" : "ctr_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "far_id",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "needs_gtpu_decap",
+ "bitwidth" : 1
+ }
+ ],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit29"]
},
{
"type" : "expression",
@@ -3089,85 +2487,600 @@
"left" : null,
"right" : {
"type" : "bool",
- "value" : false
+ "value" : true
}
}
}
}
- ]
- }
- ]
- },
- {
- "name" : "act_1",
- "id" : 39,
- "runtime_data" : [],
- "primitives" : [
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 75,
+ "column" : 31,
+ "source_fragment" : "= true; ..."
+ }
+ },
{
- "op" : "assign_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "udp"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
},
{
- "type" : "header",
- "value" : "inner_udp"
+ "type" : "runtime_data",
+ "value" : 0
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 39,
- "column" : 16,
- "source_fragment" : "= inner_udp; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 76,
+ "column" : 30,
+ "source_fragment" : "= ctr_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_id26"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 1
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 77,
+ "column" : 30,
+ "source_fragment" : "= far_id; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap33"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 2
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 78,
+ "column" : 40,
+ "source_fragment" : "= (bool)needs_gtpu_decap; ..."
}
}
]
},
{
- "name" : "act_2",
- "id" : 40,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.load_normal_far_attributes",
+ "id" : 30,
+ "runtime_data" : [
+ {
+ "name" : "drop",
+ "bitwidth" : 1
+ },
+ {
+ "name" : "notify_cp",
+ "bitwidth" : 1
+ }
+ ],
"primitives" : [
{
- "op" : "remove_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "udp"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped30"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 0
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 41,
- "column" : 12,
- "source_fragment" : "udp.setInvalid()"
+ "filename" : "include/control/spgw.p4",
+ "line" : 140,
+ "column" : 35,
+ "source_fragment" : "= (bool)drop; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc31"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 1
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 141,
+ "column" : 36,
+ "source_fragment" : "= (bool)notify_cp; ..."
}
}
]
},
{
- "name" : "act_3",
- "id" : 41,
- "runtime_data" : [],
+ "name" : "FabricIngress.spgw_ingress.load_tunnel_far_attributes",
+ "id" : 31,
+ "runtime_data" : [
+ {
+ "name" : "drop",
+ "bitwidth" : 1
+ },
+ {
+ "name" : "notify_cp",
+ "bitwidth" : 1
+ },
+ {
+ "name" : "tunnel_src_port",
+ "bitwidth" : 16
+ },
+ {
+ "name" : "tunnel_src_addr",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "tunnel_dst_addr",
+ "bitwidth" : 32
+ },
+ {
+ "name" : "teid",
+ "bitwidth" : 32
+ }
+ ],
"primitives" : [
{
- "op" : "assign_header",
+ "op" : "assign",
"parameters" : [
{
- "type" : "header",
- "value" : "gtpu_ipv4"
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped30"]
},
{
- "type" : "header",
- "value" : "ipv4"
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 0
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 35,
- "column" : 18,
- "source_fragment" : "= ipv4; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 150,
+ "column" : 35,
+ "source_fragment" : "= (bool)drop; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_notify_spgwc31"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "!=",
+ "left" : {
+ "type" : "local",
+ "value" : 1
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 151,
+ "column" : 36,
+ "source_fragment" : "= (bool)notify_cp; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap32"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 153,
+ "column" : 40,
+ "source_fragment" : "= true; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_teid21"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 5
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 154,
+ "column" : 28,
+ "source_fragment" : "= teid; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port22"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 2
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 155,
+ "column" : 39,
+ "source_fragment" : "= tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr23"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 3
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 156,
+ "column" : 39,
+ "source_fragment" : "= tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr24"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 4
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 157,
+ "column" : 39,
+ "source_fragment" : "= tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 3
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 159,
+ "column" : 32,
+ "source_fragment" : "= tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 4
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 160,
+ "column" : 32,
+ "source_fragment" : "= tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "runtime_data",
+ "value" : 2
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 161,
+ "column" : 27,
+ "source_fragment" : "= tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0868"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 162,
+ "column" : 27,
+ "source_fragment" : "= 2152; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_inner_tcp",
+ "id" : 32,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 128,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 189,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 190,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 191,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 192,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 193,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
}
},
{
@@ -3183,10 +3096,55 @@
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 36,
- "column" : 13,
- "source_fragment" : "= inner_ipv4; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 195,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 201,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
}
},
{
@@ -3194,25 +3152,648 @@
"parameters" : [
{
"type" : "header",
- "value" : "gtpu_udp"
+ "value" : "tcp"
},
{
"type" : "header",
+ "value" : "inner_tcp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 202,
+ "column" : 8,
+ "source_fragment" : "hdr.tcp = hdr.inner_tcp"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_tcp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 203,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_tcp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_inner_udp",
+ "id" : 33,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 128,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 189,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 190,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 191,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 192,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 193,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 195,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 207,
+ "column" : 8,
+ "source_fragment" : "hdr.udp = hdr.inner_udp"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 208,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_udp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_inner_icmp",
+ "id" : 34,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 128,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 189,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 190,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 191,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 192,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 193,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 195,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
"value" : "udp"
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 37,
- "column" : 17,
- "source_fragment" : "= udp; ..."
+ "filename" : "include/control/spgw.p4",
+ "line" : 212,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "icmp"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_icmp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 213,
+ "column" : 8,
+ "source_fragment" : "hdr.icmp = hdr.inner_icmp"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_icmp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 214,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_icmp.setInvalid()"
}
}
]
},
{
- "name" : "act_4",
- "id" : 42,
+ "name" : "FabricIngress.spgw_ingress.decap_inner_unknown",
+ "id" : 35,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_eth_type0"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0800"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 128,
+ "column" : 31,
+ "source_fragment" : "0x0800; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ip_proto12"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "protocol"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 189,
+ "column" : 27,
+ "source_fragment" : "= hdr.inner_ipv4.protocol; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_src_addr15"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "src_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 190,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._ipv4_dst_addr16"]
+ },
+ {
+ "type" : "field",
+ "value" : ["inner_ipv4", "dst_addr"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 191,
+ "column" : 32,
+ "source_fragment" : "= hdr.inner_ipv4.dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_sport13"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_sport17"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 192,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_sport; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._l4_dport14"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._inner_l4_dport18"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 193,
+ "column" : 27,
+ "source_fragment" : "= fabric_md.inner_l4_dport; ..."
+ }
+ },
+ {
+ "op" : "assign_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "ipv4"
+ },
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 195,
+ "column" : 8,
+ "source_fragment" : "hdr.ipv4 = hdr.inner_ipv4"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "inner_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 196,
+ "column" : 8,
+ "source_fragment" : "hdr.inner_ipv4.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 197,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu.setInvalid()"
+ }
+ },
+ {
+ "op" : "remove_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 218,
+ "column" : 8,
+ "source_fragment" : "hdr.udp.setInvalid()"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act",
+ "id" : 36,
"runtime_data" : [],
"primitives" : [
{
@@ -3291,8 +3872,191 @@
]
},
{
+ "name" : "act_0",
+ "id" : 37,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "spgw_ingress_hasReturned"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : false
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name" : "act_1",
+ "id" : 38,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "spgw_ingress_hasReturned"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 251,
+ "column" : 46,
+ "source_fragment" : "return"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_2",
+ "id" : 39,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "count",
+ "parameters" : [
+ {
+ "type" : "counter_array",
+ "value" : "FabricIngress.spgw_ingress.pdr_counter"
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 265,
+ "column" : 8,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_3",
+ "id" : 40,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._skip_forwarding6"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 282,
+ "column" : 38,
+ "source_fragment" : "= true; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._skip_next7"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 283,
+ "column" : 32,
+ "source_fragment" : "= true; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_4",
+ "id" : 41,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len20"]
+ },
+ {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 291,
+ "column" : 32,
+ "source_fragment" : "= hdr.ipv4.total_len; ..."
+ }
+ }
+ ]
+ },
+ {
"name" : "act_5",
- "id" : 43,
+ "id" : 42,
"runtime_data" : [],
"primitives" : [
{
@@ -3356,7 +4120,7 @@
},
{
"name" : "act_6",
- "id" : 44,
+ "id" : 43,
"runtime_data" : [],
"primitives" : [
{
@@ -3382,7 +4146,7 @@
},
{
"name" : "act_7",
- "id" : 45,
+ "id" : 44,
"runtime_data" : [],
"primitives" : [
{
@@ -3390,439 +4154,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_8",
- "id" : 46,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_9",
- "id" : 47,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "mark_to_drop",
- "parameters" : [
- {
- "type" : "header",
- "value" : "standard_metadata"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 187,
- "column" : 16,
- "source_fragment" : "mark_to_drop(standard_metadata)"
- }
- }
- ]
- },
- {
- "name" : "act_10",
- "id" : 48,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 153,
- "column" : 36,
- "source_fragment" : "2w1; ..."
- }
- }
- ]
- },
- {
- "name" : "act_11",
- "id" : 49,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_12",
- "id" : 50,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_13",
- "id" : 51,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- {
- "type" : "hexstr",
- "value" : "0x02"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 154,
- "column" : 38,
- "source_fragment" : "2w2; ..."
- }
- }
- ]
- },
- {
- "name" : "act_14",
- "id" : 52,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 152,
- "column" : 37,
- "source_fragment" : "2w0; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 196,
- "column" : 12,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_15",
- "id" : 53,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- }
- }
- ]
- }
- ]
- },
- {
- "name" : "act_16",
- "id" : 54,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 206,
- "column" : 12,
- "source_fragment" : "return"
- }
- }
- ]
- },
- {
- "name" : "act_17",
- "id" : 55,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "count",
- "parameters" : [
- {
- "type" : "counter_array",
- "value" : "FabricIngress.spgw_ingress.pdr_counter"
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 213,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
- }
- }
- ]
- },
- {
- "name" : "act_18",
- "id" : 56,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._skip_forwarding6"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 223,
- "column" : 40,
- "source_fragment" : "= true; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._skip_next7"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "b2d",
- "left" : null,
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 224,
- "column" : 34,
- "source_fragment" : "= true; ..."
- }
- }
- ]
- },
- {
- "name" : "act_19",
- "id" : 57,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len18"]
- },
- {
- "type" : "field",
- "value" : ["ipv4", "total_len"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 232,
- "column" : 34,
- "source_fragment" : "= ipv4.total_len; ..."
- }
- }
- ]
- },
- {
- "name" : "act_20",
- "id" : 58,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
},
{
"type" : "expression",
@@ -3858,7 +4190,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_0"]
+ "value" : ["scalars", "tmp"]
}
],
"source_info" : {
@@ -3871,8 +4203,8 @@
]
},
{
- "name" : "act_21",
- "id" : 59,
+ "name" : "act_8",
+ "id" : 45,
"runtime_data" : [],
"primitives" : [
{
@@ -3880,7 +4212,7 @@
"parameters" : [
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
},
{
"type" : "expression",
@@ -3916,7 +4248,7 @@
},
{
"type" : "field",
- "value" : ["scalars", "tmp_1"]
+ "value" : ["scalars", "tmp_3"]
}
],
"source_info" : {
@@ -3930,605 +4262,13 @@
},
{
"name" : "nop",
- "id" : 60,
+ "id" : 46,
"runtime_data" : [],
"primitives" : []
},
{
- "name" : "FabricEgress.spgw_egress.gtpu_encap",
- "id" : 61,
- "runtime_data" : [],
- "primitives" : [
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_ipv4"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 251,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "version"]
- },
- {
- "type" : "hexstr",
- "value" : "0x04"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 252,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.version = 4"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ihl"]
- },
- {
- "type" : "hexstr",
- "value" : "0x05"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 135,
- "column" : 28,
- "source_fragment" : "5; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dscp"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 254,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.dscp = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ecn"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 255,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.ecn = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "total_len"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["ipv4", "total_len"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0024"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 256,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.total_len = ipv4.total_len ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "identification"]
- },
- {
- "type" : "hexstr",
- "value" : "0x1513"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 258,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.identification = 0x1513"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "flags"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 259,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.flags = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "frag_offset"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 260,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.frag_offset = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "ttl"]
- },
- {
- "type" : "hexstr",
- "value" : "0x40"
- }
- ],
- "source_info" : {
- "filename" : "include/control/../define.p4",
- "line" : 148,
- "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" : 132,
- "column" : 25,
- "source_fragment" : "17; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "src_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr20"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 263,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.src_addr = fabric_meta.spgw.tunnel_src_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "dst_addr"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 264,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.dst_addr = fabric_meta.spgw.tunnel_dst_addr; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_ipv4", "hdr_checksum"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 265,
- "column" : 8,
- "source_fragment" : "gtpu_ipv4.hdr_checksum = 0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu_udp"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 267,
- "column" : 8,
- "source_fragment" : "gtpu_udp.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "sport"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0868"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 268,
- "column" : 8,
- "source_fragment" : "gtpu_udp.sport = 2152"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "dport"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0868"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 269,
- "column" : 8,
- "source_fragment" : "gtpu_udp.dport = 2152"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "len"]
- },
- {
- "type" : "expression",
- "value" : {
- "type" : "expression",
- "value" : {
- "op" : "&",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "+",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len18"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x0010"
- }
- }
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0xffff"
- }
- }
- }
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 270,
- "column" : 8,
- "source_fragment" : "gtpu_udp.len = fabric_meta.spgw.ipv4_len ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu_udp", "checksum"]
- },
- {
- "type" : "hexstr",
- "value" : "0x0000"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 272,
- "column" : 8,
- "source_fragment" : "gtpu_udp.checksum = 0"
- }
- },
- {
- "op" : "add_header",
- "parameters" : [
- {
- "type" : "header",
- "value" : "gtpu"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 275,
- "column" : 8,
- "source_fragment" : "gtpu.setValid()"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "version"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 276,
- "column" : 8,
- "source_fragment" : "gtpu.version = 0x01"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "pt"]
- },
- {
- "type" : "hexstr",
- "value" : "0x01"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 277,
- "column" : 8,
- "source_fragment" : "gtpu.pt = 0x01"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "spare"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 278,
- "column" : 8,
- "source_fragment" : "gtpu.spare = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "ex_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 279,
- "column" : 8,
- "source_fragment" : "gtpu.ex_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "seq_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 280,
- "column" : 8,
- "source_fragment" : "gtpu.seq_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "npdu_flag"]
- },
- {
- "type" : "hexstr",
- "value" : "0x00"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 281,
- "column" : 8,
- "source_fragment" : "gtpu.npdu_flag = 0"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "msgtype"]
- },
- {
- "type" : "hexstr",
- "value" : "0xff"
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 282,
- "column" : 8,
- "source_fragment" : "gtpu.msgtype = 0xff"
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "msglen"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len18"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 283,
- "column" : 8,
- "source_fragment" : "gtpu.msglen = fabric_meta.spgw.ipv4_len; ..."
- }
- },
- {
- "op" : "assign",
- "parameters" : [
- {
- "type" : "field",
- "value" : ["gtpu", "teid"]
- },
- {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_teid19"]
- }
- ],
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 284,
- "column" : 8,
- "source_fragment" : "gtpu.teid = fabric_meta.spgw.teid; ..."
- }
- }
- ]
- },
- {
"name" : "FabricEgress.egress_next.pop_mpls_if_present",
- "id" : 62,
+ "id" : 47,
"runtime_data" : [],
"primitives" : [
{
@@ -4569,7 +4309,7 @@
},
{
"name" : "FabricEgress.egress_next.set_mpls",
- "id" : 63,
+ "id" : 48,
"runtime_data" : [],
"primitives" : [
{
@@ -4677,7 +4417,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 118,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -4686,7 +4426,7 @@
},
{
"name" : "FabricEgress.egress_next.push_vlan",
- "id" : 64,
+ "id" : 49,
"runtime_data" : [],
"primitives" : [
{
@@ -4756,7 +4496,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 117,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -4784,7 +4524,7 @@
},
{
"name" : "FabricEgress.egress_next.pop_vlan",
- "id" : 65,
+ "id" : 50,
"runtime_data" : [],
"primitives" : [
{
@@ -4805,8 +4545,600 @@
]
},
{
- "name" : "act_22",
- "id" : 66,
+ "name" : "FabricEgress.spgw_egress.gtpu_encap",
+ "id" : 51,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu_ipv4"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 308,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "version"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x04"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 309,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.version = 4"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ihl"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x05"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 143,
+ "column" : 28,
+ "source_fragment" : "5; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "dscp"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 311,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.dscp = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ecn"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 312,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.ecn = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "total_len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["ipv4", "total_len"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0024"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 313,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.total_len = hdr.ipv4.total_len ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "identification"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x1513"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 315,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.identification = 0x1513"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "flags"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 316,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.flags = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "frag_offset"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 317,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.frag_offset = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "ttl"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x40"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 156,
+ "column" : 32,
+ "source_fragment" : "64; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "protocol"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x11"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/../define.p4",
+ "line" : 140,
+ "column" : 25,
+ "source_fragment" : "17; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "src_addr"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_addr23"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 320,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.src_addr = fabric_md.spgw.tunnel_src_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "dst_addr"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr24"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 321,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.dst_addr = fabric_md.spgw.tunnel_dst_addr; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_ipv4", "hdr_checksum"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 322,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_ipv4.hdr_checksum = 0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "gtpu_udp"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 324,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "sport"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_tunnel_src_port22"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 325,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.sport = fabric_md.spgw.tunnel_src_port; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "dport"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0868"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 326,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.dport = 2152"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "len"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "&",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "+",
+ "left" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len20"]
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0x0010"
+ }
+ }
+ },
+ "right" : {
+ "type" : "hexstr",
+ "value" : "0xffff"
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 327,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.len = fabric_md.spgw.ipv4_len ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["gtpu_udp", "checksum"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x0000"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 329,
+ "column" : 8,
+ "source_fragment" : "hdr.gtpu_udp.checksum = 0"
+ }
+ },
+ {
+ "op" : "add_header",
+ "parameters" : [
+ {
+ "type" : "header",
+ "value" : "outer_gtpu"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 332,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.setValid()"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "version"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 333,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.version = 0x01"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "pt"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x01"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 334,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.pt = 0x01"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "spare"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 335,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.spare = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "ex_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 336,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.ex_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "seq_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 337,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.seq_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "npdu_flag"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0x00"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 338,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.npdu_flag = 0"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "msgtype"]
+ },
+ {
+ "type" : "hexstr",
+ "value" : "0xff"
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 339,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.msgtype = 0xff"
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "msglen"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_ipv4_len20"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 340,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.msglen = fabric_md.spgw.ipv4_len; ..."
+ }
+ },
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["outer_gtpu", "teid"]
+ },
+ {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_teid21"]
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 341,
+ "column" : 8,
+ "source_fragment" : "hdr.outer_gtpu.teid = fabric_md.spgw.teid; ..."
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_9",
+ "id" : 52,
"runtime_data" : [],
"primitives" : [
{
@@ -4822,8 +5154,8 @@
]
},
{
- "name" : "act_23",
- "id" : 67,
+ "name" : "act_10",
+ "id" : 53,
"runtime_data" : [],
"primitives" : [
{
@@ -4873,8 +5205,8 @@
]
},
{
- "name" : "act_24",
- "id" : 68,
+ "name" : "act_11",
+ "id" : 54,
"runtime_data" : [],
"primitives" : [
{
@@ -4895,8 +5227,8 @@
]
},
{
- "name" : "act_25",
- "id" : 69,
+ "name" : "act_12",
+ "id" : 55,
"runtime_data" : [],
"primitives" : [
{
@@ -4925,8 +5257,8 @@
]
},
{
- "name" : "act_26",
- "id" : 70,
+ "name" : "act_13",
+ "id" : 56,
"runtime_data" : [],
"primitives" : [
{
@@ -4955,8 +5287,8 @@
]
},
{
- "name" : "act_27",
- "id" : 71,
+ "name" : "act_14",
+ "id" : 57,
"runtime_data" : [],
"primitives" : [
{
@@ -4977,8 +5309,8 @@
]
},
{
- "name" : "act_28",
- "id" : 72,
+ "name" : "act_15",
+ "id" : 58,
"runtime_data" : [],
"primitives" : [
{
@@ -5026,8 +5358,8 @@
]
},
{
- "name" : "act_29",
- "id" : 73,
+ "name" : "act_16",
+ "id" : 59,
"runtime_data" : [],
"primitives" : [
{
@@ -5048,8 +5380,8 @@
]
},
{
- "name" : "act_30",
- "id" : 74,
+ "name" : "act_17",
+ "id" : 60,
"runtime_data" : [],
"primitives" : [
{
@@ -5097,8 +5429,74 @@
]
},
{
- "name" : "act_31",
- "id" : 75,
+ "name" : "act_18",
+ "id" : 61,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "spgw_egress_hasReturned"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ }
+ }
+ ],
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
+ "column" : 46,
+ "source_fragment" : "return"
+ }
+ }
+ ]
+ },
+ {
+ "name" : "act_19",
+ "id" : 62,
+ "runtime_data" : [],
+ "primitives" : [
+ {
+ "op" : "assign",
+ "parameters" : [
+ {
+ "type" : "field",
+ "value" : ["scalars", "spgw_egress_hasReturned"]
+ },
+ {
+ "type" : "expression",
+ "value" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "b2d",
+ "left" : null,
+ "right" : {
+ "type" : "bool",
+ "value" : false
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name" : "act_20",
+ "id" : 63,
"runtime_data" : [],
"primitives" : [
{
@@ -5110,14 +5508,14 @@
},
{
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id22"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_ctr_id25"]
}
],
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 288,
+ "filename" : "include/control/spgw.p4",
+ "line" : 346,
"column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
}
}
]
@@ -5133,157 +5531,12 @@
"column" : 8,
"source_fragment" : "FabricIngress"
},
- "init_table" : "tbl_act",
+ "init_table" : "node_2",
"tables" : [
{
"name" : "tbl_act",
"id" : 0,
"source_info" : {
- "filename" : "fabric.p4",
- "line" : 62,
- "column" : 50,
- "source_fragment" : "hdr.gtpu_ipv4, hdr.gtpu_udp"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [38],
- "actions" : ["act_0"],
- "base_default_next" : "node_3",
- "next_tables" : {
- "act_0" : "node_3"
- },
- "default_entry" : {
- "action_id" : 38,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_0",
- "id" : 1,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 32,
- "source_fragment" : "return"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [37],
- "actions" : ["act"],
- "base_default_next" : "node_5",
- "next_tables" : {
- "act" : "node_5"
- },
- "default_entry" : {
- "action_id" : 37,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_1",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 35,
- "column" : 18,
- "source_fragment" : "= ipv4; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [41],
- "actions" : ["act_3"],
- "base_default_next" : "node_7",
- "next_tables" : {
- "act_3" : "node_7"
- },
- "default_entry" : {
- "action_id" : 41,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_2",
- "id" : 3,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 39,
- "column" : 16,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [39],
- "actions" : ["act_1"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_1" : "node_10"
- },
- "default_entry" : {
- "action_id" : 39,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_3",
- "id" : 4,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 41,
- "column" : 12,
- "source_fragment" : "udp.setInvalid()"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [40],
- "actions" : ["act_2"],
- "base_default_next" : "node_10",
- "next_tables" : {
- "act_2" : "node_10"
- },
- "default_entry" : {
- "action_id" : 40,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_4",
- "id" : 5,
- "source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 25,
"column" : 42,
@@ -5296,14 +5549,450 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [42],
- "actions" : ["act_4"],
- "base_default_next" : "node_12",
+ "action_ids" : [36],
+ "actions" : ["act"],
+ "base_default_next" : "tbl_act_0",
"next_tables" : {
- "act_4" : "node_12"
+ "act" : "tbl_act_0"
},
"default_entry" : {
- "action_id" : 42,
+ "action_id" : 36,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_0",
+ "id" : 1,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [37],
+ "actions" : ["act_0"],
+ "base_default_next" : "FabricIngress.spgw_ingress.interface_lookup",
+ "next_tables" : {
+ "act_0" : "FabricIngress.spgw_ingress.interface_lookup"
+ },
+ "default_entry" : {
+ "action_id" : 37,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.interface_lookup",
+ "id" : 2,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 55,
+ "column" : 10,
+ "source_fragment" : "interface_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "lpm",
+ "name" : "ipv4_dst_addr",
+ "target" : ["ipv4", "dst_addr"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "gtpu_is_valid",
+ "target" : ["gtpu", "$valid$"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "lpm",
+ "type" : "simple",
+ "max_size" : 128,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [27],
+ "actions" : ["FabricIngress.spgw_ingress.set_source_iface"],
+ "base_default_next" : "node_6",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.set_source_iface" : "node_6"
+ },
+ "default_entry" : {
+ "action_id" : 27,
+ "action_const" : true,
+ "action_data" : ["0x0", "0x0", "0x1"],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_1",
+ "id" : 3,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 251,
+ "column" : 46,
+ "source_fragment" : "return"
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [38],
+ "actions" : ["act_1"],
+ "base_default_next" : "node_8",
+ "next_tables" : {
+ "act_1" : "node_8"
+ },
+ "default_entry" : {
+ "action_id" : 38,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
+ "id" : 4,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 93,
+ "column" : 10,
+ "source_fragment" : "uplink_pdr_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "tunnel_ipv4_dst",
+ "target" : ["ipv4", "dst_addr"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "teid",
+ "target" : ["gtpu", "teid"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "ue_addr",
+ "target" : ["inner_ipv4", "src_addr"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [29],
+ "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes"],
+ "base_default_next" : "tbl_act_2",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.set_pdr_attributes" : "tbl_act_2"
+ },
+ "default_entry" : {
+ "action_id" : 29,
+ "action_const" : true,
+ "action_data" : ["0x0", "0x0", "0x0"],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.downlink_pdr_lookup",
+ "id" : 5,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 82,
+ "column" : 10,
+ "source_fragment" : "downlink_pdr_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "ue_addr",
+ "target" : ["ipv4", "dst_addr"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [28],
+ "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes"],
+ "base_default_next" : "tbl_act_2",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.set_pdr_attributes" : "tbl_act_2"
+ },
+ "default_entry" : {
+ "action_id" : 28,
+ "action_const" : true,
+ "action_data" : ["0x0", "0x0", "0x0"],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_2",
+ "id" : 6,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 265,
+ "column" : 8,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [39],
+ "actions" : ["act_2"],
+ "base_default_next" : "node_13",
+ "next_tables" : {
+ "act_2" : "node_13"
+ },
+ "default_entry" : {
+ "action_id" : 39,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.decap_gtpu",
+ "id" : 7,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 221,
+ "column" : 10,
+ "source_fragment" : "decap_gtpu"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "hdr.inner_tcp.$valid$",
+ "target" : ["inner_tcp", "$valid$"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "hdr.inner_udp.$valid$",
+ "target" : ["inner_udp", "$valid$"],
+ "mask" : null
+ },
+ {
+ "match_type" : "exact",
+ "name" : "hdr.inner_icmp.$valid$",
+ "target" : ["inner_icmp", "$valid$"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [32, 33, 34, 35],
+ "actions" : ["FabricIngress.spgw_ingress.decap_inner_tcp", "FabricIngress.spgw_ingress.decap_inner_udp", "FabricIngress.spgw_ingress.decap_inner_icmp", "FabricIngress.spgw_ingress.decap_inner_unknown"],
+ "base_default_next" : "FabricIngress.spgw_ingress.far_lookup",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.decap_inner_tcp" : "FabricIngress.spgw_ingress.far_lookup",
+ "FabricIngress.spgw_ingress.decap_inner_udp" : "FabricIngress.spgw_ingress.far_lookup",
+ "FabricIngress.spgw_ingress.decap_inner_icmp" : "FabricIngress.spgw_ingress.far_lookup",
+ "FabricIngress.spgw_ingress.decap_inner_unknown" : "FabricIngress.spgw_ingress.far_lookup"
+ },
+ "default_entry" : {
+ "action_id" : 35,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ },
+ "entries" : [
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 235,
+ "column" : 12,
+ "source_fragment" : "(true, false, false) : decap_inner_tcp()"
+ },
+ "match_key" : [
+ {
+ "match_type" : "exact",
+ "key" : "0x01"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ }
+ ],
+ "action_entry" : {
+ "action_id" : 32,
+ "action_data" : []
+ },
+ "priority" : 1
+ },
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 236,
+ "column" : 12,
+ "source_fragment" : "(false, true, false) : decap_inner_udp()"
+ },
+ "match_key" : [
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x01"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ }
+ ],
+ "action_entry" : {
+ "action_id" : 33,
+ "action_data" : []
+ },
+ "priority" : 2
+ },
+ {
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 237,
+ "column" : 12,
+ "source_fragment" : "(false, false, true) : decap_inner_icmp()"
+ },
+ "match_key" : [
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x00"
+ },
+ {
+ "match_type" : "exact",
+ "key" : "0x01"
+ }
+ ],
+ "action_entry" : {
+ "action_id" : 34,
+ "action_data" : []
+ },
+ "priority" : 3
+ }
+ ]
+ },
+ {
+ "name" : "FabricIngress.spgw_ingress.far_lookup",
+ "id" : 8,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 165,
+ "column" : 10,
+ "source_fragment" : "far_lookup"
+ },
+ "key" : [
+ {
+ "match_type" : "exact",
+ "name" : "far_id",
+ "target" : ["scalars", "fabric_metadata_t._spgw_far_id26"],
+ "mask" : null
+ }
+ ],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 2048,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [30, 31],
+ "actions" : ["FabricIngress.spgw_ingress.load_normal_far_attributes", "FabricIngress.spgw_ingress.load_tunnel_far_attributes"],
+ "base_default_next" : "node_16",
+ "next_tables" : {
+ "FabricIngress.spgw_ingress.load_normal_far_attributes" : "node_16",
+ "FabricIngress.spgw_ingress.load_tunnel_far_attributes" : "node_16"
+ },
+ "default_entry" : {
+ "action_id" : 30,
+ "action_const" : true,
+ "action_data" : ["0x1", "0x1"],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_3",
+ "id" : 9,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 282,
+ "column" : 38,
+ "source_fragment" : "= true; ..."
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [40],
+ "actions" : ["act_3"],
+ "base_default_next" : "tbl_act_4",
+ "next_tables" : {
+ "act_3" : "tbl_act_4"
+ },
+ "default_entry" : {
+ "action_id" : 40,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_4",
+ "id" : 10,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 291,
+ "column" : 32,
+ "source_fragment" : "="
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [41],
+ "actions" : ["act_4"],
+ "base_default_next" : "node_19",
+ "next_tables" : {
+ "act_4" : "node_19"
+ },
+ "default_entry" : {
+ "action_id" : 41,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5311,7 +6000,7 @@
},
{
"name" : "tbl_act_5",
- "id" : 6,
+ "id" : 11,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 111,
@@ -5325,14 +6014,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [43],
+ "action_ids" : [42],
"actions" : ["act_5"],
- "base_default_next" : "node_14",
+ "base_default_next" : "node_21",
"next_tables" : {
- "act_5" : "node_14"
+ "act_5" : "node_21"
},
"default_entry" : {
- "action_id" : 43,
+ "action_id" : 42,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5340,7 +6029,7 @@
},
{
"name" : "tbl_act_6",
- "id" : 7,
+ "id" : 12,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 127,
@@ -5354,14 +6043,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [44],
+ "action_ids" : [43],
"actions" : ["act_6"],
"base_default_next" : "FabricIngress.filtering.ingress_port_vlan",
"next_tables" : {
"act_6" : "FabricIngress.filtering.ingress_port_vlan"
},
"default_entry" : {
- "action_id" : 44,
+ "action_id" : 43,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5369,7 +6058,7 @@
},
{
"name" : "FabricIngress.filtering.ingress_port_vlan",
- "id" : 8,
+ "id" : 13,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 53,
@@ -5402,7 +6091,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [17, 18, 19],
+ "action_ids" : [7, 8, 9],
"actions" : ["FabricIngress.filtering.deny", "FabricIngress.filtering.permit", "FabricIngress.filtering.permit_with_internal_vlan"],
"base_default_next" : "FabricIngress.filtering.fwd_classifier",
"next_tables" : {
@@ -5411,7 +6100,7 @@
"FabricIngress.filtering.permit_with_internal_vlan" : "FabricIngress.filtering.fwd_classifier"
},
"default_entry" : {
- "action_id" : 17,
+ "action_id" : 7,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -5419,7 +6108,7 @@
},
{
"name" : "FabricIngress.filtering.fwd_classifier",
- "id" : 9,
+ "id" : 14,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 92,
@@ -5458,673 +6147,22 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [20],
+ "action_ids" : [10],
"actions" : ["FabricIngress.filtering.set_forwarding_type"],
- "base_default_next" : "tbl_act_7",
+ "base_default_next" : "node_25",
"next_tables" : {
- "FabricIngress.filtering.set_forwarding_type" : "tbl_act_7"
+ "FabricIngress.filtering.set_forwarding_type" : "node_25"
},
"default_entry" : {
- "action_id" : 20,
+ "action_id" : 10,
"action_const" : true,
"action_data" : ["0x0"],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_7",
- "id" : 10,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [53],
- "actions" : ["act_15"],
- "base_default_next" : "node_19",
- "next_tables" : {
- "act_15" : "node_19"
- },
- "default_entry" : {
- "action_id" : 53,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.uplink_filter_table",
- "id" : 11,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 84,
- "column" : 10,
- "source_fragment" : "uplink_filter_table"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "gtp_ipv4_dst",
- "target" : ["gtpu_ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [1],
- "actions" : ["nop"],
- "base_default_next" : null,
- "next_tables" : {
- "__HIT__" : "tbl_act_8",
- "__MISS__" : "tbl_act_9"
- },
- "default_entry" : {
- "action_id" : 1,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_8",
- "id" : 12,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [45],
- "actions" : ["act_7"],
- "base_default_next" : "node_23",
- "next_tables" : {
- "act_7" : "node_23"
- },
- "default_entry" : {
- "action_id" : 45,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_9",
- "id" : 13,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [46],
- "actions" : ["act_8"],
- "base_default_next" : "node_23",
- "next_tables" : {
- "act_8" : "node_23"
- },
- "default_entry" : {
- "action_id" : 46,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_10",
- "id" : 14,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 187,
- "column" : 16,
- "source_fragment" : "mark_to_drop(standard_metadata)"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [47],
- "actions" : ["act_9"],
- "base_default_next" : "tbl_act_11",
- "next_tables" : {
- "act_9" : "tbl_act_11"
- },
- "default_entry" : {
- "action_id" : 47,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_11",
- "id" : 15,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 189,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [48],
- "actions" : ["act_10"],
- "base_default_next" : "tbl_spgw_ingress_gtpu_decap",
- "next_tables" : {
- "act_10" : "tbl_spgw_ingress_gtpu_decap"
- },
- "default_entry" : {
- "action_id" : 48,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_spgw_ingress_gtpu_decap",
- "id" : 16,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 190,
- "column" : 12,
- "source_fragment" : "gtpu_decap()"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [11],
- "actions" : ["FabricIngress.spgw_ingress.gtpu_decap"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "FabricIngress.spgw_ingress.gtpu_decap" : "node_33"
- },
- "default_entry" : {
- "action_id" : 11,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.downlink_filter_table",
- "id" : 17,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 73,
- "column" : 10,
- "source_fragment" : "downlink_filter_table"
- },
- "key" : [
- {
- "match_type" : "lpm",
- "name" : "ipv4_prefix",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "lpm",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [0],
- "actions" : ["nop"],
- "base_default_next" : null,
- "next_tables" : {
- "__HIT__" : "tbl_act_12",
- "__MISS__" : "tbl_act_13"
- },
- "default_entry" : {
- "action_id" : 0,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_12",
- "id" : 18,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [49],
- "actions" : ["act_11"],
- "base_default_next" : "node_30",
- "next_tables" : {
- "act_11" : "node_30"
- },
- "default_entry" : {
- "action_id" : 49,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_13",
- "id" : 19,
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [50],
- "actions" : ["act_12"],
- "base_default_next" : "node_30",
- "next_tables" : {
- "act_12" : "node_30"
- },
- "default_entry" : {
- "action_id" : 50,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_14",
- "id" : 20,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 192,
- "column" : 39,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [51],
- "actions" : ["act_13"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "act_13" : "node_33"
- },
- "default_entry" : {
- "action_id" : 51,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_15",
- "id" : 21,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 194,
- "column" : 39,
- "source_fragment" : "= SPGW_DIR_UNKNOWN; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [52],
- "actions" : ["act_14"],
- "base_default_next" : "node_33",
- "next_tables" : {
- "act_14" : "node_33"
- },
- "default_entry" : {
- "action_id" : 52,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
- "id" : 22,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 111,
- "column" : 10,
- "source_fragment" : "uplink_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "tunnel_ipv4_dst",
- "target" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"],
- "mask" : null
- },
- {
- "match_type" : "exact",
- "name" : "teid",
- "target" : ["scalars", "fabric_metadata_t._spgw_teid19"],
- "mask" : null
- },
- {
- "match_type" : "exact",
- "name" : "ue_addr",
- "target" : ["ipv4", "src_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [13, 10],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes", "NoAction"],
- "base_default_next" : "node_39",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "node_39",
- "NoAction" : "node_39"
- },
- "default_entry" : {
- "action_id" : 10,
- "action_const" : false,
- "action_data" : [],
- "action_entry_const" : false
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.downlink_pdr_lookup",
- "id" : 23,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 103,
- "column" : 10,
- "source_fragment" : "downlink_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "ue_addr",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [12, 9],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes", "NoAction"],
- "base_default_next" : "node_39",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "node_39",
- "NoAction" : "node_39"
- },
- "default_entry" : {
- "action_id" : 9,
- "action_const" : false,
- "action_data" : [],
- "action_entry_const" : false
- }
- },
- {
- "name" : "tbl_act_16",
- "id" : 24,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 206,
- "column" : 12,
- "source_fragment" : "return"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [54],
- "actions" : ["act_16"],
- "base_default_next" : "node_39",
- "next_tables" : {
- "act_16" : "node_39"
- },
- "default_entry" : {
- "action_id" : 54,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.flexible_pdr_lookup",
- "id" : 25,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 123,
- "column" : 10,
- "source_fragment" : "flexible_pdr_lookup"
- },
- "key" : [
- {
- "match_type" : "ternary",
- "name" : "spgw_direction",
- "target" : ["scalars", "fabric_metadata_t._spgw_direction17"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "tunnel_ipv4_dst",
- "target" : ["scalars", "fabric_metadata_t._spgw_tunnel_dst_addr21"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "teid",
- "target" : ["scalars", "fabric_metadata_t._spgw_teid19"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ipv4_src",
- "target" : ["ipv4", "src_addr"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ipv4_dst",
- "target" : ["ipv4", "dst_addr"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "ip_proto",
- "target" : ["ipv4", "protocol"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "l4_sport",
- "target" : ["scalars", "fabric_metadata_t._l4_sport13"],
- "mask" : null
- },
- {
- "match_type" : "ternary",
- "name" : "l4_dport",
- "target" : ["scalars", "fabric_metadata_t._l4_dport14"],
- "mask" : null
- }
- ],
- "match_type" : "ternary",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [14],
- "actions" : ["FabricIngress.spgw_ingress.set_pdr_attributes"],
- "base_default_next" : "tbl_act_17",
- "next_tables" : {
- "FabricIngress.spgw_ingress.set_pdr_attributes" : "tbl_act_17"
- },
- "default_entry" : {
- "action_id" : 14,
- "action_const" : true,
- "action_data" : ["0x0", "0x0"],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_17",
- "id" : 26,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 213,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [55],
- "actions" : ["act_17"],
- "base_default_next" : "FabricIngress.spgw_ingress.far_lookup",
- "next_tables" : {
- "act_17" : "FabricIngress.spgw_ingress.far_lookup"
- },
- "default_entry" : {
- "action_id" : 55,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "FabricIngress.spgw_ingress.far_lookup",
- "id" : 27,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 168,
- "column" : 10,
- "source_fragment" : "far_lookup"
- },
- "key" : [
- {
- "match_type" : "exact",
- "name" : "far_id",
- "target" : ["scalars", "fabric_metadata_t._spgw_far_id23"],
- "mask" : null
- }
- ],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [15, 16],
- "actions" : ["FabricIngress.spgw_ingress.load_normal_far_attributes", "FabricIngress.spgw_ingress.load_tunnel_far_attributes"],
- "base_default_next" : "node_44",
- "next_tables" : {
- "FabricIngress.spgw_ingress.load_normal_far_attributes" : "node_44",
- "FabricIngress.spgw_ingress.load_tunnel_far_attributes" : "node_44"
- },
- "default_entry" : {
- "action_id" : 15,
- "action_const" : true,
- "action_data" : ["0x1", "0x0"],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_18",
- "id" : 28,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 223,
- "column" : 40,
- "source_fragment" : "= true; ..."
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [56],
- "actions" : ["act_18"],
- "base_default_next" : "tbl_act_19",
- "next_tables" : {
- "act_18" : "tbl_act_19"
- },
- "default_entry" : {
- "action_id" : 56,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
- "name" : "tbl_act_19",
- "id" : 29,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 232,
- "column" : 34,
- "source_fragment" : "="
- },
- "key" : [],
- "match_type" : "exact",
- "type" : "simple",
- "max_size" : 1024,
- "with_counters" : false,
- "support_timeout" : false,
- "direct_meters" : null,
- "action_ids" : [57],
- "actions" : ["act_19"],
- "base_default_next" : "node_47",
- "next_tables" : {
- "act_19" : "node_47"
- },
- "default_entry" : {
- "action_id" : 57,
- "action_const" : true,
- "action_data" : [],
- "action_entry_const" : true
- }
- },
- {
"name" : "FabricIngress.forwarding.bridging",
- "id" : 30,
+ "id" : 15,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 46,
@@ -6151,7 +6189,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [21, 2],
+ "action_ids" : [11, 0],
"actions" : ["FabricIngress.forwarding.set_next_id_bridging", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -6159,7 +6197,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 2,
+ "action_id" : 0,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6167,7 +6205,7 @@
},
{
"name" : "FabricIngress.forwarding.mpls",
- "id" : 31,
+ "id" : 16,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 71,
@@ -6188,7 +6226,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [22, 3],
+ "action_ids" : [12, 1],
"actions" : ["FabricIngress.forwarding.pop_mpls_and_next", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -6196,7 +6234,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 3,
+ "action_id" : 1,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6204,7 +6242,7 @@
},
{
"name" : "FabricIngress.forwarding.routing_v4",
- "id" : 32,
+ "id" : 17,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 108,
@@ -6225,7 +6263,7 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [23, 24, 4],
+ "action_ids" : [13, 14, 2],
"actions" : ["FabricIngress.forwarding.set_next_id_routing_v4", "FabricIngress.forwarding.nop_routing_v4", "nop"],
"base_default_next" : "FabricIngress.acl.acl",
"next_tables" : {
@@ -6234,7 +6272,7 @@
"nop" : "FabricIngress.acl.acl"
},
"default_entry" : {
- "action_id" : 4,
+ "action_id" : 2,
"action_const" : false,
"action_data" : [],
"action_entry_const" : false
@@ -6242,7 +6280,7 @@
},
{
"name" : "FabricIngress.acl.acl",
- "id" : 33,
+ "id" : 18,
"source_info" : {
"filename" : "include/control/acl.p4",
"line" : 60,
@@ -6329,18 +6367,18 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [25, 26, 27, 28, 29],
+ "action_ids" : [15, 16, 17, 18, 19],
"actions" : ["FabricIngress.acl.set_next_id_acl", "FabricIngress.acl.punt_to_cpu", "FabricIngress.acl.set_clone_session_id", "FabricIngress.acl.drop", "FabricIngress.acl.nop_acl"],
- "base_default_next" : "node_55",
+ "base_default_next" : "node_33",
"next_tables" : {
- "FabricIngress.acl.set_next_id_acl" : "node_55",
- "FabricIngress.acl.punt_to_cpu" : "node_55",
- "FabricIngress.acl.set_clone_session_id" : "node_55",
- "FabricIngress.acl.drop" : "node_55",
- "FabricIngress.acl.nop_acl" : "node_55"
+ "FabricIngress.acl.set_next_id_acl" : "node_33",
+ "FabricIngress.acl.punt_to_cpu" : "node_33",
+ "FabricIngress.acl.set_clone_session_id" : "node_33",
+ "FabricIngress.acl.drop" : "node_33",
+ "FabricIngress.acl.nop_acl" : "node_33"
},
"default_entry" : {
- "action_id" : 29,
+ "action_id" : 19,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6348,7 +6386,7 @@
},
{
"name" : "FabricIngress.next.xconnect",
- "id" : 34,
+ "id" : 19,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 119,
@@ -6375,7 +6413,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [31, 32, 6],
+ "action_ids" : [21, 22, 4],
"actions" : ["FabricIngress.next.output_xconnect", "FabricIngress.next.set_next_id_xconnect", "nop"],
"base_default_next" : "FabricIngress.next.hashed",
"next_tables" : {
@@ -6384,7 +6422,7 @@
"nop" : "FabricIngress.next.hashed"
},
"default_entry" : {
- "action_id" : 6,
+ "action_id" : 4,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6392,7 +6430,7 @@
},
{
"name" : "FabricIngress.next.hashed",
- "id" : 35,
+ "id" : 20,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 202,
@@ -6414,7 +6452,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [33, 34, 35, 7],
+ "action_ids" : [23, 24, 25, 5],
"actions" : ["FabricIngress.next.output_hashed", "FabricIngress.next.routing_hashed", "FabricIngress.next.mpls_routing_hashed", "nop"],
"base_default_next" : "FabricIngress.next.multicast",
"next_tables" : {
@@ -6426,7 +6464,7 @@
},
{
"name" : "FabricIngress.next.multicast",
- "id" : 36,
+ "id" : 21,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 236,
@@ -6447,7 +6485,7 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [36, 8],
+ "action_ids" : [26, 6],
"actions" : ["FabricIngress.next.set_mcast_group_id", "nop"],
"base_default_next" : "FabricIngress.next.next_vlan",
"next_tables" : {
@@ -6455,7 +6493,7 @@
"nop" : "FabricIngress.next.next_vlan"
},
"default_entry" : {
- "action_id" : 8,
+ "action_id" : 6,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6463,7 +6501,7 @@
},
{
"name" : "FabricIngress.next.next_vlan",
- "id" : 37,
+ "id" : 22,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 86,
@@ -6484,23 +6522,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [30, 5],
+ "action_ids" : [20, 3],
"actions" : ["FabricIngress.next.set_vlan", "nop"],
- "base_default_next" : "node_60",
+ "base_default_next" : "node_38",
"next_tables" : {
- "FabricIngress.next.set_vlan" : "node_60",
- "nop" : "node_60"
+ "FabricIngress.next.set_vlan" : "node_38",
+ "nop" : "node_38"
},
"default_entry" : {
- "action_id" : 5,
+ "action_id" : 3,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_20",
- "id" : 38,
+ "name" : "tbl_act_7",
+ "id" : 23,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 31,
@@ -6514,22 +6552,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [58],
- "actions" : ["act_20"],
- "base_default_next" : "node_62",
+ "action_ids" : [44],
+ "actions" : ["act_7"],
+ "base_default_next" : "node_40",
"next_tables" : {
- "act_20" : "node_62"
+ "act_7" : "node_40"
},
"default_entry" : {
- "action_id" : 58,
+ "action_id" : 44,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_21",
- "id" : 39,
+ "name" : "tbl_act_8",
+ "id" : 24,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 34,
@@ -6543,14 +6581,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [59],
- "actions" : ["act_21"],
+ "action_ids" : [45],
+ "actions" : ["act_8"],
"base_default_next" : null,
"next_tables" : {
- "act_21" : null
+ "act_8" : null
},
"default_entry" : {
- "action_id" : 59,
+ "action_id" : 45,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -6597,86 +6635,9 @@
],
"conditionals" : [
{
- "name" : "node_3",
+ "name" : "node_2",
"id" : 0,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 34,
- "column" : 12,
- "source_fragment" : "! is_gtpu_encapped"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_0",
- "false_next" : "node_5"
- },
- {
- "name" : "node_5",
- "id" : 1,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_normalizer_hasReturned"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_1",
- "false_next" : "node_10"
- },
- {
- "name" : "node_7",
- "id" : 2,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 38,
- "column" : 12,
- "source_fragment" : "inner_udp.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["inner_udp", "$valid$"]
- }
- }
- },
- "true_next" : "tbl_act_2",
- "false_next" : "tbl_act_3"
- },
- {
- "name" : "node_10",
- "id" : 3,
- "source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 24,
"column" : 12,
@@ -6693,13 +6654,159 @@
}
}
},
- "true_next" : "tbl_act_4",
- "false_next" : "node_12"
+ "true_next" : "tbl_act",
+ "false_next" : "tbl_act_0"
},
{
- "name" : "node_12",
+ "name" : "node_6",
+ "id" : 1,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 251,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.skip_spgw == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw28"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "true_next" : "tbl_act_1",
+ "false_next" : "node_8"
+ },
+ {
+ "name" : "node_8",
+ "id" : 2,
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "not",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "spgw_ingress_hasReturned"]
+ }
+ }
+ }
+ }
+ },
+ "true_next" : "node_9",
+ "false_next" : "node_19"
+ },
+ {
+ "name" : "node_9",
+ "id" : 3,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 255,
+ "column" : 12,
+ "source_fragment" : "hdr.gtpu.isValid()"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["gtpu", "$valid$"]
+ }
+ }
+ },
+ "true_next" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
+ "false_next" : "FabricIngress.spgw_ingress.downlink_pdr_lookup"
+ },
+ {
+ "name" : "node_13",
"id" : 4,
"source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 268,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.needs_gtpu_decap == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_decap33"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "true_next" : "FabricIngress.spgw_ingress.decap_gtpu",
+ "false_next" : "FabricIngress.spgw_ingress.far_lookup"
+ },
+ {
+ "name" : "node_16",
+ "id" : 5,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 279,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.far_dropped == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped30"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "true_next" : "tbl_act_3",
+ "false_next" : "tbl_act_4"
+ },
+ {
+ "name" : "node_19",
+ "id" : 6,
+ "source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 110,
"column" : 12,
@@ -6717,11 +6824,11 @@
}
},
"true_next" : "tbl_act_5",
- "false_next" : "node_14"
+ "false_next" : "node_21"
},
{
- "name" : "node_14",
- "id" : 5,
+ "name" : "node_21",
+ "id" : 7,
"source_info" : {
"filename" : "include/control/filtering.p4",
"line" : 122,
@@ -6750,247 +6857,11 @@
"false_next" : "FabricIngress.filtering.ingress_port_vlan"
},
{
- "name" : "node_19",
- "id" : 6,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 181,
- "column" : 12,
- "source_fragment" : "gtpu.isValid()"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["gtpu", "$valid$"]
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.uplink_filter_table",
- "false_next" : "FabricIngress.spgw_ingress.downlink_filter_table"
- },
- {
- "name" : "node_23",
- "id" : 7,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 185,
- "column" : 16,
- "source_fragment" : "!uplink_filter_table.apply().hit"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp"]
- }
- }
- }
- }
- },
- "true_next" : "tbl_act_10",
- "false_next" : "tbl_act_11"
- },
- {
- "name" : "node_30",
+ "name" : "node_25",
"id" : 8,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_tmp_0"]
- }
- }
- },
- "true_next" : "tbl_act_14",
- "false_next" : "tbl_act_15"
- },
- {
- "name" : "node_33",
- "id" : 9,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- }
- }
- }
- }
- },
- "true_next" : "node_34",
- "false_next" : "node_39"
- },
- {
- "name" : "node_34",
- "id" : 10,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 201,
- "column" : 12,
- "source_fragment" : "fabric_meta.spgw.direction == SPGW_DIR_UPLINK"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x01"
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.uplink_pdr_lookup",
- "false_next" : "node_36"
- },
- {
- "name" : "node_36",
- "id" : 11,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 203,
- "column" : 19,
- "source_fragment" : "fabric_meta.spgw.direction == SPGW_DIR_DOWNLINK"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_direction17"]
- },
- "right" : {
- "type" : "hexstr",
- "value" : "0x02"
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.downlink_pdr_lookup",
- "false_next" : "tbl_act_16"
- },
- {
- "name" : "node_39",
- "id" : 12,
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "not",
- "left" : null,
- "right" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "spgw_ingress_hasReturned"]
- }
- }
- }
- }
- },
- "true_next" : "node_40",
- "false_next" : "node_47"
- },
- {
- "name" : "node_40",
- "id" : 13,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 209,
- "column" : 12,
- "source_fragment" : "fabric_meta.spgw.pdr_hit == false"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_pdr_hit24"]
- }
- }
- },
- "right" : {
- "type" : "bool",
- "value" : false
- }
- }
- },
- "true_next" : "FabricIngress.spgw_ingress.flexible_pdr_lookup",
- "false_next" : "tbl_act_17"
- },
- {
- "name" : "node_44",
- "id" : 14,
- "source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 220,
- "column" : 12,
- "source_fragment" : "fabric_meta.spgw.far_dropped == true"
- },
- "expression" : {
- "type" : "expression",
- "value" : {
- "op" : "==",
- "left" : {
- "type" : "expression",
- "value" : {
- "op" : "d2b",
- "left" : null,
- "right" : {
- "type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_far_dropped25"]
- }
- }
- },
- "right" : {
- "type" : "bool",
- "value" : true
- }
- }
- },
- "true_next" : "tbl_act_18",
- "false_next" : "tbl_act_19"
- },
- {
- "name" : "node_47",
- "id" : 15,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -7015,12 +6886,12 @@
}
}
},
- "true_next" : "node_48",
+ "true_next" : "node_26",
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_48",
- "id" : 16,
+ "name" : "node_26",
+ "id" : 9,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 150,
@@ -7042,11 +6913,11 @@
}
},
"true_next" : "FabricIngress.forwarding.bridging",
- "false_next" : "node_50"
+ "false_next" : "node_28"
},
{
- "name" : "node_50",
- "id" : 17,
+ "name" : "node_28",
+ "id" : 10,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 151,
@@ -7068,11 +6939,11 @@
}
},
"true_next" : "FabricIngress.forwarding.mpls",
- "false_next" : "node_52"
+ "false_next" : "node_30"
},
{
- "name" : "node_52",
- "id" : 18,
+ "name" : "node_30",
+ "id" : 11,
"source_info" : {
"filename" : "include/control/forwarding.p4",
"line" : 152,
@@ -7097,11 +6968,11 @@
"false_next" : "FabricIngress.acl.acl"
},
{
- "name" : "node_55",
- "id" : 19,
+ "name" : "node_33",
+ "id" : 12,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -7130,8 +7001,8 @@
"true_next" : "FabricIngress.next.xconnect"
},
{
- "name" : "node_60",
- "id" : 20,
+ "name" : "node_38",
+ "id" : 13,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 30,
@@ -7152,12 +7023,12 @@
}
}
},
- "true_next" : "tbl_act_20",
- "false_next" : "node_62"
+ "true_next" : "tbl_act_7",
+ "false_next" : "node_40"
},
{
- "name" : "node_62",
- "id" : 21,
+ "name" : "node_40",
+ "id" : 14,
"source_info" : {
"filename" : "include/control/port_counter.p4",
"line" : 33,
@@ -7179,7 +7050,7 @@
}
},
"false_next" : null,
- "true_next" : "tbl_act_21"
+ "true_next" : "tbl_act_8"
}
]
},
@@ -7188,15 +7059,15 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},
- "init_table" : "node_66",
+ "init_table" : "node_44",
"tables" : [
{
- "name" : "tbl_act_22",
- "id" : 40,
+ "name" : "tbl_act_9",
+ "id" : 25,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 41,
@@ -7210,22 +7081,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [66],
- "actions" : ["act_22"],
- "base_default_next" : "node_68",
+ "action_ids" : [52],
+ "actions" : ["act_9"],
+ "base_default_next" : "node_46",
"next_tables" : {
- "act_22" : "node_68"
+ "act_9" : "node_46"
},
"default_entry" : {
- "action_id" : 66,
+ "action_id" : 52,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_23",
- "id" : 41,
+ "name" : "tbl_act_10",
+ "id" : 26,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 44,
@@ -7239,22 +7110,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [67],
- "actions" : ["act_23"],
- "base_default_next" : "node_70",
+ "action_ids" : [53],
+ "actions" : ["act_10"],
+ "base_default_next" : "node_48",
"next_tables" : {
- "act_23" : "node_70"
+ "act_10" : "node_48"
},
"default_entry" : {
- "action_id" : 67,
+ "action_id" : 53,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_24",
- "id" : 42,
+ "name" : "tbl_act_11",
+ "id" : 27,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 337,
@@ -7268,14 +7139,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [68],
- "actions" : ["act_24"],
- "base_default_next" : "node_72",
+ "action_ids" : [54],
+ "actions" : ["act_11"],
+ "base_default_next" : "node_50",
"next_tables" : {
- "act_24" : "node_72"
+ "act_11" : "node_50"
},
"default_entry" : {
- "action_id" : 68,
+ "action_id" : 54,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7283,7 +7154,7 @@
},
{
"name" : "tbl_egress_next_pop_mpls_if_present",
- "id" : 43,
+ "id" : 28,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -7297,14 +7168,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [62],
+ "action_ids" : [47],
"actions" : ["FabricEgress.egress_next.pop_mpls_if_present"],
"base_default_next" : "FabricEgress.egress_next.egress_vlan",
"next_tables" : {
"FabricEgress.egress_next.pop_mpls_if_present" : "FabricEgress.egress_next.egress_vlan"
},
"default_entry" : {
- "action_id" : 62,
+ "action_id" : 47,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7312,7 +7183,7 @@
},
{
"name" : "tbl_egress_next_set_mpls",
- "id" : 44,
+ "id" : 29,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 343,
@@ -7326,14 +7197,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [63],
+ "action_ids" : [48],
"actions" : ["FabricEgress.egress_next.set_mpls"],
"base_default_next" : "FabricEgress.egress_next.egress_vlan",
"next_tables" : {
"FabricEgress.egress_next.set_mpls" : "FabricEgress.egress_next.egress_vlan"
},
"default_entry" : {
- "action_id" : 63,
+ "action_id" : 48,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7341,7 +7212,7 @@
},
{
"name" : "FabricEgress.egress_next.egress_vlan",
- "id" : 45,
+ "id" : 30,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 320,
@@ -7368,23 +7239,23 @@
"with_counters" : true,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [65, 60],
+ "action_ids" : [50, 46],
"actions" : ["FabricEgress.egress_next.pop_vlan", "nop"],
"base_default_next" : null,
"next_tables" : {
- "__HIT__" : "tbl_act_25",
- "__MISS__" : "tbl_act_26"
+ "__HIT__" : "tbl_act_12",
+ "__MISS__" : "tbl_act_13"
},
"default_entry" : {
- "action_id" : 60,
+ "action_id" : 46,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_25",
- "id" : 46,
+ "name" : "tbl_act_12",
+ "id" : 31,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -7392,22 +7263,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [69],
- "actions" : ["act_25"],
- "base_default_next" : "node_79",
+ "action_ids" : [55],
+ "actions" : ["act_12"],
+ "base_default_next" : "node_57",
"next_tables" : {
- "act_25" : "node_79"
+ "act_12" : "node_57"
},
"default_entry" : {
- "action_id" : 69,
+ "action_id" : 55,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_26",
- "id" : 47,
+ "name" : "tbl_act_13",
+ "id" : 32,
"key" : [],
"match_type" : "exact",
"type" : "simple",
@@ -7415,14 +7286,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [70],
- "actions" : ["act_26"],
- "base_default_next" : "node_79",
+ "action_ids" : [56],
+ "actions" : ["act_13"],
+ "base_default_next" : "node_57",
"next_tables" : {
- "act_26" : "node_79"
+ "act_13" : "node_57"
},
"default_entry" : {
- "action_id" : 70,
+ "action_id" : 56,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7430,7 +7301,7 @@
},
{
"name" : "tbl_egress_next_push_vlan",
- "id" : 48,
+ "id" : 33,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 360,
@@ -7444,22 +7315,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [64],
+ "action_ids" : [49],
"actions" : ["FabricEgress.egress_next.push_vlan"],
- "base_default_next" : "node_82",
+ "base_default_next" : "node_60",
"next_tables" : {
- "FabricEgress.egress_next.push_vlan" : "node_82"
+ "FabricEgress.egress_next.push_vlan" : "node_60"
},
"default_entry" : {
- "action_id" : 64,
+ "action_id" : 49,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_27",
- "id" : 49,
+ "name" : "tbl_act_14",
+ "id" : 34,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 369,
@@ -7473,22 +7344,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [72],
- "actions" : ["act_28"],
- "base_default_next" : "node_84",
+ "action_ids" : [58],
+ "actions" : ["act_15"],
+ "base_default_next" : "node_62",
"next_tables" : {
- "act_28" : "node_84"
+ "act_15" : "node_62"
},
"default_entry" : {
- "action_id" : 72,
+ "action_id" : 58,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_28",
- "id" : 50,
+ "name" : "tbl_act_15",
+ "id" : 35,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -7502,22 +7373,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [71],
- "actions" : ["act_27"],
- "base_default_next" : "tbl_act_31",
+ "action_ids" : [57],
+ "actions" : ["act_14"],
+ "base_default_next" : "tbl_act_18",
"next_tables" : {
- "act_27" : "tbl_act_31"
+ "act_14" : "tbl_act_18"
},
"default_entry" : {
- "action_id" : 71,
+ "action_id" : 57,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_29",
- "id" : 51,
+ "name" : "tbl_act_16",
+ "id" : 36,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 373,
@@ -7531,22 +7402,22 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [74],
- "actions" : ["act_30"],
- "base_default_next" : "node_88",
+ "action_ids" : [60],
+ "actions" : ["act_17"],
+ "base_default_next" : "node_66",
"next_tables" : {
- "act_30" : "node_88"
+ "act_17" : "node_66"
},
"default_entry" : {
- "action_id" : 74,
+ "action_id" : 60,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_30",
- "id" : 52,
+ "name" : "tbl_act_17",
+ "id" : 37,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -7560,27 +7431,50 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [73],
- "actions" : ["act_29"],
- "base_default_next" : "tbl_act_31",
+ "action_ids" : [59],
+ "actions" : ["act_16"],
+ "base_default_next" : "tbl_act_18",
"next_tables" : {
- "act_29" : "tbl_act_31"
+ "act_16" : "tbl_act_18"
},
"default_entry" : {
- "action_id" : 73,
+ "action_id" : 59,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
}
},
{
- "name" : "tbl_act_31",
- "id" : 53,
+ "name" : "tbl_act_18",
+ "id" : 38,
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [62],
+ "actions" : ["act_19"],
+ "base_default_next" : "node_69",
+ "next_tables" : {
+ "act_19" : "node_69"
+ },
+ "default_entry" : {
+ "action_id" : 62,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_19",
+ "id" : 39,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 288,
- "column" : 8,
- "source_fragment" : "pdr_counter.count(fabric_meta.spgw.ctr_id)"
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
+ "column" : 46,
+ "source_fragment" : "return"
},
"key" : [],
"match_type" : "exact",
@@ -7589,14 +7483,43 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [75],
- "actions" : ["act_31"],
- "base_default_next" : "node_91",
+ "action_ids" : [61],
+ "actions" : ["act_18"],
+ "base_default_next" : "node_71",
"next_tables" : {
- "act_31" : "node_91"
+ "act_18" : "node_71"
},
"default_entry" : {
- "action_id" : 75,
+ "action_id" : 61,
+ "action_const" : true,
+ "action_data" : [],
+ "action_entry_const" : true
+ }
+ },
+ {
+ "name" : "tbl_act_20",
+ "id" : 40,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 346,
+ "column" : 8,
+ "source_fragment" : "pdr_counter.count(fabric_md.spgw.ctr_id)"
+ },
+ "key" : [],
+ "match_type" : "exact",
+ "type" : "simple",
+ "max_size" : 1024,
+ "with_counters" : false,
+ "support_timeout" : false,
+ "direct_meters" : null,
+ "action_ids" : [63],
+ "actions" : ["act_20"],
+ "base_default_next" : "node_73",
+ "next_tables" : {
+ "act_20" : "node_73"
+ },
+ "default_entry" : {
+ "action_id" : 63,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7604,10 +7527,10 @@
},
{
"name" : "tbl_spgw_egress_gtpu_encap",
- "id" : 54,
+ "id" : 41,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 291,
+ "filename" : "include/control/spgw.p4",
+ "line" : 349,
"column" : 12,
"source_fragment" : "gtpu_encap()"
},
@@ -7618,14 +7541,14 @@
"with_counters" : false,
"support_timeout" : false,
"direct_meters" : null,
- "action_ids" : [61],
+ "action_ids" : [51],
"actions" : ["FabricEgress.spgw_egress.gtpu_encap"],
"base_default_next" : null,
"next_tables" : {
"FabricEgress.spgw_egress.gtpu_encap" : null
},
"default_entry" : {
- "action_id" : 61,
+ "action_id" : 51,
"action_const" : true,
"action_data" : [],
"action_entry_const" : true
@@ -7635,8 +7558,8 @@
"action_profiles" : [],
"conditionals" : [
{
- "name" : "node_66",
- "id" : 22,
+ "name" : "node_44",
+ "id" : 15,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 39,
@@ -7664,12 +7587,12 @@
}
}
},
- "true_next" : "tbl_act_22",
- "false_next" : "node_68"
+ "true_next" : "tbl_act_9",
+ "false_next" : "node_46"
},
{
- "name" : "node_68",
- "id" : 23,
+ "name" : "node_46",
+ "id" : 16,
"source_info" : {
"filename" : "include/control/packetio.p4",
"line" : 43,
@@ -7690,12 +7613,12 @@
}
}
},
- "true_next" : "tbl_act_23",
- "false_next" : "node_70"
+ "true_next" : "tbl_act_10",
+ "false_next" : "node_48"
},
{
- "name" : "node_70",
- "id" : 24,
+ "name" : "node_48",
+ "id" : 17,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 335,
@@ -7743,12 +7666,12 @@
}
}
},
- "true_next" : "tbl_act_24",
- "false_next" : "node_72"
+ "true_next" : "tbl_act_11",
+ "false_next" : "node_50"
},
{
- "name" : "node_72",
- "id" : 25,
+ "name" : "node_50",
+ "id" : 18,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 340,
@@ -7769,12 +7692,12 @@
}
}
},
- "true_next" : "node_73",
+ "true_next" : "node_51",
"false_next" : "tbl_egress_next_set_mpls"
},
{
- "name" : "node_73",
- "id" : 26,
+ "name" : "node_51",
+ "id" : 19,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 341,
@@ -7796,8 +7719,8 @@
"false_next" : "FabricEgress.egress_next.egress_vlan"
},
{
- "name" : "node_79",
- "id" : 27,
+ "name" : "node_57",
+ "id" : 20,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 357,
@@ -7822,12 +7745,12 @@
}
}
},
- "true_next" : "node_80",
- "false_next" : "node_82"
+ "true_next" : "node_58",
+ "false_next" : "node_60"
},
{
- "name" : "node_80",
- "id" : 28,
+ "name" : "node_58",
+ "id" : 21,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 359,
@@ -7849,11 +7772,11 @@
}
},
"true_next" : "tbl_egress_next_push_vlan",
- "false_next" : "node_82"
+ "false_next" : "node_60"
},
{
- "name" : "node_82",
- "id" : 29,
+ "name" : "node_60",
+ "id" : 22,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 368,
@@ -7871,12 +7794,12 @@
}
}
},
- "true_next" : "tbl_act_27",
- "false_next" : "node_86"
+ "true_next" : "tbl_act_14",
+ "false_next" : "node_64"
},
{
- "name" : "node_84",
- "id" : 30,
+ "name" : "node_62",
+ "id" : 23,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 370,
@@ -7897,12 +7820,12 @@
}
}
},
- "true_next" : "tbl_act_28",
- "false_next" : "tbl_act_31"
+ "true_next" : "tbl_act_15",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_86",
- "id" : 31,
+ "name" : "node_64",
+ "id" : 24,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 372,
@@ -7920,12 +7843,12 @@
}
}
},
- "true_next" : "tbl_act_29",
- "false_next" : "tbl_act_31"
+ "true_next" : "tbl_act_16",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_88",
- "id" : 32,
+ "name" : "node_66",
+ "id" : 25,
"source_info" : {
"filename" : "include/control/next.p4",
"line" : 374,
@@ -7946,17 +7869,17 @@
}
}
},
- "true_next" : "tbl_act_30",
- "false_next" : "tbl_act_31"
+ "true_next" : "tbl_act_17",
+ "false_next" : "tbl_act_18"
},
{
- "name" : "node_91",
- "id" : 33,
+ "name" : "node_69",
+ "id" : 26,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 290,
+ "filename" : "include/control/spgw.p4",
+ "line" : 345,
"column" : 12,
- "source_fragment" : "fabric_meta.spgw.outer_header_creation == true"
+ "source_fragment" : "fabric_md.spgw.skip_spgw == true"
},
"expression" : {
"type" : "expression",
@@ -7969,7 +7892,64 @@
"left" : null,
"right" : {
"type" : "field",
- "value" : ["scalars", "fabric_metadata_t._spgw_outer_header_creation27"]
+ "value" : ["scalars", "fabric_metadata_t._spgw_skip_spgw28"]
+ }
+ }
+ },
+ "right" : {
+ "type" : "bool",
+ "value" : true
+ }
+ }
+ },
+ "true_next" : "tbl_act_19",
+ "false_next" : "node_71"
+ },
+ {
+ "name" : "node_71",
+ "id" : 27,
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "not",
+ "left" : null,
+ "right" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "spgw_egress_hasReturned"]
+ }
+ }
+ }
+ }
+ },
+ "false_next" : null,
+ "true_next" : "tbl_act_20"
+ },
+ {
+ "name" : "node_73",
+ "id" : 28,
+ "source_info" : {
+ "filename" : "include/control/spgw.p4",
+ "line" : 348,
+ "column" : 12,
+ "source_fragment" : "fabric_md.spgw.needs_gtpu_encap == true"
+ },
+ "expression" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "==",
+ "left" : {
+ "type" : "expression",
+ "value" : {
+ "op" : "d2b",
+ "left" : null,
+ "right" : {
+ "type" : "field",
+ "value" : ["scalars", "fabric_metadata_t._spgw_needs_gtpu_encap32"]
}
}
},
@@ -8016,8 +7996,8 @@
"name" : "cksum_0",
"id" : 1,
"source_info" : {
- "filename" : "include/spgw.p4",
- "line" : 306,
+ "filename" : "include/control/spgw.p4",
+ "line" : 364,
"column" : 8,
"source_fragment" : "update_checksum(gtpu_ipv4.isValid(), ..."
},
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw/bmv2/default/p4info.txt b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw/bmv2/default/p4info.txt
index d3f8df9..96fee20 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw/bmv2/default/p4info.txt
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric-spgw/bmv2/default/p4info.txt
@@ -3,179 +3,6 @@
}
tables {
preamble {
- id: 33586632
- name: "FabricIngress.spgw_ingress.downlink_filter_table"
- alias: "downlink_filter_table"
- }
- match_fields {
- id: 1
- name: "ipv4_prefix"
- bitwidth: 32
- match_type: LPM
- }
- action_refs {
- id: 16819938
- }
- const_default_action_id: 16819938
- size: 1024
-}
-tables {
- preamble {
- id: 33567046
- name: "FabricIngress.spgw_ingress.uplink_filter_table"
- alias: "uplink_filter_table"
- }
- match_fields {
- id: 1
- name: "gtp_ipv4_dst"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16819938
- }
- const_default_action_id: 16819938
- size: 1024
-}
-tables {
- preamble {
- id: 33586958
- name: "FabricIngress.spgw_ingress.downlink_pdr_lookup"
- alias: "downlink_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "ue_addr"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16799934
- }
- action_refs {
- id: 16800567
- annotations: "@defaultonly"
- scope: DEFAULT_ONLY
- }
- size: 1024
-}
-tables {
- preamble {
- id: 33587070
- name: "FabricIngress.spgw_ingress.uplink_pdr_lookup"
- alias: "uplink_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "tunnel_ipv4_dst"
- bitwidth: 32
- match_type: EXACT
- }
- match_fields {
- id: 2
- name: "teid"
- bitwidth: 32
- match_type: EXACT
- }
- match_fields {
- id: 3
- name: "ue_addr"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16799934
- }
- action_refs {
- id: 16800567
- annotations: "@defaultonly"
- scope: DEFAULT_ONLY
- }
- size: 1024
-}
-tables {
- preamble {
- id: 33582573
- name: "FabricIngress.spgw_ingress.flexible_pdr_lookup"
- alias: "flexible_pdr_lookup"
- }
- match_fields {
- id: 1
- name: "spgw_direction"
- bitwidth: 2
- match_type: TERNARY
- }
- match_fields {
- id: 2
- name: "tunnel_ipv4_dst"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 3
- name: "teid"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 4
- name: "ipv4_src"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 5
- name: "ipv4_dst"
- bitwidth: 32
- match_type: TERNARY
- }
- match_fields {
- id: 6
- name: "ip_proto"
- bitwidth: 8
- match_type: TERNARY
- }
- match_fields {
- id: 7
- name: "l4_sport"
- bitwidth: 16
- match_type: TERNARY
- }
- match_fields {
- id: 8
- name: "l4_dport"
- bitwidth: 16
- match_type: TERNARY
- }
- action_refs {
- id: 16799934
- }
- const_default_action_id: 16799934
- size: 1024
-}
-tables {
- preamble {
- id: 33613200
- name: "FabricIngress.spgw_ingress.far_lookup"
- alias: "far_lookup"
- }
- match_fields {
- id: 1
- name: "far_id"
- bitwidth: 32
- match_type: EXACT
- }
- action_refs {
- id: 16834935
- }
- action_refs {
- id: 16787606
- }
- const_default_action_id: 16834935
- size: 1024
-}
-tables {
- preamble {
id: 33611649
name: "FabricIngress.filtering.ingress_port_vlan"
alias: "ingress_port_vlan"
@@ -538,6 +365,99 @@
}
tables {
preamble {
+ id: 33584493
+ name: "FabricIngress.spgw_ingress.interface_lookup"
+ alias: "interface_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "ipv4_dst_addr"
+ bitwidth: 32
+ match_type: LPM
+ }
+ match_fields {
+ id: 2
+ name: "gtpu_is_valid"
+ bitwidth: 1
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16797935
+ }
+ const_default_action_id: 16797935
+ size: 128
+}
+tables {
+ preamble {
+ id: 33586958
+ name: "FabricIngress.spgw_ingress.downlink_pdr_lookup"
+ alias: "downlink_pdr_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "ue_addr"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16799934
+ }
+ const_default_action_id: 16799934
+ size: 1024
+}
+tables {
+ preamble {
+ id: 33587070
+ name: "FabricIngress.spgw_ingress.uplink_pdr_lookup"
+ alias: "uplink_pdr_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "tunnel_ipv4_dst"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ match_fields {
+ id: 2
+ name: "teid"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ match_fields {
+ id: 3
+ name: "ue_addr"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16799934
+ }
+ const_default_action_id: 16799934
+ size: 1024
+}
+tables {
+ preamble {
+ id: 33613200
+ name: "FabricIngress.spgw_ingress.far_lookup"
+ alias: "far_lookup"
+ }
+ match_fields {
+ id: 1
+ name: "far_id"
+ bitwidth: 32
+ match_type: EXACT
+ }
+ action_refs {
+ id: 16834935
+ }
+ action_refs {
+ id: 16787606
+ }
+ const_default_action_id: 16834935
+ size: 2048
+}
+tables {
+ preamble {
id: 33599342
name: "FabricEgress.egress_next.egress_vlan"
alias: "egress_vlan"
@@ -575,79 +495,6 @@
}
actions {
preamble {
- id: 16800567
- name: "NoAction"
- alias: "NoAction"
- }
-}
-actions {
- preamble {
- id: 16799934
- name: "FabricIngress.spgw_ingress.set_pdr_attributes"
- alias: "set_pdr_attributes"
- }
- params {
- id: 1
- name: "ctr_id"
- bitwidth: 32
- }
- params {
- id: 2
- name: "far_id"
- bitwidth: 32
- }
-}
-actions {
- preamble {
- id: 16834935
- name: "FabricIngress.spgw_ingress.load_normal_far_attributes"
- alias: "load_normal_far_attributes"
- }
- params {
- id: 1
- name: "drop"
- bitwidth: 1
- }
- params {
- id: 2
- name: "notify_cp"
- bitwidth: 1
- }
-}
-actions {
- preamble {
- id: 16787606
- name: "FabricIngress.spgw_ingress.load_tunnel_far_attributes"
- alias: "load_tunnel_far_attributes"
- }
- params {
- id: 1
- name: "drop"
- bitwidth: 1
- }
- params {
- id: 2
- name: "notify_cp"
- bitwidth: 1
- }
- params {
- id: 3
- name: "tunnel_src_addr"
- bitwidth: 32
- }
- params {
- id: 4
- name: "tunnel_dst_addr"
- bitwidth: 32
- }
- params {
- id: 5
- name: "teid"
- bitwidth: 32
- }
-}
-actions {
- preamble {
id: 16836487
name: "FabricIngress.filtering.deny"
alias: "deny"
@@ -883,6 +730,132 @@
}
actions {
preamble {
+ id: 16797935
+ name: "FabricIngress.spgw_ingress.set_source_iface"
+ alias: "set_source_iface"
+ }
+ params {
+ id: 1
+ name: "src_iface"
+ bitwidth: 8
+ }
+ params {
+ id: 2
+ name: "direction"
+ bitwidth: 2
+ }
+ params {
+ id: 3
+ name: "skip_spgw"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16799934
+ name: "FabricIngress.spgw_ingress.set_pdr_attributes"
+ alias: "set_pdr_attributes"
+ }
+ params {
+ id: 1
+ name: "ctr_id"
+ bitwidth: 32
+ }
+ params {
+ id: 2
+ name: "far_id"
+ bitwidth: 32
+ }
+ params {
+ id: 3
+ name: "needs_gtpu_decap"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16834935
+ name: "FabricIngress.spgw_ingress.load_normal_far_attributes"
+ alias: "load_normal_far_attributes"
+ }
+ params {
+ id: 1
+ name: "drop"
+ bitwidth: 1
+ }
+ params {
+ id: 2
+ name: "notify_cp"
+ bitwidth: 1
+ }
+}
+actions {
+ preamble {
+ id: 16787606
+ name: "FabricIngress.spgw_ingress.load_tunnel_far_attributes"
+ alias: "load_tunnel_far_attributes"
+ }
+ params {
+ id: 1
+ name: "drop"
+ bitwidth: 1
+ }
+ params {
+ id: 2
+ name: "notify_cp"
+ bitwidth: 1
+ }
+ params {
+ id: 3
+ name: "tunnel_src_port"
+ bitwidth: 16
+ }
+ params {
+ id: 4
+ name: "tunnel_src_addr"
+ bitwidth: 32
+ }
+ params {
+ id: 5
+ name: "tunnel_dst_addr"
+ bitwidth: 32
+ }
+ params {
+ id: 6
+ name: "teid"
+ bitwidth: 32
+ }
+}
+actions {
+ preamble {
+ id: 16829280
+ name: "FabricIngress.spgw_ingress.decap_inner_tcp"
+ alias: "decap_inner_tcp"
+ }
+}
+actions {
+ preamble {
+ id: 16815878
+ name: "FabricIngress.spgw_ingress.decap_inner_udp"
+ alias: "decap_inner_udp"
+ }
+}
+actions {
+ preamble {
+ id: 16801274
+ name: "FabricIngress.spgw_ingress.decap_inner_icmp"
+ alias: "decap_inner_icmp"
+ }
+}
+actions {
+ preamble {
+ id: 16830582
+ name: "FabricIngress.spgw_ingress.decap_inner_unknown"
+ alias: "decap_inner_unknown"
+ }
+}
+actions {
+ preamble {
id: 16790030
name: "FabricEgress.egress_next.pop_vlan"
alias: "pop_vlan"
@@ -901,17 +874,6 @@
}
counters {
preamble {
- id: 302029884
- name: "FabricIngress.spgw_ingress.pdr_counter"
- alias: "spgw_ingress.pdr_counter"
- }
- spec {
- unit: BOTH
- }
- size: 1024
-}
-counters {
- preamble {
id: 302011205
name: "FabricIngress.port_counters_control.egress_port_counter"
alias: "egress_port_counter"
@@ -934,6 +896,17 @@
}
counters {
preamble {
+ id: 302029884
+ name: "FabricIngress.spgw_ingress.pdr_counter"
+ alias: "spgw_ingress.pdr_counter"
+ }
+ spec {
+ unit: BOTH
+ }
+ size: 2048
+}
+counters {
+ preamble {
id: 302012289
name: "FabricEgress.spgw_egress.pdr_counter"
alias: "spgw_egress.pdr_counter"
@@ -941,7 +914,7 @@
spec {
unit: BOTH
}
- size: 1024
+ size: 2048
}
direct_counters {
preamble {
diff --git a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric/bmv2/default/bmv2.json b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric/bmv2/default/bmv2.json
index 5feb62f..01c4571 100644
--- a/pipelines/fabric/impl/src/main/resources/p4c-out/fabric/bmv2/default/bmv2.json
+++ b/pipelines/fabric/impl/src/main/resources/p4c-out/fabric/bmv2/default/bmv2.json
@@ -835,7 +835,7 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 267,
+ "line" : 268,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
@@ -2387,7 +2387,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 118,
+ "line" : 126,
"column" : 31,
"source_fragment" : "0x8847; ..."
}
@@ -2466,7 +2466,7 @@
],
"source_info" : {
"filename" : "include/control/../define.p4",
- "line" : 117,
+ "line" : 125,
"column" : 31,
"source_fragment" : "0x8100; ..."
}
@@ -3565,7 +3565,7 @@
"id" : 3,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 69,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -3676,7 +3676,7 @@
"id" : 7,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 75,
+ "line" : 73,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -3763,7 +3763,7 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 93,
+ "line" : 91,
"column" : 8,
"source_fragment" : "FabricEgress"
},