summaryrefslogtreecommitdiff
path: root/drivers/hsi
diff options
context:
space:
mode:
authorRaed Salem <raeds@nvidia.com>2021-12-02 17:43:50 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2022-02-01 20:59:42 -0800
commit5352859b3bfa0ca188b2f1d2c1436fddc781e3b6 (patch)
treeb2fa5801305d520955418d3ad076671ad430849b /drivers/hsi
parent736dfe4e68b868829a1e89dfef4a44c1580d4478 (diff)
net/mlx5e: IPsec: Fix crypto offload for non TCP/UDP encapsulated traffic
IPsec crypto offload always set the ethernet segment checksum flags with the inner L4 header checksum flag enabled for encapsulated IPsec offloaded packet regardless of the encapsulated L4 header type, and even if it doesn't exists in the first place, this breaks non TCP/UDP traffic as such. Set the inner L4 checksum flag only when the encapsulated L4 header protocol is TCP/UDP using software parser swp_inner_l4_offset field as indication. Fixes: 5cfb540ef27b ("net/mlx5e: Set IPsec WAs only in IP's non checksum partial case.") Signed-off-by: Raed Salem <raeds@nvidia.com> Reviewed-by: Maor Dickman <maord@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/hsi')
0 files changed, 0 insertions, 0 deletions