Files
linux/drivers
Maxim Mikityanskiy 4ddcfb7870 net/mlx5e: Update netdev features after changing XDP state
[ Upstream commit f6279f113a ]

Some features (LRO, HW GRO) conflict with XDP. If there is an attempt to
enable such features while XDP is active, they will be set to `off
[requested on]`. In order to activate these features after XDP is turned
off, the driver needs to call netdev_update_features(). This commit adds
this missing call after XDP state changes.

Fixes: cf6e34c8c2 ("net/mlx5e: Properly block LRO when XDP is enabled")
Fixes: b0617e7b35 ("net/mlx5e: Properly block HW GRO when XDP is enabled")
Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:36:12 +02:00
..
2022-06-09 10:22:56 +02:00
2021-11-18 19:16:08 +01:00
2022-06-09 10:22:58 +02:00
2022-04-13 20:59:01 +02:00
2021-12-22 09:32:39 +01:00