Hi, > -----Original Message----- > From: Raja Zidane <rzid...@nvidia.com> > Sent: Wednesday, April 20, 2022 6:32 PM > To: dev@dpdk.org > Cc: Matan Azrad <ma...@nvidia.com>; Slava Ovsiienko > <viachesl...@nvidia.com>; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix rxq/txq stats memory access sync > > Queue statistics are being continuously updated in Rx/Tx burst > routines while handling traffic. In addition to that, statistics > can be reset (written with zeroes) on statistics reset in other > threads, causing a race condition, which in turn could result in > wrong stats. > > The patch provides an approach with reference values, allowing > the actual counters to be writable within Rx/Tx burst threads > only, and updating reference values on stats reset. > > Fixes: 87011737b715 ("mlx5: add software counters") > Cc: sta...@dpdk.org > > Signed-off-by: Raja Zidane <rzid...@nvidia.com> > Acked-by: Slava Ovsiienko <viachesl...@nvidia.com> > ---
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh