From 203e9a5e59520aa84f3f644a993ab7d4e04449aa Mon Sep 17 00:00:00 2001 From: leonidk Date: Tue, 13 Nov 2007 08:40:34 +0000 Subject: [PATCH] [IBAL] a workaround for DREQ problem: remove a not to necessary code, which causes a delay with handling DREQ git-svn-id: svn://openib.tc.cornell.edu/gen1@903 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- branches/Ndi/core/al/kernel/al_ndi_cm.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/branches/Ndi/core/al/kernel/al_ndi_cm.c b/branches/Ndi/core/al/kernel/al_ndi_cm.c index d0453d27..599c0fd7 100644 --- a/branches/Ndi/core/al/kernel/al_ndi_cm.c +++ b/branches/Ndi/core/al/kernel/al_ndi_cm.c @@ -678,23 +678,12 @@ __ndi_proc_dreq( IN mad_cm_dreq_t* const p_dreq ) { ndi_async_dreq_t *p_async_dreq; - ndi_qp_csq_t *p_ndi_csq = p_cm->h_qp->p_irp_que; UNUSED_PARAM(p_dreq); AL_ENTER( AL_DBG_NDI ); AL_PRINT(TRACE_LEVEL_INFORMATION ,AL_DBG_NDI ,("h_qp = 0x%p\n", p_cm->h_qp)); - if ( p_ndi_csq->state != NDI_CM_CONNECTED_DREQ_SENT && - p_ndi_csq->state != NDI_CM_CONNECTED ) - { - // This is not the state that we waited for, not much that we can do - AL_PRINT( TRACE_LEVEL_ERROR, AL_DBG_ERROR, - ("Not the expected state %s\n", State2String( p_ndi_csq->state ))); - ASSERT(FALSE); - goto exit; - } - p_async_dreq = (ndi_async_dreq_t*)cl_zalloc( sizeof(ndi_async_dreq_t) ); if( !p_async_dreq ) { @@ -1464,10 +1453,8 @@ ndi_dreq_cm( goto exit; } -#ifdef CL_KERNEL /* Store the timestamp after which the QP exits timewait. */ h_qp->timewait = cl_get_time_stamp() + timewait_us; -#endif /* CL_KERNEL */ cid = cl_atomic_xchg( &((al_conn_qp_t*)h_qp)->cid, AL_INVALID_CID ); -- 2.41.0