Skip to content

Prepare drivers to move QP allocation to ib_core

Leon Romanovsky linux-rdma lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10RDMA/mlx5: Embed GSI QP into general mlx5_ib QPdrivers/infiniband/hw/mlx5/gsi.c drivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/qp.c+32 -330 replies
2/10RDMA/mlx5: Reuse existing fields in parent QP storage objectdrivers/infiniband/hw/mlx5/gsi.c drivers/infiniband/hw/mlx5/main.c drivers/infiniband/hw/mlx5/mlx5_ib.h+31 -450 replies
3/10RDMA/mlx5: Change GSI QP to have same creation flow like other QPsdrivers/infiniband/hw/mlx5/gsi.c drivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/qp.c+38 -460 replies
4/10RDMA/mlx5: Delete not needed GSI QP signature QP typedrivers/infiniband/hw/mlx5/gsi.c drivers/infiniband/hw/mlx5/mlx5_ib.h+1 -81 reply
5/10RDMA/mlx4: Embed GSI QP into general mlx4_ib QPdrivers/infiniband/hw/mlx4/mlx4_ib.h drivers/infiniband/hw/mlx4/qp.c+100 -910 replies
6/10RDMA/mlx4: Prepare QP allocation to remove from the driverdrivers/infiniband/hw/mlx4/qp.c+56 -860 replies
7/10RDMA/core: Align write and ioctl checks of QP typesdrivers/infiniband/core/uverbs_cmd.c+15 -21 reply
8/10RDMA/drivers: Remove udata check from special QPdrivers/infiniband/hw/hns/hns_roce_qp.c drivers/infiniband/hw/mlx4/qp.c drivers/infiniband/hw/mlx5/qp.c +3 more+19 -681 reply
9/10RDMA/mthca: Combine special QP struct with mthca QPdrivers/infiniband/hw/mthca/mthca_dev.h drivers/infiniband/hw/mthca/mthca_provider.c drivers/infiniband/hw/mthca/mthca_provider.h +1 more+59 -580 replies
10/10RDMA/i40iw: Remove intermediate pointer that points to the same structdrivers/infiniband/hw/i40iw/i40iw_verbs.c drivers/infiniband/hw/i40iw/i40iw_verbs.h+3 -71 reply

Reviews trailers per patch

9 of 10 patches have a Reviewed-by or Acked-by.

PatchMaor GottliebShiraz Saleem
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10
10/10A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH rdma-next 00/10] Prepare drivers to move QP allocation to ib_core

From: Leon Romanovsky <[email protected]>

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 signature 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/i40iw/i40iw_verbs.h    |   1 -
 drivers/infiniband/hw/mlx4/mlx4_ib.h         |  25 +-
 drivers/infiniband/hw/mlx4/qp.c              | 285 ++++++++-----------
 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 +-
 16 files changed, 329 insertions(+), 419 deletions(-)

--
2.26.2