[ofa-general] IPOB CM (NOSRQ) [PATCH V7] patch resubmit
Pradeep Satyanarayana
pradeeps at linux.vnet.ibm.com
Wed Jul 18 22:15:58 PDT 2007
>
>> > + /* 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
More information about the general
mailing list