[openib-general] Re: calculate inline data size
Gleb Natapov
gleb at minantech.com
Thu Jul 7 13:46:30 PDT 2005
On Thu, Jul 07, 2005 at 11:32:54PM +0300, Michael S. Tsirkin wrote:
> Quoting r. Gleb Natapov <glebn at voltaire.com>:
> > > > 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.
> > >
> > > why dont you decide what size you want and use that?
> > >
> > Because I want it to be as big as possible.
>
> Then you should specify a big max_inline_data.
> If you give 0 you get a fairly low number, basically depending
> on the max s/g list size that you give.
>
Tried that. But with big values create_qp fails. So my next question is
how can I determine the biggest inline data I can send. Binary search?
--
Gleb.
More information about the general
mailing list