X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=vswitchd%2FINTERNALS;h=7aa3c29677a1fb3a52304385f901b4f7904cf315;hb=df778240e1e311f7eba9dfda4f5f8bf0f915ae5f;hp=011983ade010321cda3163a221871897566cfc56;hpb=b2272edbcf5b9e6f8b960443c979f639df14efe6;p=openvswitch diff --git a/vswitchd/INTERNALS b/vswitchd/INTERNALS index 011983ad..7aa3c296 100644 --- a/vswitchd/INTERNALS +++ b/vswitchd/INTERNALS @@ -57,20 +57,19 @@ enabled all output packets are blackholed anyway. When a slave becomes disabled, the vswitch immediately chooses a new output port for traffic that was destined for that slave (see -bond_enable_slave()). It also sends a "gratuitous learning packet" on -the bond port (on the newly chosen slave) for each MAC address that -the vswitch has learned on a port other than the bond (see -bond_send_learning_packets()), to teach the physical switch that the -new slave should be used in place of the one that is now disabled. -(This behavior probably makes sense only for a vswitch that has only -one port (the bond) connected to a physical switch; vswitchd should -probably provide a way to disable or configure it in other scenarios.) +bond_enable_slave()). It also sends a "gratuitous learning packet", +specifically a RARP, on the bond port (on the newly chosen slave) for +each MAC address that the vswitch has learned on a port other than the +bond (see bond_send_learning_packets()), to teach the physical switch +that the new slave should be used in place of the one that is now +disabled. (This behavior probably makes sense only for a vswitch that +has only one port (the bond) connected to a physical switch; vswitchd +should probably provide a way to disable or configure it in other +scenarios.) Bond Packet Input ----------------- -Bond packet input processing takes place in process_flow(). - Bonding accepts unicast packets on any bond slave. This can occasionally cause packet duplication for the first few packets sent to a given MAC, if the physical switch attached to the bond is