diff options
author | 2021-03-02 13:54:42 +0200 | |
---|---|---|
committer | 2021-04-24 00:58:40 -0700 | |
commit | 06ec5acc7747f225154fcafaf2afe52324694baa (patch) | |
tree | efe5313ff885c2aefb2ff638c05c62f0f4393945 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | phy: nxp-c45-tja11xx: add interrupt support (diff) | |
download | wireguard-linux-06ec5acc7747f225154fcafaf2afe52324694baa.tar.xz wireguard-linux-06ec5acc7747f225154fcafaf2afe52324694baa.zip |
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 <parav@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Vu Pham <vuhuong@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions