[Openib-windows] bug in propagation CQ async events
Leonid Keller
leonid at mellanox.co.il
Sun Sep 17 08:14:18 PDT 2006
Hi Fab,
We saw, that CQ async events are not propagated to the userland, because
user IBAL "forgets" to set the appropriate flag.
Is there a reason for that ?
If not - here is the patch:
Index: ual_cq.c
===================================================================
--- ual_cq.c (revision 487)
+++ ual_cq.c (working copy)
@@ -79,6 +79,7 @@
cq_ioctl.in.size = p_cq_create->size;
cq_ioctl.in.h_wait_obj = p_cq_create->h_wait_obj;
cq_ioctl.in.context = h_cq;
+ cq_ioctl.in.ev_notify = (h_cq->pfn_event_cb != NULL) ? TRUE : FALSE;
cl_status = do_al_dev_ioctl( UAL_CREATE_CQ,
&cq_ioctl.in, sizeof(cq_ioctl.in), &cq_ioctl.out,
sizeof(cq_ioctl.out),
@@ -278,7 +279,6 @@
status = cq_ioctl.out.status;
if( status == IB_SUCCESS )
*p_size = cq_ioctl.out.size;
-
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20060917/348b931a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ual_cq.patch
Type: application/octet-stream
Size: 640 bytes
Desc: ual_cq.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20060917/348b931a/attachment.obj>
More information about the ofw
mailing list