patch 'common/cnxk: fix receive queue with multiple mask' has been queued to stable release 22.11.3

Xueming Li xuemingl at nvidia.com
Sun Jun 25 08:35:18 CEST 2023


Hi,

FYI, your patch has been queued to stable release 22.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/27/23. 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=22.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=df11a52e33ef9809d7101de983a77ca4ecc9579c

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From df11a52e33ef9809d7101de983a77ca4ecc9579c Mon Sep 17 00:00:00 2001
From: Rakesh Kudurumalla <rkudurumalla at marvell.com>
Date: Thu, 25 May 2023 15:29:01 +0530
Subject: [PATCH] common/cnxk: fix receive queue with multiple mask
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit 67a6aa03b97214e1198a3b9e85995560342456d0 ]

Enable or disable RQ mask based on function parameter.
This fix allocates different profile for different rq masks

Fixes: ddf955d3917e ("common/cnxk: support CPT second pass")

Signed-off-by: Rakesh Kudurumalla <rkudurumalla at marvell.com>
---
 drivers/common/cnxk/roc_nix_inl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/common/cnxk/roc_nix_inl.c b/drivers/common/cnxk/roc_nix_inl.c
index 782536db4c..92ff44888d 100644
--- a/drivers/common/cnxk/roc_nix_inl.c
+++ b/drivers/common/cnxk/roc_nix_inl.c
@@ -1039,7 +1039,7 @@ roc_nix_inl_rq_ena_dis(struct roc_nix *roc_nix, bool enable)
 		return -EFAULT;
 
 	if (roc_model_is_cn10kb_a0()) {
-		rc = nix_inl_rq_mask_cfg(roc_nix, true);
+		rc = nix_inl_rq_mask_cfg(roc_nix, enable);
 		if (rc) {
 			plt_err("Failed to get rq mask rc=%d", rc);
 			return rc;
-- 
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-06-25 14:32:01.182480100 +0800
+++ 0100-common-cnxk-fix-receive-queue-with-multiple-mask.patch	2023-06-25 14:31:58.545773900 +0800
@@ -1 +1 @@
-From 67a6aa03b97214e1198a3b9e85995560342456d0 Mon Sep 17 00:00:00 2001
+From df11a52e33ef9809d7101de983a77ca4ecc9579c Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 67a6aa03b97214e1198a3b9e85995560342456d0 ]
@@ -10 +12,0 @@
-Cc: stable at dpdk.org
@@ -18 +20 @@
-index 69f658ba87..16f858f561 100644
+index 782536db4c..92ff44888d 100644
@@ -21 +23 @@
-@@ -1382,7 +1382,7 @@ roc_nix_inl_rq_ena_dis(struct roc_nix *roc_nix, bool enable)
+@@ -1039,7 +1039,7 @@ roc_nix_inl_rq_ena_dis(struct roc_nix *roc_nix, bool enable)
@@ -24 +26 @@
- 	if (roc_feature_nix_has_inl_rq_mask()) {
+ 	if (roc_model_is_cn10kb_a0()) {


More information about the stable mailing list