Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/mlx5: fix stats query crash in secondary process
[ upstream commit d312cab568ecdc8411cb3dc896e7d5020836399b ] 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's heap. Return ENOTSUP as a workaround. Fixes: 750e48c ("common/mlx5: add DevX commands for queue counters") Signed-off-by: Rongwei Liu <[email protected]> Acked-by: Matan Azrad <[email protected]>
- Loading branch information