On Mon, 23 May 2005, Roland Dreier wrote:

   Roland> I think you may be misunderstanding the suggestion.  The
   Roland> idea is that the driver takes the input value of
   Roland> max_inline_data as a hint, and tries to allocate a QP that
   Roland> supports that value.  However, if the value is too large,
   Roland> the driver reduces the value down to the largest value
   Roland> that it can support.

   James> I don't think this is true:

Right, it isn't true yet.  I was trying to explain Michael's
suggestion for improving the interface.

Ok.

   James> So if there was an error, the function return without
   James> updating the user's cap values. Is this a bug?

No.  What should it return?  No QP has been created, so it doesn't
make sense to return the capacity of the QP.

It's fine. I was thinking you wanted to use the ib_qp_init_attr to return valid capability values to the user on failure. Reading back through the thread, I don't know how I got that impression.

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to