datapath: Hash and compare only the part of sw_flow_key actually used.
[openvswitch] / lib / nx-match.c
index 4d2e590e5a4578db891fa5ec2de5a177e2b955aa..7c2aa7a04da45e8460dc545742deb19a5b3a771a 100644 (file)
@@ -680,7 +680,7 @@ nxm_put_eth(struct ofpbuf *b, uint32_t header,
 
 static void
 nxm_put_eth_dst(struct ofpbuf *b,
-                uint32_t wc, const uint8_t value[ETH_ADDR_LEN])
+                flow_wildcards_t wc, const uint8_t value[ETH_ADDR_LEN])
 {
     switch (wc & (FWW_DL_DST | FWW_ETH_MCAST)) {
     case FWW_DL_DST | FWW_ETH_MCAST: