Merge branch 'mlx5_mr_cache' into rdma.git for-next
authorJason Gunthorpe <jgg@mellanox.com>
Fri, 13 Mar 2020 14:11:07 +0000 (11:11 -0300)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 13 Mar 2020 14:11:07 +0000 (11:11 -0300)
commitd613bd64c68bab6712c472281e79559bdc984b62
tree16851e5c0dda8f01696b02bde8ba128012830911
parenta4f994a05926c96845ad40fb661d566a4eacf2b9
parentaad719dcf379f1413dcb168413a53fea66e2ef90
Merge branch 'mlx5_mr_cache' into rdma.git for-next

Leon Romanovsky says:

====================
This series fixes various corner cases in the mlx5_ib MR cache
implementation, see specific commit messages for more information.
====================

Based on the mlx5-next branch at
 git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux
Due to dependencies

* branch 'mlx5_mr-cache':
  RDMA/mlx5: Allow MRs to be created in the cache synchronously
  RDMA/mlx5: Revise how the hysteresis scheme works for cache filling
  RDMA/mlx5: Fix locking in MR cache work queue
  RDMA/mlx5: Lock access to ent->available_mrs/limit when doing queue_work
  RDMA/mlx5: Fix MR cache size and limit debugfs
  RDMA/mlx5: Always remove MRs from the cache before destroying them
  RDMA/mlx5: Simplify how the MR cache bucket is located
  RDMA/mlx5: Rename the tracking variables for the MR cache
  RDMA/mlx5: Replace spinlock protected write with atomic var
  {IB,net}/mlx5: Move asynchronous mkey creation to mlx5_ib
  {IB,net}/mlx5: Assign mkey variant in mlx5_ib only
  {IB,net}/mlx5: Setup mkey variant before mr create command invocation
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/odp.c
include/linux/mlx5/mlx5_ifc.h