summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorChris Mi <cmi@nvidia.com>2022-11-02 23:55:39 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-16 10:04:00 +0100
commit8a6db8544b3b2a15ae8f481c09566a1457ee0116 (patch)
treedd25cd5f184ecfff5c3d58c9d28b23d9530aab95 /drivers/net/ethernet/intel/ice/ice_lib.c
parentc5e804f1f34f95f2c43b031ac768a9784daadaa1 (diff)
net/mlx5: E-switch, Set to legacy mode if failed to change switchdev mode
[ Upstream commit e12de39c07a7872c1ac7250311bb60b74ff29f25 ] No need to rollback to the other mode because probably will fail again. Just set to legacy mode and clear fdb table created flag. So that fdb table will not be cleared again. Fixes: f019679ea5f2 ("net/mlx5: E-switch, Remove dependency between sriov and eswitch mode") Signed-off-by: Chris Mi <cmi@nvidia.com> Reviewed-by: Roi Dayan <roid@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions