Sean,
The local_qpn in the outgoing REP message is incorrect because of
a missing byte order swap.
-Libor
Signed-off-by: Libor Michalek <[EMAIL PROTECTED]>
Index: infiniband/core/cm.c
===================================================================
--- infiniband/core/cm.c (revision 1686)
+++ infiniband/core/cm.c (working copy)
@@ -1102,7 +1102,7 @@
rep_msg->local_comm_id = cm_id_priv->id.local_id;
rep_msg->remote_comm_id = cm_id_priv->id.remote_id;
- cm_rep_set_local_qpn(rep_msg, param->qp->qp_num);
+ cm_rep_set_local_qpn(rep_msg, cpu_to_be32(param->qp->qp_num));
cm_rep_set_starting_psn(rep_msg, param->starting_psn);
rep_msg->resp_resources = param->responder_resources;
rep_msg->initiator_depth = param->initiator_depth;
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general