commit | 730623f4a56fa42d4559715ff2f4a5c32b3ae8bf | [log] [tgz] |
---|---|---|
author | Shamir Rabinovitch <shamir.rabinovitch@oracle.com> | Thu Feb 07 18:44:48 2019 +0200 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Fri Feb 15 11:17:25 2019 -0700 |
tree | d5c452992681256bf84b2cb232f3614e376d3fd6 | |
parent | 3d9dfd060391928bd615db62ecddea5e1255edfd [diff] |
IB/verbs: Add helper function rdma_udata_to_drv_context Helper function to get driver's context out of ib_udata wrapped in uverbs_attr_bundle for user objects or NULL for kernel objects. Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>