Signed-off-by: Eli Cohen <eli@xxxxxxxxxxxx> --- drivers/infiniband/hw/mlx5/qp.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c index 6f521a3..b80b2bd 100644 --- a/drivers/infiniband/hw/mlx5/qp.c +++ b/drivers/infiniband/hw/mlx5/qp.c @@ -1033,6 +1033,10 @@ static int create_qp_common(struct mlx5_ib_dev *dev, struct ib_pd *pd, qp->mqp.event = mlx5_ib_qp_event; + /* QP related debug prints go here */ + if (qp->flags & MLX5_IB_QP_BLOCK_MULTICAST_LOOPBACK) + mlx5_ib_dbg(dev, "QP 0x%x will block multicast\n", qp->mqp.qpn); + return 0; err_create: -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html