aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChiara Meiohas <cmeiohas@nvidia.com>2024-06-13 21:01:42 +0300
committerLeon Romanovsky <leon@kernel.org>2024-06-16 18:39:29 +0300
commita4e540119be565f47c305f295ed43f8e0bc3f5c3 (patch)
tree87871a02f798b847cdf8d734b4fe06bbc576e5a7 /tools/perf/scripts/python
parentIB/mlx5: Allocate resources just before first QP/SRQ is created (diff)
downloadlinux-a4e540119be565f47c305f295ed43f8e0bc3f5c3.tar.gz
linux-a4e540119be565f47c305f295ed43f8e0bc3f5c3.zip
RDMA/mlx5: Set mkeys for dmabuf at PAGE_SIZE
Set the mkey for dmabuf at PAGE_SIZE to support any SGL after a move operation. ib_umem_find_best_pgsz returns 0 on error, so it is incorrect to check the returned page_size against PAGE_SIZE Fixes: 90da7dc8206a ("RDMA/mlx5: Support dma-buf based userspace memory region") Signed-off-by: Chiara Meiohas <cmeiohas@nvidia.com> Reviewed-by: Michael Guralnik <michaelgur@nvidia.com> Link: https://lore.kernel.org/r/1e2289b9133e89f273a4e68d459057d032cbc2ce.1718301631.git.leon@kernel.org Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions