[dpdk-dev] [PATCH] ixgbe: fix wrong packet type for VxLAN & NVGRE
Thomas Monjalon
thomas.monjalon at 6wind.com
Fri Apr 8 22:33:50 CEST 2016
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 at intel.com>
> Signed-off-by: Wenzhuo Lu <wenzhuo.lu at intel.com>
Applied, thanks
More information about the dev
mailing list