[PATCH 5.15 145/279] net/mlx5: E-Switch, Fix resetting of encap mode when entering switchdev