[ovs-dev] [PATCH v13 1/4] ofproto-dpif: Add 'force-miss-model' configuration

Ben Pfaff blp at nicira.com
Mon Jun 24 19:37:16 UTC 2013


Usually we parse strings into enumerations in bridge.c.

On Fri, Jun 21, 2013 at 10:44:12AM +0900, Joe Stringer wrote:
> Sure. Is there a preference for where the string parsing code goes --
> ofproto.c or bridge.c? The configuration applies globally, but it seems
> that similar configuration is parsed in the bridge code.
> 
> 
> On Fri, Jun 21, 2013 at 12:57 AM, Ben Pfaff <blp at nicira.com> wrote:
> 
> > On Thu, Jun 20, 2013 at 09:47:38AM +0900, Simon Horman wrote:
> > > This adds support for specifying flow miss handling behaviour at
> > > runtime, through a new "other-config" option in the Open_vSwitch table.
> > > This is an extension to flow-eviction-threshold.
> > >
> > > By default, the behaviour is the same as before. If force-miss-model is
> > > set to 1, 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 2, 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).
> >
> > In the database, please use some meaningful names for these modes,
> > instead of integers.
> >
> > Thanks,
> >
> > Ben.
> > _______________________________________________
> > dev mailing list
> > dev at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/dev
> >



More information about the dev mailing list