Hi, > -----Original Message----- > From: Shun Hao <sh...@nvidia.com> > Sent: Friday, March 1, 2024 10:46 AM > To: Slava Ovsiienko <viachesl...@nvidia.com>; Matan Azrad > <ma...@nvidia.com>; Ori Kam <or...@nvidia.com>; Suanming Mou > <suanmi...@nvidia.com>; Bing Zhao <bi...@nvidia.com> > Cc: dev@dpdk.org; Raslan Darawsheh <rasl...@nvidia.com>; > sta...@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: sta...@dpdk.org > > Signed-off-by: Shun Hao <sh...@nvidia.com> > Acked-by: Bing Zhao <bi...@nvidia.com> > Acked-by: Matan Azrad <ma...@nvidia.com> Patch applied to next-net-mlx,
Kindest regards Raslan Darawsheh