diff options
| author | Gal Pressman <gal@nvidia.com> | 2026-07-23 11:17:43 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-07-27 18:20:33 -0700 |
| commit | e4213520e9769ae8fc2814e778617b49d1ac0c7f (patch) | |
| tree | 27c5113aeb7cad986c405052154222595431fd54 /tools/perf/scripts/python/bin | |
| parent | 41ff498d3392113f7aa2bff5762dc7c772b5eca7 (diff) | |
net/mlx5e: Remove _once from PCI heuristic debug print
The _once rate-limiting in slow_pci_heuristic() is unnecessary because
this function only runs during probe.
Worse, it interacts poorly with dynamic debug: if the first probe
happens before dynamic debug is enabled for this callsite, the _once
flag is permanently consumed and the message becomes unreachable without
reloading the module.
Additionally, only the first probed device values were printable in case
of multiple devices.
Replace with mlx5_core_dbg() which allows enabling the print via dynamic
debug at any time and observing it on the next probe.
Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Alex Lazar <alazar@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260723081743.1868357-1-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
