projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
146d26b
)
IB/core: Set alternate port number when initializing QP attributes
author
Sean Hefty
<sean.hefty@intel.com>
Fri, 30 Jun 2006 21:10:14 +0000
(14:10 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Fri, 30 Jun 2006 21:10:14 +0000
(14:10 -0700)
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>
drivers/infiniband/core/cm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/core/cm.c
b/drivers/infiniband/core/cm.c
index 450adfe0a4f1c5e4ed847c340e111ca62d000cbb..3f6705f3083ac65e7e501e9b7fa8b9cd403c587b 100644
(file)
--- 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,
}
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;