[infiniband] Provide a general mechanism for multicast group joins

Generalise out the multicast group membership record code from IPoIB.
This commit is contained in:
Michael Brown
2009-07-07 16:07:31 +01:00
parent 3c77fe73a5
commit 0fbf2f6bda
6 changed files with 274 additions and 129 deletions

View File

@@ -554,6 +554,10 @@ void ib_close ( struct ib_device *ibdev ) {
* @v qp Queue pair
* @v gid Multicast GID
* @ret rc Return status code
*
* Note that this function handles only the local device's attachment
* to the multicast GID; it does not issue the relevant MADs to join
* the multicast group on the subnet.
*/
int ib_mcast_attach ( struct ib_device *ibdev, struct ib_queue_pair *qp,
struct ib_gid *gid ) {