On Tue, May 11, 2010 at 03:17:36PM -0500, Christoph Lameter wrote: > On Tue, 11 May 2010, Roland Dreier wrote: > > > > I am mostly interested in multicast traffic. Connected mode is not > > > relevant to that usage scenario. > > > > As I said, I don't think anyone is working on it. However it wouldn't > > be that hard to get something pretty good for multicast, since the > > InfiniBand multicast join mechanism would let you have essentially a > > perfect filter for steering individual multicast groups to whichever QP > > (ring) you wanted to. > > Right but then would each individual QP need its own IP address?
I think Roland means that each IP multicast address is mapped into an IB multicast GID, and you can bind a QP to a set of MGIDs. Right now the driver binds all MGIDs to the rx QP and basically ignores the MGID on receive. To go multi-queue you'd create multiple QPs and spread the MGID binds amongst them. > > Of course you could also implement the equivalent thing in userspace and > > probably get even better performance. > > Start a QP listening to IPoIB mc traffic? Yes, but the downside is that if you rely on the kernel to the group join then the HCA will send the packet to user space and the kernel QP. Some of the weird features in the RDMA CM seem to be for supporting this.. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html