diff options
author | Sean Hefty <sean.hefty@intel.com> | 2006-06-30 17:10:14 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-06-30 17:10:14 -0400 |
commit | 0d8fdfd71bc871ffc07fe4429db8d4934185a8ec (patch) | |
tree | ebe8acbba8e8e9a1ede6364867ce55dfbc55d1dc /drivers/infiniband/core | |
parent | 146d26b2bf167f831d3b7442a01cfdc2b183cb0b (diff) |
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: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/core')
-rw-r--r-- | drivers/infiniband/core/cm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/cm.c b/drivers/infiniband/core/cm.c index 450adfe0a4f1..3f6705f3083a 100644 --- a/drivers/infiniband/core/cm.c +++ b/drivers/infiniband/core/cm.c | |||
@@ -3152,6 +3152,7 @@ static int cm_init_qp_rtr_attr(struct cm_id_private *cm_id_priv, | |||
3152 | } | 3152 | } |
3153 | if (cm_id_priv->alt_av.ah_attr.dlid) { | 3153 | if (cm_id_priv->alt_av.ah_attr.dlid) { |
3154 | *qp_attr_mask |= IB_QP_ALT_PATH; | 3154 | *qp_attr_mask |= IB_QP_ALT_PATH; |
3155 | qp_attr->alt_port_num = cm_id_priv->alt_av.port->port_num; | ||
3155 | qp_attr->alt_ah_attr = cm_id_priv->alt_av.ah_attr; | 3156 | qp_attr->alt_ah_attr = cm_id_priv->alt_av.ah_attr; |
3156 | } | 3157 | } |
3157 | ret = 0; | 3158 | ret = 0; |