[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e786e0bf-8032-c86e-161b-2ee7299ad291@gmail.com>
Date: Wed, 4 Mar 2020 12:48:16 -0700
From: David Ahern <dsahern@...il.com>
To: Parav Pandit <parav@...lanox.com>, netdev@...r.kernel.org
Cc: stephen@...workplumber.org, dsahern@...nel.org, jiri@...lanox.com
Subject: Re: [PATCH net-next iproute2 2/2] devlink: Introduce devlink port
flavour virtual
On 3/3/20 9:06 PM, Parav Pandit wrote:
> Currently 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>
> ---
> devlink/devlink.c | 2 ++
> 1 file changed, 2 insertions(+)
>
applied to iproute2-next. Thanks
Powered by blists - more mailing lists