X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fofproto-provider.h;fp=ofproto%2Fofproto-provider.h;h=d116451bd50dd27962106f019a080d31c605ae28;hb=72310b041cfa7d8e2ee5fb585348223ac7c22497;hp=2c72fbcf6a909d0a800d691c3f76156a4eedf418;hpb=1680d3d7e3813258f5050bb8cb10a2543c60e549;p=sliver-openvswitch.git diff --git a/ofproto/ofproto-provider.h b/ofproto/ofproto-provider.h index 2c72fbcf6..d116451bd 100644 --- a/ofproto/ofproto-provider.h +++ b/ofproto/ofproto-provider.h @@ -464,6 +464,11 @@ void rule_collection_destroy(struct rule_collection *); * ofproto-dpif implementation. */ extern unsigned ofproto_flow_limit; +/* Maximum idle time (in ms) for flows to be cached in the datapath. + * Revalidators may expire flows more quickly than the configured value based + * on system load and other factors. This variable is subject to change. */ +extern unsigned ofproto_max_idle; + /* Number of upcall handler and revalidator threads. Only affects the * ofproto-dpif implementation. */ extern size_t n_handlers, n_revalidators;