[PATCH rdma-next v1 0/3] Convert CQ allocations

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

 



From: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Hi,

This is second version of my CQ allocation patches, rebased to latest
rdma/wip/for-next branch with changes requested by Gal.

Thanks

Leon Romanovsky (3):
  RDMA/nes: Avoid memory allocation during CQ destroy
  RDMA: Clean destroy CQ in drivers do not return errors
  RDMA: Convert CQ allocations to be under core responsibility

 drivers/infiniband/core/cq.c                  |  33 +++---
 drivers/infiniband/core/device.c              |   1 +
 drivers/infiniband/core/uverbs_cmd.c          |  15 ++-
 drivers/infiniband/core/uverbs_std_types_cq.c |  19 ++-
 drivers/infiniband/core/verbs.c               |  35 +++---
 drivers/infiniband/hw/bnxt_re/ib_verbs.c      |  33 ++----
 drivers/infiniband/hw/bnxt_re/ib_verbs.h      |   9 +-
 drivers/infiniband/hw/bnxt_re/main.c          |   1 +
 drivers/infiniband/hw/cxgb3/cxio_hal.c        |   6 +-
 drivers/infiniband/hw/cxgb3/cxio_hal.h        |   2 +-
 drivers/infiniband/hw/cxgb3/iwch_provider.c   |  46 +++-----
 drivers/infiniband/hw/cxgb4/cq.c              |  40 +++----
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h        |   7 +-
 drivers/infiniband/hw/cxgb4/provider.c        |   1 +
 drivers/infiniband/hw/efa/efa.h               |   7 +-
 drivers/infiniband/hw/efa/efa_main.c          |   1 +
 drivers/infiniband/hw/efa/efa_verbs.c         |  59 +++-------
 drivers/infiniband/hw/hns/hns_roce_cq.c       |  69 +++++------
 drivers/infiniband/hw/hns/hns_roce_device.h   |  10 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v1.c    |  35 +++---
 drivers/infiniband/hw/hns/hns_roce_main.c     |   1 +
 drivers/infiniband/hw/i40iw/i40iw_verbs.c     |  36 +++---
 drivers/infiniband/hw/mlx4/cq.c               |  29 ++---
 drivers/infiniband/hw/mlx4/main.c             |   1 +
 drivers/infiniband/hw/mlx4/mlx4_ib.h          |   7 +-
 drivers/infiniband/hw/mlx5/cq.c               |  36 ++----
 drivers/infiniband/hw/mlx5/main.c             |  21 ++--
 drivers/infiniband/hw/mlx5/mlx5_ib.h          |   7 +-
 drivers/infiniband/hw/mthca/mthca_provider.c  |  40 +++----
 drivers/infiniband/hw/nes/nes_utils.c         |   4 +-
 drivers/infiniband/hw/nes/nes_verbs.c         | 108 ++++++------------
 drivers/infiniband/hw/ocrdma/ocrdma_hw.c      |   8 +-
 drivers/infiniband/hw/ocrdma/ocrdma_hw.h      |   2 +-
 drivers/infiniband/hw/ocrdma/ocrdma_main.c    |   1 +
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c   |  35 +++---
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h   |   7 +-
 drivers/infiniband/hw/qedr/main.c             |   1 +
 drivers/infiniband/hw/qedr/verbs.c            |  48 ++------
 drivers/infiniband/hw/qedr/verbs.h            |   7 +-
 drivers/infiniband/hw/usnic/usnic_ib.h        |   4 +
 drivers/infiniband/hw/usnic/usnic_ib_main.c   |   1 +
 drivers/infiniband/hw/usnic/usnic_ib_verbs.c  |  22 +---
 drivers/infiniband/hw/usnic/usnic_ib_verbs.h  |   7 +-
 drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c  |  40 +++----
 .../infiniband/hw/vmw_pvrdma/pvrdma_main.c    |   1 +
 .../infiniband/hw/vmw_pvrdma/pvrdma_verbs.h   |   7 +-
 drivers/infiniband/sw/rdmavt/cq.c             |  57 +++------
 drivers/infiniband/sw/rdmavt/cq.h             |   7 +-
 drivers/infiniband/sw/rdmavt/vt.c             |   1 +
 drivers/infiniband/sw/rxe/rxe_pool.c          |   1 +
 drivers/infiniband/sw/rxe/rxe_verbs.c         |  33 ++----
 drivers/infiniband/sw/rxe/rxe_verbs.h         |   2 +-
 include/rdma/ib_verbs.h                       |   8 +-
 53 files changed, 405 insertions(+), 614 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