Skip to contentSkip to conversation

Question Regarding rdma/ucm

DISCUSSION Hefty, Sean 1 participant 1 message Jul 19, 2010 2 messages not in the archive InfiniBand

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 4C41EAF8.1050901-/[email protected]

#2 lore raw

Copying linux-rdma mail list on the response. It helps to show interest in specific features and patches for merging things.

Quoted 6 lines

I have seen recently that you submitted a number of patches which allow users to join multicast groups using MGIDs directly. I see that the APIs for these come under /include/rdma/rdma_user_cm.h

Can you tell me will these APIs be available in OFED 1.5.2? I am looking through rc2 but this file is not present.

I'm assuming that you're referring to the patches that deal with AF_IB. Those will NOT be available in OFED until they have been queued for inclusion upstream. I don't know of any issues with those patches; I just don't think others have had time to review them in detail.

That said, the current code does support MGIDs directly to a limited degree. The MGID must be specified as an IPv6 address that meets the following check (done in the kernel):

       } else if ((addr->sa_family == AF_INET6) &&
                  ((be32_to_cpu(sin6->sin6_addr.s6_addr32[0]) & 0xFFF0FFFF) ==
                                                                0xFF10A01B)) {
                 /* IPv6 address is an SA assigned MGID. */
                 memcpy(mgid, &sin6->sin6_addr, sizeof *mgid);

MGIDs obtained by joining a multicast group and letting the IB SA select the MGID should have this format. The AF_IB patches remove this special handling and allow specifying the full range of MGIDs.

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