Skip to content

Add support for multicast in RoCEv2

Leon Romanovsky linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3IB/core: Fix the validations of a multicast LID in attach or detach operationsdrivers/infiniband/core/verbs.c+40 -43 replies
2/3IB/core: Set RoCEv2 MGID according to specdrivers/infiniband/core/cma.c drivers/infiniband/core/verbs.c include/rdma/ib_addr.h+20 -110 replies
3/3IB/core: Add support for RoCEv2 multicastdrivers/infiniband/core/verbs.c+12 -00 replies

Reviews trailers per patch

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

PatchMoni Shoua
1/3R-b
2/3R-b
3/3R-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/3] Add support for multicast in RoCEv2

This series from Noa enables multicast traffic over RoCE v2.

To allow this, several changes were required.

First of all, there is a need to validate MLID when link layer is Infiniband. This check is mandatory according to Infiniband spec but the MLID should be ignored for RoCE according to RoCEv2 Annex (Annex 17, A17.5.6).

Second, there is need to cange the mapping of IPv4 multicast addresses to MGIDs to be according to RoCEv2 Annex (A17.4.1.1 L3 Addresses): GID = ::ffff:<IPv4 Address>

And third, multicast addresses need to be mapped to multicast MAC instead of searching for it in the GID table.

Thanks

Noa Osherovich (3):
IB/core: Fix the validations of a multicast LID in attach or detach
operations
IB/core: Set RoCEv2 MGID according to spec
IB/core: Add support for RoCEv2 multicast

 drivers/infiniband/core/cma.c   | 13 +++++----
 drivers/infiniband/core/verbs.c | 62 +++++++++++++++++++++++++++++++++++++----
 include/rdma/ib_addr.h          |  8 +++++-
 3 files changed, 70 insertions(+), 13 deletions(-)

--
2.12.2

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