[PATCH for-next v1 0/4] ib_pd should not have ib_uobject

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch set complete the cleanup done in the driver/verbs/uverbs
where the dependency of the code in the ib_x uobject pointer was
removed. 

This series include fix requested by Jason to initialize the
driver_udata ucontext in ib_uverbs_get_context that was not
initialized in this flow.

Last, the uobject pointer is removed from the ib_pd as last step 
before I can start adding the pd sharing code. 

PLEASE NOTE! 

The last patch that removed the uobject pointer from the ib_pd
also affected the netlink interface. With this patch the netlink
interface cannot figure the context id from ib_pd. 

Please review this change carefully...

Shamir Rabinovitch (4):
  RDMA/uverbs: initialize uverbs_attr_bundle ucontext in
    ib_uverbs_get_context
  RDMA/uverbs: uobj_get_obj_read should return the ib_uobject
  RDMA/uverbs: uobj_put_obj_read macro should be removed
  IB/{core,hw}: ib_pd should not have ib_uobject pointer

 drivers/infiniband/core/nldev.c            |   5 -
 drivers/infiniband/core/uverbs_cmd.c       | 272 ++++++++++++++-------
 drivers/infiniband/core/verbs.c            |   1 -
 drivers/infiniband/hw/hns/hns_roce_hw_v1.c |   1 -
 drivers/infiniband/hw/mlx5/main.c          |   1 -
 drivers/infiniband/hw/mthca/mthca_qp.c     |   3 +-
 include/rdma/ib_verbs.h                    |   1 -
 include/rdma/uverbs_std_types.h            |  11 +-
 8 files changed, 192 insertions(+), 103 deletions(-)

-- 
2.20.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux