diff options
author | Jacob Keller <[email protected]> | 2017-07-10 13:23:08 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2017-10-02 07:57:42 -0700 |
commit | 8bac58be1700dab3cac8cb53ed0651da40777024 (patch) | |
tree | fb479aa5cd5e96096cf4774b56253163dc8d2cf4 /net/switchdev/switchdev.c | |
parent | 523a0b558db4ca205522976077911e5efe235781 (diff) |
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 <[email protected]>
Tested-by: Krishneil Singh <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions