diff options
author | Aharon Landau <aharonl@nvidia.com> | 2022-02-15 19:55:31 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-02-23 14:59:13 -0400 |
commit | 56561ac6b27d489feb5d1e7e8b2a55a15063fcad (patch) | |
tree | 2339c32605555f558de47c0b3d6ed794f96272aa /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2f0e60d5e9f96341a0c8a01be8878cdb3b29ff20 (diff) |
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions