IB/mlx4: Add support for blocking multicast loopback QP creation user flag
authorEran Ben Elisha <eranbe@mellanox.com>
Thu, 15 Oct 2015 11:44:42 +0000 (14:44 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 22 Oct 2015 03:16:47 +0000 (23:16 -0400)
commitfbfb6625ea2d1bd535db03838df381768a2d6865
treee9ef5a2c56e2782cb068fb259b1206336b340921
parent7b59f0f9516040157450443b9df591556c0c49a9
IB/mlx4: Add support for blocking multicast loopback QP creation user flag

MLX4_IB_QP_BLOCK_MULTICAST_LOOPBACK is now supported downstream.

In addition, this flag was supported only for IB_QPT_UD, now, with the
new implementation it is supported for all QP types.

Support IB_USER_VERBS_EX_CMD_CREATE_QP in order to get the flag from
user space using the extension create qp command.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/qp.c