diff options
author | 2022-02-15 19:55:30 +0200 | |
---|---|---|
committer | 2022-02-23 14:59:13 -0400 | |
commit | 2f0e60d5e9f96341a0c8a01be8878cdb3b29ff20 (patch) | |
tree | d9af1474cf8b6c4441034c35dc115cad919c05fb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/mlx5: Remove redundant work in struct mlx5_cache_ent (diff) | |
download | linux-dev-2f0e60d5e9f96341a0c8a01be8878cdb3b29ff20.tar.xz linux-dev-2f0e60d5e9f96341a0c8a01be8878cdb3b29ff20.zip |
RDMA/mlx5: Fix the flow of a miss in the allocation of a cache ODP MR
When an ODP MR cache entry is empty and trying to allocate it, increment
the ent->miss counter and call to queue_adjust_cache_locked() to verify
the entry is balanced.
Fixes: aad719dcf379 ("RDMA/mlx5: Allow MRs to be created in the cache synchronously")
Link: https://lore.kernel.org/r/09503e295276dcacc92cb1d8aef1ad0961c99dc1.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