Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2821250rwl; Sun, 9 Apr 2023 01:59:12 -0700 (PDT) X-Google-Smtp-Source: AKy350YeNUeGn7MIsQedNnR2X69HLbQZoNaxL+WK5rHW8dopK679MKUodI7IHl3MnfqCuanFNYBG X-Received: by 2002:a17:90b:3e81:b0:23d:3fbe:2f7 with SMTP id rj1-20020a17090b3e8100b0023d3fbe02f7mr9285076pjb.20.1681030752418; Sun, 09 Apr 2023 01:59:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681030752; cv=none; d=google.com; s=arc-20160816; b=1BfRMXSdFdvyL/KH3NDyorCyBVBahNzzp3A1M1B7HOrT37g2xN5Q8FyGhvtm/YORQW vNC3O8jGKzNlja+Mc3dq9bkDbditqzJP2HSdz6nbcWZ40w+aU6LMA8HRB0L5dFBPyErh 0uQXIj7CEK+1ENFxKGSIPah33zS8vefO5irCTmFZfRpWF096DnANbDlcmMlVUU0SjKN2 wJn3f1U5601ACUvTT6mcb9CE/aij43GOkYKwC3p4paeQAaQ5J31Q/VDt0sVe3X6YEkV3 DP09ZY9HOE9NSuE/HSDI8dtkbuS2VwLweOxvVb2uGxfVrnUyJs7H79gtYPbht/dYoNnC VVOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=IA+eaEmCQ+A5NNVLC5MzI17i0OZWw2WMLGNtI2nftWc=; b=Av0s76ZQruNZYtYhhcxRLZV+pHPdJRzcEBH1+GdQ3TcLIY45Xm910po107vrUb7UvY F0M+15KRtFu830PbautE829ez4eQhdTFlPn5rZvBrC6x8kb8qDWpwXVIdb5MfE8UzF6n 7rzdrlWSZmS7kKuNFafIHQnyRObfR+218QeZzVYWFsdZ1UsCNhoZ0/zjWld+rdACtiR5 SWjDoKeXMXBwFqHYLJjOc2WiCUkfD6dYIMVlMQywbVSbYABvSJBqPtdwJNfcTOSUmFxm 6IVYGgk+45oQKO/PI7+8i6BuXkXOoUPr2dDM7S4VT3pO2P6sLWvBx3oH2mcH7ovPxxzG Kf/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z4cY0crp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p4-20020a17090b010400b00240ef97dd52si7921521pjz.159.2023.04.09.01.59.01; Sun, 09 Apr 2023 01:59:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z4cY0crp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229510AbjDIIzY (ORCPT + 99 others); Sun, 9 Apr 2023 04:55:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjDIIzW (ORCPT ); Sun, 9 Apr 2023 04:55:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4BD146B4; Sun, 9 Apr 2023 01:55:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 70EAC6118C; Sun, 9 Apr 2023 08:55:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51EDEC433D2; Sun, 9 Apr 2023 08:55:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681030520; bh=lqqiLjfdID7NyrKwl8gxSvXGYqRVMurTrjdak7tHvak=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z4cY0crpnqKkmW2SbJZhhN/vR2Pi9xctdkfISRhIRbBxJe1Xcp5XI9WmMAiQJ4s1T hD/nAkNIS6EGMcfwe+ZxAA96ci2EyqU6sGD+lq7AkG/UNThDFBTXGZIcJB3YIe4QDc RxgK25yfZK57AlxNGcMVcUrOAwKtBo0whBtURGUK4Yh6Kvnz3rujaZRfs/mVxCf9+5 OaNGkS/lbW6pDTBSbrgzJcQbLpmayNfkU4hnbXduYHpDtB0UyQgDW6zmBcRiF5qauo cVC/+NijSjImyugthBBg5JmJEpUuag9uWnD7a9ztiuXVgQ6kP7kX0CBP9beAxkr+6N ica23rJPRO+vA== Date: Sun, 9 Apr 2023 11:55:16 +0300 From: Leon Romanovsky To: Niklas Schnelle Cc: Saeed Mahameed , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Gerd Bayer , Alexander Schmidt , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net/mlx5: stop waiting for PCI link if reset is required Message-ID: <20230409085516.GD14869@unreal> References: <20230403075657.168294-1-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230403075657.168294-1-schnelle@linux.ibm.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 03, 2023 at 09:56:56AM +0200, Niklas Schnelle wrote: > after an error on the PCI link, the driver does not need to wait > for the link to become functional again as a reset is required. Stop > the wait loop in this case to accelerate the recovery flow. > > Co-developed-by: Alexander Schmidt > Signed-off-by: Alexander Schmidt > Signed-off-by: Niklas Schnelle > --- > drivers/net/ethernet/mellanox/mlx5/core/health.c | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > The subject line should include target for netdev patches: [PATCH net-next] .... Thanks, Reviewed-by: Leon Romanovsky