Re: [PATCH net-next 1/3] net/mlx5: fs, add API for sharing HWS action by refcount

Jacob Keller
2025-03-12T22:49:06Z

On 3/9/2025 11:07 AM, Tariq Toukan wrote:
> From: Moshe Shemesh <moshe@nvidia.com>
>
> Counters HWS actions are shared using refcount, to create action on
> demand by flow steering rule and destroy only when no rules are using
> the action. The method is extensible to other HWS action types, such as
> flow meter and sampler actions, in the downstream patches.
>
> Add an API to facilitate the reuse of get/put logic for HWS actions
> shared by refcount.
>
> Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
> Reviewed-by: Mark Bloch <mbloch@nvidia.com>
> Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
> ---

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>