[ovs-git] Open vSwitch: ofproto-dpif: Add coverage counters for facet revalidation. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Jun 21 15:34:47 UTC 2012


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, master has been updated
       via  3c4a309c65ac2719f837f99a9131990a5575b854 (commit)
       via  bf34aac6750dc942059e9c82c4d2d2609727877a (commit)
       via  ab985a77bb51dcb8d8764e2d4d8d695d2eee364d (commit)
       via  a5b8d26890fbb7fa9c0fc3464f840c30fbe800bc (commit)
       via  648f4f1fe4ee22cf9d5e9dc0eb9b53a40f9035db (commit)
       via  8d2835d8c9fde763d3dd9790f38eac0595d5024a (commit)
       via  68941e3f99fb5a3e1ef7f7b7b700b252c1f4d82f (commit)
      from  98f61d42eb78c49ad423fb9de5dc323a4e0c1b59 (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 3c4a309c65ac2719f837f99a9131990a5575b854
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3c4a309c65ac2719f837f99a9131990a5575b854
Author: Ben Pfaff <blp at nicira.com>
		
ofproto-dpif: Add coverage counters for facet revalidation.
		
Revalidation can be very expensive, so may be useful for performance
monitoring to keep track of how often it is necessary and for what reasons.

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


commit bf34aac6750dc942059e9c82c4d2d2609727877a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bf34aac6750dc942059e9c82c4d2d2609727877a
Author: Ben Pfaff <blp at nicira.com>
		
ofproto-dpif: Remove unused coverage counters.
		
Nothing ever increments these.

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


commit ab985a77bb51dcb8d8764e2d4d8d695d2eee364d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ab985a77bb51dcb8d8764e2d4d8d695d2eee364d
Author: Ben Pfaff <blp at nicira.com>
		
netdev-linux: Break ethtool coverage counter into "get" and "set" versions.
		
Reads and writes have difference performance implications so it's better to
separate them.

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


commit a5b8d26890fbb7fa9c0fc3464f840c30fbe800bc
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a5b8d26890fbb7fa9c0fc3464f840c30fbe800bc
Author: Ben Pfaff <blp at nicira.com>
		
ofproto: Periodically log a summary of flow table changes.
		
We expect this to occasionally be useful for debugging.

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


commit 648f4f1fe4ee22cf9d5e9dc0eb9b53a40f9035db
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=648f4f1fe4ee22cf9d5e9dc0eb9b53a40f9035db
Author: Ben Pfaff <blp at nicira.com>
		
token-bucket: New library for generic rate-limiting.
		
This commit converts two rate-limiters in the tree to use the library.
I intend to use the library elsewhere in the future.

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


commit 8d2835d8c9fde763d3dd9790f38eac0595d5024a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8d2835d8c9fde763d3dd9790f38eac0595d5024a
Author: Ben Pfaff <blp at nicira.com>
		
sat-math: Introduce macro version of SAT_MUL.
		
The macro version can be used in a constant expression, such as an
initializer for a variable with static lifetime.  (Otherwise, it's better
to use the function.)

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


commit 68941e3f99fb5a3e1ef7f7b7b700b252c1f4d82f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=68941e3f99fb5a3e1ef7f7b7b700b252c1f4d82f
Author: Ben Pfaff <blp at nicira.com>
		
pinsched: Completely fill the token bucket at initialization.
		
This code, which dates to August 2008, initially sets the packet-in
scheduler token buckets to 10% full, without any rationale.  I suspect
that this is just a typo for 100% full, which I think would be more
conventional, so this commit switches to that.

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


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

Summary of changes:
 lib/automake.mk            |    2 +
 lib/netdev-linux.c         |   12 +++++-
 lib/sat-math.h             |   12 +++--
 lib/token-bucket.c         |   96 ++++++++++++++++++++++++++++++++++++++++++++
 lib/token-bucket.h         |   42 +++++++++++++++++++
 lib/vlog.c                 |   25 +++---------
 lib/vlog.h                 |   35 ++++++----------
 ofproto/ofproto-dpif.c     |   96 ++++++++++++++++++++++++++++----------------
 ofproto/ofproto-provider.h |    6 +++
 ofproto/ofproto.c          |   79 +++++++++++++++++++++++++++++++++++-
 ofproto/pinsched.c         |   86 ++++++++++++++-------------------------
 11 files changed, 350 insertions(+), 141 deletions(-)
 create mode 100644 lib/token-bucket.c
 create mode 100644 lib/token-bucket.h


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list