]> git.dujemihanovic.xyz Git - linux.git/commit
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)
commit15a5078cab30d7aa02ad14bfadebf247d95fc239
tree18c08ee3a6af5f17bd86657f3f9ff67bcd719a04
parent379169740b0a955972cebb4994b2607b264a4b41
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: f97d5c2a453e ("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