net/mlx5e: Remove accesses to priv for low level IPsec FS code
authorLeon Romanovsky <leonro@nvidia.com>
Fri, 2 Dec 2022 20:10:29 +0000 (22:10 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 6 Dec 2022 13:00:26 +0000 (14:00 +0100)
commitc7049ca6213732e5d511a4b8d6fdabea4c3b4811
tree8cbb782d2a0631c6de6cc50182d01d6e2af632e6
parentfb2caa711f690f71cc6cd256faadeff7ab76f900
net/mlx5e: Remove accesses to priv for low level IPsec FS code

mlx5 priv structure is driver main structure that holds high level data.
That information is not needed for IPsec flow steering logic and the
pointer to mlx5e_priv was not supposed to be passed in the first place.

This change "cleans" the logic to rely on internal to IPsec structures
without touching global mlx5e_priv.

Reviewed-by: Raed Salem <raeds@nvidia.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.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