> >> > + /* We increase the size of the CQ in the NOSRQ case to prevent CQ >> > + * overflow. Every new REQ creates a new RX QP and each QP has an >> > + * RX ring associated with it. Therefore we could have >> > + * NOSRQ_INDEX_TABLE_SIZE*ipoib_recvq_size + ipoib_sendq_size CQEs >> > + * in a CQ. >> > + */ >> > + if (!priv->cm.srq) >> > + size += (NOSRQ_INDEX_TABLE_SIZE -1) * ipoib_recvq_size; >> >> only need to do this if CM is enabled
This happens during init in ipoib_transport_dev_init(). However, at this point IPOIB_FLAG_ADMIN_CM is not even set. So, it is not possible to do this conditionally only if CM is enabled. Any suggestions? Pradeep _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
