diff options
author | Michael Chan <michael.chan@broadcom.com> | 2019-08-29 23:55:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-30 14:02:19 -0700 |
commit | d1db9e166bf6a50e1e6713f3fd3b4de6007e3671 (patch) | |
tree | fa9de975a24ff9ccd68241dc084cc2aa6226b5d8 /drivers/net/ethernet/ec_bhf.c | |
parent | cbb51067a5f5fbae733283b67fc8013881eb4bb1 (diff) |
bnxt_en: Add bnxt_fw_exception() to handle fatal firmware errors.
This call will handle fatal firmware errors by forcing a reset on the
firmware. The master function driver will carry out the forced reset.
The sequence will go through the same bnxt_fw_reset_task() workqueue.
This fatal reset differs from the non-fatal reset at the beginning
stages. From the BNXT_FW_RESET_STATE_ENABLE_DEV state onwards where
the firmware is coming out of reset, it is practically identical to the
non-fatal reset.
The next patch will add the periodic heartbeat check and the devlink
reporter to report the fatal event and to initiate the bnxt_fw_exception()
call.
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ec_bhf.c')
0 files changed, 0 insertions, 0 deletions