]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Set IPsec WAs only in IP's non checksum partial case.
authorHuy Nguyen <huyn@mellanox.com>
Thu, 22 Oct 2020 16:22:56 +0000 (11:22 -0500)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 17 Nov 2020 19:50:52 +0000 (11:50 -0800)
commit9e2f16a2451bb62d9c4e3c1f6f61a37bd4dafc1d
tree0d19efb580fb0a08887064794aa45fa4ede8b6c6
parenta751aff8b24806b24716be429effa6d0e69b23f9
net/mlx5e: Set IPsec WAs only in IP's non checksum partial case.

The IP's checksum partial still requires L4 csum flag on Ethernet WQE.
Make the IPsec WAs only for the IP's non checksum partial case
(for example icmd packet)

Fixes: b30a29936b5a ("net/mlx5e: IPsec: Add Connect-X IPsec Tx data path offload")
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Reviewed-by: Raed Salem <raeds@nvidia.com>
Reviewed-by: Alaa Hleihel <alaa@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c