diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2020-07-19 07:22:22 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-07-24 20:57:22 +0200 |
commit | 0f63ef1dd581de1655075e2dbdf2ef302514a983 (patch) | |
tree | 6807a6e091f07f3acbb310b3619d0107d9d097b4 /include/rdma/uverbs_ioctl.h | |
parent | RDMA/mlx5: Allow SQ modification (diff) | |
download | linux-0f63ef1dd581de1655075e2dbdf2ef302514a983.tar.xz linux-0f63ef1dd581de1655075e2dbdf2ef302514a983.zip |
RDMA/core: Align abort/commit object scheme for write() and ioctl() paths
Create the same logic flow for the write() interface as we have for the
ioctl() path by making sure that the object is committed or aborted
automatically after HW object creation.
Link: https://lore.kernel.org/r/20200719052223.75245-2-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/rdma/uverbs_ioctl.h')
-rw-r--r-- | include/rdma/uverbs_ioctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/uverbs_ioctl.h b/include/rdma/uverbs_ioctl.h index 86de10ea30af..db419c8dbd10 100644 --- a/include/rdma/uverbs_ioctl.h +++ b/include/rdma/uverbs_ioctl.h @@ -652,6 +652,7 @@ struct uverbs_attr_bundle { struct ib_udata ucore; struct ib_uverbs_file *ufile; struct ib_ucontext *context; + struct ib_uobject *uobject; DECLARE_BITMAP(attr_present, UVERBS_API_ATTR_BKEY_LEN); struct uverbs_attr attrs[]; }; |