bnxt_en: Handle RESET_NOTIFY async event from firmware.
authorMichael Chan <michael.chan@broadcom.com>
Fri, 30 Aug 2019 03:54:58 +0000 (23:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2019 21:02:19 +0000 (14:02 -0700)
commit2151fe0830fdb951f8ecfcfe67306fdef2366aa0
tree7744aca55b10602b333f4e419732f224b3fe563f
parent6763c779c2d8b568b2e174f3eeeaf644fa38b34d
bnxt_en: Handle RESET_NOTIFY async event from firmware.

This event from firmware signals a coordinated reset initiated by the
firmware.  It may be triggered by some error conditions encountered
in the firmware or other orderly reset conditions.

We store the parameters from this event.  Subsequent patches will
add logic to handle reset itself using devlink reporters.

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>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h