mbox series

[rdma-next,0/7] MR cache enhancement

Message ID cover.1638781506.git.leonro@nvidia.com (mailing list archive)
Headers show
Series MR cache enhancement | expand

Message

Leon Romanovsky Dec. 6, 2021, 9:10 a.m. UTC
From: Leon Romanovsky <leonro@nvidia.com>

Hi,

This series from Aharon refactors mlx5 MR cache management logic to
speedup deregistration significantly.

Thanks

Aharon Landau (7):
  RDMA/mlx5: Merge similar flows of allocating MR from the cache
  RDMA/mlx5: Replace cache list with Xarray
  RDMA/mlx5: Store in the cache mkeys instead of mrs
  RDMA/mlx5: Change the cache structure to an RB-tree
  RDMA/mlx5: Reorder calls to pcie_relaxed_ordering_enabled()
  RDMA/mlx5: Delay the deregistration of a non-cache mkey
  RDMA/mlx5: Rename the mkey cache variables and functions

 drivers/infiniband/hw/mlx5/main.c    |   4 +-
 drivers/infiniband/hw/mlx5/mlx5_ib.h |  78 +--
 drivers/infiniband/hw/mlx5/mr.c      | 930 +++++++++++++++++----------
 drivers/infiniband/hw/mlx5/odp.c     |  72 ++-
 include/linux/mlx5/driver.h          |   7 +-
 5 files changed, 673 insertions(+), 418 deletions(-)

Comments

Leon Romanovsky Dec. 9, 2021, 8:40 a.m. UTC | #1
On Mon, Dec 06, 2021 at 11:10:45AM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@nvidia.com>
> 
> Hi,
> 
> This series from Aharon refactors mlx5 MR cache management logic to
> speedup deregistration significantly.
> 
> Thanks
> 
> Aharon Landau (7):
>   RDMA/mlx5: Merge similar flows of allocating MR from the cache
>   RDMA/mlx5: Replace cache list with Xarray
>   RDMA/mlx5: Store in the cache mkeys instead of mrs
>   RDMA/mlx5: Change the cache structure to an RB-tree
>   RDMA/mlx5: Reorder calls to pcie_relaxed_ordering_enabled()
>   RDMA/mlx5: Delay the deregistration of a non-cache mkey
>   RDMA/mlx5: Rename the mkey cache variables and functions

Let's me resubmit it after more deep review.

Thanks