mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
bnxt_en: Add a warning message for driver initiated reset
During loss of heartbeat, log this warning message. 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>
This commit is contained in:
parent
05069dd4c5
commit
a2b31e27f6
1 changed files with 1 additions and 0 deletions
|
@ -10122,6 +10122,7 @@ static void bnxt_force_fw_reset(struct bnxt *bp)
|
|||
|
||||
void bnxt_fw_exception(struct bnxt *bp)
|
||||
{
|
||||
netdev_warn(bp->dev, "Detected firmware fatal condition, initiating reset\n");
|
||||
set_bit(BNXT_STATE_FW_FATAL_COND, &bp->state);
|
||||
bnxt_rtnl_lock_sp(bp);
|
||||
bnxt_force_fw_reset(bp);
|
||||
|
|
Loading…
Add table
Reference in a new issue