Re: [PATCH 26/26] rdma/ucm: allow user space to specify AF_IB when joining multicast

Jason Gunthorpe
2010-04-01T17:38:09Z

On Thu, Apr 01, 2010 at 10:08:41AM -0700, Sean Hefty wrote:

> } else if ((addr->sa_family == AF_INET6)) {
> ipv6_ib_mc_map(&sin6->sin6_addr, dev_addr->broadcast, mc_map);
> - if (id_priv->id.ps == RDMA_PS_UDP)
> + if (id_priv->id.ps == RDMA_PS_UDP || id_priv->id.ps == RDMA_PS_IB)
> mc_map[7] = 0x01; /* Use RDMA CM signature */
> *mgid = *(union ib_gid *) (mc_map + 4);

What does the combination of AF_INET/INET6 and RDMA_PS_IB mean?

Jason