Acked-by: Ethan Jackson <et...@nicira.com>
On Thu, Sep 11, 2014 at 3:03 PM, Joe Stringer <joestrin...@nicira.com> wrote: > The datapath max_idle value determines how long to wait before deleting > an idle datapath flow when operating below the flow_limit. This patch > increases the max_idle to 10 seconds, which allows datapath flows to be > remain cached even if they are used less consistently, and provides a > small improvement in the supported number of flows when operating around > the flow_limit. > > Signed-off-by: Joe Stringer <joestrin...@nicira.com> > --- > ofproto/ofproto.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h > index 1b8709a..d60b198 100644 > --- a/ofproto/ofproto.h > +++ b/ofproto/ofproto.h > @@ -267,7 +267,7 @@ int ofproto_port_dump_done(struct ofproto_port_dump *); > ) > > #define OFPROTO_FLOW_LIMIT_DEFAULT 200000 > -#define OFPROTO_MAX_IDLE_DEFAULT 1500 > +#define OFPROTO_MAX_IDLE_DEFAULT 10000 /* ms */ > > const char *ofproto_port_open_type(const char *datapath_type, > const char *port_type); > -- > 1.7.10.4 > _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev