[ovs-git] Open vSwitch: bridge: Destroy bond when port is destroyed. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Apr 15 19:20:01 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  abf754896ee64d9a0319e70388afbcc177b3f9bd (commit)
       via  4d6fb5ebd0355a7843c01185631bba694ffeb209 (commit)
       via  e1e90548952cbf11c5d2cf32e1d20b160130572d (commit)
       via  5827ce14d087a18ede839c39ce3438e0b0e6f717 (commit)
       via  0f1a47f108ba6c599b252bc1b17ea59609d60e09 (commit)
      from  2bb82bf044a0e28ef4c9e65e425b8173a574d91d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit abf754896ee64d9a0319e70388afbcc177b3f9bd
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=abf754896ee64d9a0319e70388afbcc177b3f9bd
Author: Ethan Jackson <ethan at nicira.com>
		
bridge: Destroy bond when port is destroyed.
		


commit 4d6fb5ebd0355a7843c01185631bba694ffeb209
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=4d6fb5ebd0355a7843c01185631bba694ffeb209
Author: Ethan Jackson <ethan at nicira.com>
		
bond: Completely pull LACP module out of bond.
		
The bonding code only needs to know whether a given slave may be
enabled, and whether LACP has been negotiated on the bond.  Instead
of passing in the LACP handle and letting the bond query this
information.  This patch passes in the information directly.


commit e1e90548952cbf11c5d2cf32e1d20b160130572d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e1e90548952cbf11c5d2cf32e1d20b160130572d
Author: Ethan Jackson <ethan at nicira.com>
		
bond: Create new 'stable_id' parameter.
		
For BM_STABLE bonds, instead of choosing the sort key in the
qsort() comparator, this patch makes it a configuration setting of
each slave.  This will help wrest LACP out of the bonding code
further in future patches.


commit 5827ce14d087a18ede839c39ce3438e0b0e6f717
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5827ce14d087a18ede839c39ce3438e0b0e6f717
Author: Ethan Jackson <ethan at nicira.com>
		
bond: Give bridge control over LACP module.
		
Before this patch, the bonding code had taken over responsibility
for running the LACP module.  However, the bonding code only needs
the LACP module for some basic status queries.  LACP and bonding
are actually logically parallel modules and do not really have a
parent child relationship.  Furthermore, we need to be able to run
LACP on non-bonded interfaces which the existing approach
prevented.  This patch gives control of the LACP module back to the
bridge.


commit 0f1a47f108ba6c599b252bc1b17ea59609d60e09
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0f1a47f108ba6c599b252bc1b17ea59609d60e09
Author: Ethan Jackson <ethan at nicira.com>
		
lacp: Remove enabled flag.
		
The enabled flag in the LACP module was only used to set the
Collecting and Distributing flags in the LACP protocol.  It was
intended to be set by the bonding code to mimic its enabled flag.

The spec is relatively vague on the precise meaning of these flags,
and most implementations do something completely different with
them.  For these reasons, it seems acceptable to remove the enabled
flag for the sake of simplicity.  A slave is now Collecting and
Distributing if it is attached, or LACP couldn't be negotiated.


-----------------------------------------------------------------------

Summary of changes:
 lib/bond.c        |  152 ++++++++++++++---------------------------------------
 lib/bond.h        |   16 +++---
 lib/lacp.c        |   18 +-----
 lib/lacp.h        |    1 -
 vswitchd/bridge.c |  135 +++++++++++++++++++++++++++++++++++++----------
 5 files changed, 155 insertions(+), 167 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list