[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250801170014.GG26511@ziepe.ca>
Date: Fri, 1 Aug 2025 14:00:14 -0300
From: Jason Gunthorpe <jgg@...pe.ca>
To: Simon Horman <horms@...nel.org>
Cc: Abhijit Gangurde <abhijit.gangurde@....com>, shannon.nelson@....com,
brett.creeley@....com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, corbet@....net, leon@...nel.org,
andrew+netdev@...n.ch, allen.hubbe@....com, nikhil.agarwal@....com,
linux-rdma@...r.kernel.org, netdev@...r.kernel.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 03/14] net: ionic: Export the APIs from net driver to
support device commands
On Fri, Jul 25, 2025 at 05:41:06PM +0100, Simon Horman wrote:
> On Wed, Jul 23, 2025 at 11:01:38PM +0530, Abhijit Gangurde wrote:
> > RDMA driver needs to establish admin queues to support admin operations.
> > Export the APIs to send device commands for the RDMA driver.
> >
> > Reviewed-by: Shannon Nelson <shannon.nelson@....com>
> > Signed-off-by: Abhijit Gangurde <abhijit.gangurde@....com>
>
> Hi Abhijit,
>
> Perhaps I misunderstand things, or otherwise am on the wrong track here.
> But this seems to open the possibility of users of ionic_adminq_post_wait(),
> outside the Ethernet driver, executing a wide range or admin commands.
> It seems to me that it would be nice to narrow that surface.
The kernel is monolithic, it is not normal to spend performance
aggressively policing APIs.
mlx5 and other drivers already have interfaces almost exactly like this.
Jason
Powered by blists - more mailing lists