]> 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)
commit17728c6904362cc6b787675290fef3c461ec81cf
treedc51f84b3b1f58b579e18364d72f1122eb195d92
parent08be8141b4925ccd78d42bcbc1e9c38afe4d3092
IB/mlx5: Enable "block multicast loopback" for kernel consumers

In commit 8d4753de41ae, 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: 8d4753de41ae ("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