numam-dpdk/drivers
Matan Azrad 06387be8ea net/mlx5: fix encap/decap validation
The encapsulation and decapsulation actions are divided into 2 types:
L2 and L3.
In order to configure L3 xcapsulation actions the user should use both
RAW_DECAP and RAW_ENCAP and setting the appropriated data sizes in
their action configuration structures.

The PMD flow validation wrongly didn't detect the RAW_DECAP
and RAW_ENCAP combination to distinguish between L3_DECAP and L3_ENCAP.
Thus, some xcapsulation related validation failed.
For example, when configuring modify header action before L3_DECAP.

Simplify the xcapsulation defines and fix the L3 xcapsulation detection
using the action configuration data sizes.

By the way, add the hairpin validation in this area.

Fixes: d85c7b5ea5 ("net/mlx5: split hairpin flows")
Fixes: 8ba9eee4ce ("net/mlx5: add raw data encap/decap to Direct Verbs")
Cc: stable@dpdk.org

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Ori Kam <orika@mellanox.com>
2020-02-14 12:42:12 +01:00
..
baseband build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
bus crypto/dpaa_sec: fix IOVA conversions 2020-02-05 15:20:51 +01:00
common common/mlx5: fix ABI version 2020-02-12 09:26:43 +01:00
compress crypto/qat: add minimum enqueue threshold 2020-01-15 16:45:04 +01:00
crypto drivers/crypto: fix session-less mode 2020-02-13 12:41:21 +01:00
event mk: ignore missing field initializers warning 2020-02-06 09:09:37 +01:00
mempool mempool/octeontx: fix error handling in initialization 2020-01-17 19:46:26 +01:00
net net/mlx5: fix encap/decap validation 2020-02-14 12:42:12 +01:00
raw raw/octeontx2_ep: fix ABI version 2020-02-11 14:29:08 +01:00
vdpa vdpa/mlx5: fix ABI version 2020-02-12 09:26:43 +01:00
Makefile drivers: introduce vDPA class 2020-01-13 23:28:00 +01:00
meson.build build: allow using wildcards to disable drivers 2020-02-06 09:17:24 +01:00