diff options
| author | Feng Tang <[email protected]> | 2019-02-13 10:41:54 +0800 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2019-05-28 15:42:32 -0700 |
| commit | 47e16692b26bf58420385be76d5aa17af383d4e2 (patch) | |
| tree | e0eaf8e7310f4abea6b8e46297ed7b52a5dd2cbc /tools/perf/scripts/python | |
| parent | c7ae09253cb8a11342d7d363591f6edf2a26552b (diff) | |
igb/igc: warn when fatal read failure happens
Failed in read the HW register is very serious for igb/igc driver,
as its hw_addr will be set to NULL and cause the adapter be seen as
"REMOVED".
We saw the error only a few times in the MTBF test for suspend/resume,
but can hardly get any useful info to debug.
Adding WARN() so that we can get the necessary information about
where and how it happens, and use it for root causing and fixing
this "PCIe link lost issue"
This affects igb, igc.
Signed-off-by: Feng Tang <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Acked-by: Sasha Neftin <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions