numam-dpdk/drivers
Shy Shyman 5f3541724e net/mlx5: fix flow META item validation
When flow is inserted with meta match item it requires a certain
register support.
As part of the flow validation of such flows, the validation
function is missing a check that the mlx5 driver is not in
legacy mode in terms of extended meta data support
(MLX5_XMETA_MODE_LEGACY flag).
If the driver is in legacy mode it will cause downstream
function that allocates needed register for meta data.

The fix checks explicitly the conditions for support of
meta data in FDB mode. If the conditions are not met
an error message will be issued.

Fixes: 9bf26e1318 ("ethdev: move egress metadata to dynamic field")
Cc: stable@dpdk.org

Signed-off-by: Shy Shyman <shys@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
2020-07-07 23:38:26 +02:00
..
baseband log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
bus drivers: drop workaround for internal libraries version 2020-07-07 12:48:59 +02:00
common common/octeontx2: fix crash on running procinfo 2020-07-07 23:38:26 +02:00
compress common/qat: add multi-process handling of capabilities 2020-07-08 18:16:27 +02:00
crypto crypto/qat: support ChaCha20-Poly1305 2020-07-08 18:16:40 +02:00
event event/octeontx2: improve datapath memory locality 2020-06-30 07:41:26 +02:00
mempool mempool/bucket: handle non-EAL lcores 2020-07-08 14:41:06 +02:00
net net/mlx5: fix flow META item validation 2020-07-07 23:38:26 +02:00
raw log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
vdpa log: remove unneeded logtype declaration 2020-07-07 13:18:23 +02:00
Makefile drivers: add crypto as dependency for event drivers 2020-03-05 14:22:11 +01:00
meson.build build: remove special versioning for non stable libraries 2020-07-07 12:48:25 +02:00