Hi, > -----Original Message----- > From: Shun Hao <sh...@nvidia.com> > Sent: Wednesday, April 6, 2022 11:54 AM > To: Slava Ovsiienko <viachesl...@nvidia.com>; Matan Azrad > <ma...@nvidia.com>; Ori Kam <or...@nvidia.com> > Cc: dev@dpdk.org; Raslan Darawsheh <rasl...@nvidia.com>; > sta...@dpdk.org > Subject: [PATCH v1] net/mlx5: fix wrong counter in non-termination meter > > In RTE flow, if a counter action is before a meter which has > non-termination policy, the counter value only includes packets not > being dropped. > > This patch fixes this issue by differentiating the order of counter and > non-termination meter: > 1. counter + meter, counts all packets hitting this flow. > 2. meter + counter, only counts packets not being dropped. > > Fixes: 51ec04dc7bcf ("net/mlx5: connect meter policy to created flows") > Cc: sta...@dpdk.org > > Signed-off-by: Shun Hao <sh...@nvidia.com> > Acked-by: Matan Azrad <ma...@nvidia.com>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh