[ovs-git] Open vSwitch: ofproto: Merge all the CFM query functions into one. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Mar 6 17:27:58 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, master has been updated
       via  9a9e3786b3a8065723887ab009aedb7f6d2667aa (commit)
      from  0f3f3c3db0a997ddb512bf9f0a9a1df7d5252f84 (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 9a9e3786b3a8065723887ab009aedb7f6d2667aa
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9a9e3786b3a8065723887ab009aedb7f6d2667aa
Author: Ben Pfaff <blp at nicira.com>
		
ofproto: Merge all the CFM query functions into one.
		
This eliminates several function calls and in particular several
hash table lookups to find structures corresponding to a port
number from iface_refresh_cfm_stats().

This does not seem to reduce CPU use, but the code is shorter
and more readable.

Bug #15171.
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


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

Summary of changes:
 ofproto/ofproto-dpif.c     |   44 ++++++----------------------
 ofproto/ofproto-provider.h |   47 ++++++-------------------------
 ofproto/ofproto.c          |   67 ++++++++-----------------------------------
 ofproto/ofproto.h          |   22 ++++++++++----
 vswitchd/bridge.c          |   59 +++++++++++++-------------------------
 5 files changed, 67 insertions(+), 172 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list