[ovs-git] Open vSwitch: ofproto-dpif-xlate: Take responsibility for ofproto_receive(). (master)

dev at openvswitch.org dev at openvswitch.org
Mon Aug 5 19:56:27 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  8449c4d680d813fb55e30a0352b159662e0e111b (commit)
       via  5e6af486775002b1b04a7cf585ed26e7f1bac930 (commit)
       via  13501305f312282061e7d71aa0bdedb72a73eaf9 (commit)
       via  9fbe253e0864ea7cf694335ff1f0fa10b5c04f35 (commit)
       via  89a8a7f088b5d840b16437a7a94434fb1fda2869 (commit)
      from  041e71687a62cfaee80e72184def26322303ff8f (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 8449c4d680d813fb55e30a0352b159662e0e111b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8449c4d680d813fb55e30a0352b159662e0e111b
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif-xlate: Take responsibility for ofproto_receive().
		
ofproto_receive() is a slightly odd function which doesn't fit
perfectly in either ofproto-dpif or ofproto-dpif-xlate.  However, it's
much easier to reason about its thread safety in ofproto-dpif-xlate,
so this patch moves it there and renames it xlate_receive().

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


commit 5e6af486775002b1b04a7cf585ed26e7f1bac930
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5e6af486775002b1b04a7cf585ed26e7f1bac930
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif-xlate: Cleanup lookup functions.
		
This patch allows the lookup functions to take NULL as an argument as
a convenience.

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


commit 13501305f312282061e7d71aa0bdedb72a73eaf9
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=13501305f312282061e7d71aa0bdedb72a73eaf9
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif: Make vlan splinters thread safe.
		
Signed-off-by: Ethan Jackson <ethan at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


commit 9fbe253e0864ea7cf694335ff1f0fa10b5c04f35
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9fbe253e0864ea7cf694335ff1f0fa10b5c04f35
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif: Guard rule statistics with a mutex.
		
Signed-off-by: Ethan Jackson <ethan at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


commit 89a8a7f088b5d840b16437a7a94434fb1fda2869
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=89a8a7f088b5d840b16437a7a94434fb1fda2869
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif-xlate: Maintain a pointer to struct dpif.
		
This allows us to move some minor functionality from ofproto-dpif to
ofproto-dpif-xlate, where it's easier to ensure it's thread safe.

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


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

Summary of changes:
 ofproto/ofproto-dpif-xlate.c |  136 +++++++++++++++++++---
 ofproto/ofproto-dpif-xlate.h |   16 ++-
 ofproto/ofproto-dpif.c       |  262 ++++++++++++++++--------------------------
 ofproto/ofproto-dpif.h       |   18 ++-
 4 files changed, 240 insertions(+), 192 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list