Skip to content

Add Enhanced Connection Established (ECE)

Leon Romanovsky linux-rdma lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9RDMA/cm: Add Enhanced Connection Establishment (ECE) bitsinclude/rdma/ibta_vol1_c12.h+6 -00 replies
2/9RDMA: Promote field_avail() macro to be general codedrivers/infiniband/hw/efa/efa_verbs.c drivers/infiniband/hw/mlx4/main.c drivers/infiniband/hw/mlx5/main.c +2 more+48 -392 replies
3/9RDMA/cm: Delete not implemented CM peer to peer communicationdrivers/infiniband/core/cm.c include/rdma/ib_cm.h+0 -80 replies
4/9RDMA/uapi: Add ECE definitions to UCMAinclude/uapi/rdma/rdma_user_cm.h+7 -00 replies
5/9RDMA/ucma: Extend ucma_connect to receive ECE parametersdrivers/infiniband/core/cma.c drivers/infiniband/core/cma_priv.h drivers/infiniband/core/ucma.c +1 more+36 -30 replies
6/9RDMA/ucma: Deliver ECE parameters through UCMA eventsdrivers/infiniband/core/ucma.c include/rdma/rdma_cm.h+6 -10 replies
7/9RDMA/cm: Send and receive ECE parameter over the wiredrivers/infiniband/core/cm.c drivers/infiniband/core/cma.c drivers/infiniband/core/ucma.c +1 more+52 -70 replies
8/9RDMA/cma: Connect ECE to rdma_acceptdrivers/infiniband/core/cma.c drivers/infiniband/core/ucma.c include/rdma/rdma_cm.h +1 more+34 -30 replies
9/9RDMA/cma: Provide ECE reject reasondrivers/infiniband/core/cma.c drivers/infiniband/core/ucma.c include/rdma/ib_cm.h +2 more+32 -120 replies

Reviews trailers per patch

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

PatchMark Zhang
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-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 0/9] Add Enhanced Connection Established (ECE)

From: Leon Romanovsky <[email protected]>

Enhanced Connection Established or ECE is new negotiation scheme introduced in IBTA v1.4 to exchange extra information about nodes capabilities and later negotiate them at the connection establishment phase.

The RDMA-CM messages (REQ, REP, SIDR_REQ and SIDR_REP) were extended to carry two fields, one new and another gained new functionality:
* VendorID is a new field that indicates that common subset of vendor option bits are supported as indicated by that VendorID.
* AttributeModifier already exists, but overloaded to indicate which vendor options are supported by this VendorID.

This is kernel part of such functionality which is responsible to get data from librdmacm and properly create and handle RDMA-CM messages.

Thanks

Leon Romanovsky (9):
RDMA/cm: Add Enhanced Connection Establishment (ECE) bits
RDMA: Promote field_avail() macro to be general code RDMA/cm: Delete not implemented CM peer to peer communication RDMA/uapi: Add ECE definitions to UCMA
RDMA/ucma: Extend ucma_connect to receive ECE parameters RDMA/ucma: Deliver ECE parameters through UCMA events RDMA/cm: Send and receive ECE parameter over the wire RDMA/cma: Connect ECE to rdma_accept
RDMA/cma: Provide ECE reject reason

 drivers/infiniband/core/cm.c          | 48 ++++++++++++++++++------
 drivers/infiniband/core/cma.c         | 54 ++++++++++++++++++++++++---
 drivers/infiniband/core/cma_priv.h    |  1 +
 drivers/infiniband/core/ucma.c        | 40 ++++++++++++++++----
 drivers/infiniband/hw/efa/efa_verbs.c |  3 --
 drivers/infiniband/hw/mlx4/main.c     |  7 +---
 drivers/infiniband/hw/mlx5/main.c     | 41 ++++++++++----------
 drivers/infiniband/hw/mlx5/mlx5_ib.h  | 18 ++++-----
 include/linux/kernel.h                | 18 +++++++++
 include/rdma/ib_cm.h                  | 11 +++++-
 include/rdma/ibta_vol1_c12.h          |  6 +++
 include/rdma/rdma_cm.h                | 28 ++++++++++++--
 include/uapi/rdma/rdma_user_cm.h      | 15 +++++++-
 13 files changed, 219 insertions(+), 71 deletions(-)

--
2.24.1