net/mlx5: Cleanup XFRM attributes struct
authorLeon Romanovsky <leonro@nvidia.com>
Mon, 28 Mar 2022 09:06:21 +0000 (12:06 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 4 May 2022 05:59:18 +0000 (22:59 -0700)
commit6cd2126ac602305f52e43666400b135b20b46b07
treeeb90cad70882e0fe4cfa63ddef2db183df00e37d
parent1c4a59b9fa98c222bd6a8fa82bff942312165c1a
net/mlx5: Cleanup XFRM attributes struct

Remove everything that is not used or from mlx5_accel_esp_xfrm_attrs,
together with change type of spi to store proper type from the beginning.

Reviewed-by: Raed Salem <raeds@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.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
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_offload.c