Fixed packet I/O in p4-14 programs
Tested on BMv2 and working
Change-Id: I834d7b5a8627181c6888500545e1bdbfe9af8dc1
diff --git a/tools/test/p4src/p4-14/p4c-out/wcmp.p4info b/tools/test/p4src/p4-14/p4c-out/wcmp.p4info
index 8024064..9b12a53 100644
--- a/tools/test/p4src/p4-14/p4c-out/wcmp.p4info
+++ b/tools/test/p4src/p4-14/p4c-out/wcmp.p4info
@@ -93,12 +93,12 @@
}
tables {
preamble {
- id: 33560548
- name: "ingress_pkt"
- alias: "ingress_pkt"
+ id: 33607247
+ name: "process_packet_out_table"
+ alias: "process_packet_out_table"
}
action_refs {
- id: 16835928
+ id: 16798653
}
size: 1024
}
@@ -124,17 +124,6 @@
}
size: 1024
}
-tables {
- preamble {
- id: 33608529
- name: "egress_pkt"
- alias: "egress_pkt"
- }
- action_refs {
- id: 16835663
- }
- size: 1024
-}
actions {
preamble {
id: 16800567
@@ -189,9 +178,9 @@
}
actions {
preamble {
- id: 16835928
- name: "_packet_out"
- alias: "_packet_out"
+ id: 16798653
+ name: "_process_packet_out"
+ alias: "_process_packet_out"
}
}
actions {
@@ -208,13 +197,6 @@
alias: "count_ingress"
}
}
-actions {
- preamble {
- id: 16835663
- name: "add_packet_in_hdr"
- alias: "add_packet_in_hdr"
- }
-}
counters {
preamble {
id: 302008596
@@ -225,7 +207,7 @@
spec {
unit: PACKETS
}
- size: 254
+ size: 511
}
counters {
preamble {
@@ -237,7 +219,7 @@
spec {
unit: PACKETS
}
- size: 254
+ size: 511
}
direct_counters {
preamble {