From: Simon Horman <horms@verge.net.au>
To: Jesse Gross <jesse@nicira.com>
Cc: "dev@openvswitch.org" <dev@openvswitch.org>,
netdev <netdev@vger.kernel.org>, Ravi K <rkerur@gmail.com>,
Joe Stringer <joe@wand.net.nz>, Thomas Graf <tgraf@suug.ch>
Subject: Re: [PATCH v2.62] datapath: Add basic MPLS support to kernel
Date: Sun, 29 Jun 2014 09:02:15 +0900 [thread overview]
Message-ID: <20140629000215.GC9487@verge.net.au> (raw)
In-Reply-To: <CAEP_g=8vbFvHRrKwCKBGxJZBhxnZDoE8f+eDOq3Z1JNo_U_H9w@mail.gmail.com>
On Sat, Jun 28, 2014 at 08:59:01AM -0700, Jesse Gross wrote:
> On Fri, Jun 27, 2014 at 5:55 PM, Simon Horman <horms@verge.net.au> wrote:
> > On Wed, Jun 25, 2014 at 10:51:52AM +0900, Simon Horman wrote:
> >> On Tue, Jun 24, 2014 at 04:24:37PM -0700, Jesse Gross wrote:
> >> > * Maybe you can refresh my memory - in the case of a push_mpls after
> >> > pop_vlan, why can't we do this check correctly for at least one level
> >> > of vlan? It seems like we could use the inner EtherType to tell
> >> > whether an additional vlan tag is present.
> >>
> >> That seems likely. I'll do some analysis and get back to you.
> >
> > I may be missing something but it seems to me that in
> > ovs_nla_copy_actions__() we have access to the outer EtherType and
> > VLAN TCI but not the inner EtherType.
> >
> > It seems to me that the inner EtherType would need to be present
> > in the key for it to be available in ovs_nla_copy_actions__().
>
> The inner EtherType (first level) is actually what is stored in
> eth.type in the flow. When eth.tci is set it is assumed that the outer
> EtherType is 0x8100 and that isn't stored.
Yes, of course. Sorry for missing that.
prev parent reply other threads:[~2014-06-29 0:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-24 11:56 [PATCH v2.62] datapath: Add basic MPLS support to kernel Simon Horman
2014-06-24 23:24 ` Jesse Gross
[not found] ` <CAEP_g=9yYqKy-=aiTi3=3cZNOombBgkjHdzLdRzYVVKyJCHqcQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-25 0:11 ` David Miller
2014-06-25 1:51 ` Simon Horman
2014-06-28 0:55 ` Simon Horman
2014-06-28 15:59 ` Jesse Gross
2014-06-29 0:02 ` Simon Horman [this message]
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=20140629000215.GC9487@verge.net.au \
--to=horms@verge.net.au \
--cc=dev@openvswitch.org \
--cc=jesse@nicira.com \
--cc=joe@wand.net.nz \
--cc=netdev@vger.kernel.org \
--cc=rkerur@gmail.com \
--cc=tgraf@suug.ch \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).