iproute2/devlink
Parav Pandit a5c44b821c 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

Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
2020-03-04 19:48:11 +00:00
..
.gitignore devlink: ignore build result 2016-04-11 13:35:12 -07:00
Makefile iproute2: Installation errors without libmnl 2018-12-04 14:27:08 -08:00
devlink.c devlink: Introduce devlink port flavour virtual 2020-03-04 19:48:11 +00:00
mnlg.c devlink: implement flash status monitoring 2019-09-16 07:49:25 -07:00
mnlg.h devlink: implement flash status monitoring 2019-09-16 07:49:25 -07:00