]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5754ce24a4fa0d03c0ac8e911accf00a36e13d44
tree7744aca55b10602b333f4e419732f224b3fe563f
parent4057b29afa33d82c0c8a85c83a7f82a36ca93d1a
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