Re: [PATCH 1/1] IB/iser: Remove hard coded values for cqe and send_wr

Or Gerlitz
2014-10-22T04:54:59Z

On 10/22/2014 7:29 AM, Minh Duc Tran wrote:
> Not just that one liner change. The change is about 10 lines and very simple. It should take you about 30 seconds to read it. We need the whole patch to fix two problems:
> 1) the create CQ failure due to requested CQ entries too large.
> 2) the create qp failure due to requested wr entries too large. Our hw has a limit of around 2k wr per qp in this profile. Iser calls to create qp with a hardcoded value of around 4k.
OK, got it.

>
> If you have other ideas how to solve our problem, please let us know.

So let's max the QP size too against the device. The large QP size
originates from what does it take to support unsolicited data outs, so
in your case, you can document some sort of limitation in that respect
for 3.18 and we'll do a full features proofed solution for 3.19. Please
send the minimal patch for these two fixes on a new thread and we'll
pick it up.

Or.