diff options
author | Parav Pandit <[email protected]> | 2019-10-28 23:35:05 +0000 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2019-11-01 14:40:26 -0700 |
commit | ea2300e02a71207b11111a44cbe7185a94f78a72 (patch) | |
tree | d7a5bcb9f7884909e85e43ed13e416b484dec606 /scripts/gdb/linux/dmesg.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 <[email protected]>
Reviewed-by: Vu Pham <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions