Skip to content
Commit 50a542a8 authored by Jason Gunthorpe's avatar Jason Gunthorpe Committed by Leon Romanovsky
Browse files

RDMA/mlx5: Use rdma_umem_for_each_dma_block()



Replace an open coding of rdma_umem_for_each_dma_block() with the proper
function.

Fixes: b3d47ebd ("RDMA/mlx5: Use mlx5_umr_post_send_wait() to update MR pas")
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/0-v1-c13a5b88359b+556d0-mlx5_umem_block_jgg@nvidia.com


Reviewed-by: default avatarDevesh Sharma <devesh.s.sharma@oracle.com>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 91d088a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment