Re: [dpdk-dev] [PATCH] net/mlx5: fix Verbs counter pool allocation

2020-05-17 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Suanming Mou > Sent: Friday, May 15, 2020 3:48 AM > To: Matan Azrad ; Shahaf Shuler > ; Slava Ovsiienko > Cc: dev@dpdk.org; Raslan Darawsheh ; Bill Zhou > ; Wisam Monther > Subject: [PATCH] net/mlx5: fix Verbs counter pool allocation > > When create the

[dpdk-dev] [PATCH] net/mlx5: fix Verbs counter pool allocation

2020-05-14 Thread Suanming Mou
When create the Verbs flows with counter, randomly SEGSEV will also comes. The reason is that the counter pool memory is not allocated sufficiently and initialized correctly in Verbs case. As the mlx5_flow_counter array member is moved out of the counter pool struct, the counter pool memory layout