net/mlx5e: Block rx-gro-hw feature in switchdev mode
authorAya Levin <ayal@nvidia.com>
Mon, 11 Apr 2022 14:29:08 +0000 (17:29 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 18 May 2022 06:03:54 +0000 (23:03 -0700)
commit7a5c3b14d1b8a14f8aafef40a6d2a047835bc569
tree18c08ee3a6af5f17bd86657f3f9ff67bcd719a04
parent147f27fae01f3fe396207aeb291068a692bce06d
net/mlx5e: Block rx-gro-hw feature in switchdev mode

When the driver is in switchdev mode and rx-gro-hw is set, the RQ needs
special CQE handling. Till then, block setting of rx-gro-hw feature in
switchdev mode, to avoid failure while setting the feature due to
failure while opening the RQ.

Fixes: 891bd4232faa ("net/mlx5e: Add handle SHAMPO cqe support")
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_main.c