[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200304040626.26320-1-parav@mellanox.com>
Date: Tue, 3 Mar 2020 22:06:24 -0600
From: Parav Pandit <parav@...lanox.com>
To: netdev@...r.kernel.org
Cc: stephen@...workplumber.org, dsahern@...nel.org, jiri@...lanox.com,
parav@...lanox.com
Subject: [PATCH net-next iproute2 0/2] devlink: Introduce devlink port flavour virtual
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
Parav Pandit (2):
Update devlink kernel header
devlink: Introduce devlink port flavour virtual
devlink/devlink.c | 2 ++
include/uapi/linux/devlink.h | 3 +++
2 files changed, 5 insertions(+)
--
2.19.2
Powered by blists - more mailing lists