diff options
| author | Jacob Keller <jacob.e.keller@intel.com> | 2017-07-10 23:23:08 +0300 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-10-02 17:57:42 +0300 |
| commit | 8bac58be1700dab3cac8cb53ed0651da40777024 (patch) | |
| tree | fb479aa5cd5e96096cf4774b56253163dc8d2cf4 /include/linux | |
| parent | 523a0b558db4ca205522976077911e5efe235781 (diff) | |
| download | linux-8bac58be1700dab3cac8cb53ed0651da40777024.tar.xz | |
fm10k: avoid needless delay when loading driver
When we load the driver, we set the last_reset to be in the future,
which delays the initial driver reset. Additionally, the service task
isn't scheduled to run automatically until the timer runs out. This
causes a needless delay of the first reset to begin talking to the
switch manager.
We can avoid this by simply not setting last_reset and immediately
scheduling the service task while in probe. This allows the device to
wake up faster, and avoids this delay.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
