patch 'common/cnxk: fix link config for SDP' has been queued to stable release 23.11.1

Xueming Li xuemingl at nvidia.com
Sat Apr 13 14:48:40 CEST 2024


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 <xuemingl at nvidia.com>

---
>From 9cb9b9c8a0508b9e9b3074611636760c6cd24cae Mon Sep 17 00:00:00 2001
From: Harman Kalra <hkalra at marvell.com>
Date: Wed, 28 Feb 2024 00:25:19 +0530
Subject: [PATCH] common/cnxk: fix link config for SDP
Cc: Xueming Li <xuemingl at nvidia.com>

[ 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 <hkalra at marvell.com>
---
 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 <xuemingl at nvidia.com>
+
+[ upstream commit 48054ca3842b0fc468e3e7931143dcb154b45921 ]
@@ -11 +13,0 @@
-Cc: stable at dpdk.org
@@ -19 +21 @@
-index 6a61e448a1..4e6a28f827 100644
+index ece88b5e99..9e5e614b3b 100644


More information about the stable mailing list