diff options
author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | 2019-11-18 03:56:42 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-18 17:13:28 -0800 |
commit | a2b31e27f6269af8bbda4be2199c2af7c4dcb5a3 (patch) | |
tree | 22409f01fd15c818b72e4b4bcc1baa32a958e89a /drivers/net/ethernet/broadcom | |
parent | 05069dd4c577f9b143dfd243d55834333c4470c5 (diff) | |
download | linux-stable-a2b31e27f6269af8bbda4be2199c2af7c4dcb5a3.tar.gz linux-stable-a2b31e27f6269af8bbda4be2199c2af7c4dcb5a3.tar.bz2 linux-stable-a2b31e27f6269af8bbda4be2199c2af7c4dcb5a3.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c index a1683249e360..55e02a947765 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c @@ -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); |