[openib-general] calculate inline data size

Roland Dreier rolandd at cisco.com
Thu Jul 7 09:05:23 PDT 2005


    Gleb> Can I trust value returned by ibv_create_qp() in
    Gleb> cap.max_inline_data as been maximum message that I can send
    Gleb> inline?

You should be able to trust it but it sounds like you've hit a bug.

    Gleb> I create qp and pass zero as max_inline_data, I use value
    Gleb> returned in max_inline_data to determine whether to send
    Gleb> data inline. It appears that mthca_tavor_post_send()
    Gleb> calculates inline size different from mthca_return_cap() if
    Gleb> rdma is used, thus sometimes ibv_post_send() fails.

Do you mean that there is less space available for RDMA writes?  In
other words, if you pass inline data of size max_inline_data for an
RDMA write, it fails?

 - R.



More information about the general mailing list