net/mlx5: Add trust lockdown error to health syndrome print function
authorShahar Shitrit <shshitrit@nvidia.com>
Wed, 26 Feb 2025 12:25:43 +0000 (14:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Feb 2025 08:56:49 +0000 (08:56 +0000)
Add the new health syndrome value to hsynd_str() function
to indicate that the device got a trust lockdown fault.

Signed-off-by: Shahar Shitrit <shshitrit@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@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

index c7ff646e08650fbbfef4a5254e22e1fd69592de3..91613d5a36cd4c6bcc6699b83ecd7c104df2693a 100644 (file)
@@ -380,6 +380,8 @@ static const char *hsynd_str(u8 synd)
                return "High temperature";
        case MLX5_INITIAL_SEG_HEALTH_SYNDROME_ICM_PCI_POISONED_ERR:
                return "ICM fetch PCI data poisoned error";
+       case MLX5_INITIAL_SEG_HEALTH_SYNDROME_TRUST_LOCKDOWN_ERR:
+               return "Trust lockdown error";
        default:
                return "unrecognized error";
        }