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 8DD7B43CAD for ; Thu, 14 Mar 2024 01:11:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8561C42E67; Thu, 14 Mar 2024 01:11:48 +0100 (CET) Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by mails.dpdk.org (Postfix) with ESMTP id 792D342E40 for ; Thu, 14 Mar 2024 01:11:46 +0100 (CET) Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-33e99915809so324487f8f.3 for ; Wed, 13 Mar 2024 17:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710375106; x=1710979906; 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=yw2ZufTsRHNa2BgNd3OqbrMeszThcQe+uFmZDO2uIeQ=; b=mEeGCUGCOMtRLuw0cgoz+7JzJAjj1t/DnZm8lRlRFEXiJNnD+fbJw3baTRLyWFHLTG YjDI5vt0cehrdI5Qp28M65dCPEG1/gygR+8YAAEmafl52CXDMsjmerDsT0H0gexDGxiq Vmet+F1TMZ2vcipB82LGgXwAYi6dAQofZ/6eiU2WswcDhSNJ0+se6T0gD68Voy2uKRsT tx4th5ZcDSnplhIV5wjXqH1jkLLJ8AVV8qiPZndRUrvYE6FzqZIC/Vq5zz1IZOniyeB1 wJEk/pcnV+c7JlvnXaUMNoX24QZ5lzXo6IEhnRPDbf+/ght6OMQG8nO30aUzsMkjhkGG xxlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710375106; x=1710979906; 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=yw2ZufTsRHNa2BgNd3OqbrMeszThcQe+uFmZDO2uIeQ=; b=I9oqEK8489qeAe9fKjqrXTd/h/I6/ZUXDEhcOvyOapmgPMU2zTYly9YiObzBfRKTlc YCp7e0J/ej7CbrepZmChSMxrOcs7ese+g2WjAZ3RpilBRaTgHJWhQ6wI+uwfLj8Rwzbt aTkULku6PnJABT0Tl2vRB0fDMyBDUew2nE+HoxhQTJYyVVw75eVY6CUBTwx4cMQ2hsIl dq2C/Klc2HaPajNdwUQuPVK2GqpVYqOAE/A9rUSXOvvIy8sm2G4EsvsKpgEgliokfLha AZHpJbWjJP4d5ZPTGklMI3PLPeGtrzUn6bZa6vqIpVtaewA5XHnRVg8cK6gp5Oo0nhva EeNw== X-Gm-Message-State: AOJu0YwdcJnAOtFYRH4NZnIZuSq5smBylvqiNehLhbghpxxPrCZ03gTy wV1IaH6LP6EBbhNM39D83ajhSRdV1B6LA1RJ7oFW/QpeGlymibIx X-Google-Smtp-Source: AGHT+IGwWO+tZS0slodxEkn+AiXpP+7N9JNfEoYsojQZSitdegJ3p9kjFrjcnjb8DA/tXung90JDrQ== X-Received: by 2002:adf:f303:0:b0:33e:c56f:b5e7 with SMTP id i3-20020adff303000000b0033ec56fb5e7mr72888wro.31.1710375106082; Wed, 13 Mar 2024 17:11:46 -0700 (PDT) Received: from localhost ([137.220.120.171]) by smtp.gmail.com with ESMTPSA id w21-20020adf8bd5000000b0033e72e104c5sm297937wra.34.2024.03.13.17.11.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 17:11:45 -0700 (PDT) From: luca.boccassi@gmail.com To: Harman Kalra Cc: dpdk stable Subject: patch 'common/cnxk: fix link config for SDP' has been queued to stable release 22.11.5 Date: Thu, 14 Mar 2024 00:09:31 +0000 Message-Id: <20240314000957.2810803-35-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/66dffe8a6d5eec1dfee17bfad85f5f5f9cac2265 Thanks. Luca Boccassi --- >From 66dffe8a6d5eec1dfee17bfad85f5f5f9cac2265 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 [ 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 be8da714cd..810949ca76 100644 --- a/drivers/common/cnxk/roc_nix_tm.c +++ b/drivers/common/cnxk/roc_nix_tm.c @@ -326,6 +326,9 @@ nix_tm_bp_config_set(struct roc_nix *roc_nix, uint16_t sq, uint16_t tc, uint8_t k = 0; int rc = 0; + if (roc_nix_is_sdp(roc_nix)) + return 0; + sq_s = nix->sqs[sq]; if (!sq_s) return -ENOENT; -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-03-14 00:09:22.315192818 +0000 +++ 0035-common-cnxk-fix-link-config-for-SDP.patch 2024-03-14 00:09:20.625615459 +0000 @@ -1 +1 @@ -From 48054ca3842b0fc468e3e7931143dcb154b45921 Mon Sep 17 00:00:00 2001 +From 66dffe8a6d5eec1dfee17bfad85f5f5f9cac2265 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 48054ca3842b0fc468e3e7931143dcb154b45921 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index 6a61e448a1..4e6a28f827 100644 +index be8da714cd..810949ca76 100644 @@ -22 +23 @@ -@@ -328,6 +328,9 @@ nix_tm_bp_config_set(struct roc_nix *roc_nix, uint16_t sq, uint16_t tc, +@@ -326,6 +326,9 @@ nix_tm_bp_config_set(struct roc_nix *roc_nix, uint16_t sq, uint16_t tc, @@ -24 +25 @@ - int rc = 0, i; + int rc = 0;