]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5e: Fix IPsec tunnel mode offload feature check
authorRahul Rameshbabu <rrameshbabu@nvidia.com>
Wed, 22 May 2024 19:26:56 +0000 (22:26 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jun 2024 11:39:49 +0000 (13:39 +0200)
commit98f1c6e5d73ae3a262a47efe469904fc55d39f4e
tree0a2ad9116cf9a32273a070bcd1a88fa6b61169df
parent16f0de9191004a1ed8bccb5b2ecc78748f3115f3
net/mlx5e: Fix IPsec tunnel mode offload feature check

[ Upstream commit 9a52f6d44f4521773b4699b4ed34b8e21d5a175c ]

Remove faulty check disabling checksum offload and GSO for offload of
simple IPsec tunnel L4 traffic. Comment previously describing the deleted
code incorrectly claimed the check prevented double tunnel (or three layers
of ip headers).

Fixes: f1267798c980 ("net/mlx5: Fix checksum issue of VXLAN and IPsec crypto offload")
Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.h