[ovs-git] Open vSwitch: openflow-common: Change flow removal reason codes. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Jun 26 22:49:04 UTC 2013


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  1e16f2ffe3851d395c50d77bd0fd1c4c0a4d4897 (commit)
       via  d0a92e4363728371d8f716479b47453d4b21bccd (commit)
       via  9a2696c6cd69dddd5c0661cc2aecb4390a32a9f2 (commit)
       via  f38da4b77876ec40dbf0f30c1b8332c80685d5c2 (commit)
       via  f2b2f066df6abfddd47feada984b3349437d6fc4 (commit)
       via  79672df2aa8bfdf0b958bfeea192da5fe30d0a48 (commit)
       via  97dd0efa97728bf3004fa3df3bc1bfad96c04dea (commit)
       via  68771379f932510d9bd2815957c1648b5b2eb443 (commit)
       via  6ffde55ed930c8342c0da7147ffddb5782242ccb (commit)
       via  06ea8f59e3ce4e3c52198970431514561947aaf2 (commit)
       via  162b5beb2a47e2cbc8a746325c87171aa3368a1a (commit)
       via  83ea846eb271d5b4e134ae4e10322142fc3cd5bc (commit)
       via  f64c3a58db86af7d42fcb37eb6738f61bb9a88b1 (commit)
       via  f3bc2a9fd955dc60ac711237ca3bf5cf7c6cdfae (commit)
       via  1fcf496a91b90257423577cc959b780788f81950 (commit)
       via  3ee059fa3917a7f9c3ea5d749c0f13675d350fa5 (commit)
       via  f8640745588fff7d791627c23d6bc332f5b44df3 (commit)
       via  6d8c6a16ccad289c3ec1eb64c59ccd1af85db1d3 (commit)
       via  2fac59a9312da1cc2537d117423dd7586e7b96ba (commit)
      from  fb6de52cd7054053f745a880f09607628fc3b7cd (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 1e16f2ffe3851d395c50d77bd0fd1c4c0a4d4897
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1e16f2ffe3851d395c50d77bd0fd1c4c0a4d4897
Author: Jarno Rajahalme <jarno.rajahalme at nsn.com>
		
openflow-common: Change flow removal reason codes.
		
Swap places of OFPRR_METER_DELETE and OFPRR_EVICTION in enumeration to be
compatible with OpenFlow 1.4.

Prior to OpenFlow 1.4 OFPRR_EVICTION was a Nicira specific flow removal reason
code.  OpenFlow 1.3 added support for meters, which require dependent flow
removal when meters are deleted.  The reason code for this is also added in
OpenFlow 1.4, but OFPRR_METER_DELETE now has the value OVS previously had for
OFPRR_EVICTION.

Signed-off-by: Jarno Rajahalme <jarno.rajahalme at nsn.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit d0a92e4363728371d8f716479b47453d4b21bccd
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d0a92e4363728371d8f716479b47453d4b21bccd
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif: Modularize ofproto-dpif-xlate.
		
This patch modularizes ofproto-dpif-xlate by disentangling it from
ofproto-dpif.  Instead of poking around in ofproto-dpif's internal
data structures, ofproto-dpif-xlate is updated with a simple API
which can easily be made thread safe.  There are still some places
where ofproto-dpif-xlate needs to call into ofproto-dpif, but this
patch makes significant progress towards the final goal.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 9a2696c6cd69dddd5c0661cc2aecb4390a32a9f2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9a2696c6cd69dddd5c0661cc2aecb4390a32a9f2
Author: Ethan Jackson <ethan at nicira.com>
		
tunnel: Hide 'struct tnl_port' internally.
		
This simplifies the tunnel module's interface and prevents us from
having to sync 'struct tnl_port' once ofproto-dpif and
ofproto-dpif-xlate are disentangled.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit f38da4b77876ec40dbf0f30c1b8332c80685d5c2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f38da4b77876ec40dbf0f30c1b8332c80685d5c2
Author: Ethan Jackson <ethan at nicira.com>
		
tunnel: Use ofport_dpif instead of ofport.
		
Necessary in a future patch.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit f2b2f066df6abfddd47feada984b3349437d6fc4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f2b2f066df6abfddd47feada984b3349437d6fc4
Author: Ethan Jackson <ethan at nicira.com>
		
lacp: Handle unknown slaves in lacp_process_packet().
		
In future patches, ofproto-dpif-xlate may be temporarily out of
sync with ofproto-dpif proper, and pass an unknown ofport to
lacp_process_packet().  This patch handles that edge case
gracefully.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 79672df2aa8bfdf0b958bfeea192da5fe30d0a48
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=79672df2aa8bfdf0b958bfeea192da5fe30d0a48
Author: Ethan Jackson <ethan at nicira.com>
		
bond: Handle unknown slaves in bond_check_admissibility().
		
In future patches, ofproto-dpif-xlate may be temporarily out of
sync with ofproto-dpif and pass a non-bonded ofport into
bond_check_admissibility().  This patch handles that edge case
gracefully.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 97dd0efa97728bf3004fa3df3bc1bfad96c04dea
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=97dd0efa97728bf3004fa3df3bc1bfad96c04dea
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif: Move tag_the_flow() to ofproto-dpif.c
		
This will help disentangle ofproto-dpif and ofproto-dpif-xlate.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 68771379f932510d9bd2815957c1648b5b2eb443
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=68771379f932510d9bd2815957c1648b5b2eb443
Author: Ethan Jackson <ethan at nicira.com>
		
connmgr: Remove connmgr_must_output_local().
		
connmgr_must_output_local() requires a 'struct connmgr' handle,
when in principle, it should simply be enough to know whether or
not in_band is enabled.  Breaking this up will allow
ofproto-dpif-xlate to disentangle itself from ofproto-dpif in future
patches.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 6ffde55ed930c8342c0da7147ffddb5782242ccb
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=6ffde55ed930c8342c0da7147ffddb5782242ccb
Author: Ethan Jackson <ethan at nicira.com>
		
netdev: Support null netdev argument in netdev_ref().
		
This will be convenient in future patches.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 06ea8f59e3ce4e3c52198970431514561947aaf2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=06ea8f59e3ce4e3c52198970431514561947aaf2
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif: Remove 'has_bundle_action'.
		
It requires ofproto-dpif-xlate to poke into 'struct ofproto-dpif'
which won't be allowed in future patches.  It's also a case of
premature optimization.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 162b5beb2a47e2cbc8a746325c87171aa3368a1a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=162b5beb2a47e2cbc8a746325c87171aa3368a1a
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif-ipfix: Reference count 'struct dpif_ipfix'.
		
Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 83ea846eb271d5b4e134ae4e10322142fc3cd5bc
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=83ea846eb271d5b4e134ae4e10322142fc3cd5bc
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif-sflow: Reference count 'struct dpif_sflow'.
		
Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit f64c3a58db86af7d42fcb37eb6738f61bb9a88b1
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f64c3a58db86af7d42fcb37eb6738f61bb9a88b1
Author: Ethan Jackson <ethan at nicira.com>
		
mac-learning: Reference count 'struct mac_learning".
		
Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit f3bc2a9fd955dc60ac711237ca3bf5cf7c6cdfae
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f3bc2a9fd955dc60ac711237ca3bf5cf7c6cdfae
Author: Ethan Jackson <ethan at nicira.com>
		
bond: Reference count 'struct bond'.
		
Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 1fcf496a91b90257423577cc959b780788f81950
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1fcf496a91b90257423577cc959b780788f81950
Author: Ethan Jackson <ethan at nicira.com>
		
lacp: Reference count 'struct lacp'.
		
Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 3ee059fa3917a7f9c3ea5d749c0f13675d350fa5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3ee059fa3917a7f9c3ea5d749c0f13675d350fa5
Author: Ethan Jackson <ethan at nicira.com>
		
bfd: Reference count 'struct bfd'.
		
Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit f8640745588fff7d791627c23d6bc332f5b44df3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f8640745588fff7d791627c23d6bc332f5b44df3
Author: Ethan Jackson <ethan at nicira.com>
		
cfm: Reference count 'struct cfm'.
		
Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 6d8c6a16ccad289c3ec1eb64c59ccd1af85db1d3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=6d8c6a16ccad289c3ec1eb64c59ccd1af85db1d3
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif: Modularize mirror code.
		
This code modularizes ofproto-dpif's mirror code by moving it to
ofproto-dpif-mirror.  Not only does this shorten ofproto-dpif and
hide complexity, but its also necessary for future patches which
modularize ofproto-dpif-xlate in preparation for multi-threading.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 2fac59a9312da1cc2537d117423dd7586e7b96ba
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2fac59a9312da1cc2537d117423dd7586e7b96ba
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif: Handle dest mirrors in compose_output_action().
		
Before this patch, the mirroring code would retroactively insert
actions for destination mirrors after actions were translated.
This relied on converting datapath output actions into ofports
which doesn't work for tunnels and patch ports.  This patch
refactors the code to handle destination mirrors at output.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


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

Summary of changes:
 include/openflow/openflow-common.h |    2 +-
 lib/bfd.c                          |   33 +-
 lib/bfd.h                          |    2 +
 lib/bond.c                         |   26 +-
 lib/bond.h                         |    3 +-
 lib/cfm.c                          |   21 +-
 lib/cfm.h                          |    3 +-
 lib/lacp.c                         |   27 +-
 lib/lacp.h                         |    3 +-
 lib/learning-switch.c              |    2 +-
 lib/mac-learning.c                 |   23 +-
 lib/mac-learning.h                 |    4 +-
 lib/netdev.c                       |    9 +-
 ofproto/automake.mk                |    2 +
 ofproto/connmgr.c                  |    8 +-
 ofproto/connmgr.h                  |    5 +-
 ofproto/ofproto-dpif-ipfix.c       |   22 +-
 ofproto/ofproto-dpif-ipfix.h       |    4 +-
 ofproto/ofproto-dpif-mirror.c      |  539 +++++++++++++++++++++
 ofproto/ofproto-dpif-mirror.h      |   52 ++
 ofproto/ofproto-dpif-sflow.c       |   22 +-
 ofproto/ofproto-dpif-sflow.h       |    4 +-
 ofproto/ofproto-dpif-xlate.c       |  927 +++++++++++++++++++++++++-----------
 ofproto/ofproto-dpif-xlate.h       |   30 ++
 ofproto/ofproto-dpif.c             |  591 +++++++++++------------
 ofproto/ofproto-dpif.h             |  191 +-------
 ofproto/tunnel.c                   |  105 ++--
 ofproto/tunnel.h                   |   17 +-
 tests/ofp-print.at                 |    2 +-
 tests/ofproto-dpif.at              |   66 ++-
 30 files changed, 1849 insertions(+), 896 deletions(-)
 create mode 100644 ofproto/ofproto-dpif-mirror.c
 create mode 100644 ofproto/ofproto-dpif-mirror.h


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list