Skip to content

Commit 531ca2b

Browse files
Shahar Shitritrleon
authored andcommitted
net/mlx5: Add new health syndrome error and crr bit offset
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 <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
1 parent 0ad2507 commit 531ca2b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

include/linux/mlx5/device.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,7 @@ struct mlx5_cmd_layout {
538538
};
539539

540540
enum mlx5_rfr_severity_bit_offsets {
541+
MLX5_CRR_BIT_OFFSET = 0x6,
541542
MLX5_RFR_BIT_OFFSET = 0x7,
542543
};
543544

include/linux/mlx5/mlx5_ifc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11119,6 +11119,7 @@ enum {
1111911119
MLX5_INITIAL_SEG_HEALTH_SYNDROME_FFSER_ERR = 0xf,
1112011120
MLX5_INITIAL_SEG_HEALTH_SYNDROME_HIGH_TEMP_ERR = 0x10,
1112111121
MLX5_INITIAL_SEG_HEALTH_SYNDROME_ICM_PCI_POISONED_ERR = 0x12,
11122+
MLX5_INITIAL_SEG_HEALTH_SYNDROME_TRUST_LOCKDOWN_ERR = 0x13,
1112211123
};
1112311124

1112411125
struct mlx5_ifc_initial_seg_bits {

0 commit comments

Comments
 (0)