Browse Source

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

tags/v0.9.9
Michael Brown 15 years ago
parent
commit
224ef7f483
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/net/infiniband/ib_cm.c

+ 3
- 1
src/net/infiniband/ib_cm.c View File

@@ -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",

Loading…
Cancel
Save