diff options
author | 2019-02-17 16:08:23 +0200 | |
---|---|---|
committer | 2019-02-21 16:32:45 -0700 | |
commit | 81dd4c4be3a765351189c7572ac963711d2bb652 (patch) | |
tree | 7d01da15d3e14544bc97e651b7d2962b47fbe00e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IB/mlx5: Protect against prefetch of invalid MR (diff) | |
download | linux-dev-81dd4c4be3a765351189c7572ac963711d2bb652.tar.xz linux-dev-81dd4c4be3a765351189c7572ac963711d2bb652.zip |
IB/mlx5: Validate correct PD before prefetch MR
When prefetching odp mr it is required to verify that pd of the mr is
identical to the pd for which the advise_mr request arrived with.
This check was missing from synchronous flow and is added now.
Fixes: 813e90b1aeaa ("IB/mlx5: Add advise_mr() support")
Reported-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions