diff options
author | David S. Miller | 2020-03-03 15:40:40 -0800 |
---|---|---|
committer | David S. Miller | 2020-03-03 15:40:40 -0800 |
commit | 0a303214f8cb8e2043a03f7b727dba620e07e68d (patch) | |
tree | e97dc67c70453024cc25356c8e413af85d3b3b3e /tools/pci | |
parent | c04d102ba56ee305791edab08958fa35f39a3f8b (diff) | |
parent | 162add8cbae4635cf0598c640a24d5ed2849774f (diff) |
Merge branch 'devlink-virtual-port'
Parav Pandit says:
====================
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
Patch summary:
Patch-1 Introduces new devlink port flavour 'virtual'.
Patch-2 Uses new flavour to register PCI VF virtual ports.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/pci')
0 files changed, 0 insertions, 0 deletions