IB/uverbs: Add ib_ucontext to uverbs_attr_bundle sent from ioctl and cmd flows
Add ib_ucontext to the uverbs_attr_bundle sent down the iocl and cmd flows as soon as the flow has ib_uobject. In addition, remove rdma_get_ucontext helper function that is only used by ib_umem_get. Signed-off-by:Shamir Rabinovitch <shamir.rabinovitch@oracle.com> Signed-off-by:
Jason Gunthorpe <jgg@mellanox.com>
Showing
- drivers/infiniband/core/rdma_core.c 32 additions, 0 deletionsdrivers/infiniband/core/rdma_core.c
- drivers/infiniband/core/umem.c 7 additions, 3 deletionsdrivers/infiniband/core/umem.c
- drivers/infiniband/core/uverbs_cmd.c 1 addition, 1 deletiondrivers/infiniband/core/uverbs_cmd.c
- drivers/infiniband/core/uverbs_ioctl.c 3 additions, 0 deletionsdrivers/infiniband/core/uverbs_ioctl.c
- drivers/infiniband/core/uverbs_main.c 1 addition, 24 deletionsdrivers/infiniband/core/uverbs_main.c
- include/rdma/ib_verbs.h 0 additions, 2 deletionsinclude/rdma/ib_verbs.h
- include/rdma/uverbs_ioctl.h 1 addition, 0 deletionsinclude/rdma/uverbs_ioctl.h
- include/rdma/uverbs_std_types.h 13 additions, 5 deletionsinclude/rdma/uverbs_std_types.h
Loading
Please register or sign in to comment