numam-dpdk/drivers/net
Dekel Peled 38f7efaaf5 net/mlx5: fix MPLS item validation
Update the mlx5_flow_validate_item_mpls() function to allow
MPLS over IP, UDP, and GRE.
Modify the flow_dv_validate() function with the new logic introduced
in previous patch of this series: set new variable last_item
after each validation, update item_flags after each item iteration.
The new variable last_item is sent to mlx5_flow_validate_item_mpls()
and used to validate the MPLS item.
Same change implemented in flow_verbs_validate().

Update the mlx5_flow_validate_item_mpls() function to verify that
device configuration has mpls_en set to 1.
This code was added earlier this year, but unintentionaly removed
in recent versions.

Fixes: 84c406e745 ("net/mlx5: add flow translate function")

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
2018-11-16 10:45:37 +01:00
..
af_packet ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
ark ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
atlantic net/atlantic: read MAC registers for debug purposes 2018-10-18 10:24:39 +02:00
avf net/avf/base: fix shifting 32-bit signed variable 31 times 2018-11-05 15:58:45 +01:00
avp net/avp: disable in FreeBSD build with meson 2018-10-27 18:00:01 +02:00
axgbe ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
bnx2x net/bnx2x: fix VF link state update 2018-11-14 00:35:53 +01:00
bnxt net/bnxt: fix uninitialized variable access 2018-11-05 18:54:48 +01:00
bonding net/bonding: fix crash when stopping mode 4 port 2018-11-14 00:35:53 +01:00
cxgbe net/cxgbevf: fix illegal memory access when freeing MPS TCAM 2018-11-14 00:35:53 +01:00
dpaa ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
dpaa2 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
e1000 net/e1000/base: fix uninitialized variable 2018-11-14 00:35:53 +01:00
ena drivers/net: set close behaviour flag at probing 2018-11-14 00:35:53 +01:00
enetc ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
enic net/enic: fix size check in Tx prepare handler 2018-11-14 00:35:53 +01:00
failsafe drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
fm10k eal: fix build 2018-11-12 13:27:02 +01:00
i40e net/i40e: fix RSS key initialization 2018-11-15 23:32:46 +01:00
ifc add missing static keyword to globals 2018-10-29 02:01:08 +01:00
ixgbe net/ixgbe: fix maximum wait time in comment 2018-11-15 23:32:01 +01:00
kni ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
liquidio ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
mlx4 net/mlx4: optimize Tx external memory registration 2018-11-16 10:45:37 +01:00
mlx5 net/mlx5: fix MPLS item validation 2018-11-16 10:45:37 +01:00
mvneta ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
mvpp2 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
netvsc net/netvsc: fix VF link update 2018-11-05 20:10:54 +01:00
nfp mem: rename DMA mask check with proper prefix 2018-11-05 01:01:54 +01:00
null ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
octeontx net/octeontx: fix mbuf corruption with large private sizes 2018-11-14 00:35:53 +01:00
pcap ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
qede net/qede: fix Tx tunnel offload support mask 2018-11-14 00:35:53 +01:00
ring ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
sfc net/sfc/base: fix field order in filter spec struct 2018-11-14 00:35:53 +01:00
softnic net/softnic: fix string copy 2018-11-02 11:23:00 +01:00
szedata2 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
tap net/tap: fix probe for multiq or flowq failure 2018-11-14 00:35:53 +01:00
thunderx net/thunderx: fix Tx desc corruption in scatter-gather mode 2018-11-14 00:35:53 +01:00
vdev_netvsc net/vdev_netvsc: disable in FreeBSD build with meson 2018-10-27 18:03:33 +02:00
vhost net/vhost: fix parameters string 2018-11-05 15:01:25 +01:00
virtio net/virtio: fix unchecked return value 2018-11-14 00:35:53 +01:00
vmxnet3 drivers/net: set close behaviour flag at probing 2018-11-14 00:35:53 +01:00
Makefile net/atlantic: add PMD driver skeleton 2018-10-18 10:24:39 +02:00
meson.build net/atlantic: add PMD driver skeleton 2018-10-18 10:24:39 +02:00