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)
commit8bf94e6414c9481bfa28269022688ab445d0081d
tree6ed41349a60f5f94519ca0421c6a76fbb14190be
parent3008e6a0049361e731b803c60fe8f3ab44e1d73f
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: c71ad41ccb0c ("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