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 DE08543829 for ; Fri, 8 Mar 2024 15:31:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D7BE542FA7; Fri, 8 Mar 2024 15:31:42 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 6603140E2D for ; Fri, 8 Mar 2024 15:31:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709908301; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gpr9FxKSp/fkZLS/e42hY7Lky/+098hLbGs9KNLnuWk=; b=bgv6QiMlk177uAgeXrwpuJdROnU/KvhwLwq6HYLIAc5WccLCbqUPVPlaFHdf7yw9wRAB+B 9gxD/6yv1Bn8WaBYvgtpUEu/5L5J4+qhhCYKt/HKnJk9dHBzCTdgTxGyHvqNNqqCAmL84s LkrsA7pvEHn95lVzlbhUMs3TbNu5URY= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-459-5iyaSPHxPcyPDyE23B8E-A-1; Fri, 08 Mar 2024 09:31:37 -0500 X-MC-Unique: 5iyaSPHxPcyPDyE23B8E-A-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4258B3801F55; Fri, 8 Mar 2024 14:31:37 +0000 (UTC) Received: from rh.redhat.com (unknown [10.39.194.94]) by smtp.corp.redhat.com (Postfix) with ESMTP id DF63937F6; Fri, 8 Mar 2024 14:31:28 +0000 (UTC) From: Kevin Traynor To: Kevin Traynor Cc: Vladimir Medvedkin , dpdk stable Subject: patch 'net/ixgbe: increase VF reset timeout' has been queued to stable release 21.11.7 Date: Fri, 8 Mar 2024 14:28:02 +0000 Message-ID: <20240308142824.528417-14-ktraynor@redhat.com> In-Reply-To: <20240308142824.528417-1-ktraynor@redhat.com> References: <20240308142824.528417-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 21.11.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/13/24. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/4a95397cc026929baa39efc6443302b7f84b5d60 Thanks. Kevin --- >From 4a95397cc026929baa39efc6443302b7f84b5d60 Mon Sep 17 00:00:00 2001 From: Kevin Traynor Date: Tue, 30 Jan 2024 10:00:27 +0000 Subject: [PATCH] net/ixgbe: increase VF reset timeout [ upstream commit 64e714f838aeb1afbd4e7544686a0d7cd8921589 ] When VF issues a reset to PF there is a 50 msec wait plus an additional max of 1 msec (200 * 5us) for the PF to indicate the reset is complete before timeout. In some cases, it is seen that the reset is timing out, in which case the reset does not complete and an error is returned. In order to account for this, continue to wait an initial 50 msecs, but then allow a max of an additional 50 msecs (10,000 * 5us) for the command to complete. Fixes: af75078fece3 ("first public release") Signed-off-by: Kevin Traynor Acked-by: Vladimir Medvedkin --- drivers/net/ixgbe/base/ixgbe_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/base/ixgbe_type.h b/drivers/net/ixgbe/base/ixgbe_type.h index b7eec45635..dc765f13c9 100644 --- a/drivers/net/ixgbe/base/ixgbe_type.h +++ b/drivers/net/ixgbe/base/ixgbe_type.h @@ -1800,5 +1800,5 @@ enum { #define IXGBE_VFRE_ENABLE_ALL 0xFFFFFFFF -#define IXGBE_VF_INIT_TIMEOUT 200 /* Number of retries to clear RSTI */ +#define IXGBE_VF_INIT_TIMEOUT 10000 /* Number of retries to clear RSTI */ /* RDHMPN and TDHMPN bitmasks */ -- 2.43.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-03-08 13:47:49.466065934 +0000 +++ 0014-net-ixgbe-increase-VF-reset-timeout.patch 2024-03-08 13:47:49.011686642 +0000 @@ -1 +1 @@ -From 64e714f838aeb1afbd4e7544686a0d7cd8921589 Mon Sep 17 00:00:00 2001 +From 4a95397cc026929baa39efc6443302b7f84b5d60 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 64e714f838aeb1afbd4e7544686a0d7cd8921589 ] + @@ -18 +19,0 @@ -Cc: stable@dpdk.org @@ -27 +28 @@ -index 1094df5891..35212a561b 100644 +index b7eec45635..dc765f13c9 100644 @@ -30 +31 @@ -@@ -1801,5 +1801,5 @@ enum { +@@ -1800,5 +1800,5 @@ enum {