aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2019-08-29 23:54:59 -0400
committerDavid S. Miller <davem@davemloft.net>2019-08-30 14:02:19 -0700
commit230d1f0de754b483ec6eefc1ca5aaeff2b6b9a4c (patch)
tree7e785c15d912c7db8d10de3751ef1e277db0536b /drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c
parentbnxt_en: Handle RESET_NOTIFY async event from firmware. (diff)
downloadlinux-dev-230d1f0de754b483ec6eefc1ca5aaeff2b6b9a4c.tar.xz
linux-dev-230d1f0de754b483ec6eefc1ca5aaeff2b6b9a4c.zip
bnxt_en: Handle firmware reset.
Add the bnxt_fw_reset() main function to handle firmware reset. This is triggered by firmware to initiate an orderly reset, for example when a non-fatal exception condition has been detected. bnxt_fw_reset() will first wait for all VFs to shutdown and then start the bnxt_fw_reset_task() work queue to go through the sequence of reset, re-probe, and re-initialization. The next patch will add the devlink reporter to start the sequence and call bnxt_fw_reset(). 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/bnxt/bnxt_devlink.c')
0 files changed, 0 insertions, 0 deletions