net/mlx5e: IPsec: Add Connect-X IPsec ESN update offload support
authorRaed Salem <raeds@mellanox.com>
Sun, 29 Dec 2019 15:13:53 +0000 (17:13 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 16 Jul 2020 23:36:51 +0000 (16:36 -0700)
commit7ed92f97a1ad308ca77bc73eb62156ec8c2bf51a
treea9ba20dc23d683f4f5ef8dc996ad7f9b88ac9d72
parentb2ac7541e3777f325c49d900550c9e3dd10c0eda
net/mlx5e: IPsec: Add Connect-X IPsec ESN update offload support

Synchronize offloading device ESN with xfrm received SN
by updating an existing IPsec HW context with the new SN.

Signed-off-by: Raed Salem <raeds@mellanox.com>
Reviewed-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec_offload.c