[PATCH v2 0/7] convey ib_ucontext via ib_udata

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

 



Sorry for the trouble. Please review this series and not the previous
one I posted with same name. I found 2 issues in previous send of this
series, one was the incorrect cover letter and one was invalid direct 
access to file->ucontext in patch 5 that was missed.

Continuing with earlier posted series, "figure uverbs/kernel ib_pd w/o using
ib_pd uobject", this series moves ib_ucontext to ib_udata.

Changelog:
 v1->v2:
  * Patch 1: Comments from Jason 
   - Fix indent
   - Add rdma_udata_context accessor
  * Patch 2: Comments from Jason
   - Use ib_uverbs_get_ucontext accessor
  * Patch 5:
   - Use ib_uverbs_get_ucontext accessor

Shamir Rabinovitch (7):
  IB/verbs: add ib_ucontext to ib_udata
  IB/uverbs: initialize context field in ib_udata
  IB/verbs: dealloc_pd verb need ib_udata
  IB/verbs: alloc_mr verb need ib_udata
  IB/verbs: dereg_mr verb need ib_udata
  IB/verbs: destroy_wq verb need ib_udata
  IB/verbs: destroy_qp verb need ib_udata

 drivers/infiniband/core/uverbs.h              |  9 +-
 drivers/infiniband/core/uverbs_cmd.c          | 41 ++++-----
 drivers/infiniband/core/uverbs_main.c         |  6 +-
 drivers/infiniband/core/uverbs_std_types.c    | 18 +++-
 drivers/infiniband/core/uverbs_std_types_mr.c | 13 ++-
 drivers/infiniband/core/verbs.c               | 88 +++++++++++++++----
 drivers/infiniband/hw/bnxt_re/ib_verbs.c      |  8 +-
 drivers/infiniband/hw/bnxt_re/ib_verbs.h      |  8 +-
 drivers/infiniband/hw/cxgb3/iwch_provider.c   | 19 ++--
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h        |  7 +-
 drivers/infiniband/hw/cxgb4/mem.c             |  5 +-
 drivers/infiniband/hw/cxgb4/provider.c        |  4 +-
 drivers/infiniband/hw/cxgb4/qp.c              |  2 +-
 drivers/infiniband/hw/i40iw/i40iw_cm.c        |  4 +-
 drivers/infiniband/hw/i40iw/i40iw_verbs.c     | 12 +--
 drivers/infiniband/hw/mlx4/main.c             |  2 +-
 drivers/infiniband/hw/mlx4/mlx4_ib.h          |  9 +-
 drivers/infiniband/hw/mlx4/mr.c               |  5 +-
 drivers/infiniband/hw/mlx4/qp.c               |  7 +-
 drivers/infiniband/hw/mlx5/gsi.c              |  5 +-
 drivers/infiniband/hw/mlx5/main.c             | 10 +--
 drivers/infiniband/hw/mlx5/mlx5_ib.h          | 12 +--
 drivers/infiniband/hw/mlx5/mr.c               |  5 +-
 drivers/infiniband/hw/mlx5/qp.c               |  6 +-
 drivers/infiniband/hw/mthca/mthca_provider.c  |  6 +-
 drivers/infiniband/hw/nes/nes_cm.c            |  4 +-
 drivers/infiniband/hw/nes/nes_verbs.c         | 13 +--
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c   |  9 +-
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h   |  9 +-
 drivers/infiniband/hw/qedr/verbs.c            |  9 +-
 drivers/infiniband/hw/qedr/verbs.h            |  8 +-
 drivers/infiniband/hw/usnic/usnic_ib_verbs.c  |  6 +-
 drivers/infiniband/hw/usnic/usnic_ib_verbs.h  |  6 +-
 drivers/infiniband/hw/vmw_pvrdma/pvrdma_mr.c  |  4 +-
 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c  |  2 +-
 .../infiniband/hw/vmw_pvrdma/pvrdma_verbs.c   |  4 +-
 .../infiniband/hw/vmw_pvrdma/pvrdma_verbs.h   |  8 +-
 drivers/infiniband/sw/rxe/rxe_verbs.c         |  9 +-
 include/rdma/ib_verbs.h                       | 80 +++++++++++++++--
 39 files changed, 327 insertions(+), 155 deletions(-)

-- 
2.17.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