aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSean Hefty <sean.hefty@intel.com>2011-05-29 02:26:06 -0400
committerRoland Dreier <roland@purestorage.com>2011-10-13 12:41:36 -0400
commit18c441a6c3741991bfb87a3c6c541d30f0eb9c7c (patch)
tree560fed8fd7d8c535603ab9e74550cd76cff9d7b9 /drivers
parent638ef7a6c6a599b2e4c00ebf35d281721d2a42f6 (diff)
RDMA/cma: Support XRC QPs
Allow users to connect XRC QPs through the rdma_cm. Signed-off-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/core/cma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c
index 8801ea91b0a6..b1fd805c9d6c 100644
--- a/drivers/infiniband/core/cma.c
+++ b/drivers/infiniband/core/cma.c
@@ -2573,7 +2573,7 @@ static int cma_connect_ib(struct rdma_id_private *id_priv,
2573 req.service_id = cma_get_service_id(id_priv->id.ps, 2573 req.service_id = cma_get_service_id(id_priv->id.ps,
2574 (struct sockaddr *) &route->addr.dst_addr); 2574 (struct sockaddr *) &route->addr.dst_addr);
2575 req.qp_num = id_priv->qp_num; 2575 req.qp_num = id_priv->qp_num;
2576 req.qp_type = IB_QPT_RC; 2576 req.qp_type = id_priv->id.qp_type;
2577 req.starting_psn = id_priv->seq_num; 2577 req.starting_psn = id_priv->seq_num;
2578 req.responder_resources = conn_param->responder_resources; 2578 req.responder_resources = conn_param->responder_resources;
2579 req.initiator_depth = conn_param->initiator_depth; 2579 req.initiator_depth = conn_param->initiator_depth;