aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-10-28 23:35:30 +0000
committerSaeed Mahameed <saeedm@mellanox.com>2019-11-01 14:40:27 -0700
commite53a9d26cf80565cfb7172fc52a0dfac73613a0f (patch)
tree9fbfd4442f21289cae8c5780913dd0a7d695f21d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent238302fae0216cb2e6a087ba403f3ecc3450b18b (diff)
IB/mlx5: Introduce and use mlx5_core_is_vf()
Instead of deciding a given device is virtual function or not based on a device is PF or not, use already defined MLX5_COREDEV_VF by introducing an helper API mlx5_core_is_vf(). This enables to clearly identify PF, VF and non virtual functions. Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Vu Pham <vuhuong@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions