commit | 91c534b5e32527573454f73183e479d4f51594b0 | [log] [tgz] |
---|---|---|
author | Piotr Kwapulinski <piotr.kwapulinski@intel.com> | Tue May 26 12:51:12 2020 +0200 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Thu Jun 25 22:25:13 2020 -0700 |
tree | 53e262c19391ae3012469175fa2eaf7c2a3dde58 | |
parent | 3c98f9ee6bc280499cbcb6f8e42c001c3bd7caa1 [diff] |
i40e: make PF wait reset loop reliable Use jiffies to limit max waiting time for PF reset to succeed. Previous wait loop was unreliable. It required unreasonably long time to wait for PF reset after reboot when NIC was about to enter recovery mode Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Signed-off-by: Piotr Kwapulinski <piotr.kwapulinski@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>