From: Leon Romanovsky <leonro@xxxxxxxxxx> Changelog: v1: * Rebased * Fixed commit messages. * Changed "fallthrough" to be "break". v0: https://lore.kernel.org/lkml/20200910140046.1306341-1-leon@xxxxxxxxxx ------------------------------------------------------------------------- Hi, This series mainly changes mlx4, mlx5, and mthca drivers to future change of QP allocation scheme. The rdmavt driver will be sent separately. Thanks Leon Romanovsky (10): RDMA/mlx5: Embed GSI QP into general mlx5_ib QP RDMA/mlx5: Reuse existing fields in parent QP storage object RDMA/mlx5: Change GSI QP to have same creation flow like other QPs RDMA/mlx5: Delete not needed GSI QP signal QP type RDMA/mlx4: Embed GSI QP into general mlx4_ib QP RDMA/mlx4: Prepare QP allocation to remove from the driver RDMA/core: Align write and ioctl checks of QP types RDMA/drivers: Remove udata check from special QP RDMA/mthca: Combine special QP struct with mthca QP RDMA/i40iw: Remove intermediate pointer that points to the same struct drivers/infiniband/core/uverbs_cmd.c | 17 +- drivers/infiniband/hw/hns/hns_roce_qp.c | 57 ++-- drivers/infiniband/hw/i40iw/i40iw_verbs.c | 9 +- drivers/infiniband/hw/mlx4/mlx4_ib.h | 25 +- drivers/infiniband/hw/mlx4/qp.c | 299 ++++++++----------- drivers/infiniband/hw/mlx5/gsi.c | 138 +++------ drivers/infiniband/hw/mlx5/main.c | 6 +- drivers/infiniband/hw/mlx5/mlx5_ib.h | 28 +- drivers/infiniband/hw/mlx5/qp.c | 50 ++-- drivers/infiniband/hw/mthca/mthca_dev.h | 2 +- drivers/infiniband/hw/mthca/mthca_provider.c | 17 +- drivers/infiniband/hw/mthca/mthca_provider.h | 27 +- drivers/infiniband/hw/mthca/mthca_qp.c | 75 +++-- drivers/infiniband/hw/qedr/verbs.c | 8 - drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c | 3 +- 15 files changed, 336 insertions(+), 425 deletions(-) -- 2.26.2