numam-dpdk/drivers/net/mlx5
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
..
linux net/mlx5: add OS specific flow actions operations 2020-07-07 23:38:26 +02:00
Makefile net/mlx5/linux: add memory region callbacks to Verbs 2020-06-17 16:32:01 +02:00
meson.build net/mlx5: move socket files in Linux directory 2020-06-16 19:21:07 +02:00
mlx5_defs.h net/mlx5: add device parameter for MPRQ stride size 2020-04-21 13:57:08 +02:00
mlx5_ethdev.c net/mlx5: move Linux-specific functions 2020-06-16 19:21:07 +02:00
mlx5_flow_dv.c net/mlx5: fix flow META item validation 2020-07-07 23:38:26 +02:00
mlx5_flow_meter.c net/mlx5: fix typos in meter error messages 2020-06-16 19:21:07 +02:00
mlx5_flow_verbs.c net/mlx5: rename Verbs flow to generic name 2020-07-07 23:38:26 +02:00
mlx5_flow.c net/mlx5: add OS specific flow type selection 2020-07-07 23:38:26 +02:00
mlx5_flow.h net/mlx5: add OS specific flow actions operations 2020-07-07 23:38:26 +02:00
mlx5_mac.c common/mlx5: improve assert control 2020-02-05 09:51:21 +01:00
mlx5_mp.c net/mlx5: add Linux-specific file with getter functions 2020-06-16 19:21:07 +02:00
mlx5_mr.c net/mlx5: use direct API to find port by device 2020-06-30 14:52:30 +02:00
mlx5_mr.h common/mlx5: refactor memory management 2020-04-21 13:57:08 +02:00
mlx5_rss.c common/mlx5: improve assert control 2020-02-05 09:51:21 +01:00
mlx5_rxmode.c net/mlx5: reduce Netlink commands dependencies 2020-02-05 09:51:20 +01:00
mlx5_rxq.c net/mlx5: fix iterator type in Rx queue management 2020-06-30 14:52:30 +02:00
mlx5_rxtx_vec_altivec.h net/mlx5: fix vectorized Rx burst termination 2020-06-03 17:20:32 +02:00
mlx5_rxtx_vec_neon.h net/mlx5: fix vectorized Rx burst termination 2020-06-03 17:20:32 +02:00
mlx5_rxtx_vec_sse.h net/mlx5: fix vectorized Rx burst termination 2020-06-03 17:20:32 +02:00
mlx5_rxtx_vec.c net/mlx5: fix iterator type in Rx queue management 2020-06-30 14:52:30 +02:00
mlx5_rxtx_vec.h common/mlx5: refactor memory management 2020-04-21 13:57:08 +02:00
mlx5_rxtx.c net/mlx5: fix LRO checksum 2020-06-16 19:21:07 +02:00
mlx5_rxtx.h net/mlx5: fix secondary process resources release 2020-06-02 16:06:24 +02:00
mlx5_stats.c net/mlx5: refactor statistics 2020-06-16 19:21:07 +02:00
mlx5_trigger.c net/mlx5: add parameter for LACP packets control 2020-06-30 14:52:30 +02:00
mlx5_txq.c net/mlx5: fix descriptors number adjustment 2020-06-16 19:21:07 +02:00
mlx5_utils.c net/mlx5: add three-level table utility 2020-06-30 14:52:29 +02:00
mlx5_utils.h net/mlx5: add three-level table utility 2020-06-30 14:52:29 +02:00
mlx5_vlan.c common/mlx5: improve assert control 2020-02-05 09:51:21 +01:00
mlx5.c log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
mlx5.h net/mlx5: add parameter for LACP packets control 2020-06-30 14:52:30 +02:00
rte_pmd_mlx5_version.map net/mlx5: support fine grain dynamic flag 2020-02-05 09:51:20 +01:00
rte_pmd_mlx5.h net/mlx5: support fine grain dynamic flag 2020-02-05 09:51:20 +01:00