[openib-general] Re: [patch][kdapl][trivial] fix debug prints

James Lentini jlentini at netapp.com
Tue May 17 12:25:48 PDT 2005


Committed in revision 2366.

On Mon, 16 May 2005, Itamar wrote:

itamar> 
itamar> change print from mr to lmr_context
itamar> add \n at end of print
itamar> 
itamar> Signed-off-by: Itamar Rabenstein <itamar at mellanox.co.il>
itamar> 
itamar> Index: dapl_ep_post_rdma_write.c
itamar> ===================================================================
itamar> --- dapl_ep_post_rdma_write.c	(revision 2355)
itamar> +++ dapl_ep_post_rdma_write.c	(working copy)
itamar> @@ -91,7 +91,7 @@
itamar>  					   OP_WR_RDMA_WRITE);
itamar>  
itamar>  	dapl_dbg_log(DAPL_DBG_TYPE_RTN,
itamar> -		     "dapl_ep_post_rdma_write () returns 0x%x", dat_status);
itamar> +		     "dapl_ep_post_rdma_write () returns 0x%x\n", dat_status);
itamar>  
itamar>  	return dat_status;
itamar>  }
itamar> Index: dapl_openib_util.c
itamar> ===================================================================
itamar> --- dapl_openib_util.c	(revision 2355)
itamar> +++ dapl_openib_util.c	(working copy)
itamar> @@ -433,10 +433,6 @@
itamar>  			     ib_status);
itamar>  		return dapl_ib_status_convert(ib_status);
itamar>  	}
itamar> -	dapl_dbg_log(DAPL_DBG_TYPE_UTIL,
itamar> -		     "dapl_ib_mr_register_physical(%p %d) got handle %p\n",
itamar> -		     buf_list, length, mr);
itamar> -
itamar>  #if 0
itamar>  	/* ib_query_mr is not implemented yet in OpenIB!!! */
itamar>  	ib_status = ib_query_mr(mr, &attr);
itamar> @@ -453,6 +449,9 @@
itamar>  	lmr->param.rmr_context = mr->rkey;
itamar>  	lmr->mr_handle = mr;
itamar>  
itamar> +	dapl_dbg_log(DAPL_DBG_TYPE_UTIL,
itamar> +		"dapl_ib_mr_register_physical(%p %d) got lkey 0x%x \n",
itamar> +		buf_list, length, lmr->param.lmr_context);
itamar>  	return (DAT_SUCCESS);
itamar>  }
itamar>  
itamar> -- 
itamar> Itamar
itamar> 



More information about the general mailing list