[openib-general] [PATCH 1/2][RFC] Implement resize of CQ
Krishna Kumar
krkumar at us.ibm.com
Thu Nov 4 09:44:28 PST 2004
On Thu, 4 Nov 2004, Roland Dreier wrote:
> Not sure what the goal is here, but I should point out that current
> mthca code does not implement resizing either CQs or QPs.
Yes, I agree on that. Infact the verbs layer will return ENOSYS for
mthca driver. But I was assuming that any other driver by a different
hardware vendor can support this call (mthca over time could support
this call too ?).
> However I'm not sure I understand why the MAD layer wants to resize
> these objects -- given that the number of QPs is known in advance and
> that the MAD layer can choose how many work requests to post per QP,
> I'm not sure what is gained by trying to resize things dynamically.
Actually, I haven't really implemented the "dynamically" part, where you
resize the CQ during operation. The spec said that when you create a QP,
it can be larger than what you specified. If so, I see good value in
increasing the size of the associated CQ, if it is supported by the
driver.
Thanks,
- KK
More information about the general
mailing list