Skip to content
Snippets Groups Projects
Commit 53a6778b authored by Xi Wang's avatar Xi Wang Committed by Yang Yingliang
Browse files

RDMA/umem: Add rdma_umem_for_each_dma_block()

driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

This helper does the same as rdma_for_each_block(), except it works on a
umem. This simplifies most of the call sites.

Link: https://lore.kernel.org/r/4-v2-270386b7e60b+28f4-umem_1_jgg@nvidia.com


Acked-by: default avatarMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Acked-by: default avatarShiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
Signed-off-by: default avatarXi Wang <wangxi11@huawei.com>
Signed-off-by: default avatarShunfeng Yang <yangshunfeng2@huawei.com>
Reviewed-by: default avatarchunzhi hu <huchunzhi@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 5b7ee8a4
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment