All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Wenzhuo Lu <wenzhuo.lu@intel.com>
Cc: dev@dpdk.org
Subject: Re: [PATCH] ixgbe: fix wrong packet type for VxLAN & NVGRE
Date: Fri, 08 Apr 2016 22:33:50 +0200	[thread overview]
Message-ID: <132741628.p6QkLo90Ee@xps13> (raw)
In-Reply-To: <1460103024-20369-1-git-send-email-wenzhuo.lu@intel.com>

2016-04-08 16:10, Wenzhuo Lu:
> VxLAN & NVGRE are supported by x550. As we know HW can parse
> the packet and tell SW the type info. For VxLAN & NVGRE packets
> there's some change. HW will not tell SW the info of the outer
> header but the inner header instead. But we always take the
> info as it's for the outer header. So the packet type info is
> not right when x550 receives VxLAN & NVGRE packets.
> 
> As x550 only supports IPv4 VxLAN & NVGRE packets, we can tell
> the outer header of VxLAN is IPv4 + UDP, and the outer header
> of NVGRE is IPv4 only. What we don't know is if there's
> optional field in the outer IPv4 header.
> 
> This patch implement the support of packet type for VxLAN &
> NVGRE. And it fixes the wrong packet type issue either.
> 
> BTW:
> It doesn't fix any existing commit as although it resolve an
> issue it's more like a new feature but not a fix.
> 
> Reported-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
> Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>

Applied, thanks

      reply	other threads:[~2016-04-08 20:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-08  8:10 [PATCH] ixgbe: fix wrong packet type for VxLAN & NVGRE Wenzhuo Lu
2016-04-08 20:33 ` Thomas Monjalon [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=132741628.p6QkLo90Ee@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=dev@dpdk.org \
    --cc=wenzhuo.lu@intel.com \
    /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.