]> git.baikalelectronics.ru Git - kernel.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)
commita49aac80c49bd8c7f3c425b81d99fddebabdede1
tree18c08ee3a6af5f17bd86657f3f9ff67bcd719a04
parent8d8cc02c0ee08c1dd6dd8ba6241d85bfce1d2348
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: 37d47fae04b8 ("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