Jiawei Wang 84382dfadf net/mlx5: fix count actions query in sample flow
If the count action was presented in sample actions list, MLX5 PMD
created the counter resource and saved the index of counter in the
sample resource only, the counter index of flow was not updated.

This patch removes the counter index in the sampler resource and
saves it into the flow, and adds the checking to make sure only one
count be created once per flow, it's used for all sample sub flows.

Fixes: 0756228b2704 ("net/mlx5: update translate function for sample action")
Cc: stable@dpdk.org

Signed-off-by: Jiawei Wang <jiaweiw@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2021-01-29 18:16:11 +01:00
2021-01-29 20:59:37 +01:00
2021-01-29 18:16:08 +01:00
2021-01-28 22:15:10 +01:00
2020-11-27 01:39:54 +01:00
2021-01-29 18:16:08 +01:00
2020-11-27 17:25:24 +01:00
2020-02-22 21:05:22 +01:00
2016-11-13 15:25:12 +01:00
2020-11-30 10:55:22 +01:00
2020-09-07 23:51:57 +02:00
2021-01-29 20:59:37 +01:00
2018-01-04 22:41:38 +01:00
2021-01-20 02:58:16 +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%