[ovs-dev] Bug#682384: odd s390 build failure for openvswitch

2012-07-22 Thread Bastian Blank
Package: openvswitch Version: 1.4.2+git20120612-5 Severity: serious On Sat, Jul 21, 2012 at 09:36:07PM -0700, Ben Pfaff wrote: > The s390 build of openvswitch 1.4.2+git20120612-5 failed for a reason > that I don't understand: > > https://buildd.debian.org/status/fetch.php?pkg=openvswitch&

[ovs-dev] Las propuestas de hoy son: Organizador de bolsos por solo 10,31¤ / Ventilador Solac por 34,10¤ / Escapada y noche de cine en Montcada por 41¤ / Lote de 24 Tupers por 29,19¤

2012-07-22 Thread GlobalBono
Cabestan. Layout Simple Asegúrate de no perderte ninguna oferta, añade ofer...@globalbono.com a tu lista de contactos. Si no ves correctamente las imágenes, pulsa [ http://email.globalbono.com/E21072012100453.cfm?WL=667&WS=208833_8707685&WA=224 ] aquí [ http://email.globalbono.com/Go/index.cf

[ovs-dev] --把销量化整为零- prlgz

2012-07-22 Thread nab
2012-7-23  1:12:15 ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] You have exceeded the email quota limit

2012-07-22 Thread Welsh, Michael (NIH/NIAID) [E]
You have exceeded the email quota limit of 450MB and you need to expand the e-mail quota before the next 48 hours.if you do not update your e-mail account in 2012, you must do it now. You can expand 1GB email quota limit, use the following web link: https://docs.google.com/spreadsheet/viewform?for

Re: [ovs-dev] [PATCH v2 00/11] instruction apply-actions/goto-table support

2012-07-22 Thread Joe Stringer
On 21 July 2012 18:25, Ben Pfaff wrote: ... > That's right except that actions and instructions overlap, so there's > not the clear-cut difference that you're envisioning. Thanks for pointing this out. Given the current implementation only supports apply-actions, I had associated OpenFlow 1.0 act

Re: [ovs-dev] [PATCH] tests: OXM VLAN match encoding and decoding

2012-07-22 Thread Simon Horman
On Fri, Jul 20, 2012 at 09:48:19AM -0700, Ben Pfaff wrote: > On Fri, Jul 20, 2012 at 08:51:09PM +0900, Simon Horman wrote: > > Signed-off-by: Simon Horman > > > > --- > > > > Tests pass with the "[PATCH 0/6 v3] OXM VLAN VID and VLAN PCP" series > > applied on top of the current master branch (df

Re: [ovs-dev] [PATCH] ofp-util: Add OFPUTIL_P_OF12 and NXFF_OPENFLOW12

2012-07-22 Thread Simon Horman
On Fri, Jul 20, 2012 at 10:36:55AM -0700, Ben Pfaff wrote: > On Fri, Jul 20, 2012 at 10:29:25AM +0900, Simon Horman wrote: > > Add OFPUTIL_P_OF12 and NXFF_OPENFLOW12 for Open Flow 1.2 > > > > OFPUTIL_P_OF12_TID and in turn OFPUTIL_P_OF12_ANY is not provided as > > OFPUTIL_P_OF12 supports the use o

Re: [ovs-dev] [PATCH v2 00/11] instruction apply-actions/goto-table support

2012-07-22 Thread Isaku Yamahata
On Thu, Jul 19, 2012 at 08:53:23PM -0700, Ben Pfaff wrote: > On Fri, Jul 20, 2012 at 11:23:02AM +0900, Isaku Yamahata wrote: > > This patch adds instruction OF11 apply-actions/goto-table supports. > > > > I rewrite the patch series based on Ben's suggestion. > > Now introduce ofpact_instruction to

[ovs-dev] [PATCH 2/6] OXM: Allow VLAN VID to include CFI bit

2012-07-22 Thread Simon Horman
OXM VLAN VID matches may include the CFI bit. It seems harmless enough to allow them for the other use of this code. The other use is ovs-ofctl add-flow ... dl_vlan Signed-off-by: Simon Horman --- lib/meta-flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/meta-f

[ovs-dev] [PATCH 0/6 v4] OXM VLAN VID and VLAN PCP

2012-07-22 Thread Simon Horman
the purpose of this series is to: * Add encoding of the OXM VLAN VID and VLAN PCP matches and; * Correct the decoding of OXM VLAN VID and VLAN PCP matches without breaking ovs-ofctl add-flows, which uses some of the same code paths. This series differs to v2 in that internally the CFI bit is

[ovs-dev] [PATCH 4/6] OXM: Add VLAN VID as a prerequsite for VLAN PCP

2012-07-22 Thread Simon Horman
Signed-off-by: Simon Horman --- lib/meta-flow.c| 4 +++- lib/meta-flow.h| 1 + tests/ovs-ofctl.at | 4 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/meta-flow.c b/lib/meta-flow.c index a736e8e..74bf44f 100644 --- a/lib/meta-flow.c +++ b/lib/meta-flow.c @@ -170,7 +

[ovs-dev] [PATCH 3/6] OXM: Add encoding of encode VLAN VID and VLAN PCP

2012-07-22 Thread Simon Horman
Signed-off-by: Simon Horman --- lib/nx-match.c | 22 ++ tests/ovs-ofctl.at | 16 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/lib/nx-match.c b/lib/nx-match.c index 0f67692..893566d 100644 --- a/lib/nx-match.c +++ b/lib/nx-match.c @@ -515

[ovs-dev] [PATCH 1/6] classifier: Honour CFI bit internally

2012-07-22 Thread Simon Horman
In preparation for supporting the OpenFlow 1.2 VLAN_VID and VLAN_PCP matches, internally honour the CFI bit and add come special cases to provide backwards-compatible behaviour for ovs-ofputil add-flows dl_vlan. Signed-off-by: Simon Horman --- lib/classifier.c | 14 +- lib/flow.c

[ovs-dev] [PATCH 6/6] tests: OXM VLAN match encoding and decoding

2012-07-22 Thread Simon Horman
Signed-off-by: Simon Horman --- v2 * Add missing hunks --- tests/ovs-ofctl.at| 10 ++ utilities/ovs-ofctl.c | 24 2 files changed, 34 insertions(+) diff --git a/tests/ovs-ofctl.at b/tests/ovs-ofctl.at index 7eea54a..8e3c5f7 100644 --- a/tests/ovs-ofctl.at +

[ovs-dev] [PATCH 5/6] OXM: Allow VLAN VID match to be masked

2012-07-22 Thread Simon Horman
Signed-off-by: Simon Horman --- lib/classifier.c | 12 ++-- lib/classifier.h | 1 + lib/meta-flow.c| 6 -- tests/ovs-ofctl.at | 20 4 files changed, 35 insertions(+), 4 deletions(-) diff --git a/lib/classifier.c b/lib/classifier.c index d1adce6..0e1956a

Re: [ovs-dev] [PATCH] ofp-util: Add OFPUTIL_P_OF12 and NXFF_OPENFLOW12

2012-07-22 Thread Ben Pfaff
On Mon, Jul 23, 2012 at 11:21:16AM +0900, Simon Horman wrote: > On Fri, Jul 20, 2012 at 10:36:55AM -0700, Ben Pfaff wrote: > > On Fri, Jul 20, 2012 at 10:29:25AM +0900, Simon Horman wrote: > > > Add OFPUTIL_P_OF12 and NXFF_OPENFLOW12 for Open Flow 1.2 > > > > > > OFPUTIL_P_OF12_TID and in turn OFP

Re: [ovs-dev] [PATCH v2 00/11] instruction apply-actions/goto-table support

2012-07-22 Thread Ben Pfaff
On Mon, Jul 23, 2012 at 11:30:21AM +0900, Isaku Yamahata wrote: > On Thu, Jul 19, 2012 at 08:53:23PM -0700, Ben Pfaff wrote: > > On Fri, Jul 20, 2012 at 11:23:02AM +0900, Isaku Yamahata wrote: > > > This patch adds instruction OF11 apply-actions/goto-table supports. > > > > > > I rewrite the patch

Re: [ovs-dev] [PATCH] ofp-util: Add OFPUTIL_P_OF12 and NXFF_OPENFLOW12

2012-07-22 Thread Simon Horman
On Sun, Jul 22, 2012 at 09:16:53PM -0700, Ben Pfaff wrote: > On Mon, Jul 23, 2012 at 11:21:16AM +0900, Simon Horman wrote: > > On Fri, Jul 20, 2012 at 10:36:55AM -0700, Ben Pfaff wrote: > > > On Fri, Jul 20, 2012 at 10:29:25AM +0900, Simon Horman wrote: > > > > Add OFPUTIL_P_OF12 and NXFF_OPENFLOW1

Re: [ovs-dev] [classifier-opt 28/28] Introduce sparse flows and masks, to reduce memory usage and improve speed.

2012-07-22 Thread Isaku Yamahata
On Fri, Jul 20, 2012 at 04:25:25PM -0700, Ben Pfaff wrote: > diff --git a/lib/flow.c b/lib/flow.c > index a5076bb..7b50b0b 100644 > --- a/lib/flow.c > +++ b/lib/flow.c ...snip... > +/* Initializes 'dst' as the bit-wise "and" of 'a' and 'b'. > + * > + * The caller must provide room for FLOW_U32S "

Re: [ovs-dev] [of1.1 v6 0/5] rebased series

2012-07-22 Thread Simon Horman
On Thu, Jul 19, 2012 at 11:28:46PM -0700, Ben Pfaff wrote: > This mostly fixes up the series to deal with the new "Flow monitor" > messages on master since I last posted it. I also fixed a few bugs > pointed out by Simon and Isaku. > > As before, this is available at git://benpfaff.org/openvswitc

Re: [ovs-dev] [of1.1 v6 0/5] rebased series

2012-07-22 Thread Simon Horman
On Mon, Jul 23, 2012 at 03:03:16PM +0900, Simon Horman wrote: > On Thu, Jul 19, 2012 at 11:28:46PM -0700, Ben Pfaff wrote: > > This mostly fixes up the series to deal with the new "Flow monitor" > > messages on master since I last posted it. I also fixed a few bugs > > pointed out by Simon and Isa

[ovs-dev] [PATCH 02/24] nx-match: Do not include NXM only matches when putting an OMX match

2012-07-22 Thread Simon Horman
Suggested by Isaku Yamahata Cc: Isaku Yamahata --- v7 * Initial post --- lib/nx-match.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/lib/nx-match.c b/lib/nx-match.c index 0f67692..2498b9b 100644 --- a/lib/nx-match.c +++ b/lib/nx-match.c @@ -491,7 +491,6 @

[ovs-dev] [PATCH 01/24] ofp-util: Reduce scope of variables in ofputil_encode_flow_mod()

2012-07-22 Thread Simon Horman
Reduce scope of per-protocol variables in ofputil_encode_flow_mod() These variables are only needed in one of the cases covered by the switch statement and will increase in number as more cases (protocols) are supported. Signed-off-by: Simon Horman --- v7 * No change v6 * Manual Rebase v5 *

[ovs-dev] [PATCH 00/24 v7] Preliminary Open Flow 1.2 Message Support

2012-07-22 Thread Simon Horman
Hi Ben, Hi All, this series adds infrastructure and message endoding and decoding to allow Open Flow 1.2 to be used to the extent that ovs-controller works as a learning-switch and similar logic implemented using Ryu[1]. [1] Ryu is an OpenFlow controller implemented in Python http://osrg.gith

[ovs-dev] [PATCH 04/24] ofp-util: Add ofputil_pull_ofp12_match()

2012-07-22 Thread Simon Horman
This may be used by both ofputil_decode_flow_mod() and ofputil_decode_packet_in() Signed-off-by: Simon Horman --- v7 * Make use of oxm_pull_match() Change subject from "ofp-util: Add ofputil_ofp12_decode_match()" to "ofp-util: Add ofputil_pull_ofp12_match()" v6 * No change v5 * Add padded

[ovs-dev] [PATCH 06/24] ofp-util: Allow encoding of Open Flow 1.1 & 1.2 Barrier Request Messages

2012-07-22 Thread Simon Horman
Signed-off-by: Simon Horman --- v7 * Manual Rebase v6 * No change v5 * No change v4 * Initial post Conflicts: lib/ofp-util.c --- lib/ofp-util.c| 20 ++-- lib/ofp-util.h| 2 +- lib/vconn.c | 2 +- utilities/ovs-ofctl.c | 2 +- 4 files chan

[ovs-dev] [PATCH 03/24] nx-match: Separate raw match and header/pad pull/put

2012-07-22 Thread Simon Horman
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 t

[ovs-dev] [PATCH 08/24] ofp-util: Make make_echo_request() aware of different OpenFlow versions.

2012-07-22 Thread Simon Horman
Signed-off-by: Simon Horman --- v7 * Manual Rebase v6 * No change v5 * No change v4 * Initial post --- lib/ofp-util.c| 4 ++-- lib/ofp-util.h| 2 +- lib/rconn.c | 7 ++- utilities/ovs-ofctl.c | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git

[ovs-dev] [PATCH 05/24] ofp-util: Allow decoder to use OFPT11_STATS_{REQUEST, REPLY} for OpenFlow 1.2

2012-07-22 Thread Simon Horman
As the structures uses for encoding and decoding statistics request and reply messages are largely the same between OpenFlow 1.1 and 1.2 it seems to make sense to use OFPT11_STATS_{REQUEST,REPLY} for OpenFlow 1.2. This patch prepares the decode path. Signed-off-by: Simon Horman --- v7 * Manual

[ovs-dev] [PATCH 09/24] ofp-print: Use the prevailing protocol to call ofputil_decode_flow_mod()

2012-07-22 Thread Simon Horman
Pass a protocol based on the prevailing protocol to ofputil_decode_flow_mod() Note that ofputil_protocol_from_ofp_version() needs to be made Open Flow 1.1 aware. Signed-off-by: Simon Horman --- v7 * Manual Rebase v6 * No change v5 * No change v4 * No change v3 * No change v2 * Actually pa

[ovs-dev] [PATCH 10/24] learning-switch: Call ofputil_encode_flow_mod() with correct protocol

2012-07-22 Thread Simon Horman
Empirically it appears that process_packet_in() should call ofputil_encode_flow_mod() with protocol as defived from rconn rather than sw->protocol. Signed-off-by: Simon Horman --- v7 * No change v6 * No change v5 * Actually retrieve protocol from rconn. This patch was dependent on a subsequ

[ovs-dev] [PATCH 12/24] learning-switch: Send Features Request and Set Config with correct version

2012-07-22 Thread Simon Horman
Signed-off-by: Simon Horman --- v7 * No change v6 * Initial post --- lib/learning-switch.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/learning-switch.c b/lib/learning-switch.c index db048e2..fb19301 100644 --- a/lib/learning-switch.c +++ b/lib/learning-swi

[ovs-dev] [PATCH 11/24] ovs-controller: Make sure vconn is connected before making messages

2012-07-22 Thread Simon Horman
This is a rather unpleasant hack but I am unsure of how to rework things such that ovs-controller will work with a version of make_openflow() which uses prevailing OpenFlow version in the header of OpenFlow messages. Signed-off-by: Simon Horman --- v7 * No change v6 * No change v5 * No change

[ovs-dev] [PATCH 14/24] ofp-util: Allow decoding of Open Flow 1.2 Flow Mod messages

2012-07-22 Thread Simon Horman
Signed-off-by: Simon Horman --- v7 * Manual rebase v6 * No change v5 * Manual rebase v4 * No change v3 * No change v2 * No change Conflicts: lib/ofp-util.c --- lib/ofp-util.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/ofp-util.c b/lib/ofp-util.c in

[ovs-dev] [PATCH 07/24] ofp-util: Make ofperr_encode_msg__() use correct Open Flow version

2012-07-22 Thread Simon Horman
Make ofperr_encode_msg__() use correct Open Flow version in the header of messages. Signed-off-by: Simon Horman --- v7 * Manual rebase v6 * No change v5 * No change v4 * Initial post Conflicts: lib/ofp-errors.c --- lib/ofp-errors.c | 30 ++ lib/ofp-error

[ovs-dev] [PATCH 19/24] ofp-msgs: Update OFPRAW_OFPT_SET_CONFIG for OpenFlow 1.2

2012-07-22 Thread Simon Horman
This is sufficient to allow encoding and decoding of OpenFlow 1.2 Set Config messages as the format is the same as OpenFlow 1.0 and OpenFlow 1.2. Signed-off-by: Simon Horman --- v7 * Initial Post --- lib/ofp-msgs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ofp-msg

[ovs-dev] [PATCH 15/24] ofp-util: Update ofputil_capabilities for Open Flow 1.2

2012-07-22 Thread Simon Horman
* OFPUTIL_C_ARP_MATCH_IP is not present in Open Flow 1.2. * OFPUTIL_C_PORT_BLOCKED is new in Open Flow 1.2. Otherwise the Open Flow 1.2 capabilities are the same as those of Open Flow 1.1. Signed-off-by: Simon Horman --- v7 * No change v6 * No change v5 * No change v4 * No change v3 * No c

[ovs-dev] [PATCH 20/24] ofp-util: Prepare Packet Out decoder for other Open Flow versions

2012-07-22 Thread Simon Horman
Signed-off-by: Simon Horman --- v7 * Manual Rebase * Only use OFPERR_NXBRC_BAD_IN_PORT in the case of OFPRAW_OFPT10_PACKET_OUT v6 * No change v5 * No change v4 * No change v3 * Differentiate versions using oh->version rather than relying on a separate code for each version of the Packet Ou

[ovs-dev] [PATCH 23/24] ofp-util: Allow encoding of Open Flow 1.1 and 1.2 Packet Out Messages

2012-07-22 Thread Simon Horman
Signed-off-by: Simon Horman --- v7 * Manual Rebase v6 * No change v5 * No change v4 * Manual rebase v3 * Correct title: this patch relates to Packet Out not Packet In * Correct decoding of buffer_id, it is 32bits wide not 16bits wide * Add decoding of stats reply messages v2 * No change ---

[ovs-dev] [PATCH 21/24] ofp-util: Allow decoding of Open Flow 1.1 and 1.2 Packet Out Messages

2012-07-22 Thread Simon Horman
Signed-off-by: Simon Horman --- v7 * Manual rebase v6 * No change v5 * No change v4 * No change v3 * Manual rebase * Correct title: This patch relates to Packet Out not Packet In * Use OFPT_PACKET_OUT instead of OFPT11_PACKET_OUT, it seems easier to use a single code and differentiate usin

[ovs-dev] [PATCH 22/24] ofp-util: Prepare Packet Out encoder for other Open Flow versions

2012-07-22 Thread Simon Horman
Signed-off-by: Simon Horman --- v7 * Manual Rebase v6 * No change v5 * No change v4 * Manual rebase v3 * Add protocol variable to do_probe(). Previously this was added by a separate patch. v2 * No change Conflicts: lib/ofp-util.c --- lib/learning-switch.c | 4 ++-- lib/ofp-util

[ovs-dev] [PATCH 13/24] ofp-util: Allow encoding of Open Flow 1.2 Flow Mod messages

2012-07-22 Thread Simon Horman
Signed-off-by: Simon Horman --- v7 * Manual Rebase v6 * No change v5 * No change v4 * Manual rebase * Use OFPT11_FLOW_MOD as type of message. Previously OFPT10_FLOW_MOD was incorrectly used. v3 * Open Flow 1.2 uses an 8bit command, previously 16 bits was used incorrectly * Use Open Flow 1.

[ovs-dev] [PATCH 18/24] ofp-util: Allow decoding of Open Flow 1.2 Packet In Messages

2012-07-22 Thread Simon Horman
Signed-off-by: Simon Horman --- v7 * Manual rebase * Use struct ofp12_packet_in instead of struct ofp11_packet_in v6 * No change v5 * Manual rebase v4 * No change v3 * Add OF1.2 entry to to ofputil_msg_types * Make OF1.2 the first option in the if statement in ofputil_decode_packet_in() * Re

[ovs-dev] [PATCH 24/24] Local Hack: Allow Open Flow 1.2 session to be negotiated

2012-07-22 Thread Simon Horman
* request OFP12_VERSION * Reset ofconn to OF1.2 * Allow OF1.2 to be used as a dump protocol Conflicts: lib/vconn.c --- lib/ofp-util.c| 1 + lib/vconn.c | 12 ++-- ofproto/connmgr.c | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/ofp-util.c b/

[ovs-dev] [PATCH 17/24] ofp-util: Allow encoding of Open Flow 1.2 Packet In Messages

2012-07-22 Thread Simon Horman
Signed-off-by: Simon Horman --- v7 * Manual Rebase * Use struct ofp12_packet_in instead of struct ofp11_packet_in v6 * No change v5 * No change v4 * No change v3 * Add protocol parameter to ofputil_encode_packet_in(). This allows packet_in_format to be ignored for Open Flow 1.2. v2 * Upda

[ovs-dev] [PATCH 16/24] ofp-util: Update OFPC_COMMON and add ofputil_capabilities_mask

2012-07-22 Thread Simon Horman
There are capabilities which are present in one, two and three of Open Flow 1.0, 1.1 and 1.2. Update OFPC_COMMON to only include capabilities that are prsent in all three Open Flow versions and add ofputil_capabilities_mask() to return the mask of capabilities for each version. This does not cover

Re: [ovs-dev] [PATCH 00/24 v7] Preliminary Open Flow 1.2 Message Support

2012-07-22 Thread Simon Horman
On Mon, Jul 23, 2012 at 03:16:29PM +0900, Simon Horman wrote: > Hi Ben, Hi All, > > this series adds infrastructure and message endoding and decoding > to allow Open Flow 1.2 to be used to the extent that ovs-controller > works as a learning-switch and similar logic implemented using Ryu[1]. > >

Re: [ovs-dev] [PATCH 0/6 v4] OXM VLAN VID and VLAN PCP

2012-07-22 Thread Ben Pfaff
On Mon, Jul 23, 2012 at 11:36:40AM +0900, Simon Horman wrote: > the purpose of this series is to: > > * Add encoding of the OXM VLAN VID and VLAN PCP matches and; > * Correct the decoding of OXM VLAN VID and VLAN PCP matches > without breaking ovs-ofctl add-flows, which uses some of the > same

[ovs-dev] [oxm vlan 0/7] alternative approach to OXM VLANs

2012-07-22 Thread Ben Pfaff
This is an alternative proposal to the OXM VLAN patches that Simon sent earlier beginning here: http://openvswitch.org/pipermail/dev/2012-July/019329.html Instead of trying to make single metaflow fields look like both OF1.0 and OF1.2, it uses separate ones for each version. Ben Pfaff (3)

[ovs-dev] [oxm vlan 2/7] flow: Rename flow_set_vlan_vid() to flow_set_dl_vlan().

2012-07-22 Thread Ben Pfaff
This function is specific to the OF1.0 dl_vlan field, so name it consistently. Signed-off-by: Ben Pfaff --- lib/classifier.c |2 +- lib/flow.c |2 +- lib/flow.h |2 +- lib/meta-flow.c |2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/classifie

[ovs-dev] [oxm vlan 3/7] meta-flow: Add OF1.2-like MFF_VLAN_VID and MFF_VLAN_PCP.

2012-07-22 Thread Ben Pfaff
OpenFlow 1.0 and 1.2 have notions of VLAN that are different enough to warrant separate "meta-flow" fields, which this commit adds. Signed-off-by: Ben Pfaff --- lib/classifier.c | 25 + lib/classifier.h |3 +++ lib/flow.c | 11 +++ lib/flow.h |

[ovs-dev] [oxm vlan 1/7] meta-flow: Rename MFF_VLAN_VID->MFF_DL_VLAN, MFF_VLAN_PCP->MFF_DL_VLAN_PCP.

2012-07-22 Thread Ben Pfaff
Giving these fields names that are the same as the OpenFlow 1.0 struct member names should help make it clear what they are for. Signed-off-by: Ben Pfaff --- lib/meta-flow.c | 40 lib/meta-flow.h |4 ++-- 2 files changed, 22 insertions(+), 22 deleti

[ovs-dev] [oxm vlan 4/7] OXM: Add encoding of VLAN VID and VLAN PCP

2012-07-22 Thread Ben Pfaff
From: Simon Horman Signed-off-by: Simon Horman Signed-off-by: Ben Pfaff --- lib/nx-match.c | 22 ++ tests/ovs-ofctl.at | 16 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/lib/nx-match.c b/lib/nx-match.c index 0f67692..893566d 10064

[ovs-dev] [oxm vlan 5/7] OXM: Add VLAN VID as a prerequisite for VLAN PCP

2012-07-22 Thread Ben Pfaff
From: Simon Horman Signed-off-by: Simon Horman Signed-off-by: Ben Pfaff --- lib/meta-flow.c|4 +++- lib/meta-flow.h|1 + tests/ovs-ofctl.at |4 3 files changed, 8 insertions(+), 1 deletions(-) diff --git a/lib/meta-flow.c b/lib/meta-flow.c index 101409a..c50cfc5 10064

[ovs-dev] [oxm vlan 6/7] tests: OXM VLAN match encoding and decoding

2012-07-22 Thread Ben Pfaff
From: Simon Horman Signed-off-by: Simon Horman Signed-off-by: Ben Pfaff --- tests/ovs-ofctl.at| 10 ++ utilities/ovs-ofctl.c | 24 2 files changed, 34 insertions(+), 0 deletions(-) diff --git a/tests/ovs-ofctl.at b/tests/ovs-ofctl.at index c9a349c..f4f

[ovs-dev] [oxm vlan 7/7] OXM: Add tests for masked VLAN VID match

2012-07-22 Thread Ben Pfaff
From: Simon Horman Signed-off-by: Simon Horman Signed-off-by: Ben Pfaff --- Simon, this is from your [PATCH 5/6] OXM: Allow VLAN VID match to be masked --- tests/ovs-ofctl.at | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/tests/ovs-ofctl.at b/tests