From: Qi Zhang Date: Mon, 6 Jan 2020 03:38:47 +0000 (+0800) Subject: net/ice/base: increase PF reset wait timeout X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=54cf696d5a9730b6c42813135bf35499e92c3b42;p=dpdk.git net/ice/base: increase PF reset wait timeout Increase the maximum time that the driver will wait for a PF reset from 200 milliseconds to 300 milliseconds, to account for possibility of a slightly longer than expected PF reset. Fixes: 453d087ccaff ("net/ice/base: add common functions") Cc: stable@dpdk.org Signed-off-by: Jacob Keller Signed-off-by: Paul M Stillwell Jr Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c index 319b00f759..2e756f542b 100644 --- a/drivers/net/ice/base/ice_common.c +++ b/drivers/net/ice/base/ice_common.c @@ -9,7 +9,7 @@ #include "ice_flow.h" #include "ice_switch.h" -#define ICE_PF_RESET_WAIT_COUNT 200 +#define ICE_PF_RESET_WAIT_COUNT 300 /** * ice_set_mac_type - Sets MAC type