ofproto-dpif: Systematically push stats upon request.
authorEthan Jackson <ethan@nicira.com>
Sat, 30 Mar 2013 22:13:00 +0000 (15:13 -0700)
committerEthan Jackson <ethan@nicira.com>
Mon, 1 Apr 2013 22:59:10 +0000 (15:59 -0700)
commit8844e035421b9f2bf15edb1513146d865c5886d5
tree8ccfd1a3480b0e6223cc84f8820208f19ea8bb80
parentc86073a000bece35808c572a3f9313c44097aa1c
ofproto-dpif: Systematically push stats upon request.

Commit bf1e8ff (ofproto-dpif: Push statistics in rule_get_stats()),
started down the road towards pushing stats on demand, but it
didn't go quite far enough.  First, it neglected to push stats in
port_get_stats() and mirror_get_stats().  Second, it only pushes
stats for a single ofproto, making it incomplete when patch ports
are used.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif.c