diff options
author | Parav Pandit <[email protected]> | 2021-03-02 13:54:42 +0200 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2021-04-24 00:58:40 -0700 |
commit | 06ec5acc7747f225154fcafaf2afe52324694baa (patch) | |
tree | efe5313ff885c2aefb2ff638c05c62f0f4393945 /scripts/gdb/linux/timerlist.py | |
parent | b2f0ca00e6b34bd57c9298a869ea133699e8ec39 (diff) |
net/mlx5: E-Switch, Return eswitch max ports when eswitch is supported
mlx5_eswitch_get_total_vports() doesn't honor MLX5_ESWICH Kconfig flag.
When MLX5_ESWITCH is disabled, FS layer continues to initialize eswitch
specific ACL namespaces.
Instead, start honoring MLX5_ESWITCH flag and perform vport specific
initialization only when vport count is non zero.
Signed-off-by: Parav Pandit <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Reviewed-by: Vu Pham <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions