From: leonidk Date: Thu, 25 Oct 2007 14:00:11 +0000 (+0000) Subject: [IBAL] Cosmetic changes X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=9ec2389b34f6df8dcd0ec203b314d1ff05db51e7;p=~shefty%2Frdma-win.git [IBAL] Cosmetic changes git-svn-id: svn://openib.tc.cornell.edu/gen1@892 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- diff --git a/branches/Ndi/core/al/kernel/al_proxy_ndi.c b/branches/Ndi/core/al/kernel/al_proxy_ndi.c index a23e96c3..75fcdcad 100644 --- a/branches/Ndi/core/al/kernel/al_proxy_ndi.c +++ b/branches/Ndi/core/al/kernel/al_proxy_ndi.c @@ -184,10 +184,10 @@ __ndi_notify_cq( } /* enqueue the IRP (h_cq is referenced in al_hdl_ref) */ - if (p_ioctl->notify_errors) - IoCsqInsertIrp( &h_cq->error.csq, h_ioctl, NULL ); - else + if (p_ioctl->notify_comps) IoCsqInsertIrp( &h_cq->compl.csq, h_ioctl, NULL ); + else + IoCsqInsertIrp( &h_cq->error.csq, h_ioctl, NULL ); cl_status = CL_PENDING; diff --git a/branches/Ndi/inc/iba/ib_al_ioctl.h b/branches/Ndi/inc/iba/ib_al_ioctl.h index 97bdb816..022d5e33 100644 --- a/branches/Ndi/inc/iba/ib_al_ioctl.h +++ b/branches/Ndi/inc/iba/ib_al_ioctl.h @@ -3457,7 +3457,7 @@ typedef struct _ual_dereg_pnp_ioctl typedef struct _ual_ndi_notify_cq_ioctl_in { uint64_t h_cq; - boolean_t notify_errors; + boolean_t notify_comps; } ual_ndi_notify_cq_ioctl_in_t; /* @@ -3468,9 +3468,9 @@ typedef struct _ual_ndi_notify_cq_ioctl_in * h_cq * A handle to the CQ to modify. * -* notify_errors -* Type of notification, requested. If TRUE - errors, -* otherwise - completion events. +* notify_comps +* Type of notification, requested. If TRUE - completion events, +* otherwise - errors. * *****/