diff options
author | 2022-02-15 19:55:31 +0200 | |
---|---|---|
committer | 2022-02-23 14:59:13 -0400 | |
commit | 56561ac6b27d489feb5d1e7e8b2a55a15063fcad (patch) | |
tree | 2339c32605555f558de47c0b3d6ed794f96272aa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/mlx5: Fix the flow of a miss in the allocation of a cache ODP MR (diff) | |
download | linux-dev-56561ac6b27d489feb5d1e7e8b2a55a15063fcad.tar.xz linux-dev-56561ac6b27d489feb5d1e7e8b2a55a15063fcad.zip |
RDMA/mlx5: Merge similar flows of allocating MR from the cache
When allocating a MR from the cache, the driver calls to get_cache_mr(),
and in case of failure, retries with create_cache_mr(). This is the flow
of mlx5_mr_cache_alloc(), so use it instead.
Link: https://lore.kernel.org/r/53c85fcd4de6ec9de0b8e6cbb1bf5d5fe19900c3.1644947594.git.leonro@nvidia.com
Signed-off-by: Aharon Landau <aharonl@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions