[PATCH] net/mlx5: set correct priority for meter policy

Raslan Darawsheh rasland at nvidia.com
Tue Mar 12 09:07:35 CET 2024


Hi,

> -----Original Message-----
> From: Shun Hao <shunh at nvidia.com>
> Sent: Friday, March 1, 2024 10:46 AM
> To: Slava Ovsiienko <viacheslavo at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Ori Kam <orika at nvidia.com>; Suanming Mou
> <suanmingm at nvidia.com>; Bing Zhao <bingz at nvidia.com>
> Cc: dev at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>;
> stable at dpdk.org
> Subject: [PATCH] net/mlx5: set correct priority for meter policy
> 
> Currently a meter policy's flows are always using the same priority for all
> colors, so the red color flow might be before green/yellow ones.
> This will impact the performance cause green/yellow packets will check red
> flow first and got miss, then match green/yellow flows, introducing more
> hops.
> 
> This patch fixes this by giving the same priority to flows for all colors.
> 
> Fixes: 363db9b00f ("net/mlx5: handle yellow case in default meter policy")
> CC: stable at dpdk.org
> 
> Signed-off-by: Shun Hao <shunh at nvidia.com>
> Acked-by: Bing Zhao <bingz 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