[ovs-git] Open vSwitch: mirroring: Allow learning to be disabled on a VLAN. (citrix)

dev at openvswitch.org dev at openvswitch.org
Tue Nov 10 21:52:21 UTC 2009

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, citrix has been updated
       via  f2d7fd66cf51b83acbe509f8ef6d4b34538d0646 (commit)
       via  93dfc06772a722abf3362606307bab9a9bf33292 (commit)
      from  8ddb3f376d06374525cea4aa647462d8f520ed78 (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 f2d7fd66cf51b83acbe509f8ef6d4b34538d0646
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f2d7fd66cf51b83acbe509f8ef6d4b34538d0646
Author: Jesse Gross <jesse at nicira.com>
mirroring: Allow learning to be disabled on a VLAN.
RSPAN does not work properly unless MAC learning for the VLAN is
disabled on all switches between the origin and monitoring point.
This allows learning to be disabled on a given VLAN so vSwitch can
acts as an intermediate switch.

Feature #2136

commit 93dfc06772a722abf3362606307bab9a9bf33292
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=93dfc06772a722abf3362606307bab9a9bf33292
Author: Jesse Gross <jesse at nicira.com>
bridge: Require learning table at all times.
The bridge nominally allowed the MAC learning module to not be enabled
though in reality it was always used.  Tracking active MAC addresses
in the bridge is useful for other reasons besides deciding the output
port - primarily for bonding.  In addition there were several bugs
that would have been triggered had learning actually been disabled since
that code path is never tested.  This makes it explicit that the learning
table should be maintained at all times.


Summary of changes:
 lib/mac-learning.c              |   35 +++++++++++-
 lib/mac-learning.h              |    3 +
 vswitchd/bridge.c               |  119 ++++++++++++++++++++------------------
 vswitchd/ovs-vswitchd.conf.5.in |    7 ++-
 4 files changed, 105 insertions(+), 59 deletions(-)

Open vSwitch

More information about the git mailing list