[openib-general] [PATCH] [kdapl] CM modify retry count in a couple of error messages

Hal Rosenstock halr at voltaire.com
Mon May 16 08:42:47 PDT 2005


CM modify retry count in a couple of error messages

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: dapl_openib_cm.c
===================================================================
--- dapl_openib_cm.c    (revision 2354)
+++ dapl_openib_cm.c    (working copy)
@@ -280,7 +280,7 @@
 
        if (rec_num <= 0) {
                printk(KERN_ERR "dapl_path_comp_handler: path resolution "
-                      "failed %d retry %d!!!\n", rec_num, conn->retries);
+                      "failed %d retry %d!!!\n", rec_num, conn->retries + 1);
                if (++conn->retries > OPENIB_MAX_AT_RETRY) {
                        printk(KERN_ERR "dapl_path_comp_handler: ep_ptr 0x%p\n",
                               conn->ep);
@@ -330,7 +330,7 @@
 
        if (rec_num <= 0) {
                printk(KERN_ERR "dapl_rt_comp_handler: rec num %d retry %d\n",
-                      rec_num, conn->retries);
+                      rec_num, conn->retries + 1);
                if (++conn->retries > OPENIB_MAX_AT_RETRY) {
                        event = IB_CME_DESTINATION_UNREACHABLE;
                        goto error;





More information about the general mailing list