net/mlx5e: Prevent HW-GRO and CQE-COMPRESS features operate together
authorKhalid Manaa <khalidm@nvidia.com>
Mon, 11 Oct 2021 07:36:24 +0000 (10:36 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 27 Oct 2021 02:30:42 +0000 (19:30 -0700)
commitae3452995bd4723549520e3d61d0ccbcacb2745f
treef143e44c61ab5f20c86850667e54c452e6bbbce8
parent83439f3c37aa811223f16704d2d7dc743a7fa4e0
net/mlx5e: Prevent HW-GRO and CQE-COMPRESS features operate together

HW-GRO and CQE-COMPRESS are mutually exclusive, this commit adds this
restriction.

Signed-off-by: Khalid Manaa <khalidm@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c