[PATCH v2 132/148] net/ice/base: increase PF reset wait timeout to 500 milliseconds
Anatoly Burakov
anatoly.burakov at intel.com
Wed Jun 12 17:02:06 CEST 2024
From: Ian Stokes <ian.stokes 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 fcd40e398b..9991be98a4 100644
--- a/drivers/net/ice/base/ice_common.c
+++ b/drivers/net/ice/base/ice_common.c
@@ -9,7 +9,7 @@
#include "ice_ptp_hw.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