]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f2d18c870c0ebf48e5aa2a4499fdce007824dad
tree67d0a8cb035eb410dd8bb15e3c9ee642dab91304
parenta2fec3cf0e4614190e515a08514e6a564f76d3ec
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