net/mlx5e: Support IPsec NAT-T functionality
authorLeon Romanovsky <leonro@nvidia.com>
Wed, 19 Jul 2023 09:26:55 +0000 (12:26 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 25 Jul 2023 13:08:57 +0000 (15:08 +0200)
commitd65954934937f1509501ffdd7e0201b37638d2e1
tree40a604832e89dd4fe2abd4dfd26a6f3150676396
parent4acea83a849a04c4b88bf2ee7bcecfcc2f502a24
net/mlx5e: Support IPsec NAT-T functionality

Extend mlx5 IPsec packet offload to support UDP encapsulation
of IPsec ESP packets.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c