summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
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 /scripts/gdb/linux/utils.py
parent5895e70f2e6e8dc67b551ca554d6fcde0a7f0467 (diff)
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions