RE: [PATCH v1] net/mlx5: fix secondary process query stats segfault

2024-01-29 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Rongwei Liu > Sent: Monday, January 22, 2024 9:44 AM > To: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; Suanming Mou > ; NBU-Contact-Thomas Monjalon (EXTERNAL) > > Cc: sta...@dpdk.org; Anatoly Burakov > Subjec

[PATCH v1] net/mlx5: fix secondary process query stats segfault

2024-01-21 Thread Rongwei Liu
The "outer_of_buffer" counter is owned by the primary process devx object and it is pointer by pointer in mlx5_priv structure. Actually, there are 4 levels' pointers in this piece of code. The secondary process can't access this part directly since it belongs to another process' heap. Return ENOT