[openib-general] [PATCH] [TRIVIAL] ib_mad.c: ib_mad.c: Allocate CQ entries without any extra ones
Hal Rosenstock
halr at voltaire.com
Fri Sep 10 12:32:14 PDT 2004
ib_mad.c: Allocate CQ entries without any extra ones
Index: ib_mad.c
===================================================================
--- ib_mad.c (revision 766)
+++ ib_mad.c (working copy)
@@ -1159,7 +1159,7 @@
priv->version[i] = NULL;
}
- cq_size = IB_MAD_QP_SEND_SIZE + IB_MAD_QP_RECV_SIZE + 20;
+ cq_size = IB_MAD_QP_SEND_SIZE + IB_MAD_QP_RECV_SIZE;
priv->cq = ib_create_cq(priv->device,
(ib_comp_handler)
ib_mad_thread_completion_handler,
priv, cq_size);
More information about the general
mailing list