• Sean Hefty's avatar
    IB/sa: Track multicast join/leave requests · faec2f7b
    Sean Hefty authored
    The IB SA tracks multicast join/leave requests on a per port basis and
    does not do any reference counting: if two users of the same port join
    the same group, and one leaves that group, then the SA will remove the
    port from the group even though there is one user who wants to stay a
    member left.  Therefore, in order to support multiple users of the
    same multicast group from the same port, we need to perform reference
    counting locally.
    
    To do this, add an multicast submodule to ib_sa to perform reference
    counting of multicast join/leave operations.  Modify ib_ipoib (the
    only in-kernel user of multicast) to use the new interface.
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    faec2f7b
Makefile 761 Bytes