[ovs-git] Open vSwitch: ofproto-dpif: Do not give stats to rules bypassed by "drop" frag policy. (branch-1.11)

dev at openvswitch.org dev at openvswitch.org
Wed Jun 5 17:36:30 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-1.11 has been updated
       via  7d3ad71e72eeffb9216fe1bfdaa504eb0e2e66e9 (commit)
       via  6d164b21fa3d72e03bede3bdfe3b673f8fe8bdd0 (commit)
      from  5f418ef78e587ff988f08f573ba3b0d909d5b6d4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7d3ad71e72eeffb9216fe1bfdaa504eb0e2e66e9
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=7d3ad71e72eeffb9216fe1bfdaa504eb0e2e66e9
Author: Ben Pfaff <blp at nicira.com>
		
ofproto-dpif: Do not give stats to rules bypassed by "drop" frag policy.
		
When the OFPC_FRAG_DROP policy is in effect, IP fragments are supposed to
be dropped before they reach the flow table.  Open vSwitch properly dropped
IP fragments in this case, but still accounted them to the packet and byte
counters for the flow that they would have hit if the OFPC_FRAG_NX_MATCh
policy had been in effect.

Reported-by: love you <thunder.love07 at gmail.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


commit 6d164b21fa3d72e03bede3bdfe3b673f8fe8bdd0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=6d164b21fa3d72e03bede3bdfe3b673f8fe8bdd0
Author: Jesse Gross <jesse at nicira.com>
		
ofproto-dpif: Don't count misses in OpenFlow table stats.
		
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 rule
from the total and removes the separate counter.

Reported-by: love you <thunder.love07 at gmail.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 ofproto/ofproto-dpif.c |   38 +++++++++++++++++++++++++-------------
 tests/ofproto-dpif.at  |    9 +++++++--
 2 files changed, 32 insertions(+), 15 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list