[ofw] RE: patches to make svn.2079 patches function correctly.

Leonid Keller leonid at mellanox.co.il
Thu Apr 23 00:54:34 PDT 2009


OK with hme. 

> -----Original Message-----
> From: Smith, Stan [mailto:stan.smith at intel.com] 
> Sent: Wednesday, April 22, 2009 10:23 PM
> To: Leonid Keller
> Cc: ofw at lists.openfabrics.org
> Subject: patches to make svn.2079 patches function correctly.
> 
> 
> Hello Leonid,
>   Fab and I have been working/testing these patches with 
> success; no more zombie processes (lost IRPs), all is well 
> with DAPL testing.
> 
> With your review and approval, I will svn commit these patches.
> 
> Thank you,
> 
> Stan.
> 
> 
> --- C:/Documents and Settings/scsmith/Local 
> Settings/Temp/ib_al_ioctl-revBASE.svn002.tmp.h      Wed Apr 
> 22 09:43:13 2009
> +++ C:/Documents and Settings/scsmith/My 
> +++ 
> Documents/openIB-windows/SVN/gen1/trunk/inc/iba/ib_al_ioctl.h  Wed 
> +++ Apr 22 09:04:36 2009
> @@ -3053,7 +3053,6 @@
>  typedef struct _ual_cep_poll_ioctl
>  {
>         ib_api_status_t                         status;
> -       uint64_t                                        context;
>         net32_t                                         new_cid;
>         ib_mad_element_t                        element;
>         ib_grh_t                                        grh;
> 
> 
> --- C:/Documents and Settings/scsmith/Local 
> Settings/Temp/ual_cm_-revBASE.svn005.tmp.c  Wed Apr 22 09:44:46 2009
> +++ C:/Documents and Settings/scsmith/My 
> Documents/openIB-windows/SVN/gen1/trunk/core/al/user/ual_cm_ce
> p.c      Wed Apr 22 09:05:51 2009
> @@ -1403,7 +1403,7 @@
> 
>                 cl_memcpy( p_mad->p_mad_buf, ioctl.mad_buf, 
> MAD_BLOCK_SIZE );
> 
> -               *p_context = (void*)(ULONG_PTR)ioctl.context;
> +               *p_context = p_cep->destroy_context;
>                 *p_new_cid = ioctl.new_cid;
>                 *pp_mad = p_mad;
>         }
> 
> 
> --- C:/Documents and Settings/scsmith/Local 
> Settings/Temp/al_proxy_ce-revBASE.svn003.tmp.c      Wed Apr 
> 22 09:45:41 2009
> +++ C:/Documents and Settings/scsmith/My 
> +++ 
> Documents/openIB-windows/SVN/gen1/trunk/core/al/kernel/al_proxy_cep.
> +++ c  Wed Apr 22 09:05:50 2009
> @@ -763,6 +763,7 @@
>         al_dev_open_context_t           *p_context;
>         ual_cep_poll_ioctl_t            *p_ioctl;
>         ib_mad_element_t                        *p_mad = NULL;
> +       void*                                           dummy;
> 
>         AL_ENTER( AL_DBG_CM );
> 
> @@ -781,7 +782,7 @@
> 
>         p_ioctl->status = al_cep_poll( p_context->h_al,
>                 *(net32_t*)cl_ioctl_in_buf( h_ioctl ),
> -               &(void*)(ULONG_PTR)p_ioctl->context,
> +               &dummy,
>                 &p_ioctl->new_cid, &p_mad );
> 
>         if( p_ioctl->status == IB_SUCCESS )
> 
> 
> --- C:/Documents and Settings/scsmith/Local 
> Settings/Temp/al_cm_cep-revBASE.svn002.tmp.c        Wed Apr 
> 22 09:46:17 2009
> +++ C:/Documents and Settings/scsmith/My 
> Documents/openIB-windows/SVN/gen1/trunk/core/al/kernel/al_cm_c
> ep.c     Wed Apr 22 09:12:46 2009
> @@ -4136,6 +4136,9 @@
>         context = p_cep->context;
>         pfn_destroy_cb = p_cep->pfn_destroy_cb;
> 
> +       /* Cancel any queued IRP */
> +       __cep_complete_irp( p_cep, STATUS_CANCELLED, 
> IO_NO_INCREMENT );
> +
>         __unbind_cep( p_cep );
>         ref_cnt = __cleanup_cep( p_cep );
>      if( reusable )
> 



More information about the ofw mailing list