]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5: Avoid report two health errors on same syndrome
authorMoshe Shemesh <moshe@nvidia.com>
Wed, 26 Feb 2025 12:25:40 +0000 (14:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Feb 2025 08:56:49 +0000 (08:56 +0000)
commitb5d7b2f04ebcff740f44ef4d295b3401aeb029f4
tree050d8b515960603ee9a8f74329ec342262d6c713
parent544a882722ba326852571c3e937fbed460e7e866
net/mlx5: Avoid report two health errors on same syndrome

In case health counter has not increased for few polling intervals, miss
counter will reach max misses threshold and health report will be
triggered for FW health reporter. In case syndrome found on same health
poll another health report will be triggered.

Avoid two health reports on same syndrome by marking this syndrome as
already known.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Shahar Shitrit <shshitrit@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/health.c