RE: [PATCH] net/mlx5: fix rxq/txq stats memory access sync

2022-04-26 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Raja Zidane > Sent: Wednesday, April 20, 2022 6:32 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Slava Ovsiienko > ; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix rxq/txq stats memory access sync > > Queue statistics are being co

[PATCH] net/mlx5: fix rxq/txq stats memory access sync

2022-04-20 Thread Raja Zidane
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 approa