diff options
| author | Alan Brady <[email protected]> | 2018-10-29 11:27:21 -0700 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2018-11-14 10:56:34 -0800 |
| commit | d5585b7b6846a6d0f9517afe57be3843150719da (patch) | |
| tree | 319e38ef420619753b59fbb993014a8e89781752 /tools/perf/scripts/python | |
| parent | 7cd8eb0861981ad212ce4242a1870c4b5831ceff (diff) | |
i40e: prevent overlapping tx_timeout recover
If a TX hang occurs, we attempt to recover by incrementally resetting.
If we're starved for CPU time, it's possible the reset doesn't actually
complete (or even fire) before another tx_timeout fires causing us to
fly through the different resets without actually doing them.
This adds a bit to set and check if a timeout recovery is already
pending and, if so, bail out of tx_timeout. The bit will get cleared at
the end of i40e_rebuild when reset is complete.
Signed-off-by: Alan Brady <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions