Go to file
Raja Zidane 993677affe app/testpmd: fix GENEVE parsing in checksum mode
The csum FWD mode parses any received packet to set mbuf offloads for
the transmitting burst, mainly in the checksum/TSO areas.
In the case of a tunnel header, the csum FWD tries to detect known
tunnels by the standard definition using the header's data and fallback
to check the packet type in the mbuf to see if the Rx port driver
already sign the packet as a tunnel.
In the fallback case, the csum assumes the tunnel is VXLAN and parses
the tunnel as VXLAN.
When the GENEVE tunnel was added to the known tunnels in csum, its
parsing trial was wrongly located after the pkt type detection, causing
the csum to parse the GENEVE header as VXLAN when the Rx port set the
tunnel packet type.

Remove the fall back case to VXLAN.
Log error of unrecognized tunnel if no tunnel was parsed successfully.

Fixes: c10a026c3b ("app/testpmd: introduce vxlan parsing function in csum fwd engine")
Cc: stable@dpdk.org

Signed-off-by: Raja Zidane <rzidane@nvidia.com>
Acked-by: Aman Singh <aman.deep.singh@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2022-02-21 18:36:06 +01:00
.ci buildtools/chkincs: test headers for C++ compatibility 2022-02-12 14:26:21 +01:00
.github/workflows buildtools/chkincs: test headers for C++ compatibility 2022-02-12 14:26:21 +01:00
app app/testpmd: fix GENEVE parsing in checksum mode 2022-02-21 18:36:06 +01:00
buildtools buildtools/chkincs: check missing C++ guards 2022-02-22 15:26:15 +01:00
config sched: enable traffic class oversubscription unconditionally 2022-02-24 23:44:21 +01:00
devtools devtools: add IWYU script to remove unused includes 2022-02-22 13:10:39 +01:00
doc net/ark: support new devices 2022-02-16 00:48:06 +01:00
drivers common/mlx5: refactor devargs management 2022-02-21 11:36:56 +01:00
examples examples/vhost: remove DMA type option help info 2022-02-17 09:29:08 +01:00
kernel kni: fix ioctl signature 2022-02-02 20:55:05 +01:00
lib vhost: fix unsafe vring addresses modifications 2022-02-17 09:26:50 +01:00
license lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
usertools support systemd service convention for runtime directory 2022-02-09 19:12:40 +01:00
.editorconfig devtools: clarify that lines up to 100 characters are ok 2021-11-25 11:51:24 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add eventdev feature matrices 2021-11-26 16:29:25 +01:00
.travis.yml version: 22.03-rc0 2021-12-02 21:36:19 +01:00
ABI_VERSION version: 22.03-rc0 2021-12-02 21:36:19 +01:00
MAINTAINERS devtools: add IWYU script to remove unused includes 2022-02-22 13:10:39 +01:00
Makefile build: create dummy Makefile 2020-09-07 23:51:57 +02:00
meson_options.txt config: add option for atomic mbuf reference counting 2021-10-25 17:53:30 +02:00
meson.build build: remove deprecated Meson functions 2022-02-02 18:46:53 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 22.03-rc1 2022-02-14 00:11:35 +01:00

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-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 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