On Fri, Jul 22, 2011 at 02:48:40PM -0700, Ethan Jackson wrote:
> Nice patch, I always wondered why we locked the mac learning table
> entry in that case. SLB is kind of a mess.
>
> > + ? ? ?Open vSwitch avoids packet duplication by accepting multicast
> > + ? ? ?and broadcast packets on only the active slave, and dropping
> > + ? ? ?multicast and broadcast packets on all other slaves.
>
> I could imagine a reader wondering what an active slave is precisely.
> I would mention that it's arbitrarily chosen specifically for handling
> this case.
It's pretty well defined under "Bond Packet Input" earlier in that file:
Bonding only accepts multicast (and broadcast) packets on a single
bond slave (the "active slave") at any given time. Multicast packets
received on other slaves are dropped. Otherwise, every multicast
packet would be duplicated, once for every bond slave, because the
physical switch attached to the bond will flood those packets.
> I think we should update ovs-vswitchd to warn when SLB and flood-vlans
> is set on the same bridge. Probably should be a different patch
> though.
Yes, I'll work on that.
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev