net/mlx5: Remove ipsec vs. ipsec offload file separation
authorLeon Romanovsky <leonro@nvidia.com>
Wed, 6 Apr 2022 08:25:44 +0000 (11:25 +0300)
committerLeon Romanovsky <leonro@nvidia.com>
Sat, 9 Apr 2022 05:25:07 +0000 (08:25 +0300)
commit0419324376871bb9cf21f765c524709f7372b9f9
tree1de7bdd3711b704230d47a5349735edc79ff3013
parentd50c216394c28b984c05a38c991a8ad468e06ff6
net/mlx5: Remove ipsec vs. ipsec offload file separation

The IPsec won't be initialized at all if device doesn't support IPsec
offload. It means that we can combine the ipsec.c and ipsec_offload.c
files to one file. Such change will allow us to remove ipsec_ops
indirection.

Link: https://lore.kernel.org/r/d0ac1fb7b14c10ae20a21ae17a393ee860c72ac3.1649232994.git.leonro@nvidia.com
Reviewed-by: Raed Salem <raeds@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.c [deleted file]
drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.h [deleted file]
drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec_offload.c
drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec_offload.h
drivers/net/ethernet/mellanox/mlx5/core/en/params.c
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_stats.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
drivers/net/ethernet/mellanox/mlx5/core/main.c