mbox series

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

Message ID 20220726071911.122765-1-michaelgur@nvidia.com (mailing list archive)
Headers show
Series MR cache cleanup | expand

Message

Michael Guralnik July 26, 2022, 7:19 a.m. UTC
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@nvidia.com/

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(-)

Comments

Jason Gunthorpe July 27, 2022, 6:17 p.m. UTC | #1
On Tue, Jul 26, 2022 at 10:19:06AM +0300, Michael Guralnik wrote:
> 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@nvidia.com/
> 
> 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

Applied to for-next, thanks

Jason