diff options
author | Eli Cohen <eli@mellanox.com> | 2018-07-16 11:49:27 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-07-31 12:58:43 -0700 |
commit | 5f5991f36dce1e69dd8bd7495763eec2e28f08e7 (patch) | |
tree | 0c6eee78d4b1f7e715efc9225846fa8e2d8cbf39 /crypto | |
parent | 6751e7c66cb8689491b89fe02c71d1d44394412b (diff) |
net/mlx5e: E-Switch, Initialize eswitch only if eswitch manager
Execute mlx5_eswitch_init() only if we have MLX5_ESWITCH_MANAGER
capabilities.
Do the same for mlx5_eswitch_cleanup().
Fixes: a9f7705ffd66 ("net/mlx5: Unify vport manager capability check")
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions