[ovs-git] Open vSwitch: nx-match: Add parsing and serialisation of OXM matches. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Jun 11 17:08:24 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  b5ae8913b20df772ee484902c7def3b42b3871f6 (commit)
      from  a9c34071edc8371b5a4d9eebf8256723ffe92df2 (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 b5ae8913b20df772ee484902c7def3b42b3871f6
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b5ae8913b20df772ee484902c7def3b42b3871f6
Author: Simon Horman <horms at verge.net.au>
		
nx-match: Add parsing and serialisation of OXM matches.
		
This code, which leverages the existing NXM implementation,
adds parsing and serialisation of OXM matches. Test cases
have also been provided.

This patch only implements parsing and serialisation of OXM fields that
are already handled by NXM.

It should be noted that in OXM ports are 32bit whereas in NXM they
are 16 bit. This has been handled as a special case as all other field
widths are the same in both OXM and NXM.

This patch does not address differences in wildcarding between OXM and NXM.
It is planned that liberal wildcarding policy dictated by either OXM or
NXM will be implemented.

This patch also does not address any (subtle?) differences between
OXM and NXM treatment of specific fields. It is envisages that his
can be handled by subsequent patches.

Signed-off-by: Simon Horman <horms at verge.net.au>
[blp at nicira.com adjusted style, added a comment, changed in_port special
 case, enabled NXM extensions to OXM]
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 include/openflow/openflow-1.2.h |    2 +
 lib/meta-flow.c                 |   67 +++++++---
 lib/nx-match.c                  |  140 +++++++++++++-------
 lib/nx-match.h                  |    2 +-
 lib/ofp-util.c                  |   13 +-
 tests/ovs-ofctl.at              |  279 +++++++++++++++++++++++++++++++++++++++
 utilities/ovs-ofctl.c           |   30 ++++-
 7 files changed, 456 insertions(+), 77 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list