Re: [PATCH v3 2/2] SGE buffer and max_inline data must have same size

From: Rao Shoaib
Date: Wed Jan 15 2020 - 15:05:17 EST



On 1/15/20 11:57 AM, Rao Shoaib wrote:

I seem to recall the if the requested max can't be satisified then
that is an EINVAL?

And the init->cap should be updated with the actual allocation.

Since the user request for both (sge's and inline data) has been satisfied I decided not to update the values in case the return values are being checked. If you prefer that I update the values I can do that.

Shoaib

In my original v1 patch I did update init->cap, I must have overlooked it. I will resubmit the patch with that change once I hear back from you about the enforcement.

Shoaib