[ofa-general] [PATCH RFC] rds: add iwarp support

Steve Wise swise at opengridcomputing.com
Fri Jul 11 10:00:18 PDT 2008


Jon Mason wrote:
> Hey Olaf,
> I was able to get the tree working after making a small modification to
> it (see the patch below).
>
> Changing to the SQD state in iWARP will cause the connection to be torn
> down.  Simply ignore this modify_qp calls, and iWARP is happy.
>
> Thanks,
> Jon
>
> Signed-off-by: Jon Mason <jon at opengridcomputing.com>
>
> diff --git a/net/rds/ib_cm.c b/net/rds/ib_cm.c
> index 5835a7e..12a6b0a 100644
> --- a/net/rds/ib_cm.c
> +++ b/net/rds/ib_cm.c
> @@ -101,7 +101,7 @@ static void rds_ib_connect_complete(struct rds_connection *conn, struct rdma_cm_
>  	 * so that we learn quickly when our credit accounting is
>  	 * buggy.
>  	 */
> -	if (ic->i_flowctl) {
> +	if (ic->i_flowctl && !ic->i_iwarp) {
>  		/* It seems we have to take a brief detour through SQD state
>  		 * in order to change the RNR retry count. */
>  		qp_attr.qp_state = IB_QPS_SQD;
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>   

Plus all that RNR tweaking is IB-specific anyway.

Steve.




More information about the general mailing list