Hi, > -----Original Message----- > From: Raja Zidane <[email protected]> > Sent: Wednesday, April 20, 2022 6:32 PM > To: [email protected] > Cc: Matan Azrad <[email protected]>; Slava Ovsiienko > <[email protected]>; [email protected] > 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: [email protected] > > Signed-off-by: Raja Zidane <[email protected]> > Acked-by: Slava Ovsiienko <[email protected]> > ---
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

