Hi,

> -----Original Message-----
> From: Jiawei Wang <[email protected]>
> Sent: Tuesday, February 2, 2021 6:43 PM
> To: Matan Azrad <[email protected]>; Slava Ovsiienko
> <[email protected]>; Ori Kam <[email protected]>; NBU-Contact-
> Thomas Monjalon <[email protected]>
> Cc: [email protected]; Raslan Darawsheh <[email protected]>;
> [email protected]
> 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: [email protected]
> 

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to