[PATCH v4 084/103] net/ice/base: increase PF reset wait timeout to 500 milliseconds

Anatoly Burakov anatoly.burakov at intel.com
Wed Jun 26 13:42:12 CEST 2024


From: Benjamin Mikailenko <benjamin.mikailenko at intel.com>

In the CORE ICE driver enabled devlink to issue EMPR resets during NVM update.
As a result, resets took a matter of around 25ms longer than driver wait time to
finish.

Fix this by increasing driver wait time from 300ms to 500ms.

Signed-off-by: Benjamin Mikailenko <benjamin.mikailenko at intel.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>
---
 drivers/net/ice/base/ice_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c
index fe2cc543e4..ca8087dec1 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	300
+#define ICE_PF_RESET_WAIT_COUNT	500
 
 static const char * const ice_link_mode_str_low[] = {
 	ice_arr_elem_idx(0, "100BASE_TX"),
-- 
2.43.0



More information about the dev mailing list