RDMA/mlx4: Use DMA iterator to write MTT
authorLeon Romanovsky <leonro@nvidia.com>
Tue, 3 Dec 2024 13:42:26 +0000 (15:42 +0200)
committerLeon Romanovsky <leon@kernel.org>
Tue, 10 Dec 2024 09:08:12 +0000 (04:08 -0500)
commitf5afe060b1031a5838bc3b0cb91f4c66a5cbf151
treeac53341c92da8ae4231b0dfe866e21ff2a3ecc95
parentd31ba16c4331d1f8261c757647b141b3ed9b6e52
RDMA/mlx4: Use DMA iterator to write MTT

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

Link: https://patch.msgid.link/0bf595962c964fb8918743405acf9103a5a85983.1733233299.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/infiniband/hw/mlx4/mr.c