[openib-general] [PATCH] uDAPL dapl_evd_connection_callback does not support TIMED_OUT event
Arlin Davis
arlin.r.davis at intel.com
Thu Jun 22 11:17:54 PDT 2006
James,
Added support for active side TIMED_OUT event from a provider.
Signed-off by: Arlin Davis ardavis at ichips.intel.com
Index: dapl/common/dapl_evd_connection_callb.c
===================================================================
--- dapl/common/dapl_evd_connection_callb.c (revision 8166)
+++ dapl/common/dapl_evd_connection_callb.c (working copy)
@@ -162,48 +162,15 @@ 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;
- dapls_ib_disconnect_clean (ep_ptr, DAT_TRUE, ib_cm_event);
- dapl_os_unlock (&ep_ptr->header.lock);
-
- 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);
dapl_os_unlock ( &ep_ptr->header.lock );
-
break;
}
case DAT_CONNECTION_REQUEST_EVENT:
More information about the general
mailing list