[ovs-git] Open vSwitch: ofproto-dpif: Add 'force-miss-model' configuration (master)

dev at openvswitch.org dev at openvswitch.org
Wed Jun 26 15:34:02 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  7155fa52f0e585eb515ceebf3790d90554bbe18e (commit)
      from  7431e17196fdb1c3189d67e3aeed4adeab4cf479 (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 7155fa52f0e585eb515ceebf3790d90554bbe18e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=7155fa52f0e585eb515ceebf3790d90554bbe18e
Author: Joe Stringer <joe at wand.net.nz>
		
ofproto-dpif: Add 'force-miss-model' configuration
		
This adds support for specifying flow miss handling behaviour at
runtime, through a new "other-config" option in the Open_vSwitch table.
This takes precedence over flow-eviction-threshold.

By default, the behaviour is the same as before. If force-miss-model is
set to 'with-facets', then flow miss handling will always result in the
creation of new facets and flow-eviction-threshold will be ignored. If
force-miss-model is set to 'without-facets', then flow miss handling will never
result in the creation of new facets (effectively the same as setting the
flow-eviction-threshold to 0, which is not currently configurable).

We intend to use this configuration option in the testsuite to force
particular code paths to be used, allowing us to improve test coverage.

Signed-off-by: Joe Stringer <joe at wand.net.nz>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 ofproto/ofproto-dpif.c     |    9 +++++++++
 ofproto/ofproto-provider.h |    4 ++++
 ofproto/ofproto.c          |    8 ++++++++
 ofproto/ofproto.h          |    8 ++++++++
 vswitchd/bridge.c          |   23 +++++++++++++++++++++++
 vswitchd/vswitch.xml       |   22 ++++++++++++++++++++++
 6 files changed, 74 insertions(+)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list