Re: [PATCH v4 03/14] net: ionic: Export the APIs from net driver to support device commands
From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-08-01 20:21:29
Also in:
linux-doc, linux-rdma, lkml
From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-08-01 20:21:29
Also in:
linux-doc, linux-rdma, lkml
On Fri, 1 Aug 2025 14:00:14 -0300 Jason Gunthorpe wrote:
quoted
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.
Which is not to say that it's a good idea.