net/mlx5e: Consider PTP-RQ when setting RX VLAN stripping
authorAya Levin <ayal@nvidia.com>
Wed, 30 Jun 2021 08:17:12 +0000 (11:17 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 27 Jul 2021 23:10:04 +0000 (16:10 -0700)
commita759f845d1f78634b54744db0fa48524ef6d0e14
treec9259a80dae74a9b86252757d4db86588272d59f
parent9841d58f3550d11c6181424427e8ad8c9c80f1b6
net/mlx5e: Consider PTP-RQ when setting RX VLAN stripping

Add PTP-RQ to the loop when setting rx-vlan-offload feature via ethtool.
On PTP-RQ's creation, set rx-vlan-offload into its parameters.

Fixes: a099da8ffcf6 ("net/mlx5e: Add RQ to PTP channel")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c