]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Remove the duplicating check for striding RQ when enabling LRO
authorMaxim Mikityanskiy <maximmi@nvidia.com>
Tue, 12 Apr 2022 18:59:53 +0000 (21:59 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 13 Jul 2022 22:56:49 +0000 (15:56 -0700)
commita5a948859ffe8c8ea8c8f65cb82d59cf308d4506
tree6b5ff3744672bf63dddc4e3b7f8b0a4d5b1b2fd9
parent4de494444cfafc9a898a786f4c426742f272497a
net/mlx5e: Remove the duplicating check for striding RQ when enabling LRO

LRO requires striding RQ and checks that it's enabled at two places:
mlx5e_fix_features and set_feature_lro. This commit keeps only one check
at mlx5e_fix_features and removes the duplicating one in
set_feature_lro.

Signed-off-by: Maxim Mikityanskiy <maximmi@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