[ofw] RE: [IPoIB CM] connection parameters changes

Alex Estrin alex.estrin at qlogic.com
Mon Feb 16 04:59:16 PST 2009


Applied in rev 1969.
Thanks,
Alex.

> -----Original Message-----
> From: ofw-bounces at lists.openfabrics.org [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Alex
> Estrin
> Sent: Friday, February 13, 2009 2:34 PM
> To: ofw at lists.openfabrics.org
> Subject: [ofw] [IPoIB CM] connection parameters changes
> 
> 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;




More information about the ofw mailing list