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 9ACFD43E57 for ; Sat, 13 Apr 2024 14:52:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 953C440684; Sat, 13 Apr 2024 14:52:35 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2042.outbound.protection.outlook.com [40.107.220.42]) by mails.dpdk.org (Postfix) with ESMTP id B543040684 for ; Sat, 13 Apr 2024 14:52:34 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GSmEUnmERh1Eq5zE4aAm0e7uC0smIXV9hN4mvzDfcDrCPUsJ3vHeHdTwPdP6W6X5DcQxPvnZktB5OVioUMO8gx6AR/DimSRBp7s21k9X8aD5oNumbkv6TVIXzgJTSsqtYcB2SIS6FTos3fenMmkNBdAF5GqiDaBY3zWRWFJFfyOG9DDOnHuCNJlWj5BfWSMRbOUp3g5x/attzFbvtKZjSGMlFTFa3JfPKOZ36S7cuzNOZqX8Os3VJEggBjUW1OQiMh+UEErQxMfUV1eFShZyy7KIO0l9xmNnsGrttFjwJwa31Q6JjSIvSLNmIkjpbfY+tV5Ar6Rr13G70dV2RJsBVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/xmiZYu+UGhMy6Ba0z4KnHa9nTYeNGIgv93Yw3zwwpE=; b=gnJ6XVKRAwIgSmj4oU6LEkYQYh0X1209WjPej48oWxnU+YU3mwB/6/uAwEqN5APgCUNbd+U+yCWJLDQidEGb7pboPyfWsA2PmyYDtiehuv60AEDyKfT+MH2pK7F8RV189e4fzPxYs4FPDzTF1umiU+MAXBpD8OMOFderGlCU6ubBnbi+yA9o0MSoaOAtshCnzlDiT3jNbipNZOnlyQHVDeEzngjYjrtONBKw3dVQgbfT6j/iy6kKxLT0erY/JrR86B6t55tHqFEpFMrQnDibHtrPu+f2l5dE7ekP9dhFxiJ/7DJJLVIn5tZtwP5PliEdJ2QZ2uxv90gc3RNitfvQww== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=redhat.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/xmiZYu+UGhMy6Ba0z4KnHa9nTYeNGIgv93Yw3zwwpE=; b=XxsJStHOuUqNl55SF49lqzqcP3Y+kgNO9aVrs7byhNBCsUYdv9+iW9uEXw5h1NSdirIwsxCrNFxZ4PIqJisEZR37VwNxTX0tvdP0Uy02Y/imqPzN+dk6hD11+iEY6Vxyqtg5JENXuLnsxcTBAuY/V6E8SY83v/N8DmLTwk8+6H8OJmQd1y53CNpfnfSnSa8Mvyap7PR+5ZMELvu3123XPE+rBbj004jSpWhAuq/sIEG8wxHoY4zd8xrmoGIDEuwqkDnzFN1ttjFSXltKM25Nu5UFev609ZRquQnmrOwkUKNRe3qAkWOMhprhcCmS676ika0VT/XMYTwH9RKKlPdqow== Received: from BL1PR13CA0339.namprd13.prod.outlook.com (2603:10b6:208:2c6::14) by SA3PR12MB7880.namprd12.prod.outlook.com (2603:10b6:806:305::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Sat, 13 Apr 2024 12:52:31 +0000 Received: from BL02EPF00021F6D.namprd02.prod.outlook.com (2603:10b6:208:2c6:cafe::1) by BL1PR13CA0339.outlook.office365.com (2603:10b6:208:2c6::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7495.16 via Frontend Transport; Sat, 13 Apr 2024 12:52:31 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by BL02EPF00021F6D.mail.protection.outlook.com (10.167.249.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.22 via Frontend Transport; Sat, 13 Apr 2024 12:52:31 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Sat, 13 Apr 2024 05:52:19 -0700 Received: from nvidia.com (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Sat, 13 Apr 2024 05:52:17 -0700 From: Xueming Li To: Kevin Traynor CC: Vladimir Medvedkin , dpdk stable Subject: patch 'net/ixgbe: increase VF reset timeout' has been queued to stable release 23.11.1 Date: Sat, 13 Apr 2024 20:48:24 +0800 Message-ID: <20240413125005.725659-24-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240413125005.725659-1-xuemingl@nvidia.com> References: <20240305094757.439387-1-xuemingl@nvidia.com> <20240413125005.725659-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF00021F6D:EE_|SA3PR12MB7880:EE_ X-MS-Office365-Filtering-Correlation-Id: f69e4b6b-c625-44e6-a4ce-08dc5bb89511 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Qtbn7YYnok54yoIX/j+T62Jr38EVtG5OamwMXyGe6eCRh/FHz2lKjSjemB35I4NEgzbWY/YnuqTxwhHRcC8pn4dL42SJCHdpwhdpQBaK7iP+aJt8bD/J2vlV2kS+JeYqSyd30i1FuXfEyJpk4LhLgP9K0nv5LNZeBvBIHVx6efJZEcFaSYyDsaZFBvZCHX0ycKBi4lfmOGjqfiEb+z4yHll5c18RcVW5UZIqMSji1UfvTT41LLnT3nSzXw5n4tA7DEUsKy87MixoCIn11Q+3QBNZAok+Y/QULqmCqYFVxfb9jROFvhhKNmBk/+r2lbyuaq0k91GWuZ863T3L5w7uVdHe+98Vzk9DUGhN+PpWZ+yHS6HzYVGJj/bTiRlS3yZRIc5wFrGX5RRkS+H19DeKmaQQ/ApUZe7T1Kuk4x12nAqRHRmsRmjhNZOtE67I74HqCNVpR9GMu9epumDmlBAKBRMIxvc9+Hqvrj0QWRF+sDYmEZwkQKF1xucXEby35MEVaJOgQe4yRBwAbP6odM1ubAUn+uk1YUgo38tjBjM5yoEALWsPNymiXke7bAwtM301XIUJvslg3t1BjA/NwsnW44VidOgokyeP96y6HSMn+StD92iFuB7IBO5LxlDxBrd53yFjApcY8cmIWhepfvG5Bo57sDTMLyTQE/31wEWKULqyK54gJRztQQPTr5yQIRcRKBA4f5MXAx1ZQTaBzSE6Gqt+RVcaWQFQ//1xhYI6M47tcX4fUL5qo6zz81mS3qlx X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(1800799015)(376005)(36860700004)(82310400014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2024 12:52:31.0808 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f69e4b6b-c625-44e6-a4ce-08dc5bb89511 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BL02EPF00021F6D.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB7880 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 23.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/15/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://git.dpdk.org/dpdk-stable/log/?h=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=33b5bed057b1c466dbfbd18f2b30deadee66715f Thanks. Xueming Li --- >From 33b5bed057b1c466dbfbd18f2b30deadee66715f 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 Cc: Xueming Li [ 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 1094df5891..35212a561b 100644 --- a/drivers/net/ixgbe/base/ixgbe_type.h +++ b/drivers/net/ixgbe/base/ixgbe_type.h @@ -1800,7 +1800,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.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-04-13 20:43:05.876115184 +0800 +++ 0024-net-ixgbe-increase-VF-reset-timeout.patch 2024-04-13 20:43:04.937754010 +0800 @@ -1 +1 @@ -From 64e714f838aeb1afbd4e7544686a0d7cd8921589 Mon Sep 17 00:00:00 2001 +From 33b5bed057b1c466dbfbd18f2b30deadee66715f Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 64e714f838aeb1afbd4e7544686a0d7cd8921589 ] @@ -18 +20,0 @@ -Cc: stable@dpdk.org