Hi,

> -----Original Message-----
> From: Bing Zhao <bi...@nvidia.com>
> Sent: Thursday, July 29, 2021 7:04 PM
> To: Slava Ovsiienko <viachesl...@nvidia.com>; Matan Azrad
> <ma...@nvidia.com>
> Cc: dev@dpdk.org; Ori Kam <or...@nvidia.com>; Raslan Darawsheh
> <rasl...@nvidia.com>; NBU-Contact-Thomas Monjalon
> <tho...@monjalon.net>; Shun Hao <sh...@nvidia.com>
> Subject: [PATCH] net/mlx5: fix the meter hierarchy validation with yellow
> 
> In mlx5 PMD, the meter hierarchy only supports the green color. It means
> that a meter action can only be in the green action list. In the meanwhile, 
> the
> yellow action list should be empty now. Any action for the yellow color policy
> will be considered invalid if the green color policy is a hierarchy.
> 
> Also, the error message printing of meter hierarchy validation is fixed by
> removing an incorrect checking.
> 
> Fixes: 4b7bf3ffb473 ("net/mlx5: support yellow in meter policy validation")
> Fixes: a3b7af90baba ("net/mlx5: validate meter action in policy")
> Cc: sh...@nvidia.com
> 
> Signed-off-by: Bing Zhao <bi...@nvidia.com>
> Acked-by: Matan Azrad <ma...@nvidia.com>
> ---
>  drivers/net/mlx5/mlx5_flow_dv.c | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
> 

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to