]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/mlx5: Move device async_ctx initialization
authorChiara Meiohas <cmeiohas@nvidia.com>
Thu, 26 Feb 2026 13:52:06 +0000 (15:52 +0200)
committerLeon Romanovsky <leon@kernel.org>
Mon, 2 Mar 2026 18:44:37 +0000 (13:44 -0500)
commitbc0ad1a17c2ce49b1a89a5b04ee0eed345fac558
tree40f10ca5840aa4f09eedd252bba595f753c9b13f
parent94ff7c59cdfde3a16ab830531acbcb3091b292eb
RDMA/mlx5: Move device async_ctx initialization

Move the async_ctx initialization from mlx5_mkey_cache_init() to
mlx5_ib_stage_init_init() since the async_ctx is used by both the MR
cache and DEVX.

Also add the corresponding cleanup in mlx5_ib_stage_init_cleanup() to
properly release the async_ctx resources.

Signed-off-by: Chiara Meiohas <cmeiohas@nvidia.com>
Reviewed-by: Michael Guralnik <michaelgur@nvidia.com>
Signed-off-by: Edward Srouji <edwards@nvidia.com>
Link: https://patch.msgid.link/20260226-frmr_pools-v4-1-95360b54f15e@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mr.c