[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84e6a046-881d-65ce-ab58-2ed9691cc864@dev.mellanox.co.il>
Date: Sun, 15 Jul 2018 10:26:53 +0300
From: Yishai Hadas <yishaih@....mellanox.co.il>
To: Or Gerlitz <gerlitz.or@...il.com>
Cc: Yishai Hadas <yishaih@...lanox.com>,
Doug Ledford <dledford@...hat.com>,
Jason Gunthorpe <jgg@...lanox.com>,
Leon Romanovsky <leonro@...lanox.com>,
RDMA mailing list <linux-rdma@...r.kernel.org>,
Saeed Mahameed <saeedm@...lanox.com>,
linux-netdev <netdev@...r.kernel.org>,
Majd Dibbiny <majd@...lanox.com>
Subject: Re: [PATCH mlx5-next v1 1/8] net/mlx5: Add forward compatible support
for the FTE match data
On 7/12/2018 11:53 PM, Or Gerlitz wrote:
> On Wed, Jul 11, 2018 at 2:10 PM, Leon Romanovsky <leon@...nel.org> wrote:
>> From: Yishai Hadas <yishaih@...lanox.com>
>>
>> Use the PRM size including the reserved when working with the FTE
>> match data.
>
> is this actually a bug fix?
No, it's some requirement from the new API to enable forward compatible
support without changing the kernel code.
>> Also drop some driver checks around the match criteria leaving the work
>> for firmware to enable forward compatibility for future bits there.
>
> not following,
>
Same as for the 'reserved' field but also for extending the 'match
criteria' field with new bits without changing the kernel.
> OTOH, suppose today we check that one of four bits is set and now one
> added bit #5 and the
> kernel doesn't check it, what removing the existing four checks buys you?
The idea was to have one place for those checking (i.e. firmware)
instead of splitting between legacy to new bits. (i.e. driver vs firmware).
Powered by blists - more mailing lists