RDMA/mlx5: Remove not-used cache disable flag
authorLeon Romanovsky <leonro@nvidia.com>
Thu, 28 Sep 2023 17:20:47 +0000 (20:20 +0300)
committerLeon Romanovsky <leon@kernel.org>
Mon, 2 Oct 2023 11:32:44 +0000 (14:32 +0300)
commitc99a7457e5bb873914a74307ba2df85f6799203b
tree277e3fae00ee5b26903af3933f054faa40e11b70
parente0fe97efdb00f0f32b038a4836406a82886aec9c
RDMA/mlx5: Remove not-used cache disable flag

During execution of mlx5_mkey_cache_cleanup(), there is a guarantee
that MR are not registered and/or destroyed. It means that we don't
need newly introduced cache disable flag.

Fixes: 374012b00457 ("RDMA/mlx5: Fix mkey cache possible deadlock on cleanup")
Link: https://lore.kernel.org/r/c7e9c9f98c8ae4a7413d97d9349b29f5b0a23dbe.1695921626.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/mr.c