diff options
| author | Shahar Shitrit <shshitrit@nvidia.com> | 2025-02-13 12:46:38 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-18 03:27:37 +0300 |
| commit | 9dd3d5d258aceb37bdf09c8b91fa448f58ea81f0 (patch) | |
| tree | c84b4cb2358cf60a073d537bf694ed951074e199 /rust/helpers/task.c | |
| parent | 6626f11c5183065452606dfc0ed97d9cfcb8f082 (diff) | |
| download | linux-9dd3d5d258aceb37bdf09c8b91fa448f58ea81f0.tar.xz | |
net/mlx5: Apply rate-limiting to high temperature warning
Wrap the high temperature warning in a temperature event with
a call to net_ratelimit() to prevent flooding the kernel log
with repeated warning messages when temperature exceeds the
threshold multiple times within a short duration.
Signed-off-by: Shahar Shitrit <shshitrit@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com>
Link: https://patch.msgid.link/20250213094641.226501-2-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
