[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250218153110.0c10e72c@kernel.org>
Date: Tue, 18 Feb 2025 15:31:10 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: David Ahern <dsahern@...nel.org>
Cc: Jason Gunthorpe <jgg@...dia.com>, Saeed Mahameed <saeedm@...dia.com>,
Andy Gospodarek <andrew.gospodarek@...adcom.com>, Aron Silverton
<aron.silverton@...cle.com>, Dan Williams <dan.j.williams@...el.com>,
Daniel Vetter <daniel.vetter@...ll.ch>, Dave Jiang <dave.jiang@...el.com>,
Andy Gospodarek <gospo@...adcom.com>, Christoph Hellwig
<hch@...radead.org>, Itay Avraham <itayavr@...dia.com>, Jiri Pirko
<jiri@...dia.com>, Jonathan Cameron <Jonathan.Cameron@...wei.com>, Leonid
Bloch <lbloch@...dia.com>, Leon Romanovsky <leonro@...dia.com>,
linux-cxl@...r.kernel.org, linux-rdma@...r.kernel.org,
netdev@...r.kernel.org, "Nelson, Shannon" <shannon.nelson@....com>, Michael
Chan <michael.chan@...adcom.com>
Subject: Re: [PATCH v4 10/10] bnxt: Create an auxiliary device for
fwctl_bnxt
On Tue, 18 Feb 2025 14:42:48 -0700 David Ahern wrote:
> On 2/18/25 1:05 PM, Jason Gunthorpe wrote:
> > On Tue, Feb 11, 2025 at 09:24:35AM -0700, David Ahern wrote:
> >
> >> "Any resources in use by the netdev stack can only be created and
> >> modified by established netdev tools."
> >
> > That is already a restriction described in the doc, not just netdev,
> > but any kernel driver running with any kernel owned resource. You
> > can't reach in and change kernel owned objects.
>
> ok, then Jakub's concerns should be met.
I appreciate the doc, but no, it's not enough. The fwctl interface must
not be exposed if RDMA is disabled or driver not loaded.
Powered by blists - more mailing lists