]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5615fc62be9bfaf73b60452c2ad28ddddd219f1
tree456fb21c37fa0c771949b50e41206d6e0bb3f623
parentc283a8025e3ce3795149007c2d102f9a93e41e56
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