net/mlx5: Add new health syndrome error and crr bit offset
authorShahar Shitrit <shshitrit@nvidia.com>
Wed, 19 Feb 2025 08:58:07 +0000 (10:58 +0200)
committerLeon Romanovsky <leon@kernel.org>
Sun, 23 Feb 2025 09:42:36 +0000 (04:42 -0500)
Add new error value for trust lockdown in health syndrome enum.
Also, include the offset for crr bit in the health buffer layout.

These changes prepare for downstream patches that update health
event handling.

Signed-off-by: Shahar Shitrit <shshitrit@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20250219085808.349923-2-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
include/linux/mlx5/device.h
include/linux/mlx5/mlx5_ifc.h

index 0c48b20f818a9e9ca855e9bbf7513e3b68e41c89..fd37f4e54d7610b27e0e0a22d8ed3358d206a7a7 100644 (file)
@@ -538,6 +538,7 @@ struct mlx5_cmd_layout {
 };
 
 enum mlx5_rfr_severity_bit_offsets {
+       MLX5_CRR_BIT_OFFSET = 0x6,
        MLX5_RFR_BIT_OFFSET = 0x7,
 };
 
index 4f3716e124c9ce542f3a4295c7ae83154b3149a1..cc2875e843f7f6a51a62e5d3a56c539706409669 100644 (file)
@@ -11119,6 +11119,7 @@ enum {
        MLX5_INITIAL_SEG_HEALTH_SYNDROME_FFSER_ERR                    = 0xf,
        MLX5_INITIAL_SEG_HEALTH_SYNDROME_HIGH_TEMP_ERR                = 0x10,
        MLX5_INITIAL_SEG_HEALTH_SYNDROME_ICM_PCI_POISONED_ERR         = 0x12,
+       MLX5_INITIAL_SEG_HEALTH_SYNDROME_TRUST_LOCKDOWN_ERR           = 0x13,
 };
 
 struct mlx5_ifc_initial_seg_bits {