patch 'common/cnxk: fix incorrect aura ID' has been queued to stable release 22.11.4

Xueming Li xuemingl at nvidia.com
Sun Oct 22 16:21:35 CEST 2023


Hi,

FYI, your patch has been queued to stable release 22.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/15/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=e38988edfdcb96fb3a56152d47bd28271409df15

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From e38988edfdcb96fb3a56152d47bd28271409df15 Mon Sep 17 00:00:00 2001
From: Pavan Nikhilesh <pbhagavatula at marvell.com>
Date: Fri, 11 Aug 2023 14:27:53 +0530
Subject: [PATCH] common/cnxk: fix incorrect aura ID
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit b4655ec69bbac2e830cc0acf2152b5caa54268bf ]

The function `sso_hwgrp_alloc_xaq` expects aura ID, fix incorrectly
passing aura handle to it.

Fixes: 7e9a94909eea ("common/cnxk: realloc inline device XAQ AURA")

Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
---
 drivers/common/cnxk/roc_nix_inl_dev.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/common/cnxk/roc_nix_inl_dev.c b/drivers/common/cnxk/roc_nix_inl_dev.c
index 4ab4209dba..746b3d0a03 100644
--- a/drivers/common/cnxk/roc_nix_inl_dev.c
+++ b/drivers/common/cnxk/roc_nix_inl_dev.c
@@ -643,7 +643,8 @@ no_pool:
 	}

 	/* Setup xaq for hwgrps */
-	rc = sso_hwgrp_alloc_xaq(&inl_dev->dev, inl_dev->xaq.aura_handle, 1);
+	rc = sso_hwgrp_alloc_xaq(&inl_dev->dev,
+				 roc_npa_aura_handle_to_aura(inl_dev->xaq.aura_handle), 1);
 	if (rc) {
 		plt_err("Failed to setup hwgrp xaq aura, rc=%d", rc);
 		return rc;
--
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-10-22 22:17:36.825025400 +0800
+++ 0066-common-cnxk-fix-incorrect-aura-ID.patch	2023-10-22 22:17:34.286723700 +0800
@@ -1 +1 @@
-From b4655ec69bbac2e830cc0acf2152b5caa54268bf Mon Sep 17 00:00:00 2001
+From e38988edfdcb96fb3a56152d47bd28271409df15 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit b4655ec69bbac2e830cc0acf2152b5caa54268bf ]
@@ -10 +12,0 @@
-Cc: stable at dpdk.org
@@ -18 +20 @@
-index e9f1d18767..2fcc6b0b77 100644
+index 4ab4209dba..746b3d0a03 100644
@@ -21 +23 @@
-@@ -678,7 +678,8 @@ no_pool:
+@@ -643,7 +643,8 @@ no_pool:


More information about the stable mailing list