This patch is for revision 880. If QP0/1 traffic is not separated, the CQ size needs
to double to prevent overruns.
- Sean
--
Index: access/ib_mad.c
===================================================================
--- access/ib_mad.c (revision 880)
+++ access/ib_mad.c (working copy)
@@ -1320,7 +1320,7 @@
port_priv->version[i] = NULL;
}
- cq_size = IB_MAD_QP_SEND_SIZE + IB_MAD_QP_RECV_SIZE;
+ cq_size = (IB_MAD_QP_SEND_SIZE + IB_MAD_QP_RECV_SIZE) * 2;
port_priv->cq = ib_create_cq(port_priv->device,
(ib_comp_handler)
ib_mad_thread_completion_handler,
NULL, port_priv, cq_size);
_______________________________________________
openib-general mailing list
[EMAIL PROTECTED]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general