patch 'common/cnxk: fix DPI mailbox structure' has been queued to stable release 24.11.2
Kevin Traynor
ktraynor at redhat.com
Thu Feb 13 10:57:58 CET 2025
Hi,
FYI, your patch has been queued to stable release 24.11.2
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/17/25. 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/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/d94d788b4990d9d47739ef59e407b82196fc6249
Thanks.
Kevin
---
>From d94d788b4990d9d47739ef59e407b82196fc6249 Mon Sep 17 00:00:00 2001
From: Vamsi Attunuru <vattunuru at marvell.com>
Date: Wed, 15 Jan 2025 18:06:54 +0530
Subject: [PATCH] common/cnxk: fix DPI mailbox structure
[ upstream commit b03c474188383c3d3d529b1c9ca86767e5fb6167 ]
In the existing DPI mailbox structure, one of the fields
spans a 64-bit boundary, making it appear unusual and
complicatng extraction using bit operations.
Patch enlarges csize fields to ensure that mailbox fields
are correctly positioned.
Fixes: b6e395692b6d ("common/cnxk: add DPI DMA support")
Signed-off-by: Vamsi Attunuru <vattunuru at marvell.com>
---
drivers/common/cnxk/roc_dpi_priv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/cnxk/roc_dpi_priv.h b/drivers/common/cnxk/roc_dpi_priv.h
index 1f975915f7..05b6751ca6 100644
--- a/drivers/common/cnxk/roc_dpi_priv.h
+++ b/drivers/common/cnxk/roc_dpi_priv.h
@@ -28,5 +28,5 @@ typedef union dpi_mbox_msg_t {
uint64_t cmd : 4;
/* Command buffer size in 8-byte words */
- uint64_t csize : 14;
+ uint64_t csize : 16;
/* aura of the command buffer */
uint64_t aura : 20;
--
2.48.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-02-12 17:29:37.947775128 +0000
+++ 0031-common-cnxk-fix-DPI-mailbox-structure.patch 2025-02-12 17:29:34.296945607 +0000
@@ -1 +1 @@
-From b03c474188383c3d3d529b1c9ca86767e5fb6167 Mon Sep 17 00:00:00 2001
+From d94d788b4990d9d47739ef59e407b82196fc6249 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit b03c474188383c3d3d529b1c9ca86767e5fb6167 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list