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 65C314404F; Wed, 12 Jun 2024 17:25:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F0F2F432D8; Wed, 12 Jun 2024 17:07:04 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mails.dpdk.org (Postfix) with ESMTP id EECCF42FD3 for ; Wed, 12 Jun 2024 17:06:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718204819; x=1749740819; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ykjxn5/5PVq4ojfKkXXPJpGowY9tuVr06KzcS+Nf7jM=; b=b55WfyR9OGv9nKmuyX4L8OvE9kScgQh9j8HRYqOTuwGDTJMtW6Pfz3RX 5jS1V2uvC49qyiZqTs+gbKFv3qZz+3L9LyDWbGjEu/al6Xu2EuaUEgdUA ubQ0YZUReATlf+o9BzHlZQcAmO3sGpA4l1wh6fIKzbNWiiRQGQ9vg7gYk hNFjhF6dbEjfMgb/kUVG3xLqM7QX0TIv3xbqPDr64CREBIQZ9mEqsLFox WA+rCYumid7esguxbqgg+D1rrr7lzNQoGrb9xNG+gv7VdGirxqgS46+w5 xjRawL6u3l7eJTgElA6hATq39EsuPf2XSHaXbBwi54+u6JszzCYmVQOEM Q==; X-CSE-ConnectionGUID: nIRdvItuSm2L4ETJwYDGmA== X-CSE-MsgGUID: UeA4OyyyRVa6HodAhs8c+w== X-IronPort-AV: E=McAfee;i="6700,10204,11101"; a="32460117" X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="32460117" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2024 08:06:59 -0700 X-CSE-ConnectionGUID: BoEgOjTtQcGlRKlwvyIFQw== X-CSE-MsgGUID: QiH/TNANTDSX4mXyNdRFxg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="39925993" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by orviesa009.jf.intel.com with ESMTP; 12 Jun 2024 08:06:58 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: Ian Stokes , bruce.richardson@intel.com, Benjamin Mikailenko Subject: [PATCH v2 132/148] net/ice/base: increase PF reset wait timeout to 500 milliseconds Date: Wed, 12 Jun 2024 16:02:06 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: <20240430154014.1026-1-ian.stokes@intel.com> 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: Ian Stokes 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 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