net/mlx5e: Add function to get IPsec offload namespace
authorJianbo Liu <jianbol@nvidia.com>
Mon, 31 Jul 2023 11:28:12 +0000 (14:28 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 3 Aug 2023 01:37:29 +0000 (18:37 -0700)
commitfbd517549c324049d636de0872ad9d3de63ec015
tree812926a69ac0321a979fa07c2a81786aa396b288
parent30ff01ee99bc961e5f278f997e41ffb94785a88b
net/mlx5e: Add function to get IPsec offload namespace

Add function to get namespace in different directions. It will be
extended for switchdev mode in later patch, but no functionality change
for now.

Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/ac2982c34f1ed3288d4670cacfd7e1b87a8c96d9.1690802064.git.leon@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c