diff options
| author | Jacob Keller <[email protected]> | 2014-05-16 05:12:29 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2014-05-26 23:53:11 -0700 |
| commit | a0cccce2cec76568190090f7bb028916d8b3210e (patch) | |
| tree | 9f0448e4af175a64ed87f47a9f5c0a92bc56f178 /tools/perf/scripts/python/bin | |
| parent | 9966d1ee6d270a40b3f7b633c23a18e52968b77a (diff) | |
ixgbe: avoid duplicate code in suspend and stop paths
Resume path calls .open but suspend path cannot call .stop because
fdirs should not be freed and control over hardware should not be
released until WoL is configured. To avoid having to duplicate all
changes made in .stop on suspend path split out part of .stop that
is relevant during suspend and call it from .stop and during suspend.
This fix also ensures that ixgbe_ptp_suspend is called during the
suspend path, and helps avoid similar errors. We can't call
ixgbe_ptp_stop, since it will free the PTP clock device, which we
shouldn't be doing during a suspend path.
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: Jacob Keller <[email protected]>
Tested-by: Phil Schmitt <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions