[openib-general] [PATCH] [CM] CM DREQ's need the redirected qpn
John Kingman
kingman at austin.rr.com
Wed Sep 21 12:24:12 PDT 2005
Another piece of CM redirection. If the remote CM has been redirected,
need to send DREQs there too. Tested with our target.
Signed-off-by: John Kingman <kingman at storagegear.com>
Index: cm.c
===================================================================
--- cm.c (revision 3502)
+++ cm.c (working copy)
@@ -1699,7 +1699,7 @@ static void cm_format_dreq(struct cm_dre
cm_form_tid(cm_id_priv, CM_MSG_SEQUENCE_DREQ));
dreq_msg->local_comm_id = cm_id_priv->id.local_id;
dreq_msg->remote_comm_id = cm_id_priv->id.remote_id;
- cm_dreq_set_remote_qpn(dreq_msg, cm_id_priv->remote_qpn);
+ cm_dreq_set_remote_qpn(dreq_msg, cm_id_priv->id.remote_cm_qpn);
if (private_data && private_data_len)
memcpy(dreq_msg->private_data, private_data, private_data_len);
More information about the general
mailing list