diff options
author | Sean Hefty <sean.hefty@intel.com> | 2011-05-28 23:26:06 -0700 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2011-10-13 09:41:36 -0700 |
commit | 18c441a6c3741991bfb87a3c6c541d30f0eb9c7c (patch) | |
tree | 560fed8fd7d8c535603ab9e74550cd76cff9d7b9 /drivers/infiniband | |
parent | 638ef7a6c6a599b2e4c00ebf35d281721d2a42f6 (diff) | |
download | linux-18c441a6c3741991bfb87a3c6c541d30f0eb9c7c.tar.bz2 |
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/infiniband')
-rw-r--r-- | drivers/infiniband/core/cma.c | 2 |
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, req.service_id = cma_get_service_id(id_priv->id.ps, (struct sockaddr *) &route->addr.dst_addr); req.qp_num = id_priv->qp_num; - req.qp_type = IB_QPT_RC; + req.qp_type = id_priv->id.qp_type; req.starting_psn = id_priv->seq_num; req.responder_resources = conn_param->responder_resources; req.initiator_depth = conn_param->initiator_depth; |