Hi, > -----Original Message----- > From: Shun Hao <[email protected]> > Sent: Friday, March 1, 2024 10:46 AM > To: Slava Ovsiienko <[email protected]>; Matan Azrad > <[email protected]>; Ori Kam <[email protected]>; Suanming Mou > <[email protected]>; Bing Zhao <[email protected]> > Cc: [email protected]; Raslan Darawsheh <[email protected]>; > [email protected] > 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: [email protected] > > Signed-off-by: Shun Hao <[email protected]> > Acked-by: Bing Zhao <[email protected]> > Acked-by: Matan Azrad <[email protected]> Patch applied to next-net-mlx,
Kindest regards Raslan Darawsheh

