ofproto-dpif: Factor NetFlow active timeouts out of flow expiration.
authorBen Pfaff <blp@nicira.com>
Wed, 23 Nov 2011 00:46:05 +0000 (16:46 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 23 Nov 2011 21:19:53 +0000 (13:19 -0800)
commit6fca1ffbff93d507336961602947b46320e0ef41
tree2592adea61430b5cedb8a08bc64fec59d00cc6fd
parenta70e4b2a0a8e0dead971c37872fb3c454908f2b6
ofproto-dpif: Factor NetFlow active timeouts out of flow expiration.

NetFlow active timeouts were only mixed in with flow expiration for
convenience: both processes need to iterate all the facets.  But
an upcoming commit will change flow expiration to work in terms of
a new "subfacet" entity, so they will no longer fit together well.

This change could be seen as an optimization, since NetFlow active
timeouts don't ordinarily have to run as often as flow expiration,
especially when the flow expiration rate is stepped up due to a
large volume of flows.
ofproto/netflow.c
ofproto/netflow.h
ofproto/ofproto-dpif.c