Support for Tofino pipeconfs in ECMP app

Change-Id: I34c16f5f349c480f53b1bfc6a1fd91ec5a328ee3
diff --git a/tools/test/p4src/p4-14/ecmp.p4 b/tools/test/p4src/p4-14/ecmp.p4
index 341e1e1..dce5f88 100644
--- a/tools/test/p4src/p4-14/ecmp.p4
+++ b/tools/test/p4src/p4-14/ecmp.p4
@@ -6,11 +6,11 @@
 #include "include/packet_io.p4"
 
 /*
-    Expected number of ports of an ECMP group.
+    Make sure to define ECMP_GROUP_SIZE at compile-time.
+    This is the expected number of ports of an ECMP group.
     This value is fixed, .i.e. we do not support ECMP over port groups of different size.
     Due to hardware limitations, this value must be constant and a power of 2.
 */
-#define ECMP_GROUP_SIZE 4
 
 header_type ecmp_metadata_t {
     fields {
@@ -24,9 +24,6 @@
 field_list ecmp_hash_fields {
     ipv4.srcAddr;
     ipv4.dstAddr;
-    ipv4.protocol;
-    tcp.srcPort;
-    tcp.dstPort;
     udp.srcPort;
     udp.dstPort;
 }