RE: Multiple multicast groups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


> I am trying to modify one of the multicast examples (mckey.c) so that
> I have multiple multicast groups each one handling a different type of
> data.  I am somewhat confused as to how I would do this.  can I keep 1
> RDMA CM channel between each server/client pair?  Would I need to keep
> a qp, send/recv queue and completion queue for each multicast group?

You can use a single QP, rdma_cm_id, completion channel, and CQ for all multicast groups.  Simply call rdma_join_multicast() for every group that you want to join.   E.g.

rdma_create_id()
rdma_bind_addr()
rdma_create_qp()
rdma_join_multicast()
rdma_join_multicast()
rdma_join_multicast()
rdma_join_multicast()
...
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]

Add to Google Powered by Linux