[openib-general] [PATCH] kDAPL: add some clarification to a few debug printks
Tom Duffy
tduffy at sun.com
Wed May 18 14:03:46 PDT 2005
I was running into some issues and noticed that these printks were not
very clear about where they were coming from. So, adding a little more
info.
Signed-off-by: Tom Duffy <tduffy at sun.com>
Index: linux-kernel/dat-provider/dapl_openib_qp.c
===================================================================
--- linux-kernel/dat-provider/dapl_openib_qp.c (revision 2382)
+++ linux-kernel/dat-provider/dapl_openib_qp.c (working copy)
@@ -108,7 +108,8 @@ u32 dapl_ib_qp_alloc(DAPL_IA *ia_ptr, DA
ep_ptr->qp_handle = ib_create_qp(ib_pd_handle, &qp_attr);
if (IS_ERR(ep_ptr->qp_handle)) {
ib_status = PTR_ERR(ep_ptr->qp_handle);
- dapl_dbg_log(DAPL_DBG_TYPE_ERR, " failed code = %d\n",
+ dapl_dbg_log(DAPL_DBG_TYPE_ERR,
+ " dapl_ib_qp_alloc: ib_create_qp failed = %d\n",
ib_status);
return dapl_ib_status_convert(ib_status);
}
@@ -197,8 +198,9 @@ ib_cq_handle_t dapl_get_dto_cq(DAPL_IA *
ib_status =
PTR_ERR(ia_ptr->hca_ptr->ib_trans.
null_ib_cq_handle);
- dapl_dbg_log(DAPL_DBG_TYPE_ERR, " failed code = %d\n",
- ib_status);
+ dapl_dbg_log(DAPL_DBG_TYPE_ERR,
+ " dapl_get_dto_cq: ib_create_cq failed "
+ "= %d\n", ib_status);
ia_ptr->hca_ptr->ib_trans.null_ib_cq_handle =
IB_INVALID_HANDLE;
}
More information about the general
mailing list