[dpdk-dev] [PATCH] net/mlx5: fix count actions query in sample flow
Raslan Darawsheh
rasland at nvidia.com
Wed Jan 27 16:39:35 CET 2021
Hi,
> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Jiawei Wang
> Sent: Tuesday, January 26, 2021 5:38 PM
> To: Slava Ovsiienko <viacheslavo at nvidia.com>; Ori Kam
> <orika at nvidia.com>; NBU-Contact-Thomas Monjalon
> <thomas at monjalon.net>; ferruh.yigit at intel.com
> Cc: dev at dpdk.org; stable at dpdk.org
> Subject: [dpdk-dev] [PATCH] 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 at dpdk.org
>
> Signed-off-by: Jiawei Wang <jiaweiw at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> ---
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the dev
mailing list