[openib-general] Re: libmthca problem: max_inline_size

Roland Dreier rolandd at cisco.com
Mon Oct 31 11:55:56 PST 2005


    Michael> Its slightly unclear to me what is meant by "the
    Michael> combination of 2 and 3".  With 2., the kernel returns
    Michael> back the actual capabilities supported, so we dont need
    Michael> to know the max descriptor size in userspace, since
    Michael> kernel will do the checks and return the actual qp
    Michael> capabilities back to us.

Yeah, I guess you're right.  If userspace allocates a QP with too-big
WQEs, the kernel will just fail the request.

    Michael> Okay ... do you want me and Jack to prepare such a patch,
    Michael> or would you rather do it yourself?

If you have time now, that would be great.  Otherwise I'll add it to
my TODO list.

 - R.



More information about the general mailing list