From: Ben Pfaff <blp@nicira.com>
To: Simon Horman <horms@verge.net.au>
Cc: dev@openvswitch.org, netdev@vger.kernel.org,
Jesse Gross <jesse@nicira.com>,
Pravin B Shelar <pshelar@nicira.com>, Ravi K <rkerur@gmail.com>,
Isaku Yamahata <yamahata@valinux.co.jp>,
Joe Stringer <joe@wand.net.nz>
Subject: Re: [PATCH v2.44 2/5] ofp-actions: Add separate OpenFlow 1.3 action parser
Date: Mon, 21 Oct 2013 13:19:45 -0700 [thread overview]
Message-ID: <20131021201945.GC15986@nicira.com> (raw)
In-Reply-To: <1381972511-27221-3-git-send-email-horms@verge.net.au>
On Thu, Oct 17, 2013 at 10:15:08AM +0900, Simon Horman wrote:
> From: Joe Stringer <joe@wand.net.nz>
>
> This patch adds new ofpact_from_openflow13() and
> ofpacts_from_openflow13() functions parallel to the existing ofpact
> handling code. In the OpenFlow 1.3 version, push_mpls is handled
> differently, but all other actions are handled by the existing code.
>
> In the case of push_mpls for OpenFlow 1.3 the new mpls_before_vlan field of
> struct ofpact_push_mpls is set to true. This will be used by a subsequent
> patch to allow allow the correct VLAN+MPLS datapath behaviour to be
> determined at odp translation time.
>
> enum ofpact_mpls_position contributed by Ben Pfaff.
>
> Signed-off-by: Joe Stringer <joe@wand.net.nz>
> Signed-off-by: Simon Horman <horms@verge.net.au>
I applied this commit to master, but I changed the commit message to:
>From a7a2d006baae4152d338bd0bb4de1687084b1b07 Mon Sep 17 00:00:00 2001
From: Joe Stringer <joe@wand.net.nz>
Date: Thu, 17 Oct 2013 10:15:08 +0900
Subject: [PATCH] ofp-actions: Distinguish OF1.1/1.2 push_mpls from OF1.3+.
In OpenFlow 1.1 and 1.2, the push_mpls action pushes the MPLS label after
any existing VLAN tag. In OpenFlow 1.3, it pushes the label before any
existing VLAN tag. Until now, the action parser didn't distinguish these
cases. This commit adds support. Nothing yet actually changes the
behavior of push_mpls.
enum ofpact_mpls_position contributed by Ben Pfaff.
Signed-off-by: Joe Stringer <joe@wand.net.nz>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
next prev parent reply other threads:[~2013-10-21 20:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-17 1:15 [PATCH v2.44 0/5] MPLS actions and matches Simon Horman
2013-10-17 1:15 ` [PATCH v2.44 1/5] odp: Allow VLAN actions after MPLS actions Simon Horman
2013-10-21 20:41 ` Ben Pfaff
[not found] ` <20131021204102.GD15986-l0M0P4e3n4LQT0dZR+AlfA@public.gmane.org>
2013-10-22 18:30 ` Joe Stringer
2013-10-22 20:55 ` Ben Pfaff
2013-10-23 6:30 ` Simon Horman
2013-10-17 1:15 ` [PATCH v2.44 2/5] ofp-actions: Add separate OpenFlow 1.3 action parser Simon Horman
2013-10-21 20:19 ` Ben Pfaff [this message]
[not found] ` <1381972511-27221-1-git-send-email-horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
2013-10-17 1:15 ` [PATCH v2.44 3/5] lib: Support pushing of MPLS LSE before or after VLAN tag Simon Horman
2013-10-17 1:15 ` [PATCH v2.44 4/5] datapath: Break out deacceleration portion of vlan_push Simon Horman
2013-10-17 1:15 ` [PATCH v2.44 5/5] datapath: Add basic MPLS support to kernel Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131021201945.GC15986@nicira.com \
--to=blp@nicira.com \
--cc=dev@openvswitch.org \
--cc=horms@verge.net.au \
--cc=jesse@nicira.com \
--cc=joe@wand.net.nz \
--cc=netdev@vger.kernel.org \
--cc=pshelar@nicira.com \
--cc=rkerur@gmail.com \
--cc=yamahata@valinux.co.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.