Pārlūkot izejas kodu

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

tags/v0.9.9
Michael Brown 14 gadus atpakaļ
vecāks
revīzija
224ef7f483
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3
    1
      src/net/infiniband/ib_cm.c

+ 3
- 1
src/net/infiniband/ib_cm.c Parādīt failu

310
 		 private_data_len );
310
 		 private_data_len );
311
 
311
 
312
 	/* Create connection request */
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
 				      &ib_cm_req_op );
316
 				      &ib_cm_req_op );
315
 	if ( ! conn->madx ) {
317
 	if ( ! conn->madx ) {
316
 		DBGC ( conn, "CM %p could not create connection request\n",
318
 		DBGC ( conn, "CM %p could not create connection request\n",

Notiek ielāde…
Atcelt
Saglabāt