[ovs-git] Open vSwitch: ofproto-dpif.at: Fix timing issue in show rates test. (branch-1.10)

dev at openvswitch.org dev at openvswitch.org
Mon Apr 1 21:47:47 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.10 has been updated
       via  7e844f8e5817fd71a4439e924658f882f748c5ef (commit)
       via  7d0b0ed7bf174312a1c1bdb05a29101d400b0fa4 (commit)
       via  c2c5cca2aff3d4324a3d84b24107675b9be6301d (commit)
      from  37419873b42963ff9da99b7f47cbde39f20f6184 (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 7e844f8e5817fd71a4439e924658f882f748c5ef
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=7e844f8e5817fd71a4439e924658f882f748c5ef
Author: Jarno Rajahalme <jarno.rajahalme at nsn.com>
		
ofproto-dpif.at: Fix timing issue in show rates test.
		
Fix a test failure due to timing differences in different test runs.

Signed-off-by: Jarno Rajahalme <jarno.rajahalme at nsn.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 7d0b0ed7bf174312a1c1bdb05a29101d400b0fa4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=7d0b0ed7bf174312a1c1bdb05a29101d400b0fa4
Author: Andy Zhou <azhou at nicira.com>
		
ofproto-dpif: Keep track of exact-match flow info
		
This patch adds more flow related stats to the output of
"ovs-appctl dpif/show".  Specifically, the follow information
are added per ofproto:

- Max flow table size
- Average flow table size
- Average flow table add rate
- Average flow table delete rate
- Average flow entry life in milliseconds

Feature #15366

Signed-off-by: Andy Zhou <azhou at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit c2c5cca2aff3d4324a3d84b24107675b9be6301d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c2c5cca2aff3d4324a3d84b24107675b9be6301d
Author: Andy Zhou <azhou at nicira.com>
		
ovs-appctl: dpif/show display per bridge stats
		
This is to fix the fallout of single datapath change.
ovs-appctl dpif/show displays per bridge miss, hit
and flow counts on the screen, but the backend is
obtaining those information from the datapath.
With a single datapath, all bridges of the same
datapath would all display the same  (global)
counters maintained by the datapath, obviously
not correct.

This patch fixes the bug by maintaining per ofproto_dpif
miss and hit counts, which are used for display output.
The number of flows count is obtained by counting the
number facets per ofproto.

ovs-dpctl show still displays the counters maintain by
the datapath, as before.

Bug #15369

Signed-off-by: Andy Zhou <azhou at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 ofproto/ofproto-dpif.c |  214 ++++++++++++++++++++++++++++++++++++++++++++++--
 tests/ofproto-dpif.at  |   58 +++++++++++--
 tests/tunnel.at        |   60 ++++++++------
 3 files changed, 290 insertions(+), 42 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list