]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e5e71f828cb42cd74c16885d434d28d0a715dcf
treedc51f84b3b1f58b579e18364d72f1122eb195d92
parent557a6168037eca8c6e666f17c94f2944d590e964
IB/mlx5: Enable "block multicast loopback" for kernel consumers

In commit 5ca7185a7f10, 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: 5ca7185a7f10 ("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