ofproto: Accurate flow counts.
authorJarno Rajahalme <jrajahalme@nicira.com>
Thu, 11 Jun 2015 22:53:43 +0000 (15:53 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Thu, 11 Jun 2015 22:53:43 +0000 (15:53 -0700)
commitd79e3d701072f0c6b2f7b28e39b291eb12390997
tree6241385039cee920f33e75fe9be514f5e3601234
parent39c9459355b6f010aa73ca80ad8d0e6893ef0a88
ofproto: Accurate flow counts.

Classifier's rule count now contains temporary duplicates and rules
whose deletion has been deferred.  Maintain a new 'n_flows' count in
struct oftable to as the count of rules in the latest version.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/connmgr.c
ofproto/ofproto-provider.h
ofproto/ofproto.c