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 E3BBBA034F for ; Wed, 10 Nov 2021 07:48:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D834B410E0; Wed, 10 Nov 2021 07:48:22 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2042.outbound.protection.outlook.com [40.107.93.42]) by mails.dpdk.org (Postfix) with ESMTP id 1D7F14068B for ; Wed, 10 Nov 2021 07:48:22 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X2pQjyJfM+7M/yfwdBUq85YypGgnZHgFqu9oq1BvSJ6fWCrXpP0YFjitj+9kvVDPV5uglk5XI7Vkr/FJpmhUDY5w2bT+hZoiQw/DnHkSaVzCPMYvrF3qPFJBoMOM8457NLGl493X2xLZYIv35WyIT3ZRo4pJy+zqi3/RDEyGQyoqMa3WZxrjNgfbFESNi3nwi+b3uEckeSStMtZTzprk8nGF2i2tEYo9zzkWSKe85w5d/3bVWTN1w+4EzIMEdvT8SgRcv50DMT3s0fHmVJNX+yYAxseMeAshuW3K6eW197NZ5fV0TtL2FR/Nxq/PJZwdIELmx6TOoZNQgoqvJC+sQA== 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=sa7tEzgSac9EEdwAWF3V/6DuTYR2XsPsmVHrWLhQlH8=; b=lB8YB9ilsdSK9N7/q7gQ8RsIws6gYP4t3gWveLTcbfUe6AjfqTPpLV7FC9bACNQB2lQqvs3FTC6ivnrQIyyeAcZGwe1urYEmWP3cBZDYTH4nJ3nzmnWH8q9MZvNYXTRuMOirHXAsHCEQjhUOrkzTCAg5bw9FKk8Vj4BGhZL0gkRvhPegFso9ULuSxOXB2nlP+XTxi/kyq4XfjpvV/RChrA4na0PfuvhNMsfe3FbOoXVBPetHMYVBwlu43/q+VEpKF9imiqgQbTb59U8iShat5kKeCuA9Hz8pbcSl+Jk9SHRGvo7vVLKojcD9n8R23hHV915AlkzIPArJCIlukJOBSA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none 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=sa7tEzgSac9EEdwAWF3V/6DuTYR2XsPsmVHrWLhQlH8=; b=KkNVj9H5obpzXbR5fP0/cvAaLJkydjQJYwRFMyOE3s4mwhh83qqnNUwRtBg7vJN7WydPksfE/6gRJYhi4oSjtFOq8BqJO6VpfZfEVpYEqxXs13c4QUjSNd2wMElf99et7EIr+srJNUegell4XB51j3QOUpUMNepvExwssTD912ZcvOThhU2tNPzjamzZQ35dceWmpCzLl/f7sVIKdHREn28vVs8Sdo4asHs/Zuacf67WV4mdK/nzwHfjYmxyB0cc81uI3CutW6pbG3Lvu7louWVyIxSUpc3vWfLwbieHRM4mNXqHSx/1zV3934dxRWdn+fWhdFqk9IQB3h1a9vozfw== Received: from BN0PR03CA0035.namprd03.prod.outlook.com (2603:10b6:408:e7::10) by BN8PR12MB3507.namprd12.prod.outlook.com (2603:10b6:408:6e::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.16; Wed, 10 Nov 2021 06:48:17 +0000 Received: from BN8NAM11FT059.eop-nam11.prod.protection.outlook.com (2603:10b6:408:e7:cafe::a3) by BN0PR03CA0035.outlook.office365.com (2603:10b6:408:e7::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 10 Nov 2021 06:48:17 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT059.mail.protection.outlook.com (10.13.177.120) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 10 Nov 2021 06:48:17 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:48:13 +0000 From: Xueming Li To: Robin Zhang CC: Luca Boccassi , Sylwester Dziedziuch , Beilei Xing , dpdk stable Date: Wed, 10 Nov 2021 14:30:27 +0800 Message-ID: <20211110063216.2744012-144-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8bdfc7ec-fe8d-4c28-e316-08d9a41613a0 X-MS-TrafficTypeDiagnostic: BN8PR12MB3507: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: K/ZXTJsRcil1bLyT9g1hamqqjyZztJcnBYzMvpL+Yt6zhvbKSwXFBXboQKl0eTLdAJPZE7iHHnlBcXjCV7Gf6N9cTLPr2RUW7ufNfro+WZ5DL2An9lNxlb8nn8mnNkPZzfcBn7IuAC+sfNhN78Em8zOAyyqi9DY4uUWYFeGex6/0lkqJAEEp/gXrjegq6Rob3gP7OBfs9nEqNGvY0Tm+aiQNPv/rr5uQAvqUSytZqY1nVsS+P5mb4OJumFGbT0uRcWwsrg4lNbqlzYqLSf0OKeTdsoGG0u3pHZS6lwxITPCbziUrKbU4KNhlSpV4MVhOjcgQP24wB9B06MmWh58UrKkbhxPiZF3zSDKWakNMKKE4GNSB8C4PF2QHl0kqgPi+Qh9G4YHnwa8i9deiEfiUds+wsbbS9brad3e59UPgjaioIHheuhVziwynlay58EqqJDCarvQROqgs3sdI/4bPZDxI8VJSqTlLPbeDJFMdWXLqbchWT8zFHVKnm92pMp8utU0NLBTgqxNrdKwWZ2oh34flCfQ4FXeg1OzqDqwXf1mNVZOhvtoowi179hgRmdzSoMoRZXBAQuXFUXiMTMPZodTCkSV67meeQ/LQEG/H0z4a61ZQacqD+ppq5n0gDNxSwSIykoGKUMXVQviDcZT+7u8DClU3pzgg7XymsihAI8+4y7vRolJczTvq8D+YUKqUzvVaQjj3szN5TXWmx4EfmIKYzK3p3F0jI3qcsqYPgC+HEI64xN3SmRS/lR6hbbmklX+TzXWTExwFZCUigcHvcZ3YjVBfX86iAAU2mNajkx2MenbXNUz/OhmZ7ma4hSO2S2UT32h/ynrKtWx86OJo3A== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(36756003)(54906003)(426003)(36906005)(1076003)(83380400001)(7636003)(2616005)(336012)(16526019)(966005)(26005)(70206006)(186003)(53546011)(70586007)(82310400003)(4326008)(2906002)(5660300002)(508600001)(8936002)(7696005)(6916009)(8676002)(47076005)(316002)(55016002)(356005)(86362001)(6286002)(36860700001)(6666004)(4001150100001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:48:17.2354 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8bdfc7ec-fe8d-4c28-e316-08d9a41613a0 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT059.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR12MB3507 Subject: [dpdk-stable] patch 'net/i40e/base: fix PF reset' has been queued to stable release 20.11.4 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/12/21. 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/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/6f1ed0141c1abc1c79a78c4afc405db59858e9ac Thanks. Xueming Li --- >From 6f1ed0141c1abc1c79a78c4afc405db59858e9ac Mon Sep 17 00:00:00 2001 From: Robin Zhang Date: Sat, 9 Oct 2021 01:39:45 +0000 Subject: [PATCH] net/i40e/base: fix PF reset Cc: Xueming Li [ upstream commit 25829b55b463f7bb0b69af0e63b19121a16d2a63 ] PF has to delete all the filters during reset. If it is fully loaded with filters then it is possible that it will take more than 200 ms to finish the reset resulting in timeout during pf_reset and PF reset failed, -15 error indication. Increasing the timeout value for PF reset from 200 to 1000 to give PF more time to finish reset if it is loaded with filters. Fixes: 1e32378f0774 ("i40e/base: increase PF reset max loop limit") Signed-off-by: Sylwester Dziedziuch Signed-off-by: Robin Zhang Acked-by: Beilei Xing --- drivers/net/i40e/base/i40e_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c index a13513d0b5..69ff2dce9e 100644 --- a/drivers/net/i40e/base/i40e_common.c +++ b/drivers/net/i40e/base/i40e_common.c @@ -1341,7 +1341,7 @@ STATIC enum i40e_status_code i40e_poll_globr(struct i40e_hw *hw, return I40E_ERR_RESET_FAILED; } -#define I40E_PF_RESET_WAIT_COUNT 200 +#define I40E_PF_RESET_WAIT_COUNT 1000 /** * i40e_pf_reset - Reset the PF * @hw: pointer to the hardware structure -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:08.295826088 +0800 +++ 0143-net-i40e-base-fix-PF-reset.patch 2021-11-10 14:17:01.920745681 +0800 @@ -1 +1 @@ -From 25829b55b463f7bb0b69af0e63b19121a16d2a63 Mon Sep 17 00:00:00 2001 +From 6f1ed0141c1abc1c79a78c4afc405db59858e9ac Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 25829b55b463f7bb0b69af0e63b19121a16d2a63 ] @@ -15 +17,0 @@ -Cc: stable@dpdk.org @@ -25 +27 @@ -index ceedec68bf..aa424e6010 100644 +index a13513d0b5..69ff2dce9e 100644