Fixed p4-14 programs not working on BMv2
The hack to deparse the packet_in breaks when using MAC addressess that
have many leading zeros (like in Mininet).
Change-Id: I509d98a21247903105cfb7d4206f8cc1a74acd3b
diff --git a/tools/test/p4src/p4-14/ecmp.p4 b/tools/test/p4src/p4-14/ecmp.p4
index 38962e6..0883ca7 100644
--- a/tools/test/p4src/p4-14/ecmp.p4
+++ b/tools/test/p4src/p4-14/ecmp.p4
@@ -32,8 +32,8 @@
input {
ecmp_hash_fields;
}
- algorithm : crc32;
- output_width : 32;
+ algorithm : crc16;
+ output_width : 16;
}
action ecmp_group(group_id) {