Skip to content

Support for Send Only Full Member Multicast Join

Leon Romanovsky linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2IB/sa: Add cached attribute containing SM information to SA portdrivers/infiniband/core/sa_query.c+46 -51 reply
2/2IB/core: Support for CMA multicast join flagsdrivers/infiniband/core/cma.c drivers/infiniband/core/ucma.c include/rdma/ib_sa.h +2 more+122 -128 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH for-next 0/2] Support for Send Only Full Member Multicast Join

Added UCMA and CMA support for multicast join flags. Flags are passed using UCMA CM join command previously reserved fields. Currently supporting two join flags indicating two different multicast JoinStates:

1. Full Member:
The initiator creates the Multicast group(MCG) if it wasn't previously created, can send Multicast messages to the group and receive messages from the MCG.

2. Send Only Full Member:
The initiator creates the Multicast group(MCG) if it wasn't previously created, can send Multicast messages to the group but doesn't receive any messages from the MCG.

Since Send Only Full Member requires SM support a new cached SA port attribute containing SM ClassPortInfo fields was added (ClassPortInfo fields: Table 126 IB Spec 1.3.). The attribute is cached to avoid resending queries, caching is done when a successful ClassPortInfo reply is received on the port. Invalidation of the attribute is done on SM change events, SM re-registration events, and SM LID change events. The fields in ClassPortInfo should not change during SM runtime without an event.

These patches are available in the "topic/mc_join_only" branch of this git repo:
git://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git

Or for browsing:
https://git.kernel.org/cgit/linux/kernel/git/leon/linux-rdma.git/log/?h=topic/mc_join_only

Thanks

Alex Vesker (2):
IB/sa: Add cached attribute containing SM information to SA port IB/core: Support for CMA multicast join flags

 drivers/infiniband/core/cma.c      | 98 +++++++++++++++++++++++++++++++++++---
 drivers/infiniband/core/sa_query.c | 51 ++++++++++++++++++--
 drivers/infiniband/core/ucma.c     | 18 +++++--
 include/rdma/ib_sa.h               |  5 ++
 include/rdma/rdma_cm.h             |  4 +-
 include/uapi/rdma/rdma_user_cm.h   |  9 +++-
 6 files changed, 168 insertions(+), 17 deletions(-)
Signature · 6 lines
2.1.4

--
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