[ovs-git] Open vSwitch: nx-match: Separate raw match and header/pad pull/put (master)

dev at openvswitch.org dev at openvswitch.org
Mon Aug 6 18:14:14 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  7623f4ddb09b4393c64608446a89a3a82b6f6364 (commit)
       via  34b28fc7b666d5e58afbac842fe7987a35bc9467 (commit)
      from  2f446d104da073a3a8e092423a7ca4c29f51d6d0 (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 7623f4ddb09b4393c64608446a89a3a82b6f6364
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=7623f4ddb09b4393c64608446a89a3a82b6f6364
Author: Simon Horman <horms at verge.net.au>
		
nx-match: Separate raw match and header/pad pull/put
		
In the case of Open Flow 1.2, which is currently the only
time that OXM is be used, there is a 4 byte header before
the match which needs to be taken into account when calculating
the pad length. This complicates nx_match pull and put somewhat.

This patch takes an approach suggested by Ben Pfaff to separate the
encoding of the match and the adding of padding and, in the case of OXM,
a header.

Signed-off-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 34b28fc7b666d5e58afbac842fe7987a35bc9467
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=34b28fc7b666d5e58afbac842fe7987a35bc9467
Author: Simon Horman <horms at verge.net.au>
		
ofp-util: Set switch_features actions to zero for Open Flow 1.1+
		
As of Open Flow 1.1 what was the actions element of
struct switch_features becomes reserved. As such
it seems sensible to always decode it as zero.

Signed-off-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 lib/nx-match.c        |  221 +++++++++++++++++++++++++++++++++++++++++++-----
 lib/nx-match.h        |   14 +++-
 lib/ofp-util.c        |   76 ++---------------
 utilities/ovs-ofctl.c |   43 +++++++---
 4 files changed, 247 insertions(+), 107 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list