From: leonidk Date: Sun, 21 Oct 2007 11:03:32 +0000 (+0000) Subject: [IBAL Add AL handle parameter to al_cep_get_cid X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=f1933537754ae0aec35a57b1e1d7282b7ae1376e;p=~shefty%2Frdma-win.git [IBAL Add AL handle parameter to al_cep_get_cid git-svn-id: svn://openib.tc.cornell.edu/gen1@873 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- diff --git a/branches/Ndi/core/al/al_cm_cep.h b/branches/Ndi/core/al/al_cm_cep.h index 37df56d3..41ec3214 100644 --- a/branches/Ndi/core/al/al_cm_cep.h +++ b/branches/Ndi/core/al/al_cm_cep.h @@ -265,6 +265,7 @@ al_cep_queue_irp( NTSTATUS al_cep_get_cid( + IN ib_al_handle_t h_al, IN net32_t const cid, IN PIRP h_ioctl, OUT net32_t *p_new_cid diff --git a/branches/Ndi/core/al/kernel/al_cm_cep.c b/branches/Ndi/core/al/kernel/al_cm_cep.c index a5f7cac1..8b187de9 100644 --- a/branches/Ndi/core/al/kernel/al_cm_cep.c +++ b/branches/Ndi/core/al/kernel/al_cm_cep.c @@ -6120,6 +6120,7 @@ al_cep_cleanup_al( NTSTATUS al_cep_get_cid( + IN ib_al_handle_t h_al, IN net32_t const cid, IN cl_ioctl_handle_t h_ioctl, OUT net32_t *p_new_cid @@ -6133,7 +6134,7 @@ al_cep_get_cid( AL_ENTER( AL_DBG_NDI ); KeAcquireInStackQueuedSpinLock( &gp_cep_mgr->lock, &hdl ); - p_cep = __lookup_cep( NULL, cid ); + p_cep = __lookup_cep( h_al, cid ); if( !p_cep ) { nt_status = STATUS_INVALID_PARAMETER; diff --git a/branches/Ndi/core/al/kernel/al_proxy_ndi.c b/branches/Ndi/core/al/kernel/al_proxy_ndi.c index afd4d455..2705476f 100644 --- a/branches/Ndi/core/al/kernel/al_proxy_ndi.c +++ b/branches/Ndi/core/al/kernel/al_proxy_ndi.c @@ -264,7 +264,7 @@ __ndi_get_cid( /* get CID */ cid = *(uint32_t*)cl_ioctl_in_buf( h_ioctl ); - cl_status = al_cep_get_cid( cid, h_ioctl, cl_ioctl_out_buf( h_ioctl ) ); + cl_status = al_cep_get_cid( p_context->h_al, cid, h_ioctl, cl_ioctl_out_buf( h_ioctl ) ); *p_ret_bytes = sizeof(uint32_t); exit: