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 837A043E57 for ; Sat, 13 Apr 2024 14:53:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D4BD40294; Sat, 13 Apr 2024 14:53:52 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2085.outbound.protection.outlook.com [40.107.244.85]) by mails.dpdk.org (Postfix) with ESMTP id BC81B400D6 for ; Sat, 13 Apr 2024 14:53:50 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TGMLMsUYAWDcZilKNVtJeEpBZDQgVWx+qamKvtR2G67VWSKw/RFRjYthJpaEMZBfhxy6iYU9KXdXzFXx29FHWIwvEMUl1X9PSkUsDrEK9N8V5vA4dckASBWlgxEiFIlF9/IpRpD7sJG6oCHPAicUxvN+iWytPVzT5Be/sgxcjZelNntdskoPc3S/k5RMpWTg0N/oGueLNCp41CLHwxTlR0PwI18UgSuVeFhllDOPVLt2myC/f2tB+YxJ8bjgLEhVy5fiXZg4zEghSn/sAmPgM3aDS6SealbN0uH8X0pKfZTGSYCXkrImxpdaXMpG/DqpQSl5N1ubZterBAS/f7MF5Q== 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=uZ0BFcB7go5NgQQG14B/g6YZXLQdAswr0eEMg/gkb/E=; b=J5g1wsxMD/0r+OFFz2w1ferfglaVkvy3EX875RHC+zYNlDYuNeyS0Gcd1b3Y2owfonWRHTvNojzFczdbQbByOrWTDZ+lShhpovbm6ZJRdTiA3+RYvFAVev4fc68fqXNBJEBz7LwvmPEDZaU+PnGbdqtKqlyj235YNngqU2iC7gATh/uo8ZYYNsqFGOZ7as6G+IUIbjNBZWkQk9reJRfS4bGtpjWU9kOf7K6VikJxTC+s6WQWVbzIVGPGYq45a8pMIpdhauheHmyiTmnET11uL9Yoz+bz5CPXiiFNAzJ2VoMlfEInDm6ZXQ5YNSBCWPjuF+AS7z5Kq33aO8LACTyq4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=marvell.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=uZ0BFcB7go5NgQQG14B/g6YZXLQdAswr0eEMg/gkb/E=; b=e+R0/lmkMB8LLhR/2CzFr6FmiuR9td95ytd1Wpmu04pXVvIsC5kX2u8QQWOHncLDopc+e8RdPHTnDvgbbYQlsAwT0uiCdk6k7UsOp/DJaRFPyiYlxgHZfbX+sOZWUefiArjHEkJ9VdgGtJ/LXv/5rOP8VQDY/7nRIyosnDzJ/lqCd4RhzKU2+UqgtNzZ8L0GMudB1g67kzFn/Wop9w+TuXGAYhJWYgImvhdlB6q7mefNaAp20WKSMN3Y9sRpi7Bj74w+B1pSg++2wHwti05rJqs+8+vC82DkpCoLgnJ+DUqCE9dLZUfZ8s1b12JZXRt5YzH91qe/ci5rm+8z0J1X+g== Received: from BY5PR17CA0066.namprd17.prod.outlook.com (2603:10b6:a03:167::43) by PH8PR12MB6698.namprd12.prod.outlook.com (2603:10b6:510:1cd::14) 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:53:47 +0000 Received: from SJ1PEPF00001CDE.namprd05.prod.outlook.com (2603:10b6:a03:167:cafe::d9) by BY5PR17CA0066.outlook.office365.com (2603:10b6:a03:167::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.31 via Frontend Transport; Sat, 13 Apr 2024 12:53:47 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by SJ1PEPF00001CDE.mail.protection.outlook.com (10.167.242.6) 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:53:47 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) 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:53:36 -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:53:35 -0700 From: Xueming Li To: Harman Kalra CC: dpdk stable Subject: patch 'common/cnxk: fix link config for SDP' has been queued to stable release 23.11.1 Date: Sat, 13 Apr 2024 20:48:40 +0800 Message-ID: <20240413125005.725659-40-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: SJ1PEPF00001CDE:EE_|PH8PR12MB6698:EE_ X-MS-Office365-Filtering-Correlation-Id: a369c3cd-5ed5-4e60-9bfa-08dc5bb8c28c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UDKM9DZI/WUAFcjL28qJ2Khe8PwOUxVhbxuhmbmh6KU8M8DkVi/NJzlmlaE4qBLoPskUJQ7oQTsGmLdCsvnVZj9ozNuAzcNadoZavPWpJT+YoyGcX2UaGyiZNmNu62/+rTQ4+NlEZ5Dhfw5WYZh+aq1ai714HqVSoLed9k6w9RMFkZkHDeS2pbHoXj92uubM89qbTxc46nbuSb7kF5q/OgN2Nt0FXSMxasY0AdpabN4Q1XlNGUDC2YFEJNUMNtY7qjKegQofFHSIzxb0uhCyvqUX98n+RG0kFKC+FIXKpiQy106XWGW6Ul0mRu4mjcGcz9HvCGBpNvK5Pig1vrdrIOJjDmLE9v4PyProPwaQQ8bhs/khIh9Cz5JpMQMXMgMqcErAkGe+sqHi3DX2y6YGq6d8IMejPalU5FJbq4Ch7mjkMFPfvbUyxvZMGnjMouo/D2rUr2bBH4D/NunBhEcDnptsSmHmTq8D2qGNot0ec6YzH7nYQ+1FNp4dlP53a6VjHFeNdIpxV+4jGlDCloMS3j5CvhU0MFVyVo/b++1YEPurGtarpltqbgg/X2KloJWZ6VQ//Poe9zLjkFi3Nkc/x4ezwkOM0oP5FMLrj1Fg1kco9WtnzyyU12/GtMxK6sJUtuuNbiakJu7kVo7TWeEIbL+LxbXauE7V3mi6dgOcBqx7Zggfmr5dCwkMsrDVEYN0Zzzi3yXd4fdBmAciQWcNJEamSBee9hcYh+4MXsjj7o2lupDog+93y3W8iypaSmVm X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230031)(1800799015)(82310400014)(376005)(36860700004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2024 12:53:47.5560 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a369c3cd-5ed5-4e60-9bfa-08dc5bb8c28c 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.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ1PEPF00001CDE.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB6698 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=9cb9b9c8a0508b9e9b3074611636760c6cd24cae Thanks. Xueming Li --- >From 9cb9b9c8a0508b9e9b3074611636760c6cd24cae Mon Sep 17 00:00:00 2001 From: Harman Kalra Date: Wed, 28 Feb 2024 00:25:19 +0530 Subject: [PATCH] common/cnxk: fix link config for SDP Cc: Xueming Li [ upstream commit 48054ca3842b0fc468e3e7931143dcb154b45921 ] Link configure registers are invalid and should not be accessed for SDP ports. But while on Txq release which does SQ flush calls back pressure disable API which configures these link registers. Fixes: 58debb813a8d ("common/cnxk: enable TM to listen on Rx pause frames") Signed-off-by: Harman Kalra --- drivers/common/cnxk/roc_nix_tm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/common/cnxk/roc_nix_tm.c b/drivers/common/cnxk/roc_nix_tm.c index ece88b5e99..9e5e614b3b 100644 --- a/drivers/common/cnxk/roc_nix_tm.c +++ b/drivers/common/cnxk/roc_nix_tm.c @@ -328,6 +328,9 @@ nix_tm_bp_config_set(struct roc_nix *roc_nix, uint16_t sq, uint16_t tc, uint8_t k = 0; int rc = 0, i; + if (roc_nix_is_sdp(roc_nix)) + return 0; + sq_s = nix->sqs[sq]; if (!sq_s) return -ENOENT; -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-04-13 20:43:06.309170919 +0800 +++ 0040-common-cnxk-fix-link-config-for-SDP.patch 2024-04-13 20:43:04.957753984 +0800 @@ -1 +1 @@ -From 48054ca3842b0fc468e3e7931143dcb154b45921 Mon Sep 17 00:00:00 2001 +From 9cb9b9c8a0508b9e9b3074611636760c6cd24cae Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 48054ca3842b0fc468e3e7931143dcb154b45921 ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org @@ -19 +21 @@ -index 6a61e448a1..4e6a28f827 100644 +index ece88b5e99..9e5e614b3b 100644