From: Leon Romanovsky <leonro@xxxxxxxxxxxx> Changelog v1: * Removed empty "//" comment * Deleted destroy_rwq_ind_table from object tree * One patch was accepted, so rebased on latest for-upstream v0: https://lore.kernel.org/lkml/20200624105422.1452290-1-leon@xxxxxxxxxx ---------------------------------------------------------------------- Let's continue my allocation work. Leon Romanovsky (4): RDMA/core: Create and destroy counters in the ib_core RDMA: Clean MW allocation and free flows RDMA: Move XRCD to be under ib_core responsibility RDMA/core: Convert RWQ table logic to ib_core allocation scheme drivers/infiniband/core/device.c | 4 + drivers/infiniband/core/uverbs.h | 2 +- drivers/infiniband/core/uverbs_cmd.c | 63 +++++++++------ drivers/infiniband/core/uverbs_main.c | 10 +-- drivers/infiniband/core/uverbs_std_types.c | 19 +++-- .../core/uverbs_std_types_counters.c | 17 ++-- drivers/infiniband/core/verbs.c | 51 +++++------- drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 5 +- drivers/infiniband/hw/cxgb4/mem.c | 35 +++------ drivers/infiniband/hw/cxgb4/provider.c | 4 +- drivers/infiniband/hw/hns/hns_roce_device.h | 5 +- drivers/infiniband/hw/hns/hns_roce_main.c | 2 + drivers/infiniband/hw/hns/hns_roce_mr.c | 31 +++----- drivers/infiniband/hw/mlx4/main.c | 43 +++++------ drivers/infiniband/hw/mlx4/mlx4_ib.h | 17 ++-- drivers/infiniband/hw/mlx4/mr.c | 32 +++----- drivers/infiniband/hw/mlx4/qp.c | 40 +++------- drivers/infiniband/hw/mlx5/main.c | 27 ++++--- drivers/infiniband/hw/mlx5/mlx5_ib.h | 18 ++--- drivers/infiniband/hw/mlx5/mr.c | 42 ++++------ drivers/infiniband/hw/mlx5/qp.c | 77 +++++++------------ include/rdma/ib_verbs.h | 30 ++++---- 22 files changed, 247 insertions(+), 327 deletions(-) -- 2.26.2