net/mlx4: fix creation of flow rule w/o ETH spec
[dpdk.git] / drivers / net / mlx4 / mlx4_flow.c
index 6c927a6..3abde30 100644 (file)
@@ -248,6 +248,7 @@ mlx4_flow_merge_eth(struct rte_flow *flow,
                .size = sizeof(*eth),
        };
        if (!mask) {
+               eth->val.dst_mac[0] = 0xff;
                flow->ibv_attr->type = IBV_FLOW_ATTR_ALL_DEFAULT;
                return 0;
        }