]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx4/mlx4_flow.c
net/mlx4: fix creation of flow rule w/o ETH spec
[dpdk.git] / drivers / net / mlx4 / mlx4_flow.c
index 6c927a65746585fab4ce8c87692c2c4745e49ec7..3abde3093871d76d66bc91386229b73e73263c31 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;
        }