]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
Refresh of dapl-debug
authorSean Hefty <sean.hefty@intel.com>
Tue, 2 Feb 2010 19:59:12 +0000 (11:59 -0800)
committerSean Hefty <sean.hefty@intel.com>
Tue, 2 Feb 2010 19:59:12 +0000 (11:59 -0800)
trunk/ulp/dapl2/dapl/common/dapl_cr_callback.c
trunk/ulp/dapl2/dapl/common/dapl_evd_connection_callb.c
trunk/ulp/dapl2/dapl/common/dapl_evd_util.c

index 034cc66d71ad5651280b8f2ccaee08fb4523735a..1bae2d6271d9672ce3b26c7a387f1efcfb3bad02 100644 (file)
@@ -233,9 +233,10 @@ void dapls_cr_callback(IN dp_ib_cm_handle_t ib_cm_handle, IN const ib_cm_events_
 \r
                        break;\r
                }\r
+       case DAT_CONNECTION_EVENT_UNREACHABLE:\r
+               dapl_log(DAPL_DEBUG_TYPE_ERR, "unreachable, eh?\n");\r
        case DAT_CONNECTION_EVENT_NON_PEER_REJECTED:\r
        case DAT_CONNECTION_EVENT_PEER_REJECTED:\r
-       case DAT_CONNECTION_EVENT_UNREACHABLE:\r
                {\r
                        /*\r
                         * After posting an accept the requesting node has\r
index 841b28d03d1f4ed853c8e55469d790c687684507..45f02a6bb71e3167cf816057f6d9c24d27da20e4 100644 (file)
@@ -157,8 +157,9 @@ dapl_evd_connection_callback(IN dp_ib_cm_handle_t ib_cm_handle,
                                     "dapl_evd_connection_callback PEER REJ pd=%p sz=%d\n",\r
                                     prd_ptr, private_data_size);\r
                }\r
-       case DAT_CONNECTION_EVENT_DISCONNECTED:\r
        case DAT_CONNECTION_EVENT_UNREACHABLE:\r
+               dapl_log(DAPL_DEBUG_TYPE_ERR, "unreachable, no?\n");\r
+       case DAT_CONNECTION_EVENT_DISCONNECTED:\r
        case DAT_CONNECTION_EVENT_NON_PEER_REJECTED:\r
                {\r
                        ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECTED;\r
index cc0aa17c6e0e7ff3d57e772075866265f3ec7c5a..8eede5cb8f8226d062cb15bc70bfe13bc47e2a86 100644 (file)
@@ -999,7 +999,7 @@ dapls_evd_post_cr_event_ext(IN DAPL_SP * sp_ptr,
        dapl_os_lock(&sp_ptr->header.lock);
        if (sp_ptr->listening == DAT_FALSE) {
                dapl_os_unlock(&sp_ptr->header.lock);
-               dapl_dbg_log(DAPL_DBG_TYPE_CM,
+               dapl_log(DAPL_DBG_TYPE_ERR,
                             "---> post_cr_event_ext: conn event on down SP\n");
                (void)dapls_ib_reject_connection(ib_cm_handle,
                                                 DAT_CONNECTION_EVENT_UNREACHABLE,