RDMA/cma: Pass QP type into rdma_create_id()
[deliverable/linux.git] / net / 9p / trans_rdma.c
index 150e0c4bbf40287f263e3eba1c03245bce22cb38..3640e83eef8f10afdb5a9a5bff18a7ae3d639151 100644 (file)
@@ -591,7 +591,8 @@ rdma_create_trans(struct p9_client *client, const char *addr, char *args)
                return -ENOMEM;
 
        /* Create the RDMA CM ID */
-       rdma->cm_id = rdma_create_id(p9_cm_event_handler, client, RDMA_PS_TCP);
+       rdma->cm_id = rdma_create_id(p9_cm_event_handler, client, RDMA_PS_TCP,
+                                    IB_QPT_RC);
        if (IS_ERR(rdma->cm_id))
                goto error;
 
This page took 0.040286 seconds and 5 git commands to generate.