summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2020-03-03 17:12:42 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-04 02:40:40 +0300
commitacf1ee44ca5da39755d2aa9080392eae46a0eb34 (patch)
tree9d6670f9e6c26fb87510eaa1f4e6f69b0768fa4f /tools/perf/scripts/python/event_analyzing_sample.py
parentc04d102ba56ee305791edab08958fa35f39a3f8b (diff)
downloadlinux-acf1ee44ca5da39755d2aa9080392eae46a0eb34.tar.xz
devlink: Introduce devlink port flavour virtual
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@mellanox.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Acked-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions