From: Michael Brown Date: Fri, 16 Oct 2009 17:20:55 +0000 (+0100) Subject: [infiniband] Send CM requests to target node's GSI rather than SM's GSI X-Git-Tag: v0.9.9~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=224ef7f48300e3499275eb022ad05defb163245d;p=thirdparty%2Fipxe.git [infiniband] Send CM requests to target node's GSI rather than SM's GSI --- diff --git a/src/net/infiniband/ib_cm.c b/src/net/infiniband/ib_cm.c index 30a3691fe..ebe65b33b 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",