diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2019-07-21 11:34:23 +0300 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2019-08-21 15:28:07 -0700 |
commit | e31ecf5885bdb578947296913177d10e9cb057d9 (patch) | |
tree | 43582c198d15c0a1776757ab712b0aeb5d4fe932 /ofproto/ofproto-provider.h | |
parent | 48983050227d38e25de035ca248cb61177073fa8 (diff) | |
download | openvswitch-e31ecf5885bdb578947296913177d10e9cb057d9.tar.gz |
upcall: Configure datapath min-revalidate-pps through ovs-vsctl.
This patch adds a new configuration option, "min-revalidate-pps" to the
Open_vSwitch "other-config" column. This sets minimum pps that flow must
have in order to be revalidated when revalidation duration exceeds half of
max-revalidator config variable.
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Acked-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ofproto/ofproto-provider.h')
-rw-r--r-- | ofproto/ofproto-provider.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ofproto/ofproto-provider.h b/ofproto/ofproto-provider.h index 92b384448..6cc454371 100644 --- a/ofproto/ofproto-provider.h +++ b/ofproto/ofproto-provider.h @@ -528,6 +528,10 @@ extern unsigned ofproto_max_idle; * Revalidator timeout is a minimum of max_idle and max_revalidator values. */ extern unsigned ofproto_max_revalidator; +/* Minimum pps that flow must have in order to be revalidated when revalidation + * duration exceeds half of max-revalidator config variable. */ +extern unsigned ofproto_min_revalidate_pps; + /* Number of upcall handler and revalidator threads. Only affects the * ofproto-dpif implementation. */ extern size_t n_handlers, n_revalidators; |