aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/uverbs.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-07-10 20:55:22 -0600
committerJason Gunthorpe <jgg@mellanox.com>2018-07-25 14:21:22 -0600
commitc36ee46dafaea1bb525c4e34d3e35dd9a6768a47 (patch)
tree7f58f94ad65046eb974c2bfdf27e23f478f75b4b /drivers/infiniband/core/uverbs.h
parentIB/uverbs: Move the FD uobj type struct file allocation to alloc_commit (diff)
downloadlinux-dev-c36ee46dafaea1bb525c4e34d3e35dd9a6768a47.tar.xz
linux-dev-c36ee46dafaea1bb525c4e34d3e35dd9a6768a47.zip
IB/mlx5: Use the ucontext from the uobj, not the file
This approach matches the standard flow of the typical write method that relies on the HW object to store the device and the uobject to access the ucontext. Avoids the use of the devx_ufile2uctx in several places will make revising the semantics of ib_uverbs_get_ucontext() in the next patch simpler. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs.h')
0 files changed, 0 insertions, 0 deletions