numam-dpdk/drivers/net
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
..
af_packet log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
af_xdp log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
ark log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
atlantic log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
avp log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
axgbe log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
bnx2x log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
bnxt log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
bonding log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
cxgbe log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
dpaa log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
dpaa2 drivers: drop workaround for internal libraries version 2020-07-07 12:48:59 +02:00
e1000 net/e1000: fix port hotplug for multi-process 2020-05-18 20:35:07 +02:00
ena log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
enetc log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
enic log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
failsafe log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
fm10k log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
hinic net/hinic/base: modify returned error values 2020-07-07 23:38:26 +02:00
hns3 net/hns3: fix reassembling multiple segment packets in Tx 2020-07-07 23:38:26 +02:00
i40e log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
iavf net/iavf: fix RSS RETA after restart 2020-07-07 23:38:26 +02:00
ice net/ice: fix typo on variable name 2020-07-07 23:38:26 +02:00
igc log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
ionic log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
ipn3ke log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
ixgbe net/ixgbe/base: remove dead code 2020-07-07 23:38:26 +02:00
kni log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
liquidio log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
memif log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
mlx4 log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
mlx5 net/mlx5: fix flow META item validation 2020-07-07 23:38:26 +02:00
mvneta log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
mvpp2 log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
netvsc log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
nfb net/nfb: check array size before access 2020-04-21 13:57:06 +02:00
nfp log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
null log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
octeontx log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
octeontx2 net/octeontx2: add devargs to lock Rx/Tx contexts 2020-07-07 23:38:26 +02:00
pcap log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
pfe log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
qede log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
ring log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
sfc net/sfc: reap Tx descriptors at least once 2020-06-30 14:52:29 +02:00
softnic log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
szedata2 log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
tap log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
thunderx log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
vdev_netvsc log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
vhost log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
virtio log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
vmxnet3 log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
Makefile net/igc: add skeleton 2020-04-21 13:57:07 +02:00
meson.build bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00