Permalink
Browse files

RDMA/cm: Add RDMA CM support for IBoE devices

Add support for IBoE device binding and IP --> GID resolution.  Path
resolving and multicast joining are implemented within cma.c by
filling in the responses and running callbacks in the CMA work queue.

IP --> GID resolution always yields IPv6 link local addresses; remote
GIDs are derived from the destination MAC address of the remote port.
Multicast GIDs are always mapped to multicast MACs as is done in IPv6.
(IPv4 multicast is enabled by translating IPv4 multicast addresses to
IPv6 multicast as described in
<http://www.mail-archive.com/ipng@sunroof.eng.sun.com/msg02134.html>.)

Some helper functions are added to ib_addr.h.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
  • Loading branch information...
Eli Cohen Roland Dreier
Eli Cohen authored and Roland Dreier committed Oct 13, 2010
1 parent fac70d5 commit 3c86aa70bf677a31b71c8292e349242e26cbc743
Showing with 431 additions and 27 deletions.
  1. +290 −19 drivers/infiniband/core/cma.c
  2. +4 −1 drivers/infiniband/core/sa_query.c
  3. +39 −6 drivers/infiniband/core/ucma.c
  4. +98 −1 include/rdma/ib_addr.h
Oops, something went wrong.

0 comments on commit 3c86aa7

Please sign in to comment.