[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 3 Mar 2020 14:44:35 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Parav Pandit <parav@...lanox.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, jiri@...lanox.com,
moshe@...lanox.com, vladyslavt@...lanox.com, saeedm@...lanox.com,
leon@...nel.org
Subject: Re: [PATCH net-next 1/2] devlink: Introduce devlink port flavour
virtual
On Tue, 3 Mar 2020 08:12:42 -0600 Parav Pandit wrote:
> Currently mlx5 PCI PF and VF devlink devices register their ports as
> physical port in non-representors mode.
>
> Introduce a new port flavour as virtual so that virtual devices can
> register 'virtual' flavour to make it more clear to users.
>
> An example of one PCI PF and 2 PCI virtual functions, each having
> one devlink port.
>
> $ devlink port show
> pci/0000:06:00.0/1: type eth netdev ens2f0 flavour physical port 0
> pci/0000:06:00.2/1: type eth netdev ens2f2 flavour virtual port 0
> pci/0000:06:00.3/1: type eth netdev ens2f3 flavour virtual port 0
>
> Reviewed-by: Jiri Pirko <jiri@...lanox.com>
> Signed-off-by: Parav Pandit <parav@...lanox.com>
Acked-by: Jakub Kicinski <kuba@...nel.org>
Powered by blists - more mailing lists