>>     Gleb> But how should I know what maximum size that I can use? By
>>     Gleb> trial and error?
>>
>> This is a good question that I don't have an answer to right now.
>
>Why not add the max inline size to the CA attributes?  HCAs that don't support
>inline data would set it to zero.
>
>It does require the user to query the CA attributes to get the limit, but
>that's
>probably OK.

In general I agree that the ib_device_attr is a good place to store this.  The
problem is that the maximum changes depending on the work request type (send or
RDMA write), if immediate data is used, and number of sge's.

- Sean


_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

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

Reply via email to