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-07-14 22:11:37 -07:00
2022-08-04 19:54:32 -07:00
2022-05-17 23:41:45 -07:00
2022-03-10 23:38:21 -08:00
2022-07-29 21:39:07 -07:00
2022-07-28 13:55:27 -07:00
2022-08-04 19:54:32 -07:00
2022-03-10 23:38:21 -08:00
2022-03-10 23:38:21 -08:00
2022-03-10 23:38:21 -08:00
2022-03-10 23:38:22 -08:00