aboutsummaryrefslogtreecommitdiffstats
path: root/net/9p/trans_rdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/9p/trans_rdma.c')
-rw-r--r--net/9p/trans_rdma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/9p/trans_rdma.c b/net/9p/trans_rdma.c
index 150e0c4bbf40..3640e83eef8f 100644
--- a/net/9p/trans_rdma.c
+++ b/net/9p/trans_rdma.c
@@ -591,7 +591,8 @@ rdma_create_trans(struct p9_client *client, const char *addr, char *args)
591 return -ENOMEM; 591 return -ENOMEM;
592 592
593 /* Create the RDMA CM ID */ 593 /* Create the RDMA CM ID */
594 rdma->cm_id = rdma_create_id(p9_cm_event_handler, client, RDMA_PS_TCP); 594 rdma->cm_id = rdma_create_id(p9_cm_event_handler, client, RDMA_PS_TCP,
595 IB_QPT_RC);
595 if (IS_ERR(rdma->cm_id)) 596 if (IS_ERR(rdma->cm_id))
596 goto error; 597 goto error;
597 598