]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Block offload of outer header csum for GRE tunnel
authorAya Levin <ayal@nvidia.com>
Wed, 26 May 2021 07:40:36 +0000 (10:40 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 10 Jun 2021 00:20:06 +0000 (17:20 -0700)
commit55d24e1ee08b4abb4bec98781c48ae804952ace2
tree3265de673fbab70d82b813c4a9556cdfab1e61be
parent00be83c09781501a88f7901ea4488dc046ad5111
net/mlx5e: Block offload of outer header csum for GRE tunnel

The device is able to offload either the outer header csum or inner
header csum. The driver utilizes the inner csum offload. So, prohibit
setting of tx-gre-csum-segmentation and let it be: off[fixed].

Fixes: 64befd7a504b ("net/mlx5e: Support TSO and TX checksum offloads for GRE tunnels")
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