patch 'app/dma-perf: fix reversed CPU copy' has been queued to stable release 25.11.1

Kevin Traynor ktraynor at redhat.com
Thu Mar 19 11:03:22 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.11.1

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/23/26. 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/e0c7cc0a501bc3985692e8893fa431f5ad4d169a

Thanks.

Kevin

---
>From e0c7cc0a501bc3985692e8893fa431f5ad4d169a Mon Sep 17 00:00:00 2001
From: Liangxing Wang <wangliangxing at hygon.cn>
Date: Tue, 3 Mar 2026 09:18:04 +0000
Subject: [PATCH] app/dma-perf: fix reversed CPU copy

[ upstream commit e76312d0792e3bb8958cd4c16ed014d2890ae55d ]

In do_cpu_mem_copy(), src and dst were reversed.

Fixes: 2f2f7af66791 ("app/dma-perf: fix crash with IOVA as physical address")

Signed-off-by: Liangxing Wang <wangliangxing at hygon.cn>
Acked-by: Chengwen Feng <fengchengwen at huawei.com>
---
 .mailmap                      | 2 +-
 app/test-dma-perf/benchmark.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.mailmap b/.mailmap
index f911940243..24ec97c849 100644
--- a/.mailmap
+++ b/.mailmap
@@ -911,5 +911,5 @@ Liang Xu <liang.xu at cinfotech.cn>
 Liang Zhang <zhangliang at bigo.sg>
 Liang-Min Larry Wang <liang-min.wang at intel.com>
-Liangxing Wang <liangxing.wang at arm.com>
+Liangxing Wang <wangliangxing at hygon.cn> <liangxing.wang at arm.com>
 Lihong Ma <lihongx.ma at intel.com>
 Lijian Zhang <lijian.zhang at arm.com>
diff --git a/app/test-dma-perf/benchmark.c b/app/test-dma-perf/benchmark.c
index b6125d86f9..c0ffc859bd 100644
--- a/app/test-dma-perf/benchmark.c
+++ b/app/test-dma-perf/benchmark.c
@@ -521,8 +521,8 @@ do_cpu_mem_copy(void *p)
 	while (1) {
 		for (i = 0; i < nr_buf; i++) {
-			const void *src = rte_pktmbuf_mtod(dsts[i], void *);
-			void *dst = rte_pktmbuf_mtod(srcs[i], void *);
+			const void *src = rte_pktmbuf_mtod(srcs[i], void *);
+			void *dst = rte_pktmbuf_mtod(dsts[i], void *);
 
-			/* copy buffer form src to dst */
+			/* copy buffer from src to dst */
 			rte_memcpy(dst, src, (size_t)buf_size);
 			worker_info->total_cpl++;
-- 
2.53.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-03-19 10:01:09.474631419 +0000
+++ 0084-app-dma-perf-fix-reversed-CPU-copy.patch	2026-03-19 10:01:07.134331259 +0000
@@ -1 +1 @@
-From e76312d0792e3bb8958cd4c16ed014d2890ae55d Mon Sep 17 00:00:00 2001
+From e0c7cc0a501bc3985692e8893fa431f5ad4d169a Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit e76312d0792e3bb8958cd4c16ed014d2890ae55d ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index e23cd100eb..beccc84425 100644
+index f911940243..24ec97c849 100644
@@ -22 +23 @@
-@@ -913,5 +913,5 @@ Liang Xu <liang.xu at cinfotech.cn>
+@@ -911,5 +911,5 @@ Liang Xu <liang.xu at cinfotech.cn>



More information about the stable mailing list