numam-dpdk/lib/librte_ethdev
Matan Azrad eccc5d3237 ethdev: fix last item detection on RSS flow expand
There is a rte_flow API which expands a RSS flow pattern to multiple
patterns according to the RSS hash types in the RSS action
configuration.

As part of the expansion, detection of the last item of the flow uses
the "next proto" field of the last configured item in the pattern list.
Wrongly, the mask of this field was not considered in order to validate
the field.

Ignore "next proto" fields when their corresponded masks invalidate them.

Fixes: fc2dd8dd49 ("ethdev: fix expand RSS flows")
Cc: stable@dpdk.org

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Xiaoyu Min <jackmin@mellanox.com>
Acked-by: Ori Kam <orika@mellanox.com>
2019-11-12 01:55:26 +01:00
..
ethdev_private.c ethdev: move representor parsing functions 2018-10-26 22:14:06 +02:00
ethdev_private.h rename private header files 2019-10-27 22:03:06 +01:00
ethdev_profile.c ethdev: change vtune profiling approach 2018-08-28 15:27:39 +02:00
ethdev_profile.h ethdev: change vtune profiling approach 2018-08-28 15:27:39 +02:00
Makefile ethdev: bump library version 2019-10-27 10:41:50 +01:00
meson.build ethdev: bump library version 2019-10-27 10:41:50 +01:00
rte_class_eth.c ethdev: use new ethernet parsing function 2019-07-08 21:26:52 +02:00
rte_dev_info.h ethdev: add definitions for EEPROM standards 2019-10-23 16:43:08 +02:00
rte_eth_ctrl.h ethdev: fix include of ethernet header file 2019-10-25 19:00:22 +02:00
rte_ethdev_core.h ethdev: reserve space in main structs for extension 2019-11-11 17:02:29 +01:00
rte_ethdev_driver.h ethdev: add hairpin queue 2019-11-08 23:15:04 +01:00
rte_ethdev_pci.h ethdev: avoid error on PCI unplug of closed port 2019-07-05 01:52:01 +02:00
rte_ethdev_vdev.h ethdev: rename folder to library name 2018-04-27 18:01:00 +01:00
rte_ethdev_version.map ethdev: add packet type range function 2019-11-11 16:15:36 +01:00
rte_ethdev.c ethdev: add maximum LRO packet size 2019-11-12 01:43:01 +01:00
rte_ethdev.h ethdev: add maximum LRO packet size 2019-11-12 01:43:01 +01:00
rte_flow_driver.h enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
rte_flow.c ethdev: fix last item detection on RSS flow expand 2019-11-12 01:55:26 +01:00
rte_flow.h ethdev: move egress metadata to dynamic field 2019-11-08 23:15:05 +01:00
rte_mtr_driver.h meter: replace color definitions 2019-04-11 14:27:32 +02:00
rte_mtr.c remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00
rte_mtr.h ethdev: replace license text with SPDX tag 2019-07-29 15:07:48 +02:00
rte_tm_driver.h ethdev: rename folder to library name 2018-04-27 18:01:00 +01:00
rte_tm.c ethdev: rename folder to library name 2018-04-27 18:01:00 +01:00
rte_tm.h ethdev: replace license text with SPDX tag 2019-07-29 15:07:48 +02:00