[PATCH rdma-next v1 0/5] MR cache cleanup

From: Michael Guralnik
Date: Tue Jul 26 2022 - 03:19:44 EST


Hi,

In this series, Aharon continues to clean mlx5 MR cache logic.

Thanks

v1: Change push_mkey to eliminate locking on mail flow
v0: http://lore.kernel.org/all/cover.1654601897.git.leonro@xxxxxxxxxx/

Aharon Landau (5):
RDMA/mlx5: Replace ent->lock with xa_lock
RDMA/mlx5: Replace cache list with Xarray
RDMA/mlx5: Store the number of in_use cache mkeys instead of total_mrs
RDMA/mlx5: Store in the cache mkeys instead of mrs
RDMA/mlx5: Rename the mkey cache variables and functions

drivers/infiniband/hw/mlx5/main.c | 4 +-
drivers/infiniband/hw/mlx5/mlx5_ib.h | 61 ++--
drivers/infiniband/hw/mlx5/mr.c | 514 +++++++++++++++------------
drivers/infiniband/hw/mlx5/odp.c | 2 +-
include/linux/mlx5/driver.h | 6 +-
5 files changed, 307 insertions(+), 280 deletions(-)

--
2.17.2