Commit 0d8fdfd7 authored by Sean Hefty's avatar Sean Hefty Committed by Roland Dreier
Browse files

IB/core: Set alternate port number when initializing QP attributes

Set alternate port number when initializing QP attributes.  This bug
is OpenFabrics bugzilla bug #160.
Signed-off-by: default avatarSean Hefty <>
Signed-off-by: default avatarRoland Dreier <>
parent 146d26b2
......@@ -3152,6 +3152,7 @@ static int cm_init_qp_rtr_attr(struct cm_id_private *cm_id_priv,
if (cm_id_priv->alt_av.ah_attr.dlid) {
*qp_attr_mask |= IB_QP_ALT_PATH;
qp_attr->alt_port_num = cm_id_priv->alt_av.port->port_num;
qp_attr->alt_ah_attr = cm_id_priv->alt_av.ah_attr;
ret = 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment