bnxt_en: Reset device on RX buffer errors.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 8 Apr 2019 21:39:55 +0000 (17:39 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2019 23:39:41 +0000 (16:39 -0700)
commit8e44e96c6c8e8fb80b84a2ca11798a8554f710f2
tree7b1eb914a292614696493cd4c802a504a6c52320
parenta1b0e4e684e9c300b9e759b46cb7a0147e61ddff
bnxt_en: Reset device on RX buffer errors.

If the RX completion indicates RX buffers errors, the RX ring will be
disabled by firmware and no packets will be received on that ring from
that point on.  Recover by resetting the device.

Fixes: c0c050c58d84 ("bnxt_en: New Broadcom ethernet driver.")
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