Re: [dpdk-dev] [PATCH] net/mlx5: fix xstats reset reinitialization

2020-10-21 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Shiri Kuzin > Sent: Monday, October 19, 2020 9:37 AM > To: dev@dpdk.org > Cc: ma...@mellanox.com; rasl...@mellanox.com; > viachesl...@mellanox.com; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix xstats reset reinitialization > > The mlx5_xstats_reset cl

Re: [dpdk-dev] [PATCH] net/mlx5: fix xstats reset reinitialization

2020-10-19 Thread Shiri Kuzin
> -Original Message- > From: dev On Behalf Of Shiri Kuzin > Sent: Monday, October 19, 2020 9:37 AM > To: dev@dpdk.org > Cc: ma...@mellanox.com; rasl...@mellanox.com; > viachesl...@mellanox.com; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: fix xstats r

[dpdk-dev] [PATCH] net/mlx5: fix xstats reset reinitialization

2020-10-18 Thread Shiri Kuzin
The mlx5_xstats_reset clears the device extended statistics. In this function the driver may reinitialize the structures that are used to read device counters. In case of reinitialization, the number of counters may change, which wouldn't be taken into account by the reset API callback and can cau