Skip to content

Driver part of the ECE

Leon Romanovsky linux-rdma netdev 3 versions – Applied

Status from this message: Applied to for-next, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 3 repliesApplied
  2. v29 patches 0 repliesSuperseded
  3. v19 patches 4 repliesSuperseded

Changes in v3 from the cover letter

* Squashed patch "RDMA/mlx5: Advertise ECE support" into "RDMA/mlx5: Set ECE options during modify QP".

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/8net/mlx5: Add ability to read and write ECE optionsinclude/linux/mlx5/mlx5_ifc.h+14 -100 replies
2/8RDMA/mlx5: Get ECE options from FW during create QPdrivers/infiniband/hw/mlx5/qp.c drivers/infiniband/hw/mlx5/qp.h drivers/infiniband/hw/mlx5/qpc.c +1 more+18 -120 replies
3/8RDMA/mlx5: Set ECE options during QP createdrivers/infiniband/hw/mlx5/qp.c include/uapi/rdma/mlx5-abi.h+68 -90 replies
4/8RDMA/mlx5: Use direct modify QP implementationdrivers/infiniband/hw/mlx5/qp.c+11 -60 replies
5/8RDMA/mlx5: Remove manually crafted QP context the query calldrivers/infiniband/hw/mlx5/qp.c+56 -730 replies
6/8RDMA/mlx5: Convert modify QP to use MLX5_SET macrosdrivers/infiniband/hw/mlx5/qp.c include/linux/mlx5/qp.h+97 -1720 replies
7/8RDMA/mlx5: Set ECE options during modify QPdrivers/infiniband/hw/mlx5/main.c drivers/infiniband/hw/mlx5/qp.c drivers/infiniband/hw/mlx5/qp.h +2 more+25 -150 replies
8/8RDMA/mlx5: Return ECE data after modify QPdrivers/infiniband/hw/mlx5/qp.c drivers/infiniband/hw/mlx5/qpc.c include/uapi/rdma/mlx5-abi.h+48 -40 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchMark ZhangMaor Gottlieb
1/8R-b R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b R-b
7/8R-b
8/8R-b

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

Read the v3 thread

Cover letter [PATCH rdma-next v3 0/8] Driver part of the ECE

From: Leon Romanovsky <[email protected]>

Changelog:
v3:
* Squashed patch "RDMA/mlx5: Advertise ECE support" into "RDMA/mlx5: Set ECE options during modify QP".
v2:
https://lore.kernel.org/linux-rdma/[email protected]
* Rebased on latest wip/jgg-rdma-next branch, commit a94dae867c56
* Fixed wrong setting of pm_state field in mlx5 conversion patch
* Removed DC support for now
v1:
https://lore.kernel.org/linux-rdma/[email protected]
* Fixed compatibility issue of "old" kernel vs. "new" rdma-core. This is handled in extra patch.
* Improved comments and commit messages after feedback from Yishai.
* Added Mark Z. ROB tags
v0:
https://lore.kernel.org/linux-rdma/[email protected]

----------------------------------------------------------------------

Hi,

This is driver part of the RDMA-CM ECE series [1].
According to the IBTA, ECE data is completely vendor specific, so this series extends mlx5_ib create_qp and modify_qp structs with extra field to pass ECE options to/from the application.

Thanks

[1]
https://lore.kernel.org/linux-rdma/[email protected]

Leon Romanovsky (8):
net/mlx5: Add ability to read and write ECE options RDMA/mlx5: Get ECE options from FW during create QP RDMA/mlx5: Set ECE options during QP create RDMA/mlx5: Use direct modify QP implementation RDMA/mlx5: Remove manually crafted QP context the query call RDMA/mlx5: Convert modify QP to use MLX5_SET macros RDMA/mlx5: Set ECE options during modify QP RDMA/mlx5: Return ECE data after modify QP

 drivers/infiniband/hw/mlx5/main.c |   3 +
 drivers/infiniband/hw/mlx5/qp.c   | 478 +++++++++++++++++-------------
 drivers/infiniband/hw/mlx5/qp.h   |   6 +-
 drivers/infiniband/hw/mlx5/qpc.c  |  44 ++-
 include/linux/mlx5/mlx5_ifc.h     |  24 +-
 include/linux/mlx5/qp.h           |  66 -----
 include/uapi/rdma/mlx5-abi.h      |   9 +-
 7 files changed, 333 insertions(+), 297 deletions(-)

--
2.26.2