aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/core/cma.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c
index 2a2e50871b40..3f9c03a36571 100644
--- a/drivers/infiniband/core/cma.c
+++ b/drivers/infiniband/core/cma.c
@@ -2713,6 +2713,10 @@ static int cma_join_ib_multicast(struct rdma_id_private *id_priv,
2713 IB_SA_MCMEMBER_REC_FLOW_LABEL | 2713 IB_SA_MCMEMBER_REC_FLOW_LABEL |
2714 IB_SA_MCMEMBER_REC_TRAFFIC_CLASS; 2714 IB_SA_MCMEMBER_REC_TRAFFIC_CLASS;
2715 2715
2716 if (id_priv->id.ps == RDMA_PS_IPOIB)
2717 comp_mask |= IB_SA_MCMEMBER_REC_RATE |
2718 IB_SA_MCMEMBER_REC_RATE_SELECTOR;
2719
2716 mc->multicast.ib = ib_sa_join_multicast(&sa_client, id_priv->id.device, 2720 mc->multicast.ib = ib_sa_join_multicast(&sa_client, id_priv->id.device,
2717 id_priv->id.port_num, &rec, 2721 id_priv->id.port_num, &rec,
2718 comp_mask, GFP_KERNEL, 2722 comp_mask, GFP_KERNEL,