diff options
author | Parav Pandit <parav@mellanox.com> | 2019-10-28 23:35:05 +0000 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-11-01 14:40:26 -0700 |
commit | ea2300e02a71207b11111a44cbe7185a94f78a72 (patch) | |
tree | d7a5bcb9f7884909e85e43ed13e416b484dec606 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fdde49e00b9d2041086568b52670043a8def96ff (diff) |
net/mlx5: Introduce and use mlx5_esw_is_manager_vport()
Currently esw_enable_vport() does vport check for zero to enable drop
counters regardless of execution on ECPF/PF.
While esw_disable_vport() considers such scenario.
To keep consistency across code for checking for manager_vport,
introduce and use mlx5_esw_is_manager_vport() to check if a specified
vport is eswitch manager vport or not.
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions