[ofw] [PATCH] core [3/5]

Reuven Amitai reuven at mellanox.co.il
Wed Apr 9 06:14:56 PDT 2008


Hi,
 
NDI bugfix and print info.
 
Thanks, Reuven.
 

Index: core/al/al_qp.c

===================================================================

--- core/al/al_qp.c     (revision 1047)

+++ core/al/al_qp.c     (working copy)

@@ -327,8 +327,8 @@

            }

            status = init_conn_qp( (al_conn_qp_t*)h_qp, h_pd,
p_qp_create, p_umv_buf );

 #ifdef CL_KERNEL

-           if( NT_SUCCESS( status ) )

-                 status = ndi_qp_init( h_qp );

+           if( status == IB_SUCCESS && !NT_SUCCESS( ndi_qp_init(h_qp) )
)

+                 status = IB_ERROR;

 #endif

            break;

 

Index: core/al/kernel/al_ndi_cm.c

===================================================================

--- core/al/kernel/al_ndi_cm.c      (revision 1047)

+++ core/al/kernel/al_ndi_cm.c      (working copy)

@@ -436,6 +436,8 @@

 

      if ( h_qp->type == IB_QPT_UNRELIABLE_CONN )

      {

+           AL_PRINT( TRACE_LEVEL_INFORMATION, AL_DBG_NDI,

+                 ("UC QP type is not supported \n"));

            status = STATUS_SUCCESS;

            goto exit;

      }

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080409/a6eab9f1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndi_related.patch
Type: application/octet-stream
Size: 881 bytes
Desc: ndi_related.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080409/a6eab9f1/attachment.obj>


More information about the ofw mailing list