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

Michael Guralnik posted 5 patches 3 years, 8 months ago
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(-)
[PATCH rdma-next v1 0/5] MR cache cleanup
Posted by Michael Guralnik 3 years, 8 months ago
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(-)

-- 
2.17.2
Re: [PATCH rdma-next v1 0/5] MR cache cleanup
Posted by Jason Gunthorpe 3 years, 8 months ago
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