[ovs-dev] [PATCH] ofproto-dpif: Simplify ofproto hit count tracking.

2013-05-30 Thread Ethan Jackson
Oops, that version broke the unit tests. This version is the exact same, except in update_subfacet_stats() we add 'diff.n_packets' not 'stats->n_packets'. I considered this reviewed, and will merge shortly. --- ofproto/ofproto-dpif.c | 18 ++ 1 file changed, 2 insertions(+), 1

Re: [ovs-dev] [PATCH] ofproto-dpif: Simplify ofproto hit count tracking.

2013-05-30 Thread Ben Pfaff
On Thu, May 30, 2013 at 01:36:23PM -0700, Ethan Jackson wrote: > Signed-off-by: Ethan Jackson Looks good, thanks. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] [PATCH] ofproto-dpif: Simplify ofproto hit count tracking.

2013-05-30 Thread Ethan Jackson
Signed-off-by: Ethan Jackson --- ofproto/ofproto-dpif.c | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index ffd2399..6442ffd 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -658,8 +658,