[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201118182319.7bad1ca6@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net>
Date: Wed, 18 Nov 2020 18:23:19 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Parav Pandit <parav@...dia.com>
Cc: Saeed Mahameed <saeed@...nel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
Jiri Pirko <jiri@...dia.com>, Jason Gunthorpe <jgg@...dia.com>,
"dledford@...hat.com" <dledford@...hat.com>,
"Leon Romanovsky" <leonro@...dia.com>,
"davem@...emloft.net" <davem@...emloft.net>
Subject: Re: [PATCH net-next 00/13] Add mlx5 subfunction support
On Tue, 17 Nov 2020 18:50:57 +0000 Parav Pandit wrote:
> At this point vdpa tool of [1] can create one or more vdpa net devices on this subfunction device in below sequence.
>
> $ vdpa parentdev list
> auxiliary/mlx5_core.sf.4
> supported_classes
> net
>
> $ vdpa dev add parentdev auxiliary/mlx5_core.sf.4 type net name foo0
>
> $ vdpa dev show foo0
> foo0: parentdev auxiliary/mlx5_core.sf.4 type network parentdev vdpasim vendor_id 0 max_vqs 2 max_vq_size 256
>
> > I'm asking how the vdpa API fits in with this, and you're showing me the two
> > devlink commands we already talked about in the past.
> Oh ok, sorry, my bad. I understood your question now about relation of vdpa commands with this.
> Please look at the above example sequence that covers the vdpa example also.
>
> [1] https://lore.kernel.org/netdev/20201112064005.349268-1-parav@nvidia.com/
I think the biggest missing piece in my understanding is what's the
technical difference between an SF and a VDPA device.
Isn't a VDPA device an SF with a particular descriptor format for the
queues?
Powered by blists - more mailing lists