On 12/08/2012 13:22, Michael S. Tsirkin wrote:
quoted
quoted
quoted
quoted
quoted
quoted
- IGMP/MAC snooping in a driver is just too hairy.
quoted
mmm, any rough idea/direction how to do that otherwise?
Sure, even two ways, ideally you'd do both:)
A. fix macvtap
1. Use netdev_for_each_mc_addr etc to get multicast addresses
2. teach macvtap to fill that in (it currently floods multicasts
for guest to guest communication so we ned to fix it anyway)
B. fix bridge
teach bridge to work for VMs without using promisc mode
OK, I think I'm with you now... you suggest to avoid our direction of
implementing promiscuous multicast mode which is applied by today's
bridge, macvtap and friends by fixing these elements to support non
promisc multicast mode, yep, sure, sounds as win/win, which will
eliminate the need to do IGMP snooping in the driver.
Or.