diff options
| author | Michael Chan <michael.chan@broadcom.com> | 2020-04-26 16:24:40 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-14 07:57:19 +0200 |
| commit | 79949e8b03885bea15ab45286d819cc862cc7bf3 (patch) | |
| tree | 2359467cb93f29d26b4b72c63605824a543de1b2 /include/linux/virtio_net.h | |
| parent | 7ddb6aa96a57a4724b590b82ac6cebc0f08b78b6 (diff) | |
bnxt_en: Improve AER slot reset.
[ Upstream commit bae361c54fb6ac6eba3b4762f49ce14beb73ef13 ]
Improve the slot reset sequence by disabling the device to prevent bad
DMAs if slot reset fails. Return the proper result instead of always
PCI_ERS_RESULT_RECOVERED to the caller.
Fixes: 6316ea6db93d ("bnxt_en: Enable AER support.")
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/virtio_net.h')
0 files changed, 0 insertions, 0 deletions
