]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[IBAL] Cosmetic changes
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 25 Oct 2007 14:00:11 +0000 (14:00 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 25 Oct 2007 14:00:11 +0000 (14:00 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1@892 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

branches/Ndi/core/al/kernel/al_proxy_ndi.c
branches/Ndi/inc/iba/ib_al_ioctl.h

index a23e96c39b956e3dd683d103903504a9b4a49713..75fcdcadf87587089a38195630160514093be590 100644 (file)
@@ -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;
 
index 97bdb816393c65786ba94c316829eeb3843e088d..022d5e337abe948b6a00fd78fa9f2482e05fbacd 100644 (file)
@@ -3457,7 +3457,7 @@ typedef struct _ual_dereg_pnp_ioctl
 typedef struct _ual_ndi_notify_cq_ioctl_in\r
 {\r
        uint64_t                                        h_cq;\r
-       boolean_t                                       notify_errors;\r
+       boolean_t                                       notify_comps;\r
 \r
 }      ual_ndi_notify_cq_ioctl_in_t;\r
 /*\r
@@ -3468,9 +3468,9 @@ typedef struct _ual_ndi_notify_cq_ioctl_in
 *      h_cq\r
 *              A handle to the CQ to modify.\r
 *\r
-*      notify_errors\r
-*              Type of notification, requested. If TRUE - errors, \r
-*              otherwise - completion events.\r
+*      notify_comps\r
+*              Type of notification, requested. If TRUE - completion events, \r
+*              otherwise - errors.\r
 *\r
 *****/\r
 \r