[dpdk-stable] [PATCH] net/mlx5: fix validation for counter and age

Raslan Darawsheh rasland at nvidia.com
Wed Feb 3 15:29:01 CET 2021


Hi,

> -----Original Message-----
> From: Jiawei Wang <jiaweiw at nvidia.com>
> Sent: Tuesday, February 2, 2021 6:43 PM
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Ori Kam <orika at nvidia.com>; NBU-Contact-
> Thomas Monjalon <thomas at monjalon.net>
> Cc: dev at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>;
> stable at dpdk.org
> Subject: [PATCH] net/mlx5: fix validation for counter and age
> 
> Currently old age action was implemented by flow counter and only one
> counter index was maintained in each flow. While there was old age
> action and share count action in one flow, and the same share count
> action in the another flow, the counter was updated if second flow
> was hit, so it may cause the first flow didn't aged out since the
> counter was updated by second flow.
> 
> This patch updates the validation function for count and old age action:
>   - Old age and shared count action combination is not supported.
>   - Old age and count(not shared) action could work in the same sub flow.
> 
> Fixes: e7138997e07d ("net/mlx5: make shared counters thread safe")
> Cc: stable at dpdk.org
> 

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the stable mailing list