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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Mar 2016 23:23:35 +0000 (19:23 -0400)
commitd78a1f08458f8118cf42154e55a3006cc17502bc
treed9256d1fa4487f3a6f92bd7057f6b75877a7836c
parent489ce5f441e4094a3419d7e8e29fd756b7f391d4
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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c