Quoting "Hefty, Sean" <[email protected]>:

In reviewing the mckey.c source code, it looks like, in post_sends,
that a remote key and remote qpn is being assigned in the wr.  I am
confused as to why this is done if rmeote keys etc. are not required.

The qpn used for multicast traffic is 0xFFFFFF. The qkey is part of the multicast group attributes and is specified by the creator of the multicast group. The kernel rdma_cm returns these parameters to the user after joining the multicast group. The qkey is discovered as part of the join process, and the qpn is hard-coded.

Are there examples of how to create the multicast group using rdma_cm?


Also, how do I multicast once the SA has created the group and I have
joined it?

I'm not sure I understand this question, but posting a send with the multicast group as the destination sends the multicast message. The send destination is indicated by the qpn, qkey, and address handle. These are returned as part of the rdma_join_multicast response.

Ok... I think I understand this part... I was just a bit confused about the destination of the msg.


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




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

Reply via email to