]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2x: don't wait for Tx completion on recovery
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Sun, 13 Mar 2016 19:21:48 +0000 (21:21 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 8 Jul 2016 02:28:48 +0000 (19:28 -0700)
commit73763da6884a9395793eb259cb2407af9b42cbed
treeba8959bcea686c75c3285f8f3beb1beb3ca45526
parent49a0ef73b45864b3f901d2ed0b25c46fd1d4926f
bnx2x: don't wait for Tx completion on recovery

When driver has hit a parity event, HW can no longer write to host memory.
As a result, Tx completions cannot be written to the host SB memory, and
waiting for Tx completions eventually timeout.
As driver is willing to delay as much as 1-2 seconds per Tx queue for its
draining and this delay is sequential, the time to recover might greatly
lengthen needlessly in case the recovery is done under multi-connection
traffic.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Orabug: 23718192
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c