IB/mlx5: Enable "block multicast loopback" for kernel consumers
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 25 Jun 2014 13:44:14 +0000 (16:44 +0300)
committerRoland Dreier <roland@purestorage.com>
Thu, 17 Jul 2014 06:14:26 +0000 (23:14 -0700)
commit652c1a05171695d21b84dd3a723606b50eeb80fd
treedc51f84b3b1f58b579e18364d72f1122eb195d92
parent6ef07a9f369742a7b18c77484411cff0bd790291
IB/mlx5: Enable "block multicast loopback" for kernel consumers

In commit f360d88a2efd, we advertise blocking multicast loopback to both
kernel and userspace consumers, but don't allow kernel consumers (e.g IPoIB)
to use it with their UD QPs.  Fix that.

Fixes: f360d88a2efd ("IB/mlx5: Add block multicast loopback support")
Reported-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/qp.c