diff options
author | Yishai Hadas <yishaih@nvidia.com> | 2024-08-01 14:05:15 +0200 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-08-11 10:12:50 +0200 |
commit | 3aa73c6b795b9aaaf933f3c95495d85fc0de39e3 (patch) | |
tree | cbca84f328d6421c6aa18a973a92aed20800d6df /include/rdma | |
parent | RDMA/umem: Introduce an option to revoke DMABUF umem (diff) | |
download | linux-3aa73c6b795b9aaaf933f3c95495d85fc0de39e3.tar.xz linux-3aa73c6b795b9aaaf933f3c95495d85fc0de39e3.zip |
RDMA: Pass uverbs_attr_bundle as part of '.reg_user_mr_dmabuf' API
Pass uverbs_attr_bundle as part of '.reg_user_mr_dmabuf' API instead of
udata.
This enables passing some new ioctl attributes to the drivers, as will
be introduced in the next patches for mlx5 driver.
Change the involved drivers accordingly.
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://patch.msgid.link/9a25b2fc02443f7c36c2d93499ae25252b6afd40.1722512548.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/ib_verbs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 6c5712ae559d..a1dcf812d787 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -2476,7 +2476,7 @@ struct ib_device_ops { struct ib_mr *(*reg_user_mr_dmabuf)(struct ib_pd *pd, u64 offset, u64 length, u64 virt_addr, int fd, int mr_access_flags, - struct ib_udata *udata); + struct uverbs_attr_bundle *attrs); struct ib_mr *(*rereg_user_mr)(struct ib_mr *mr, int flags, u64 start, u64 length, u64 virt_addr, int mr_access_flags, struct ib_pd *pd, |