Re: [dpdk-dev] [PATCH] common/mlx5: fix memory allocation debug stats

2020-10-28 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Alexander Kozyrev > Sent: Wednesday, October 28, 2020 8:21 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Slava Ovsiienko > ; Matan Azrad > Subject: [PATCH] common/mlx5: fix memory allocation debug stats > > Fix compilation issue for memory allocation s

[dpdk-dev] [PATCH] common/mlx5: fix memory allocation debug stats

2020-10-28 Thread Alexander Kozyrev
Fix compilation issue for memory allocation stats in case of the RTE_LIBRTE_MLX5_DEBUG is enabled. The mlx5_sys_mem is static and its members should be accessed via member operator, not a pointer. Fixes: 1f34e138f8 ("common/mlx5: use C11 atomics for memory allocation") Signed-off-by: Alexander Ko