Go to file
Lior Margalit fa06906a48 net/mlx5: fix IPIP multi-tunnel validation
A flow rule must not include multiple tunnel layers.
An attempt to create such a rule, for example:
testpmd> flow create .../ vxlan / eth / ipv4 proto is 4 / end <actions>
results in an unclear error.

In the current implementation there is a check for
multiple IPIP tunnels, but not for combination of IPIP
and a different kind of tunnel, such as VXLAN. The fix
is to enhance the above check to use MLX5_FLOW_LAYER_TUNNEL
that consists of all the tunnel masks. The error message
will be "multiple tunnel not supported".

Fixes: 5e33bebdd8 ("net/mlx5: support IP-in-IP tunnel")
Cc: stable@dpdk.org

Signed-off-by: Lior Margalit <lmargalit@nvidia.com>
Acked-by: Ori Kam <orika@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-06-24 13:19:51 +02:00
.ci build: update minimum required Meson version 2021-04-16 18:51:51 +02:00
.github/workflows version: 21.08-rc0 2021-05-21 20:07:04 +02:00
app tests/eal: fix memory leak 2021-06-24 15:34:45 +02:00
buildtools buildtools: allow string constant padding 2021-06-17 18:44:30 +02:00
config config/arm: check SVE CPU flag 2021-06-23 09:32:39 +02:00
devtools devtools: fix file listing in maintainers check 2021-06-23 11:18:54 +02:00
doc doc: fix default burst size in testpmd 2021-06-17 09:47:25 +02:00
drivers net/mlx5: fix IPIP multi-tunnel validation 2021-06-24 13:19:51 +02:00
examples examples/l3fwd-power: fix empty poll thresholds 2021-05-19 08:41:20 +02:00
kernel kni: fix crash on userspace VA for segmented packets 2021-06-24 10:04:25 +02:00
lib rib: fix max depth IPv6 lookup 2021-06-24 15:34:45 +02:00
license lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
usertools usertools: add Intel DLB device binding 2021-05-19 11:49:48 +02:00
.editorconfig doc: add Meson coding style to contributors guide 2021-04-21 14:04:09 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add flow API features tables 2021-05-18 19:06:56 +02:00
.travis.yml version: 21.08-rc0 2021-05-21 20:07:04 +02:00
ABI_VERSION version: 21.08-rc0 2021-05-21 20:07:04 +02:00
MAINTAINERS devtools: check flow API doc tables 2021-05-18 19:06:56 +02:00
Makefile build: create dummy Makefile 2020-09-07 23:51:57 +02:00
meson_options.txt lib: allow disabling optional libraries 2021-04-21 14:17:29 +02:00
meson.build lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 21.08-rc0 2021-05-21 20:07:04 +02: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