net/mlx5e: Use mlx5 print routines for low level IPsec code
authorLeon Romanovsky <leonro@nvidia.com>
Fri, 2 Dec 2022 20:10:28 +0000 (22:10 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 6 Dec 2022 12:59:22 +0000 (13:59 +0100)
commitfb2caa711f690f71cc6cd256faadeff7ab76f900
tree9c770103f52fe90d731acadfa8e875d0ebd572ec
parent9e5286dcbbbc47b4666df1733590260ac0b475af
net/mlx5e: Use mlx5 print routines for low level IPsec code

Low level mlx5 code needs to use mlx5_core print routines and
not netdev ones, as the failures are relevant to the HW itself
and not to its netdev.

This change allows us to remove access to mlx5 priv structure, which
holds high level driver data that isn't needed for mlx5 IPsec code.

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_fs.c