[dpdk-stable] patch 'app/crypto-perf: fix out-of-place mempool allocation' has been queued to stable release 20.11.3
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Mon Jul 12 15:05:08 CEST 2021
Hi,
FYI, your patch has been queued to stable release 20.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 07/14/21. 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/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/36fbf73b6af6e337f8c8bff64aaa0f1d44c11288
Thanks.
Luca Boccassi
---
>From 36fbf73b6af6e337f8c8bff64aaa0f1d44c11288 Mon Sep 17 00:00:00 2001
From: Kai Ji <kai.ji at intel.com>
Date: Mon, 24 May 2021 17:46:27 +0100
Subject: [PATCH] app/crypto-perf: fix out-of-place mempool allocation
[ upstream commit c84e324e7ccb995b596c34a8a2c8a9c7cf51e3d2 ]
Add missing rte_mbuf size in mempool allocation for
out-of-place operation.
Fixes: bf9d6702eca9 ("app/crypto-perf: use single mempool")
Signed-off-by: Kai Ji <kai.ji at intel.com>
Acked-by: Fan Zhang <roy.fan.zhang at intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
---
app/test-crypto-perf/cperf_test_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test-crypto-perf/cperf_test_common.c b/app/test-crypto-perf/cperf_test_common.c
index 058e0ba564..12925c7f22 100644
--- a/app/test-crypto-perf/cperf_test_common.c
+++ b/app/test-crypto-perf/cperf_test_common.c
@@ -194,7 +194,7 @@ cperf_alloc_common_memory(const struct cperf_options *options,
(mbuf_size * segments_nb);
params.dst_buf_offset = *dst_buf_offset;
/* Destination buffer will be one segment only */
- obj_size += max_size;
+ obj_size += max_size + sizeof(struct rte_mbuf);
}
*pool = rte_mempool_create_empty(pool_name,
--
2.30.2
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2021-07-12 13:41:40.462579094 +0100
+++ 0073-app-crypto-perf-fix-out-of-place-mempool-allocation.patch 2021-07-12 13:41:36.630125527 +0100
@@ -1 +1 @@
-From c84e324e7ccb995b596c34a8a2c8a9c7cf51e3d2 Mon Sep 17 00:00:00 2001
+From 36fbf73b6af6e337f8c8bff64aaa0f1d44c11288 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit c84e324e7ccb995b596c34a8a2c8a9c7cf51e3d2 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list