diff options
| author | Jarod Wilson <[email protected]> | 2016-07-26 14:25:34 -0400 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2016-08-16 10:46:19 -0700 |
| commit | 0be5b96cd8400aeb4bf3f8c5e7f5efaa38ae5055 (patch) | |
| tree | 8cde5e0f3ca02b259e4edb81b3cb708afc6df538 /tools/perf/scripts/python | |
| parent | 0066c8b6f4050d7c57f6379d6fd4535e2f267f17 (diff) | |
e1000e: factor out systim sanitization
This is prepatory work for an expanding list of adapter families that have
occasional ~10 hour clock jumps when being used for PTP. Factor out the
sanitization function and convert to using a feature (bug) flag, per
suggestion from Jesse Brandeburg.
Littering functional code with device-specific checks is much messier than
simply checking a flag, and having device-specific init set flags as needed.
There are probably a number of other cases in the e1000e code that
could/should be converted similarly.
Suggested-by: Jesse Brandeburg <[email protected]>
Signed-off-by: Jarod Wilson <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions