[ovs-git] Open vSwitch: flow: Better abstract flow_wildcards and use it more widely. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Nov 8 18:47:38 UTC 2010


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  b63f2ea79417e93390eaa86f68e546242e15a9ec (commit)
       via  39b727382adbfc3fa983edd491fd345fe642a540 (commit)
       via  81c9dad242f14fd9e25cd66d162d0b90a0b68806 (commit)
       via  64420dfac5b1e350867da0949af5f193d9b6ca8c (commit)
       via  cf3fad8a1b633c7c4231edda04b0e56e67df0d91 (commit)
       via  3052b0c5e566564fc1768af33292c0acf2ed61a0 (commit)
       via  52ce26ee3b13496f65132996120e59ec29ab64c2 (commit)
      from  27d34fce499f0f6b904fd27e84e81ecd44d67cfd (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 b63f2ea79417e93390eaa86f68e546242e15a9ec
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b63f2ea79417e93390eaa86f68e546242e15a9ec
Author: Ben Pfaff <blp at nicira.com>
		
flow: Better abstract flow_wildcards and use it more widely.
		


commit 39b727382adbfc3fa983edd491fd345fe642a540
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=39b727382adbfc3fa983edd491fd345fe642a540
Author: Ben Pfaff <blp at nicira.com>
		
nicira-ext: Shuffle comments around.
		
It seemed to me that the descriptions of what actions do should be just
above the action structures, where the reader can see the arguments,
instead of just above the enumeration name, so I rearranged the code
this way.

A few actions didn't have their own structures, so to do this I had to give
them some.


commit 81c9dad242f14fd9e25cd66d162d0b90a0b68806
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=81c9dad242f14fd9e25cd66d162d0b90a0b68806
Author: Ben Pfaff <blp at nicira.com>
		
classifier: Add more cls_rule_set_*() functions.
		
These will be handy later but are not used yet.


commit 64420dfac5b1e350867da0949af5f193d9b6ca8c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=64420dfac5b1e350867da0949af5f193d9b6ca8c
Author: Ben Pfaff <blp at nicira.com>
		
classifier: Move in-band set_<field>() functions publicly available.
		
These will be useful elsewhere later.


commit cf3fad8a1b633c7c4231edda04b0e56e67df0d91
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=cf3fad8a1b633c7c4231edda04b0e56e67df0d91
Author: Ben Pfaff <blp at nicira.com>
		
ofproto: Change ofproto_add_flow(), ofproto_delete_flow() to take cls_rule.
		
This is a small cleanup that will make later changes to wildcards easier.


commit 3052b0c5e566564fc1768af33292c0acf2ed61a0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3052b0c5e566564fc1768af33292c0acf2ed61a0
Author: Ben Pfaff <blp at nicira.com>
		
ofproto: Refactor handle_flow_mod().
		
This breaks this OpenFlow handler into two parts, one responsible
for parsing and constructing OpenFlow messages and one that works
with the flow table.  The latter will be reused in a later commit
that implements the Nicira Extended Match flexible flow match
extension.


commit 52ce26ee3b13496f65132996120e59ec29ab64c2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=52ce26ee3b13496f65132996120e59ec29ab64c2
Author: Ben Pfaff <blp at nicira.com>
		
Rename cls_rule_zero_wildcards() to cls_rule_zero_wildcarded_fields().
		
Justin said that he found the shorter name confusing.


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

Summary of changes:
 include/openflow/nicira-ext.h |  132 +++++++++++++---------
 lib/classifier.c              |  229 +++++++++++++++++++++++++++++++++++---
 lib/classifier.h              |   34 +++++-
 lib/flow.c                    |   19 ++--
 lib/flow.h                    |    3 +-
 lib/ofp-util.c                |   38 ++++++
 lib/ofp-util.h                |    3 +
 ofproto/fail-open.c           |   15 ++-
 ofproto/in-band.c             |  176 ++++++++---------------------
 ofproto/ofproto.c             |  250 +++++++++++++++++++++--------------------
 ofproto/ofproto.h             |    7 +-
 tests/test-classifier.c       |    6 +-
 vswitchd/bridge.c             |    7 +-
 13 files changed, 567 insertions(+), 352 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list