Re: [ovs-dev] [PATCH] ofproto-dpif: Don't count misses in OpenFlow table stats.

2013-05-29 Thread Jesse Gross
On Wed, May 29, 2013 at 6:20 AM, Ben Pfaff wrote: > On Fri, May 24, 2013 at 05:01:34PM -0700, Jesse Gross wrote: >> Originally no rule existed for packets that did not match an >> OpenFlow flow and therefore every packet with a rule could be >> counted as a hit. However, newer versions of OVS have

Re: [ovs-dev] [PATCH] ofproto-dpif: Don't count misses in OpenFlow table stats.

2013-05-28 Thread Ben Pfaff
On Fri, May 24, 2013 at 05:01:34PM -0700, Jesse Gross wrote: > Originally no rule existed for packets that did not match an > OpenFlow flow and therefore every packet with a rule could be > counted as a hit. However, newer versions of OVS have hidden > miss rules so this is no longer true. To retur

[ovs-dev] [PATCH] ofproto-dpif: Don't count misses in OpenFlow table stats.

2013-05-24 Thread Jesse Gross
Originally no rule existed for packets that did not match an OpenFlow flow and therefore every packet with a rule could be counted as a hit. However, newer versions of OVS have hidden miss rules so this is no longer true. To return the correct table stats, this subtracts packets that hit the miss r