net: qed: introduce critical fan failure handler
authorIgor Russkikh <irusskikh@marvell.com>
Thu, 14 May 2020 09:57:25 +0000 (12:57 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 May 2020 20:25:46 +0000 (13:25 -0700)
commit3e99c2111026244326deee5fcaf8ea744627214b
tree7d1e1fe118bc22f99a4000b6a6c30f626c7b94d2
parent5144e9f439d53460c38eb5c34dd67837ac512db1
net: qed: introduce critical fan failure handler

Fan failure is sent by firmware, driver reacts on this error with
newly introduced notification path. It will collect dump and shut down
the device to prevent physical breakage

Signed-off-by: Ariel Elior <ariel.elior@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_hsi.h
drivers/net/ethernet/qlogic/qed/qed_mcp.c