From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8142D45501; Wed, 26 Jun 2024 14:05:06 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 99BD243484; Wed, 26 Jun 2024 13:56:58 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id D01AD42E95 for ; Wed, 26 Jun 2024 13:45:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719402324; x=1750938324; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XNGcPpEMirc08gOVGNfLpeSiY0fWPndFgLL8m203bOg=; b=TyjrFrO5XHsG2busX/fo0LzADSV8/0PAhZ76ZsrBKqpTKSbA9iQ3KnPF SRE8LEX4sZEwbnNlRO4iw8kv+QayparbIk4EldEWzkN4s3/ZDQtdakF5y dURsJpA7iRJTYgj/8YkkINfWrQE6comVbDrUF7q58eWN5YoBgLVTq04Ab RF1YKn7byPBQOF6Vt431c836BRT9SyDBQqUOF0V2iO/Ox+8U+yQxIypQC HOB7xc2rbN/KKQ/7eRbpDTtKktmq99H9y374SkqqPHRXh+Os8XT2J2DM2 3TH/KUfvw0RbWLRsFQur/bcRbbatIIO2jpegVVO6pEeoU+jJZUimar5pV A==; X-CSE-ConnectionGUID: z771KLLaToab3nhvUhb8Rg== X-CSE-MsgGUID: z1GDbOvmQ6CgzB5Uf+apVA== X-IronPort-AV: E=McAfee;i="6700,10204,11114"; a="38979558" X-IronPort-AV: E=Sophos;i="6.08,266,1712646000"; d="scan'208";a="38979558" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jun 2024 04:45:23 -0700 X-CSE-ConnectionGUID: yuv1WDWcRyO+YjNLVrmDUQ== X-CSE-MsgGUID: t52rCGyjSESTgNFqvHF7uw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,266,1712646000"; d="scan'208";a="43874336" Received: from unknown (HELO silpixa00401119.ir.intel.com) ([10.55.129.167]) by orviesa010.jf.intel.com with ESMTP; 26 Jun 2024 04:45:22 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: Benjamin Mikailenko , ian.stokes@intel.com, bruce.richardson@intel.com Subject: [PATCH v4 084/103] net/ice/base: increase PF reset wait timeout to 500 milliseconds Date: Wed, 26 Jun 2024 12:42:12 +0100 Message-ID: <00362198b0bd2b0fdded09321073a3704cf62126.1719401848.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Benjamin Mikailenko 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 Signed-off-by: Ian Stokes --- 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