From: Benjamin Mikailenko <benjamin.mikaile...@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.mikaile...@intel.com>
Signed-off-by: Ian Stokes <ian.sto...@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 58a2aaad19..95cb79a011 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

Reply via email to