From: Leon Romanovsky <leonro@xxxxxxxxxxxx> Hi, This is second part of refactor mlx5_ib_create_qp() series [1] with one extra fix from Aharon. It is based on [1]. Thanks [1] https://lore.kernel.org/lkml/20200420151105.282848-1-leon@xxxxxxxxxx Aharon Landau (1): RDMA/mlx5: Verify that QP is created with RQ or SQ Leon Romanovsky (17): RDMA/mlx5: Delete unsupported QP types RDMA/mlx5: Store QP type in the vendor QP structure RDMA/mlx5: Promote RSS RAW QP attribute check in higher level RDMA/mlx5: Combine copy of create QP command in RSS RAW QP RDMA/mlx5: Remove second user copy in create_user_qp RDMA/mlx5: Rely on existence of udata to separate kernel/user flows RDMA/mlx5: Delete impossible inlen check RDMA/mlx5: Globally parse DEVX UID RDMA/mlx5: Separate XRC_TGT QP creation from common flow RDMA/mlx5: Separate to user/kernel create QP flows RDMA/mlx5: Reduce amount of duplication in QP destroy RDMA/mlx5: Group all create QP parameters to simplify in-kernel interfaces RDMA/mlx5: Promote RSS RAW QP flags check to higher level RDMA/mlx5: Handle udate outlen checks in one place RDMA/mlx5: Copy response to the user in one place RDMA/mlx5: Remove redundant destroy QP call RDMA/mlx5: Consolidate into special function all create QP calls drivers/infiniband/hw/mlx5/mlx5_ib.h | 22 +- drivers/infiniband/hw/mlx5/odp.c | 3 +- drivers/infiniband/hw/mlx5/qp.c | 989 ++++++++++++++++----------- 3 files changed, 586 insertions(+), 428 deletions(-) -- 2.25.3