[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <70651c3f-e5cb-2a33-1682-6564255e2307@oracle.com>
Date: Wed, 15 Jan 2020 12:05:03 -0800
From: Rao Shoaib <rao.shoaib@...cle.com>
To: Jason Gunthorpe <jgg@...pe.ca>
Cc: linux-rdma@...r.kernel.org, monis@...lanox.com,
dledford@...hat.com, sean.hefty@...el.com,
hal.rosenstock@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/2] SGE buffer and max_inline data must have same size
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
Powered by blists - more mailing lists