summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
diff options
context:
space:
mode:
authorMichael Chan2016-12-29 18:13:33 +0100
committerDavid S. Miller2016-12-29 20:37:23 +0100
commit9d8bc09766f1a229b2d204c713a1cfc6c7fa1bb1 (patch)
tree4b2cfefdbe9c27992038a8836944649a52ad4143 /drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
parentbnxt_en: Use napi_complete_done() (diff)
downloadkernel-qcow2-linux-9d8bc09766f1a229b2d204c713a1cfc6c7fa1bb1.tar.gz
kernel-qcow2-linux-9d8bc09766f1a229b2d204c713a1cfc6c7fa1bb1.tar.xz
kernel-qcow2-linux-9d8bc09766f1a229b2d204c713a1cfc6c7fa1bb1.zip
bnxt_en: Improve the IRQ disable sequence during shutdown.
The IRQ is disabled by writing to the completion ring doorbell. This should be done before the hardware completion ring is freed for correctness. The current code disables IRQs after all the completion rings are freed. Fix it by calling bnxt_disable_int_sync() before freeing the completion rings. Rearrange the code to avoid forward declaration. Signed-off-by: Michael Chan <michael.chan@broadocm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c')
0 files changed, 0 insertions, 0 deletions