533e050a06
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> |
||
---|---|---|
app | ||
config | ||
doc | ||
drivers | ||
examples | ||
lib | ||
mk | ||
pkg | ||
scripts | ||
tools | ||
.gitignore | ||
GNUmakefile | ||
LICENSE.GPL | ||
LICENSE.LGPL | ||
MAINTAINERS | ||
Makefile | ||
README |
DPDK is a set of libraries and drivers for fast packet processing. It supports many processor architectures and both FreeBSD and Linux. The DPDK uses the Open Source BSD license for the core libraries and drivers. The kernel components are GPLv2 licensed. Please check the doc directory for release notes, API documentation, and sample application information. For questions and usage discussions, subscribe to: users@dpdk.org Report bugs and issues to the development mailing list: dev@dpdk.org