diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-11-12 22:59:56 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-11-22 11:57:33 -0700 |
commit | d120c3c91871650699ac8e71795925cc98358c3d (patch) | |
tree | 8d832e280cfa22621426598d003eff806280f2cc /drivers/infiniband/core/uverbs.h | |
parent | 6884c6c4bd09fb35b79a3967d15821cdfcbe77a3 (diff) | |
download | lwn-d120c3c91871650699ac8e71795925cc98358c3d.tar.gz lwn-d120c3c91871650699ac8e71795925cc98358c3d.zip |
RDMA/uverbs: Convert the write interface to use uverbs_api
This organizes the write commands into objects and links them to the
uverbs_api data structure. The command path is reworked to use uapi
instead of its internal structures.
The command mask is moved from a runtime check to a registration time
check in the uapi.
Since the write interface does not have the object ID as part of the
command, the radix bins are converted into linear lists to support the
lookup.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs.h')
-rw-r--r-- | drivers/infiniband/core/uverbs.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/infiniband/core/uverbs.h b/drivers/infiniband/core/uverbs.h index c97935a0c7c6..f5bc99eae222 100644 --- a/drivers/infiniband/core/uverbs.h +++ b/drivers/infiniband/core/uverbs.h @@ -161,9 +161,6 @@ struct ib_uverbs_file { struct mutex umap_lock; struct list_head umaps; - u64 uverbs_cmd_mask; - u64 uverbs_ex_cmd_mask; - struct idr idr; /* spinlock protects write access to idr */ spinlock_t idr_lock; |