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 23:01:26 +0000 (16:01 -0700)
commit9eb0b058ce080da913900cece35e0ce2d1bb35b5
tree45f6c24bf22953188c8be68dba0ea3b2d58e3e18
parent7e844f8e5817fd71a4439e924658f882f748c5ef
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