patch 'common/cnxk: fix DPI mailbox structure' has been queued to stable release 23.11.4
Xueming Li
xuemingl at nvidia.com
Tue Feb 18 13:34:14 CET 2025
Hi,
FYI, your patch has been queued to stable release 23.11.4
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
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=ab740bf72ab0a9ba7d31dd2b375c937e558a6b2b
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From ab740bf72ab0a9ba7d31dd2b375c937e558a6b2b 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
Cc: Xueming Li <xuemingl at nvidia.com>
[ 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 518a3e7351..a050187406 100644
--- a/drivers/common/cnxk/roc_dpi_priv.h
+++ b/drivers/common/cnxk/roc_dpi_priv.h
@@ -24,7 +24,7 @@ typedef union dpi_mbox_msg_t {
/* Command code */
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;
/* SSO PF function */
--
2.34.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-02-18 19:39:01.429179410 +0800
+++ 0019-common-cnxk-fix-DPI-mailbox-structure.patch 2025-02-18 19:39:00.458244077 +0800
@@ -1 +1 @@
-From b03c474188383c3d3d529b1c9ca86767e5fb6167 Mon Sep 17 00:00:00 2001
+From ab740bf72ab0a9ba7d31dd2b375c937e558a6b2b Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit b03c474188383c3d3d529b1c9ca86767e5fb6167 ]
@@ -14 +16,0 @@
-Cc: stable at dpdk.org
@@ -22 +24 @@
-index 1f975915f7..05b6751ca6 100644
+index 518a3e7351..a050187406 100644
@@ -25 +27 @@
-@@ -27,7 +27,7 @@ typedef union dpi_mbox_msg_t {
+@@ -24,7 +24,7 @@ typedef union dpi_mbox_msg_t {
More information about the stable
mailing list