On Mon, 17 Jan 2011, Moni Shoua wrote: > Unlike with send/receive multicast groups, there is no indication for IPoIB > that a send-only multicast group is useless. Therefore, even a single packet > to a multicast destination leaves a multicast entry on the fabric until the > host interface is down. This causes an MGID leakage in the SM.
There is such an indication. The igmp subsystem removes the multicast group from the grouplist for the interface when the process terminates. The ipoib layer will then release the MGID when the multicast groups are reprocessed in ipoib_mcast_restart_task(). The sendonly detect logic puts it onto the remove_list() and then mcast_mcast_leave() is called at the end to dispose of the MC group. That is at least what our tests show. MC sendonly groups vanish when a task terminates. Lets leave it that way. Did you leave the task that caused the sendonly join running until shutdown? -- 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
