net/mlx5e: Block offload of outer header csum for UDP tunnels
authorAya Levin <ayal@nvidia.com>
Mon, 10 May 2021 11:34:58 +0000 (14:34 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Jun 2021 12:42:43 +0000 (14:42 +0200)
commita336dc6fdd5668211e846378da0cd6b40a96a1cc
tree54d88bc14854bb1c222a499496da6ad74effe513
parent34ff3770bff809d071d5b0a84ebb539a93dc16c6
net/mlx5e: Block offload of outer header csum for UDP tunnels

[ Upstream commit 6d6727dddc7f93fcc155cb8d0c49c29ae0e71122 ]

The device is able to offload either the outer header csum or inner
header csum. The driver utilizes the inner csum offload. Hence, block
setting of tx-udp_tnl-csum-segmentation and set it to off[fixed].

Fixes: b49663c8fb49 ("net/mlx5e: Add support for UDP tunnel segmentation with outer checksum offload")
Signed-off-by: Aya Levin <ayal@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>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c