]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Rearm the FW tracer after each tracer event
authorFeras Daoud <ferasda@nvidia.com>
Sat, 19 Mar 2022 19:47:48 +0000 (21:47 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 8 Jun 2022 18:39:44 +0000 (11:39 -0700)
commite958a2d0133528403cf6228d0a77fabd8f12ea69
tree6ed41349a60f5f94519ca0421c6a76fbb14190be
parenta248994d4dff1e8e782be1f511b3647d5648c1ba
net/mlx5: Rearm the FW tracer after each tracer event

The current design does not arm the tracer if traces are available before
the tracer string database is fully loaded, leading to an unfunctional tracer.
This fix will rearm the tracer every time the FW triggers tracer event
regardless of the tracer strings database status.

Fixes: 0abf0e008e41 ("net/mlx5: FW tracer, events handling")
Signed-off-by: Feras Daoud <ferasda@nvidia.com>
Signed-off-by: Roy Novich <royno@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c