Skip to content

Add DC transport support to mlx5

Leon Romanovsky linux-rdma 2 versions – Applied

Status from this message: Applied to for-next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 2 repliesApplied
  2. v16 patches 15 repliesSuperseded

Changes in v2 from the cover letter

* Renamed functions to better describe functionality.
* Improve set_mlx5_qp function implementation.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6net/mlx5: Add DCT command interfacedrivers/net/ethernet/mellanox/mlx5/core/eq.c drivers/net/ethernet/mellanox/mlx5/core/qp.c include/linux/mlx5/device.h +2 more+150 -130 replies
2/6net/mlx5: Enable DC transportdrivers/net/ethernet/mellanox/mlx5/core/main.c+3 -00 replies
3/6IB/core: Introduce driver QP typeinclude/rdma/ib_verbs.h+1 -00 replies
4/6IB/mlx5: Handle type IB_QPT_DRIVER when creating a QPdrivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/qp.c include/uapi/rdma/mlx5-abi.h+118 -21 reply
5/6IB/mlx5: Add support for DC Initiator QPdrivers/infiniband/hw/mlx5/qp.c+72 -50 replies
6/6IB/mlx5: Add support for DC target QPdrivers/infiniband/hw/mlx5/main.c drivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/qp.c +1 more+217 -30 replies

Reviews trailers per patch

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

PatchYishai Hadas
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

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

Read the v2 thread

Cover letter [PATCH rdma-next v2 0/6] Add DC transport support to mlx5

Changelog:
v1 -> v2:
* Renamed functions to better describe functionality.
* Improve set_mlx5_qp function implementation.
v0 -> v1:
* Updated "net/mlx5: Add DCT command interface" patch to declare variables in reversed Christmas tree order.

---------------------------------------a

Quoted 1 line

From Moni,

Following the discussion [1] on the mailing list regarding "Custom/proprietary QP type support", the following patchset implements the direct connected QP types functionality over posted RFC.

The dynamically connected (DC) transport service provides a datagram-like model that allows a DC QP to target multiple remote processes in multiple remote nodes.

As far as reachability is concerned, the DC model is somewhat similar to the unreliable datagram (UD) model in the sense that each WR submitted to the DC SQ carries the information that identifies the remote destination.

The new QP type - IB_QPT_DRIVER is introduced to represent all type of QPs that are driver specific, like the proposed DC QP. Such minimal change to the IB/core allows reuse of existing verbs functions to control those new QPs with already existing functions.

[1] https://www.spinics.net/lists/linux-rdma/msg57598.html

The patches are available in the git repository at:
git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git tags/rdma-next-2018-01-02-1

Thanks
---------------------------------------

Moni Shoua (6):
net/mlx5: Add DCT command interface net/mlx5: Enable DC transport
IB/core: Introduce driver QP type
IB/mlx5: Handle type IB_QPT_DRIVER when creating a QP IB/mlx5: Add support for DC Initiator QP IB/mlx5: Add support for DC target QP

 drivers/infiniband/hw/mlx5/main.c              |  27 +-
 drivers/infiniband/hw/mlx5/mlx5_ib.h           |  12 +
 drivers/infiniband/hw/mlx5/qp.c                | 364 ++++++++++++++++++++++++-
 drivers/net/ethernet/mellanox/mlx5/core/eq.c   |   9 +-
 drivers/net/ethernet/mellanox/mlx5/core/main.c |   3 +
 drivers/net/ethernet/mellanox/mlx5/core/qp.c   | 125 ++++++++-
 include/linux/mlx5/device.h                    |   9 +
 include/linux/mlx5/driver.h                    |   8 +
 include/linux/mlx5/qp.h                        |  12 +
 include/rdma/ib_verbs.h                        |   1 +
 include/uapi/rdma/mlx5-abi.h                   |  12 +-
 11 files changed, 560 insertions(+), 22 deletions(-)

--
2.15.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html