mbox series

[0/4] remove ib_pd uobject pointer

Message ID 20181007081406.9734-1-shamir.rabinovitch@oracle.com (mailing list archive)
Headers show
Series remove ib_pd uobject pointer | expand

Message

Shamir Rabinovitch Oct. 7, 2018, 8:14 a.m. UTC
With earlier two series,
- [PATCH 0/3] figure uverbs/kernel ib_pd w/o using ib_pd uobject
- [PATCH 0/7] convey ib_ucontext via ib_udata

Now we can remove ib_pd uobject pointer.

Shamir Rabinovitch (4):
  IB/{sw,hw}: ib_pd should not be used to get the ib_ucontext
  IB/uverbs: uobj_get_obj_read must return ib_uobject
  IB/uverbs: uobj_put_obj_read must not use ib_x uobject pointer
  IB/verbs: remove ib_pd uobject pointer

 drivers/infiniband/core/uverbs_cmd.c          | 229 ++++++++++++------
 drivers/infiniband/core/verbs.c               |   1 -
 drivers/infiniband/hw/bnxt_re/ib_verbs.c      |   8 +-
 drivers/infiniband/hw/cxgb3/iwch_provider.c   |   4 +-
 drivers/infiniband/hw/cxgb4/mem.c             |   2 +-
 drivers/infiniband/hw/cxgb4/qp.c              |   4 +-
 drivers/infiniband/hw/i40iw/i40iw_verbs.c     |  10 +-
 drivers/infiniband/hw/mlx4/mr.c               |   2 +-
 drivers/infiniband/hw/mlx4/qp.c               |  11 +-
 drivers/infiniband/hw/mlx4/srq.c              |   6 +-
 drivers/infiniband/hw/mlx5/main.c             |   1 -
 drivers/infiniband/hw/mlx5/mlx5_ib.h          |   3 +-
 drivers/infiniband/hw/mlx5/mr.c               |  10 +-
 drivers/infiniband/hw/mlx5/odp.c              |   5 +-
 drivers/infiniband/hw/mlx5/qp.c               |  82 ++++---
 drivers/infiniband/hw/mlx5/srq.c              |  13 +-
 drivers/infiniband/hw/mthca/mthca_dev.h       |   3 +-
 drivers/infiniband/hw/mthca/mthca_provider.c  |  14 +-
 drivers/infiniband/hw/mthca/mthca_srq.c       |  35 +--
 drivers/infiniband/hw/nes/nes_verbs.c         |  16 +-
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c   |   2 +-
 drivers/infiniband/hw/qedr/verbs.c            |   8 +-
 drivers/infiniband/hw/usnic/usnic_ib_verbs.c  |   2 +-
 drivers/infiniband/hw/vmw_pvrdma/pvrdma_mr.c  |   2 +-
 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c  |   4 +-
 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c |   2 +-
 drivers/infiniband/sw/rdmavt/mr.c             |   2 +-
 drivers/infiniband/sw/rdmavt/qp.c             |   2 +-
 drivers/infiniband/sw/rdmavt/srq.c            |   2 +-
 drivers/infiniband/sw/rxe/rxe_loc.h           |   3 +-
 drivers/infiniband/sw/rxe/rxe_mr.c            |   2 +-
 drivers/infiniband/sw/rxe/rxe_qp.c            |   5 +-
 drivers/infiniband/sw/rxe/rxe_verbs.c         |   4 +-
 include/rdma/ib_verbs.h                       |   1 -
 include/rdma/uverbs_std_types.h               |  14 +-
 35 files changed, 304 insertions(+), 210 deletions(-)