[ofw] [IPoIB CM] connection parameters changes

Alex Estrin alex.estrin at qlogic.com
Fri Feb 13 11:34:02 PST 2009


I've made a few connection parameters changes:
- As per RFC warning - don't retransmit failed packets.
- missed failover_accept flag setup on accept side.
Please review.

Thanks,
Alex.


Index: kernel/ipoib_cm.c
===================================================================
--- kernel/ipoib_cm.c	(revision 1955)
+++ kernel/ipoib_cm.c	(working copy)
@@ -278,9 +278,9 @@
 
 	conn_req.p_primary_path = (ib_path_rec_t*)&path_rec;
 
-	conn_req.retry_cnt		= 3;
+	conn_req.retry_cnt		= 0;
 	conn_req.rnr_nak_timeout = 22; /* 20 ms */
-	conn_req.rnr_retry_cnt	= 3;
+	conn_req.rnr_retry_cnt	= 0;
 	conn_req.max_cm_retries	= 5;
 	conn_req.remote_resp_timeout = 
 		(ib_path_rec_pkt_life( &path_rec ) + 1) & 0x1f;
@@ -547,7 +547,7 @@
 	cm_reply.flow_ctrl			= p_cm_req->flow_ctrl;
 	cm_reply.rnr_nak_timeout	= 22;
 	cm_reply.rnr_retry_cnt		= p_cm_req->rnr_retry_cnt;
-
+	cm_reply.failover_accepted = IB_FAILOVER_ACCEPT_UNSUPPORTED;
 	cm_reply.pfn_cm_rej_cb		= __conn_rej_cb;
 	cm_reply.pfn_cm_mra_cb		= __conn_mra_cb;
 	cm_reply.pfn_cm_rtu_cb		= __conn_rtu_cb;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: connect_path.patch
Type: application/octet-stream
Size: 893 bytes
Desc: connect_path.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20090213/78f3f8d2/attachment.obj>


More information about the ofw mailing list