]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 10 Jun 2021 00:20:06 +0000 (17:20 -0700)
commit00be83c09781501a88f7901ea4488dc046ad5111
treef97e49b1138ed07aa9431ee0049667f7e07e4efe
parent4313ac3719b22668ccafa36473340bbd41b1f3d9
net/mlx5e: Block offload of outer header csum for UDP tunnels

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: 6fd6ca3ea276 ("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>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c