RDMA/uverbs: Replace ib_uverbs_file with uverbs_attr_bundle for write
Now that we can add meta-data to the description of write() methods we need to pass the uverbs_attr_bundle into all write based handlers so future patches can use it as a container for any new data transferred out of the core. This is the first step to bringing the write() and ioctl() methods to a common interface signature. This is a simple search/replace, and we push the attr down into the uobj and other APIs to keep changes minimal. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
This commit is contained in:
@@ -42,7 +42,7 @@ struct devx_umem_reg_cmd {
|
||||
|
||||
static struct mlx5_ib_ucontext *devx_ufile2uctx(struct ib_uverbs_file *file)
|
||||
{
|
||||
return to_mucontext(ib_uverbs_get_ucontext(file));
|
||||
return to_mucontext(ib_uverbs_get_ucontext_file(file));
|
||||
}
|
||||
|
||||
int mlx5_ib_devx_create(struct mlx5_ib_dev *dev)
|
||||
|
Reference in New Issue
Block a user