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

Jon Mason jon at opengridcomputing.com
Fri Jul 11 09:39:39 PDT 2008


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;



More information about the general mailing list