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 3 repliesIn review

Changes in v1 from the cover letter

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 -461 reply
2/7RDMA/mlx5: Replace cache list with Xarraydrivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/mr.c+153 -1131 reply
3/7RDMA/mlx5: Store in the cache mkeys instead of mrsdrivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/mr.c+83 -1030 replies
4/7RDMA/mlx5: Reorder calls to pcie_relaxed_ordering_enabled()drivers/infiniband/hw/mlx5/mr.c+7 -70 replies
5/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+381 -2030 replies
6/7RDMA/mlx5: Delay the deregistration of a non-cache mkeydrivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/mr.c+132 -20 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+67 -660 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 v1 0/7] MR cache enhancement

From: Leon Romanovsky <[email protected]>

Changelog:
v1:
* Based on DM revert https://lore.kernel.org/all/[email protected]
v0: https://lore.kernel.org/all/[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: Reorder calls to pcie_relaxed_ordering_enabled() RDMA/mlx5: Change the cache structure to an RB-tree 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 |   76 +-
 drivers/infiniband/hw/mlx5/mr.c      | 1021 +++++++++++++++++---------
 drivers/infiniband/hw/mlx5/odp.c     |   72 +-
 include/linux/mlx5/driver.h          |    7 +-
 5 files changed, 741 insertions(+), 439 deletions(-)
Signature · 1 line
2.33.1