Hi,

> -----Original Message-----
> From: Jiawei Wang <jiaw...@nvidia.com>
> Sent: Tuesday, February 2, 2021 6:43 PM
> To: Matan Azrad <ma...@nvidia.com>; Slava Ovsiienko
> <viachesl...@nvidia.com>; Ori Kam <or...@nvidia.com>; NBU-Contact-
> Thomas Monjalon <tho...@monjalon.net>
> Cc: dev@dpdk.org; Raslan Darawsheh <rasl...@nvidia.com>;
> sta...@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: sta...@dpdk.org
> 

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to