[ovs-git] Open vSwitch: ofproto-dpif: Use megaflows. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Jun 21 00:13:49 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  d445cc16a5ca451bc06a195825153bab87f2e07e (commit)
       via  61fb711d271dd34b9dab967c7ba5700483cf568a (commit)
       via  9b1a48c210ffa95c6323d5db05958aba35802c49 (commit)
       via  661cbcd54f0030e9f2c9b27b652b987ae5e8aa18 (commit)
      from  b21e5b6adaf6f875982053c6de26d7eef99a426b (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 d445cc16a5ca451bc06a195825153bab87f2e07e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d445cc16a5ca451bc06a195825153bab87f2e07e
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto-dpif: Use megaflows.
		
The commit configures the masks generated from megaflows and pushes
them through the dpif layer.

With this commit and a wildcard supporting OVS kernel module,
ovs-vswitchd's flow setup rate is very close to that of the Linux
bridge.

Signed-off-by: Justin Pettit <jpettit at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


commit 61fb711d271dd34b9dab967c7ba5700483cf568a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=61fb711d271dd34b9dab967c7ba5700483cf568a
Author: Justin Pettit <jpettit at nicira.com>
		
dpif: Log flow masks for "put" and "dump_next".
		
When debugging the system, it's useful to not just see the key but
also the mask.

Signed-off-by: Justin Pettit <jpettit at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


commit 9b1a48c210ffa95c6323d5db05958aba35802c49
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9b1a48c210ffa95c6323d5db05958aba35802c49
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto-dpif: Handle failed flow 'put's.
		
If a flow cannot be installed in the datapath, we should notice
this and not treat it as installed.  This becomes an issue with
megaflows, since a batch of unique flows may come in that generate
a single new datapath megaflow that covers them.  Since userspace
doesn't know whether the datapath supports megaflows, each unique
flow will get a separate flow entry (which overlap when masks are
applied) and all except the first will get rejected by a megaflow-
supporting datapath as duplicates.

Signed-off-by: Justin Pettit <jpettit at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


commit 661cbcd54f0030e9f2c9b27b652b987ae5e8aa18
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=661cbcd54f0030e9f2c9b27b652b987ae5e8aa18
Author: Justin Pettit <jpettit at nicira.com>
		
odp-util: Introduce odp_flow_key_from_mask().
		
Add a new function for converting a mask into a set of
OVS_KEY_ATTR* attributes.  This will be useful in a future commit.

Signed-off-by: Justin Pettit <jpettit at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 NEWS                   |    4 ++
 PORTING                |   32 ++++++-----
 lib/dpif.c             |   22 +++++---
 lib/odp-util.c         |  139 +++++++++++++++++++++++++++++++-----------------
 lib/odp-util.h         |    2 +
 ofproto/ofproto-dpif.c |   52 ++++++++++++++----
 6 files changed, 175 insertions(+), 76 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list