]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerBrian Maly <brian.maly@oracle.com>
Tue, 21 May 2019 20:30:04 +0000 (16:30 -0400)
commit75207e89d96b69a5dad1a09d580a24fe7398691c
tree9d8f2eb460ffaff68026939afc96ee947347ec6c
parent7d55ae471cce5e31889ef6f6a2ef929f3a2d52ea
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>
(cherry picked from commit 8e44e96c6c8e8fb80b84a2ca11798a8554f710f2)

Orabug: 29651238

Signed-off-by: John Donnelly <John.P.Donnelly@oracle.com>
Reviewed-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c