[PATCH rdma-next 0/8] RDMA/mlx5: Switch MR cache to use RB-tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series moves the MR cache to use RB tree to store the entries of the
cache. By doing so, enabling more flexibility when managing the cache
entries.

The MR cache will now cache mkeys returned by the user even if they are
not from one of the predefined pools, by that allowing restarting
applications to reuse the their released mkey and improve restart times.

Aharon Landau (8):
  RDMA/mlx5: Don't keep umrable 'page_shift' in cache entries
  RDMA/mlx5: Generalize mlx5_cache_cache_mr() to fit all cacheable mkeys
  RDMA/mlx5: Remove explicit ODP cache entry
  RDMA/mlx5: Allow rereg all the mkeys that can load pas with UMR
  RDMA/mlx5: Introduce mlx5r_cache_rb_key
  RDMA/mlx5: Change the cache structure to an RB-tree
  RDMA/mlx5: Cache all user cacheable mkeys on dereg MR flow
  RDMA/mlx5: Add work to remove temporary entries from the cache

 drivers/infiniband/hw/mlx5/mlx5_ib.h |  42 +-
 drivers/infiniband/hw/mlx5/mr.c      | 559 +++++++++++++++++++--------
 drivers/infiniband/hw/mlx5/odp.c     |  34 +-
 include/linux/mlx5/driver.h          |   1 -
 4 files changed, 451 insertions(+), 185 deletions(-)

-- 
2.17.2




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux