commit | 383de108157c881074f32914b61125e299820bd2 | [log] [tgz] |
---|---|---|
author | Dmytro Linkin <dmitrolin@mellanox.com> | Wed Feb 12 11:32:39 2020 +0200 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Tue Feb 18 19:01:19 2020 -0800 |
tree | cb6dbfc76fc56163be3c382e05a3761a51095602 | |
parent | 52d214976d4f64504c1bbb52d47b46a5a3d5ee42 [diff] |
net/mlx5e: Don't clear the whole vf config when switching modes There is no need to reset all vf config (except link state) between legacy and switchdev modes changes. Also, set link state to AUTO, when legacy enabled. Fixes: 3b83b6c2e024 ("net/mlx5e: Clear VF config when switching modes") Signed-off-by: Dmytro Linkin <dmitrolin@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>