]> 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)
commit828287d560f494a690f03269d9ece29cf7200874
tree67d0a8cb035eb410dd8bb15e3c9ee642dab91304
parent694effb36536d42e759aa109d04b4c88aa51077c
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