This patch change retry counts to small values. This helps interoperability
between ehca and mthca. Without this patch I had seen "send completion errors".

Or Gerlitz has started a thread on the general mailing list and the complete
discussion will be available there. This is the second part of the patch
submitted yesterday and is split up as per Eli's request.

Signed-off-by: Pradeep Satyanarayana <[EMAIL PROTECTED]>
---

--- ofa_kernel-1.3_a/drivers/infiniband/ulp/ipoib/ipoib_cm.c    2008-02-12 
17:46:03.000000000 -0500
+++ ofa_kernel-1.3_b/drivers/infiniband/ulp/ipoib/ipoib_cm.c    2008-02-12 
17:46:58.000000000 -0500
@@ -1016,8 +1016,8 @@ static int ipoib_cm_send_req(struct net_
        req.responder_resources       = 4;
        req.remote_cm_response_timeout = 20;
        req.local_cm_response_timeout  = 20;
-       req.retry_count               = 0; /* RFC draft warns against retries */
-       req.rnr_retry_count           = 0; /* RFC draft warns against retries */
+       req.retry_count               = 3;
+       req.rnr_retry_count           = 3;
        req.max_cm_retries            = 15;
        req.srq                       = ipoib_cm_has_srq(dev);
        return ib_send_cm_req(id, &req);

_______________________________________________
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to