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 608A943CAD for ; Thu, 14 Mar 2024 01:11:10 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 54B8640297; Thu, 14 Mar 2024 01:11:10 +0100 (CET) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mails.dpdk.org (Postfix) with ESMTP id 9DEF24021E for ; Thu, 14 Mar 2024 01:11:08 +0100 (CET) Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-413eb7cf7dfso2869125e9.0 for ; Wed, 13 Mar 2024 17:11:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710375068; x=1710979868; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bJTrL+CAgb+ztN/pQ7UnEcmVthu2r+AlUuxEy3tb5tc=; b=nHvhwCSqt0ziYvGvcWegsrQ31jW+L8cot4HmO632Zf+xWlXTbW2QITt4GIt6TWknr1 RznFkIcKAqj9fCxLFu1QhGH6fVV8LJo5gHKBysnwfkeVA7mkem/+OgKOsAHi0YLboXqs OTvsnttlCzuaA/d7Smjvjp5641rBXIoRceuiON3Ed728NRgCToSqwxNt3GR+8YOT6gZh KjiR0DiFA0lRqy7HO6tJ+DFWKqOMF9dABJM0h/4Qk5wN9bHjBNSLKxz0pwFEDCWLTP3p VVz71xd2RLbZ7LFFC2sj/sMgOBWDs6iedVNewrntF/Ea63cq+NzCHh4J5bUfgnnKq1b/ 4iRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710375068; x=1710979868; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bJTrL+CAgb+ztN/pQ7UnEcmVthu2r+AlUuxEy3tb5tc=; b=BI4p4eT4/7i0RHnd8K3mT2Pc+HaL28fWDEwyNB9cUnLrMy5WzIjOK9/5VgXePC2ncm qfJvnH2YHuBgo61miyH/X6HOxtZB5A2f5fCRyuDUpqwtWWDdPU7Dhaj3JEx0yyHZoeuj ks+/YjLoU8e0Xr6xCjXfutn+jqTlbpxzyKBwULSoDxP4yASPwazzb6ytPPps2d/K5SlR WD1zAf6PdD7RdPc1RD4FeqL1fPcm7Mfn3O0G8Eq0G3esJjaFiUA64HWaLG9lQw3zzCUP cnUn+Hpr9SnlH2hG1LhPvw4avvvrPM8FVKRBUXwEE9YY7afxkQYU5ZBITdagep143Uri 5vRQ== X-Forwarded-Encrypted: i=1; AJvYcCW9A1Pc60c/gHP2n+soXcpePkE1KdASpq1O87Tbv6CubhMNpw0gpmR6dOJ6UpuyTe4sl2pVY27V62X+24AGwYo= X-Gm-Message-State: AOJu0YwDm9Y4lmK+fL/MfJk82I0l+s0XcnUIgVKrbL7wXGxsILZqNrsB Azi/YanLRpNk/1f0767QFQ0L0AhPR42oJUwTbtibUcAj5c086BXXCc/FHqqh X-Google-Smtp-Source: AGHT+IFGWK97KidS4jrD9Pe06BAA4cOO+7bKwMe+P0dn2EK71KKXcxwwRFoWyeTh9Rjyd4TbxFo3NQ== X-Received: by 2002:a05:600c:b87:b0:413:ebe3:bdfb with SMTP id fl7-20020a05600c0b8700b00413ebe3bdfbmr241545wmb.14.1710375068152; Wed, 13 Mar 2024 17:11:08 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:7aef:1aaa:3dff:d546]) by smtp.gmail.com with ESMTPSA id r8-20020a05600c458800b00413e8df267bsm584975wmo.48.2024.03.13.17.11.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 17:11:07 -0700 (PDT) From: luca.boccassi@gmail.com To: Kevin Traynor Cc: Vladimir Medvedkin , dpdk stable Subject: patch 'net/ixgbe: increase VF reset timeout' has been queued to stable release 22.11.5 Date: Thu, 14 Mar 2024 00:09:18 +0000 Message-Id: <20240314000957.2810803-22-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240314000957.2810803-1-luca.boccassi@gmail.com> References: <20240307013159.1735343-102-luca.boccassi@gmail.com> <20240314000957.2810803-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 22.11.5 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/16/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/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/f7667994bd8be945e849d43a9b347631d33f691b Thanks. Luca Boccassi --- >From f7667994bd8be945e849d43a9b347631d33f691b 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 @@ -1799,7 +1799,7 @@ enum { /* VFRE bitmask */ #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 */ #define IXGBE_RDHMPN_RDICADDR 0x007FF800 -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-03-14 00:09:21.763670054 +0000 +++ 0022-net-ixgbe-increase-VF-reset-timeout.patch 2024-03-14 00:09:20.601614983 +0000 @@ -1 +1 @@ -From 64e714f838aeb1afbd4e7544686a0d7cd8921589 Mon Sep 17 00:00:00 2001 +From f7667994bd8be945e849d43a9b347631d33f691b 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 @@ -@@ -1800,7 +1800,7 @@ enum { +@@ -1799,7 +1799,7 @@ enum {