dapl_os_lock(&sp_ptr->header.lock);\r
if (sp_ptr->listening == DAT_FALSE) {\r
dapl_os_unlock(&sp_ptr->header.lock);\r
- dapl_dbg_log(DAPL_DBG_TYPE_CM,\r
+ dapl_log(DAPL_DBG_TYPE_ERR,\r
"---> dapls_cr_callback: conn event on down SP\n");\r
(void)dapls_ib_reject_connection(ib_cm_handle,\r
DAT_CONNECTION_EVENT_UNREACHABLE,\r
\r
break;\r
}\r
+ case DAT_CONNECTION_EVENT_UNREACHABLE:\r
+ dapl_log(DAPL_DBG_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
* this happens, return SUCCESS and generate the event\r
*/\r
if (dat_status == DAT_ERROR(DAT_INTERNAL_ERROR, 1)) {\r
+ dapl_log(DAPL_DBG_TYPE_ERR, "dapls_evd_post_conn_event\n");\r
dapls_evd_post_connection_event((DAPL_EVD *) ep_ptr->\r
param.\r
connect_evd_handle,\r
"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_DBG_TYPE_ERR, "dapl_evd_connection_callback unreachable 0x%x\n", ib_cm_event);\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
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,
return;\r
\r
bail:\r
+dapl_log(DAPL_DBG_TYPE_ERR, "dapli_resolve_route - bailing\n");\r
dapl_evd_connection_callback(conn,\r
IB_CME_LOCAL_FAILURE, NULL, 0, conn->ep);\r
}\r
switch (event->event) {\r
case RDMA_CM_EVENT_UNREACHABLE:\r
case RDMA_CM_EVENT_CONNECT_ERROR:\r
+dapl_log(DAPL_DBG_TYPE_ERR, "dapli_cm_active_cb event 0x%x\n", event->event);\r
dapl_log(DAPL_DBG_TYPE_WARN,\r
"dapl_cma_active: CONN_ERR event=0x%x"\r
" status=%d %s DST %s, %d\n",\r
ib_cm_event = IB_CME_DESTINATION_UNREACHABLE;\r
break;\r
case RDMA_CM_EVENT_REJECTED:\r
+dapl_log(DAPL_DBG_TYPE_ERR, "dapli_cm_active_cb reject event 0x%x\n", event->event);\r
dapl_dbg_log(DAPL_DBG_TYPE_CM,\r
" dapli_cm_active_handler: REJECTED reason=%d\n",\r
event->status);\r
&conn->cm_id->route.addr.dst_addr)->\r
sin_port));\r
\r
+dapl_log(DAPL_DBG_TYPE_ERR, "dapli_cma_event_cb addr error 0x%x\n", event->event);\r
dapl_evd_connection_callback(conn,\r
IB_CME_DESTINATION_UNREACHABLE,\r
NULL, 0, conn->ep);\r
break;\r
\r
case RDMA_CM_EVENT_DEVICE_REMOVAL:\r
+dapl_log(DAPL_DBG_TYPE_ERR, "dapli_cma_event_cb device removed 0x%x\n", event->event);\r
dapl_evd_connection_callback(conn,\r
IB_CME_LOCAL_FAILURE,\r
NULL, 0, conn->ep);\r
HRESULT hr;\r
\r
if (FAILED(event->event.status)) {\r
+printf("ucma_process_conn_resp - failed 0x%x\n", event->event.status);\r
goto err;\r
}\r
\r
hr = id->ep.connect->Accept(id->qp->conn_handle, &attr,\r
&id->comp_entry.Overlap);\r
if (FAILED(hr) && hr != WV_IO_PENDING) {\r
+printf("ucma_process_conn_resp - accept failed 0x%x\n", hr);\r
id->comp_entry.Busy = 0;\r
event->event.status = hr;\r
goto err;\r
event->event.status = ucma_query_connect(&id_priv->id,\r
&event->event.param.conn);\r
}\r
+else\r
+ printf("ucma_process_establish error 0x%x\n", event->event.status);\r
\r
if (SUCCEEDED(event->event.status)) {\r
event->event.event = RDMA_CM_EVENT_ESTABLISHED;\r
id_priv->id.comp_entry.Busy = 1;\r
id_priv->id.ep.connect->NotifyDisconnect(&id_priv->id.comp_entry.Overlap);\r
} else {\r
+printf("ucma_process_establish failure 0x%x\n", event->event.status);\r
event->event.event = RDMA_CM_EVENT_CONNECT_ERROR;\r
event->id_priv->state = cma_disconnected;\r
}\r