On Thu, 22 Jun 2006, Arlin Davis wrote:

> James,
> 
> Added support for active side TIMED_OUT event from a provider. 

Committed revision 8181, but with the different flag values retained:

Index: dapl/common/dapl_evd_connection_callb.c
===================================================================
--- dapl/common/dapl_evd_connection_callb.c     (revision 8109)
+++ dapl/common/dapl_evd_connection_callb.c     (working copy)
@@ -162,34 +162,8 @@ dapl_evd_connection_callback (
            break;
        }
        case DAT_CONNECTION_EVENT_DISCONNECTED:
-       {
-           /*
-            * EP is now fully disconnected; initiate any post processing
-            * to reset the underlying QP and get the EP ready for
-            * another connection
-            */
-           ep_ptr->param.ep_state  = DAT_EP_STATE_DISCONNECTED;
-           dapls_ib_disconnect_clean (ep_ptr, DAT_TRUE, ib_cm_event);
-           dapl_os_unlock (&ep_ptr->header.lock);
-
-           break;
-       }
        case DAT_CONNECTION_EVENT_PEER_REJECTED:
-       {
-           ep_ptr->param.ep_state  = DAT_EP_STATE_DISCONNECTED;
-           dapls_ib_disconnect_clean (ep_ptr, DAT_TRUE, ib_cm_event);
-           dapl_os_unlock (&ep_ptr->header.lock);
-
-           break;
-       }
        case DAT_CONNECTION_EVENT_UNREACHABLE:
-       {
-           ep_ptr->param.ep_state  = DAT_EP_STATE_DISCONNECTED;
-           dapls_ib_disconnect_clean (ep_ptr, DAT_TRUE, ib_cm_event);
-           dapl_os_unlock (&ep_ptr->header.lock);
-
-           break;
-       }
        case DAT_CONNECTION_EVENT_NON_PEER_REJECTED:
        {
            ep_ptr->param.ep_state  = DAT_EP_STATE_DISCONNECTED;
@@ -199,6 +173,7 @@ dapl_evd_connection_callback (
            break;
        }
        case DAT_CONNECTION_EVENT_BROKEN:
+       case DAT_CONNECTION_EVENT_TIMED_OUT:
        {
            ep_ptr->param.ep_state  = DAT_EP_STATE_DISCONNECTED;
            dapls_ib_disconnect_clean (ep_ptr, DAT_FALSE, ib_cm_event);

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to