]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5: Extend Ethtool loopback selftest to support non-linear SKB
authorAlexei Lazar <alazar@nvidia.com>
Sun, 9 Feb 2025 10:17:15 +0000 (12:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:38:02 +0000 (14:38 +0200)
commitc74b91453b8cb20b1576c7e1ddb46a4ba030d057
treeb165631c57641c523104ff8469f7a0c28a315b55
parent99b713f4b7df165274dc0c73fcb9110a39bbf186
net/mlx5: Extend Ethtool loopback selftest to support non-linear SKB

[ Upstream commit 95b9606b15bb3ce1198d28d2393dd0e1f0a5f3e9 ]

Current loopback test validation ignores non-linear SKB case in
the SKB access, which can lead to failures in scenarios such as
when HW GRO is enabled.
Linearize the SKB so both cases will be handled.

Signed-off-by: Alexei Lazar <alazar@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20250209101716.112774-15-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c