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 1D5EC454EF; Tue, 25 Jun 2024 13:29:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 357E043281; Tue, 25 Jun 2024 13:20:10 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by mails.dpdk.org (Postfix) with ESMTP id E4D4942F4B for ; Tue, 25 Jun 2024 13:18:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719314281; x=1750850281; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=RAskqwxCoqlhLrNWsWMLDUvs6Le9TvHvJKxCMlt0zn4=; b=M/Yhr/8CIdu5q6PuwiUF7ZEb5o1nuyY1w3SRnB2nUcHxX7B3n8eZp+be eyvQCw9akDGVdZD6sKEyPHHSAWImiRybZ3lp0WfW4TzvfwGnjDI7lEHiD ATZ/AO5amkhgYh73GZkztD0s0NVIcdxRipjcDgQWLrt4yfi4L6nM5yPfr 0XKvVwZRIOYP4f9ddxPZ6utmKLHDgJw/yhK6Obh7S8GJUxlCNT77Va48E A+JChNfOhpVUm8ZlaBJCeGYDJI5ScbMWFQzzqKWFDlGHurYQjpmyF5dPx i77r2ZtXz8+bLMvrgTprd0NrAeN+P2bnfCVuC0EJBIutq4AcZsg7vTv0l A==; X-CSE-ConnectionGUID: 41gvUejSSjyIIFw8mXfcEw== X-CSE-MsgGUID: aMDqxiwkRp+AESUO2D2WzA== X-IronPort-AV: E=McAfee;i="6700,10204,11113"; a="16080627" X-IronPort-AV: E=Sophos;i="6.08,263,1712646000"; d="scan'208";a="16080627" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2024 04:18:00 -0700 X-CSE-ConnectionGUID: 5pNlj+4QQEaAPdkysBlTcw== X-CSE-MsgGUID: Dp5aXhNgSeSJb6E2CdUT7A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,263,1712646000"; d="scan'208";a="43719724" Received: from unknown (HELO silpixa00401119.ir.intel.com) ([10.55.129.167]) by orviesa009.jf.intel.com with ESMTP; 25 Jun 2024 04:18:00 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: Benjamin Mikailenko , bruce.richardson@intel.com, ian.stokes@intel.com Subject: [PATCH v3 112/129] net/ice/base: increase PF reset wait timeout to 500 milliseconds Date: Tue, 25 Jun 2024 12:13:57 +0100 Message-ID: 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 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