[openib-general] [PATCH] [TRIVIAL] [kdapl CM] Change messages to be consistent with routine names

Hal Rosenstock halr at voltaire.com
Wed May 25 12:50:46 PDT 2005


[kdapl CM] Change messages to be consistent with routine names

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

Index: dapl_openib_cm.c
===================================================================
--- dapl_openib_cm.c    (revision 2486)
+++ dapl_openib_cm.c    (working copy)
@@ -78,7 +78,7 @@
        int status;
 
        if (conn->ep->qp_handle == NULL) {
-               dapl_dbg_log(DAPL_DBG_TYPE_ERR, " do_rep_recv: invalid qp "
+               dapl_dbg_log(DAPL_DBG_TYPE_ERR, " dapl_rep_recv: invalid qp "
                             "handle\n");
                goto disc;
        }
@@ -86,7 +86,7 @@
        /* First, transition QP to RTR */
        status = dapl_modify_qp_state_to_rtr(conn->cm_id, conn->ep->qp_handle);
        if (status) {
-               dapl_dbg_log(DAPL_DBG_TYPE_ERR, " do_rep_recv: could not "
+               dapl_dbg_log(DAPL_DBG_TYPE_ERR, " dapl_rep_recv: could not "
                             "modify QP state to RTR status %d\n", status);
                goto disc;
        }
@@ -94,14 +94,14 @@
        /* Now, transition QP to RTS */
        status = dapl_modify_qp_state_to_rts(conn->cm_id, conn->ep->qp_handle);
        if (status) {
-               dapl_dbg_log(DAPL_DBG_TYPE_ERR, " do_rep_recv: could not "
+               dapl_dbg_log(DAPL_DBG_TYPE_ERR, " dapl_rep_recv: could not "
                             "modify QP state to RTS status %d\n", status);
                goto disc;
        }
 
        status = ib_send_cm_rtu(conn->cm_id, NULL, 0);
        if (status) {
-               dapl_dbg_log(DAPL_DBG_TYPE_ERR, " do_rep_recv: ib_send_cm_rtu "
+               dapl_dbg_log(DAPL_DBG_TYPE_ERR, " dapl_rep_recv: ib_send_cm_rtu "
                             "failed: %d\n", status);
                goto disc;
        }
@@ -181,7 +181,7 @@
 
        status = dapl_modify_qp_state_to_rts(conn->cm_id, conn->ep->qp_handle);
        if (status) {
-               dapl_dbg_log(DAPL_DBG_TYPE_ERR, " do_rtu_recv: could not "
+               dapl_dbg_log(DAPL_DBG_TYPE_ERR, " dapl_rtu_recv: could not "
                             "modify QP state to RTS status %d\n", status);
                goto reject;
        }





More information about the general mailing list