net/mlx5e: Remove mdev from mlx5e_build_indir_tir_ctx_common()
authorMaxim Mikityanskiy <maximmi@nvidia.com>
Tue, 6 Apr 2021 08:20:42 +0000 (11:20 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 26 Jul 2021 16:50:40 +0000 (09:50 -0700)
commit4b3e42eecb1cd8731af59fa01d85af109f0234e4
tree456fb21c37fa0c771949b50e41206d6e0bb3f623
parenta402e3a7470d4c6b7792552e1a510ce72fda9f3e
net/mlx5e: Remove mdev from mlx5e_build_indir_tir_ctx_common()

In order to drop a dependency to mdev and make the function more
universal, stop passing mdev to mlx5e_build_indir_tir_ctx_common() and
pass transport domain directly instead. It also prepares this function
to be used in other contexts that need a custom transport domain, such
as hairpin.

Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c