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

James Lentini jlentini at netapp.com
Tue May 17 12:20:08 PDT 2005


Committed in revision 2365.

On Mon, 16 May 2005, Hal Rosenstock wrote:

halr> CM modify retry count in a couple of error messages
halr> 
halr> Signed-off-by: Hal Rosenstock <halr at voltaire.com>
halr> 
halr> Index: dapl_openib_cm.c
halr> ===================================================================
halr> --- dapl_openib_cm.c    (revision 2354)
halr> +++ dapl_openib_cm.c    (working copy)
halr> @@ -280,7 +280,7 @@
halr>  
halr>         if (rec_num <= 0) {
halr>                 printk(KERN_ERR "dapl_path_comp_handler: path resolution "
halr> -                      "failed %d retry %d!!!\n", rec_num, conn->retries);
halr> +                      "failed %d retry %d!!!\n", rec_num, conn->retries + 1);
halr>                 if (++conn->retries > OPENIB_MAX_AT_RETRY) {
halr>                         printk(KERN_ERR "dapl_path_comp_handler: ep_ptr 0x%p\n",
halr>                                conn->ep);
halr> @@ -330,7 +330,7 @@
halr>  
halr>         if (rec_num <= 0) {
halr>                 printk(KERN_ERR "dapl_rt_comp_handler: rec num %d retry %d\n",
halr> -                      rec_num, conn->retries);
halr> +                      rec_num, conn->retries + 1);
halr>                 if (++conn->retries > OPENIB_MAX_AT_RETRY) {
halr>                         event = IB_CME_DESTINATION_UNREACHABLE;
halr>                         goto error;
halr> 
halr> 



More information about the general mailing list