Suanming Mou 64927f72a7 net/mlx5: fix meter suffix flow
The meter suffix flow item pointer restore is not correct to decrease
a fixed value. The incorrect operation will cause incorrect match to
the meter suffix flow, the flow create will fail once the magic number
in the wrong offset memory start with RTE_FLOW_ITEM_TYPE_END.
The pointer should decrease the real offset it increases.

Set the decrease value to the real offset the pointer increases to fix
the issue.

Fixes: 9ea9b049a960 ("net/mlx5: split meter flow")
Cc: stable@dpdk.org

Reported-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Signed-off-by: Suanming Mou <suanmingm@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2020-01-20 18:02:17 +01:00
2020-01-20 18:02:17 +01:00
2020-01-20 18:02:17 +01:00
2020-01-20 18:02:17 +01:00
2020-01-20 17:53:42 +01:00
2019-11-26 00:12:08 +01:00
2020-01-20 18:02:17 +01:00
2016-11-13 15:25:12 +01:00
2020-01-14 00:09:33 +01:00
2019-02-26 15:29:27 +01:00
2020-01-20 18:02:17 +01:00
2019-11-26 00:12:08 +01:00
2019-11-25 15:07:02 +01:00
2018-01-04 22:41:38 +01:00
2019-12-02 17:59:49 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org
Description
No description provided
Readme 128 MiB
Languages
C 99.1%
Meson 0.5%
Python 0.2%
Shell 0.1%