[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250302120905.GA1539246@unreal>
Date: Sun, 2 Mar 2025 14:09:05 +0200
From: Leon Romanovsky <leonro@...dia.com>
To: Jason Gunthorpe <jgg@...dia.com>
CC: 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>, "David
Ahern" <dsahern@...nel.org>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Christoph Hellwig <hch@...radead.org>, Itay Avraham <itayavr@...dia.com>,
Jiri Pirko <jiri@...dia.com>, Jonathan Cameron <Jonathan.Cameron@...wei.com>,
Jakub Kicinski <kuba@...nel.org>, Leonid Bloch <lbloch@...dia.com>,
<linux-cxl@...r.kernel.org>, <linux-rdma@...r.kernel.org>,
<netdev@...r.kernel.org>, Saeed Mahameed <saeedm@...dia.com>, "Nelson,
Shannon" <shannon.nelson@....com>
Subject: Re: [PATCH v5 8/8] mlx5: Create an auxiliary device for fwctl_mlx5
On Thu, Feb 27, 2025 at 08:26:36PM -0400, Jason Gunthorpe wrote:
> From: Saeed Mahameed <saeedm@...dia.com>
>
> If the device supports User Context then it can support fwctl. Create an
> auxiliary device to allow fwctl to bind to it.
>
> Create a sysfs like:
>
> $ ls /sys/devices/pci0000:00/0000:00:0a.0/mlx5_core.fwctl.0/driver -l
> lrwxrwxrwx 1 root root 0 Apr 25 19:46 /sys/devices/pci0000:00/0000:00:0a.0/mlx5_core.fwctl.0/driver -> ../../../../bus/auxiliary/drivers/mlx5_fwctl.mlx5_fwctl
>
> Signed-off-by: Saeed Mahameed <saeedm@...dia.com>
> Signed-off-by: Jason Gunthorpe <jgg@...dia.com>
> ---
> drivers/net/ethernet/mellanox/mlx5/core/dev.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
Thanks,
Acked-by: Leon Romanovsky <leonro@...dia.com>
Powered by blists - more mailing lists