[Intel-wired-lan] [PATCH] i40e: make PF wait reset loop reliable
Bowers, AndrewX
andrewx.bowers at intel.com
Thu Jun 4 19:10:44 UTC 2020
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Piotr Kwapulinski
> Sent: Tuesday, May 26, 2020 3:51 AM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Kwapulinski, Piotr <piotr.kwapulinski at intel.com>
> Subject: [Intel-wired-lan] [PATCH] 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 at intel.com>
> Signed-off-by: Piotr Kwapulinski <piotr.kwapulinski at intel.com>
> ---
> drivers/net/ethernet/intel/i40e/i40e_main.c | 20 +++++++++-----------
> 1 file changed, 9 insertions(+), 11 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list