[Openib-windows] [PATCH] creating CQ with size larger then cap

Yossi Leybovich sleybo at mellanox.co.il
Thu Nov 10 05:03:19 PST 2005


Fab

Our verification team found that their tests crash when creating cq with
size 
larger then hca cap, this small patch fix that problem.
(and maybe more other errors that happen in create cq)

10x
Yossi

Singed-off-by:Yossi Leybovich (sleybo at mellanox.co.il)

Index: hw/mt23108/user/mlnx_ual_cq.c
===================================================================
--- hw/mt23108/user/mlnx_ual_cq.c (revision 712)
+++ hw/mt23108/user/mlnx_ual_cq.c (working copy)
@@ -202,7 +202,7 @@
     }
 
     FUNC_EXIT;
-    return IB_SUCCESS;
+    return status;
 }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cq_size_more_then_cap.patch
Type: application/octet-stream
Size: 304 bytes
Desc: cq_size_more_then_cap.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20051110/30f85409/attachment.obj>


More information about the ofw mailing list