summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/mlx5_ifc.h
diff options
context:
space:
mode:
authorIlan Tayari2018-05-30 19:59:49 +0200
committerDavid S. Miller2018-05-31 21:35:37 +0200
commit1865ea9adbfaf341c5cd5d8f7d384f19948b2fe9 (patch)
tree7ad6a4d5614776eb8265688dc93947c2b25df793 /include/linux/mlx5/mlx5_ifc.h
parentrtnetlink: Add more well known protocol values (diff)
downloadkernel-qcow2-linux-1865ea9adbfaf341c5cd5d8f7d384f19948b2fe9.tar.gz
kernel-qcow2-linux-1865ea9adbfaf341c5cd5d8f7d384f19948b2fe9.tar.xz
kernel-qcow2-linux-1865ea9adbfaf341c5cd5d8f7d384f19948b2fe9.zip
net/mlx5: Add temperature warning event to log
Temperature warning event is sent by FW to indicate high temperature as detected by one of the sensors on the board. Add handling of this event by writing the numbers of the alert sensors to the kernel log. Signed-off-by: Ilan Tayari <ilant@mellanox.com> Signed-off-by: Adi Nissim <adin@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx5/mlx5_ifc.h')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 05b480fae27d..ca6c0dfb5ffe 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -912,7 +912,7 @@ struct mlx5_ifc_cmd_hca_cap_bits {
u8 log_max_msg[0x5];
u8 reserved_at_1c8[0x4];
u8 max_tc[0x4];
- u8 reserved_at_1d0[0x1];
+ u8 temp_warn_event[0x1];
u8 dcbx[0x1];
u8 general_notification_event[0x1];
u8 reserved_at_1d3[0x2];