]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
rdma/ucm: Allow user space to specify AF_IB when joining multicast
authorSean Hefty <sean.hefty@intel.com>
Wed, 7 Apr 2010 00:26:13 +0000 (17:26 -0700)
committerSean Hefty <sean.hefty@intel.com>
Sat, 7 Jan 2012 00:49:56 +0000 (16:49 -0800)
commit9bf2a92c2415145d56f63bfab87a4167e6aad89d
treee8f4650537521680cfa3835fa47eaad6c80a1cbf
parent5698fddc6dfcff766c444467e52b6fb460577e3a
rdma/ucm: Allow user space to specify AF_IB when joining multicast

Allow user space applications to join multicast groups using MGIDs
directly.  MGIDs may be passed using AF_IB addresses.  Since the
current multicast join command only supports addresses as large as
sockaddr_in6, define a new structure for joining addresses specified
using sockaddr_ib.

Since AF_IB allows the user to specify the qkey when
resolving a remote UD QP address, when joining the multicast
group use the qkey value, if one has been assigned.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
drivers/infiniband/core/cma.c
drivers/infiniband/core/ucma.c
include/rdma/rdma_user_cm.h