浏览代码

[infiniband] Send CM requests to target node's GSI rather than SM's GSI

tags/v0.9.9
Michael Brown 14 年前
父节点
当前提交
224ef7f483
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      src/net/infiniband/ib_cm.c

+ 3
- 1
src/net/infiniband/ib_cm.c 查看文件

@@ -310,7 +310,9 @@ static void ib_cm_path_complete ( struct ib_device *ibdev,
310 310
 		 private_data_len );
311 311
 
312 312
 	/* Create connection request */
313
-	conn->madx = ib_create_madx ( ibdev, ibdev->gsi, &mad, NULL,
313
+	av->qpn = IB_QPN_GSI;
314
+	av->qkey = IB_QKEY_GSI;
315
+	conn->madx = ib_create_madx ( ibdev, ibdev->gsi, &mad, av,
314 316
 				      &ib_cm_req_op );
315 317
 	if ( ! conn->madx ) {
316 318
 		DBGC ( conn, "CM %p could not create connection request\n",

正在加载...
取消
保存