diff options
| author | Matt Carlson <mcarlson@broadcom.com> | 2012-02-22 16:35:20 +0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2012-02-23 10:57:17 +0400 |
| commit | c71013597d49c7ca8bb5049f0c7873df2643fad5 (patch) | |
| tree | 8dba220928e7b0cc4b917f608f87814ed0bacc88 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | d13ba512cbba7de5d55d7a3b2aae7d83c8921457 (diff) | |
| download | linux-c71013597d49c7ca8bb5049f0c7873df2643fad5.tar.xz | |
tg3: Clear RECOVERY_PENDING with reset_task_cancel
If an error happens in the tx completion thread, tg3_reset_task will be
scheduled and TX_RECOVERY_PENDING will be set. The TX_RECOVERY_PENDING
flag causes tg3_poll[_msix] to return early before doing much of its
work. Tg3_reset_task() gets canceled when the configuration of the
device is changing, which always results in a chip reset. When this
happens, the TX_RECOVERY_PENDING flag may be left set, which would
unnecessarily hinder tg3_poll from doing work. This patch fixes the
problem.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
