diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-08-09 20:14:38 -0600 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-08-10 16:06:24 -0600 |
commit | 4b3dd2bbf0818ccb23e7f2831f2ca4a86789cd1f (patch) | |
tree | dd37e45492a320fe1bb31186587d02833981583d /include/rdma | |
parent | 6b0d08f4a27134e6fb49aa33ceb53356081bc92e (diff) | |
download | linux-4b3dd2bbf0818ccb23e7f2831f2ca4a86789cd1f.tar.gz linux-4b3dd2bbf0818ccb23e7f2831f2ca4a86789cd1f.tar.bz2 linux-4b3dd2bbf0818ccb23e7f2831f2ca4a86789cd1f.zip |
IB/uverbs: Provide implementation private memory for the uverbs_attr_bundle
This already existed as the anonymous 'ctx' structure, but this was not
really a useful form. Hoist this struct into bundle_priv and rework the
internal things to use it instead.
Move a bunch of the processing internal state into the priv and reduce the
excessive use of function arguments.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'include/rdma')
-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 339996e80c16..3b497d9ed395 100644 --- a/include/rdma/uverbs_ioctl.h +++ b/include/rdma/uverbs_ioctl.h @@ -494,6 +494,7 @@ struct uverbs_attr_bundle_hash { }; struct uverbs_attr_bundle { + struct ib_uverbs_file *ufile; size_t num_buckets; struct uverbs_attr_bundle_hash hash[]; }; |