[openib-general] [PATCH] SEND_INLINE support in libmthca

Roland Dreier roland at topspin.com
Mon Apr 4 13:51:01 PDT 2005


Is the test here correct?

+				if (s + sizeof *seg > (1 << qp->sq.wqe_shift)) {

It seems we need to take into account the size of next segment and any
RDMA segment that we may be posting as well.

Also does it make sense to put the code for gathering inline data
segments and writing gather lists into an inline function that can be
called from both the tavor and arbel post send function?  Will gcc
actually inline this function?

 - R.



More information about the general mailing list