[dpdk-stable] [PATCH] net/mlx5: fix domains selection for meter policy

Raslan Darawsheh rasland at nvidia.com
Thu Oct 14 14:17:23 CEST 2021


Hi,

> -----Original Message-----
> From: Li Zhang <lizh at nvidia.com>
> Sent: Monday, October 11, 2021 5:41 AM
> To: dekelp at nvidia.com; Ori Kam <orika at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Matan Azrad <matan at nvidia.com>
> Cc: dev at dpdk.org; NBU-Contact-Thomas Monjalon
> <thomas at monjalon.net>; Raslan Darawsheh <rasland at nvidia.com>;
> stable at dpdk.org
> Subject: [PATCH] net/mlx5: fix domains selection for meter policy
> 
> Fate actions are different per domain.
> When all the domains, ingress, egress and FDB (transfer),
> can support all the policy actions, i.e. [SET_TAG],
> the policy prepares resources for all the domains and
> failure happens if one of the domains misses its fate action
> in the policy action list.
> 
> Remove the domains missing their fate action
> from the meter policy preparation.
> 
> Now, the policy will prepare a domain only when the domain supports
> all the actions and when one of the domain fate actions is on the list.
> 
> Fixes: afb4aa4f ("net/mlx5: support meter policy operations")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Li Zhang <lizh at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
> ---

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the stable mailing list