]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJakub Kicinski <kuba@kernel.org>
Wed, 12 Feb 2025 18:46:17 +0000 (10:46 -0800)
commit95b9606b15bb3ce1198d28d2393dd0e1f0a5f3e9
tree86ff9f8a9b4bd99509837982dd9178f9112a8ba9
parent896c92aa7429e1edd1418610e0b73120a89c7b07
net/mlx5: Extend Ethtool loopback selftest to support non-linear SKB

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>
drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c