diff options
author | Chiara Meiohas <cmeiohas@nvidia.com> | 2025-03-13 17:29:54 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2025-03-18 13:34:28 +0300 |
commit | 79195147644653ebffadece31a42181e4c48c07d (patch) | |
tree | 91cbb6a0e3a39926da86e12552e27ee04ae45506 /scripts/gdb/linux/utils.py | |
parent | 5ed3b0cb3f827072e93b4c5b6e2b8106fd7cccbd (diff) | |
download | linux-79195147644653ebffadece31a42181e4c48c07d.tar.xz |
RDMA/mlx5: Fix calculation of total invalidated pages
When invalidating an address range in mlx5, there is an optimization to
do UMR operations in chunks.
Previously, the invalidation counter was incorrectly updated for the
same indexes within a chunk. Now, the invalidation counter is updated
only when a chunk is complete and mlx5r_umr_update_xlt() is called.
This ensures that the counter accurately represents the number of pages
invalidated using UMR.
Fixes: a3de94e3d61e ("IB/mlx5: Introduce ODP diagnostic counters")
Signed-off-by: Chiara Meiohas <cmeiohas@nvidia.com>
Reviewed-by: Michael Guralnik <michaelgur@nvidia.com>
Link: https://patch.msgid.link/560deb2433318e5947282b070c915f3c81fef77f.1741875692.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions