Thanks, merged. On Fri, Feb 18, 2011 at 11:18 AM, Ben Pfaff <[email protected]> wrote: > On Fri, Feb 18, 2011 at 11:15:10AM -0800, Ethan Jackson wrote: >> > I have one question, though. ?It looks like flow_push_stats() only >> > affects the rules that get resubmitted into, not the initial rule. ?Is >> > that correct? ?Is there something else that adds stats to the initial >> > rule? ?I might just be missing it in the diff; I didn't try to apply >> > this and look at the resulting file this time. >> >> The initial rule doesn't have it's statistics counters updated >> intentionally. Each facet has a packet_count and an rs_packet_count. >> The difference between these two values are pushed to all the children >> rules and rs_packet_count is updated. The facet packet_count is >> updated as part of ofproto_update_stats and will be included in >> rule_get_stats(). > > Gotcha. Then it all makes sense. Thanks, please push this when you > feel confident in it. >
_______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev_openvswitch.org
