net/mlx5e: Move HW-GRO and CQE compression check to fix features flow
authorGal Pressman <gal@nvidia.com>
Mon, 29 Nov 2021 08:57:31 +0000 (10:57 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 7 Jan 2022 00:22:54 +0000 (16:22 -0800)
commitb5f42903704f868fcb45f78d6f782958b282d382
tree67d0a8cb035eb410dd8bb15e3c9ee642dab91304
parentbc2a7b5c6b379d0f6e685b29fe04d2f7310c693d
net/mlx5e: Move HW-GRO and CQE compression check to fix features flow

Feature dependencies should be resolved in fix features rather than in
set features flow. Move the check that disables HW-GRO in case CQE
compression is enabled from set_feature_hw_gro() to
mlx5e_fix_features().

Signed-off-by: Gal Pressman <gal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c