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 83A3541BE7; Mon, 6 Feb 2023 08:23:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FAC640E03; Mon, 6 Feb 2023 08:23:26 +0100 (CET) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by mails.dpdk.org (Postfix) with ESMTP id 999AA40A7D; Mon, 6 Feb 2023 08:23:24 +0100 (CET) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id B590E32007BE; Mon, 6 Feb 2023 02:23:21 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 06 Feb 2023 02:23:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1675668201; x= 1675754601; bh=Ij96JGPd6Q134iY02PzAQVvIBHVlVE2NC2cPmj3CrXw=; b=C HGG/wDKXzwkg1Q3v7fIXRvSE0EmIjTQQGJXS4wnYCIPdWtFkQGvAOMXEBX0WD4MJ rI+OIAvz/GhSx6WeLtqqphtf31pBXlTe1wvcUP5EntDEe3FemTZGQKCSX+lsXEIZ 2F1iuQGy8wihmfDEXUVmNgxG9SvWepqXCAifZwr8Umltf0KtWsMTgwWOmVLtxUHj epA01yqgWD0DHyO1V5/OMkZBskcAT+SE8erb1SCpgZDyJXpwtpUuw1ZubrX3t5nH vmhVT438B+V+Pz8jIOECOsn4SrU5S09mvWTOtr7pRij7tmArQoS5DiVXbNwuDBSa /OcynL0HcmxFowBUek/HQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1675668201; x= 1675754601; bh=Ij96JGPd6Q134iY02PzAQVvIBHVlVE2NC2cPmj3CrXw=; b=C zssP3bgT/NNpQMhqaI2nDOmsni78xW6gLEvm/GzYbVHtIOyZ0KySH3mQBGKaDjGt 2FWcyKcUCwCxsVzUAxosJUOdOD/lfanmkrXQX49DoNcUsmqH7ERQVWhUFEzUEQzm TsjtV8MzIPpMy6ANLsNwsryQmPG007MUC5ClfPZSd0t08AYkha9P8NfqK3kf9B7t SckH6f3AzB82DzGBGK6NMvpi+4VIV7Jo3coKKYthuTc1j2WNdzS2KfNzf+bRv8IX xy6l3QxFSoLJyTo8okNPbSVUBSUcu1+Ch0AQYuQrAUoLS+i/us9MLAyR9y8V9/nq 8+XYXtMi6wZADL8Q2KI5w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeghedguddtgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuggftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddt ieekgfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 6 Feb 2023 02:23:19 -0500 (EST) From: Thomas Monjalon To: Mingjin Ye Cc: dev@dpdk.org, stable@dpdk.org, yidingx.zhou@intel.com, Qiming Yang , Qi Zhang , Mingjin Ye , david.marchand@redhat.com, ferruh.yigit@amd.com Subject: Re: [PATCH] net/ice: fix get link status timeout Date: Mon, 06 Feb 2023 08:23:18 +0100 Message-ID: <13196161.dW097sEU6C@thomas> In-Reply-To: <20230206062239.1042172-1-mingjinx.ye@intel.com> References: <20230206062239.1042172-1-mingjinx.ye@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 06/02/2023 07:22, Mingjin Ye: > When hw is just started, it will immediately obtain the link status, and > the longest attempt is 1 second. Some NICs are slow to initialize, which > make it fails to obtain the link status. > > The patch fixes this issue by modifying the longest attempt to 5 seconds. What is the consequence? In which case, DPDK application would be blocked during 5 seconds?