[openib-general] Re: [PATCH] libmthca: fix max_inline_data calculation

Roland Dreier rolandd at cisco.com
Mon Oct 31 09:03:00 PST 2005


    Michael> Fix max_inline_data calculation: we add mthca_bind_seg
    Michael> when calculating wqe size, so we should substract
    Michael> mthca_bind_seg as well.

Hmm, I would prefer to fix this in a more correct way.  A bind WQE
will never have inline data, so we should just make sure that the
calculated WQE is large enough for bind requests, rather than adding
the possibility of a bind segment to every WQE.

 - R.



More information about the general mailing list