summaryrefslogtreecommitdiff
path: root/samples/acrn
diff options
context:
space:
mode:
authorParav Pandit <parav@nvidia.com>2021-03-02 13:54:42 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-04-24 00:58:40 -0700
commit06ec5acc7747f225154fcafaf2afe52324694baa (patch)
treeefe5313ff885c2aefb2ff638c05c62f0f4393945 /samples/acrn
parentb2f0ca00e6b34bd57c9298a869ea133699e8ec39 (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 <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 'samples/acrn')
0 files changed, 0 insertions, 0 deletions