Fixed packet I/O in p4-14 programs
Tested on BMv2 and working
Change-Id: I834d7b5a8627181c6888500545e1bdbfe9af8dc1
diff --git a/tools/test/p4src/p4-14/ecmp.p4 b/tools/test/p4src/p4-14/ecmp.p4
index dce5f88..aa3a315 100644
--- a/tools/test/p4src/p4-14/ecmp.p4
+++ b/tools/test/p4src/p4-14/ecmp.p4
@@ -83,7 +83,6 @@
}
control ingress {
- ingress_pkt_io();
if (not valid(packet_out_hdr)) {
apply(table0) {
ecmp_group {
@@ -91,9 +90,6 @@
}
}
}
+ ingress_pkt_io_control();
process_port_counters();
-}
-
-control egress {
- egress_pkt_io();
}
\ No newline at end of file