As a matter of convenience, this patch refreshes the statistics
when ovs-appctl dpif/dump-flows is called. Hopefully this will
prevent users from being confused because statistics they were
expecting to see haven't made it from the datapath into the switch
yet.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
return;
}
+ update_stats(ofproto->backer);
+
HMAP_FOR_EACH (subfacet, hmap_node, &ofproto->subfacets) {
struct odputil_keybuf keybuf;
struct ofpbuf key;