[PATCH rdma-next 0/3] Add support for multicast in RoCEv2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux