Vlad Buslov f37044fd75 net/mlx5e: Properly disable vlan strip on non-UL reps
When querying mlx5 non-uplink representors capabilities with ethtool
rx-vlan-offload is marked as "off [fixed]". However, it is actually always
enabled because mlx5e_params->vlan_strip_disable is 0 by default when
initializing struct mlx5e_params instance. Fix the issue by explicitly
setting the vlan_strip_disable to 'true' for non-uplink representors.

Fixes: cb67b832921c ("net/mlx5e: Introduce SRIOV VF representors")
Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
2022-08-22 12:57:06 -07:00
..
2022-08-12 11:28:19 +01:00
2022-08-12 11:28:19 +01:00
2022-08-04 12:12:54 -07:00
2022-03-24 13:13:26 -07:00
2022-08-18 11:03:26 -07:00
2022-04-05 17:32:05 -07:00
2022-07-05 15:26:31 -07:00
2022-05-16 10:14:27 +01:00
2022-05-05 15:54:12 -07:00
2022-06-27 21:48:51 -07:00
2022-05-05 15:53:28 -07:00
2022-05-05 15:53:28 -07:00