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