Skip to content

MR cache enhancement

Leon Romanovsky linux-rdma lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7RDMA/mlx5: Merge similar flows of allocating MR from the cachedrivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/mr.c drivers/infiniband/hw/mlx5/odp.c+19 -460 replies
2/7RDMA/mlx5: Replace cache list with Xarraydrivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/mr.c+119 -984 replies
3/7RDMA/mlx5: Store in the cache mkeys instead of mrsdrivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/mr.c+71 -851 reply
4/7RDMA/mlx5: Change the cache structure to an RB-treedrivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/mr.c drivers/infiniband/hw/mlx5/odp.c +1 more+340 -1991 reply
5/7RDMA/mlx5: Reorder calls to pcie_relaxed_ordering_enabled()drivers/infiniband/hw/mlx5/mr.c+7 -70 replies
6/7RDMA/mlx5: Delay the deregistration of a non-cache mkeydrivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/mr.c+146 -140 replies
7/7RDMA/mlx5: Rename the mkey cache variables and functionsdrivers/infiniband/hw/mlx5/main.c drivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/mr.c +2 more+66 -640 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH rdma-next 0/7] MR cache enhancement

From: Leon Romanovsky <[email protected]>

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(-)
Signature · 1 line
2.33.1