[openib-general] calculate inline data size

Gleb Natapov glebn at voltaire.com
Thu Jul 7 08:20:27 PDT 2005


Hello,

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

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

Is this should work at all?

--
			Gleb.



More information about the general mailing list