summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2009-10-16 19:20:55 +0200
committerMichael Brown2009-10-17 00:03:47 +0200
commit224ef7f48300e3499275eb022ad05defb163245d (patch)
treeeba08b7102006c41fcd51321e9db40b0b7448592
parent[sis190] Add sis190/191 ethernet driver (diff)
downloadipxe-224ef7f48300e3499275eb022ad05defb163245d.tar.gz
ipxe-224ef7f48300e3499275eb022ad05defb163245d.tar.xz
ipxe-224ef7f48300e3499275eb022ad05defb163245d.zip
[infiniband] Send CM requests to target node's GSI rather than SM's GSI
-rw-r--r--src/net/infiniband/ib_cm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/infiniband/ib_cm.c b/src/net/infiniband/ib_cm.c
index 30a3691f..ebe65b33 100644
--- a/src/net/infiniband/ib_cm.c
+++ b/src/net/infiniband/ib_cm.c
@@ -310,7 +310,9 @@ static void ib_cm_path_complete ( struct ib_device *ibdev,
private_data_len );
/* Create connection request */
- conn->madx = ib_create_madx ( ibdev, ibdev->gsi, &mad, NULL,
+ av->qpn = IB_QPN_GSI;
+ av->qkey = IB_QKEY_GSI;
+ conn->madx = ib_create_madx ( ibdev, ibdev->gsi, &mad, av,
&ib_cm_req_op );
if ( ! conn->madx ) {
DBGC ( conn, "CM %p could not create connection request\n",