Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5284138rwl; Tue, 11 Apr 2023 03:15:35 -0700 (PDT) X-Google-Smtp-Source: AKy350ZBxs/NDonHOgDSclBDF3/mPk4IJZL9f7mWjGFzkmcERuuGYf27PlXWEtVtaVWFcbNxuYFi X-Received: by 2002:a17:906:245a:b0:94a:7968:e39f with SMTP id a26-20020a170906245a00b0094a7968e39fmr2508116ejb.59.1681208135382; Tue, 11 Apr 2023 03:15:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681208135; cv=none; d=google.com; s=arc-20160816; b=s9slgUMJ5ZReJVAPoCOnxQ6LiLMR6dtyDjjaQkQygxjTd8MI3R7mkqYyThfkRTlQOP FkCC3TO8BA77A9UpDcyGDc9N28A60Q+dvNWrgY4KAewznXj2ALCC9SpF+bDJQyBRkOoC mo/8G2TYIvmrxyHNlIuoA5JMr1kbBrKPtTtkXPgCdP+fltblBhHkXuWO/VlMgRNka+5m q/IaUyyZm0N9cqlhQOISy43DqnngG4uWsyVyB0+i6Eh7oeyCvBDHw0OY2JD2Q0yqCti1 FUz1AQXb0V3NHF3MEdKT2Di6gPfWVF1DZP3hGKLAoJJawcK5c2qQNHc+V5lHL6uvpqAq l76g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=zmM+mYhrvWRLh6MWYkg1j/dwztT9aNR74UUScN57emg=; b=F3ipqoF+rtTotrMz2GrXzQLRRt356UwsGAL6yfAvu09tr2yFjdSKWBE5wjDPy1BdU4 HsZ1eKEQ3ZVZ8u/eG37a2T7Kf6zdZHS6gtW3xxKKwGaa/6Zvz+TwYngZSkZCSzU8Sq61 PjC3qB921hkn6Xm74f+rfHkg1S6HP33hFP2nIbk9KRasTn0bSMrCPg1KaIsjyGk3jHxu hwPLbd3fVFuwXFu6aa9kXt7RcS6r9mLztlLjC/ftSHTM25aiSDfaPJiyvte1/C3F/L1e HeduuehRtj0F7xS0qujPEvYtRvvgR9bd2M0brQTvbHw1v11EyN5fGt2/I6Q8y9Nd9KUL wK+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=l960ltP3; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q4-20020a170906a08400b00948f3dc58d8si12219569ejy.1047.2023.04.11.03.15.07; Tue, 11 Apr 2023 03:15:35 -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=@ibm.com header.s=pp1 header.b=l960ltP3; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229697AbjDKKOO (ORCPT + 99 others); Tue, 11 Apr 2023 06:14:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbjDKKOM (ORCPT ); Tue, 11 Apr 2023 06:14:12 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E54B6ED; Tue, 11 Apr 2023 03:14:11 -0700 (PDT) Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33B91On2014681; Tue, 11 Apr 2023 10:14:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : content-transfer-encoding : mime-version; s=pp1; bh=zmM+mYhrvWRLh6MWYkg1j/dwztT9aNR74UUScN57emg=; b=l960ltP37R2jOMoMW1y1SlX/LzJqmvrZ6Sskjin9TSlgewNPFQtMG/r1haCfcPwc2V1H 26Fa+PkUKhRNmwfDakvvRf3Sj2daJ/m1zrr4RpF08Bpl6edqgvViXVYOekFZIxY6KSyY vMtNtkwojlbS+7Cpgs4VGTpVy0mhM/FvJS9KwHdyhFEGLVyhn4X8jMimhSQlOTWENDdi jbziwVXBegEi2BujwwxgNH4ooG78QXi6Ld9COJUtDo1uiA7EygbLkqRcFWaP3II0KIkx 2UnYEddxJ7NtRb/zI++D/Yn8EZGEbc9BxSaa8gcseQcZThEixJBa4QLI1GPQoEXBjyKY hA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3pvrr8u5wf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Apr 2023 10:14:04 +0000 Received: from m0098399.ppops.net (m0098399.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 33B9RKBY028755; Tue, 11 Apr 2023 10:14:04 GMT Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3pvrr8u5v5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Apr 2023 10:14:04 +0000 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 33B4DSwZ022538; Tue, 11 Apr 2023 10:14:01 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma06fra.de.ibm.com (PPS) with ESMTPS id 3pu0hq1cjp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Apr 2023 10:14:01 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 33BADvOP23003648 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 11 Apr 2023 10:13:57 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5D4282006A; Tue, 11 Apr 2023 10:13:57 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3EDC220040; Tue, 11 Apr 2023 10:13:56 +0000 (GMT) Received: from [9.171.53.122] (unknown [9.171.53.122]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 11 Apr 2023 10:13:56 +0000 (GMT) Message-ID: Subject: Re: [PATCH] net/mlx5: stop waiting for PCI link if reset is required From: Niklas Schnelle To: Leon Romanovsky 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 Date: Tue, 11 Apr 2023 12:13:55 +0200 In-Reply-To: <20230409085516.GD14869@unreal> References: <20230403075657.168294-1-schnelle@linux.ibm.com> <20230409085516.GD14869@unreal> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: t_TO8cyWHg7oX6yXJ1wT94H1gryD17nQ X-Proofpoint-ORIG-GUID: ShXS9HNa2yB8BJuEb751WEMPGFYstnMr X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-11_06,2023-04-06_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 suspectscore=0 impostorscore=0 mlxscore=0 malwarescore=0 lowpriorityscore=0 clxscore=1015 spamscore=0 mlxlogscore=999 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304110094 X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,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 Sun, 2023-04-09 at 11:55 +0300, Leon Romanovsky wrote: > 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. > >=20 > > 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(-) > >=20 >=20 > The subject line should include target for netdev patches: [PATCH net-nex= t] .... >=20 > Thanks, > Reviewed-by: Leon Romanovsky Thanks, I'll sent a v2 with your R-b, the correct net-next prefix and a Link to this discussion.