patch 'app/bbdev: fix TB logic' has been queued to stable release 23.11.2
Xueming Li
xuemingl at nvidia.com
Mon Aug 12 14:48:00 CEST 2024
Hi,
FYI, your patch has been queued to stable release 23.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 08/14/24. 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=23.11-staging
This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=179f1c6e6b3c3a778ad096051156663a896a2f7a
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From 179f1c6e6b3c3a778ad096051156663a896a2f7a Mon Sep 17 00:00:00 2001
From: Hernan Vargas <hernan.vargas at intel.com>
Date: Mon, 24 Jun 2024 08:02:29 -0700
Subject: [PATCH] app/bbdev: fix TB logic
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit 494d0c9bb17b320582a6a8437181cff8bc152c9d ]
Fix discrepancy in Transport Block logic when using large fake mbuf.
Fixes: fd96ef3787f1 ("test/bbdev: extend support for large TB")
Signed-off-by: Hernan Vargas <hernan.vargas at intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
---
app/test-bbdev/test_bbdev_perf.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c
index dcce00aa0a..efd046984d 100644
--- a/app/test-bbdev/test_bbdev_perf.c
+++ b/app/test-bbdev/test_bbdev_perf.c
@@ -2131,7 +2131,8 @@ validate_op_chain(struct rte_bbdev_op_data *op,
uint16_t data_len = rte_pktmbuf_data_len(m) - offset;
total_data_size += orig_op->segments[i].length;
- if (orig_op->segments[i].length > RTE_BBDEV_LDPC_E_MAX_MBUF)
+ if ((orig_op->segments[i].length + RTE_PKTMBUF_HEADROOM)
+ > RTE_BBDEV_LDPC_E_MAX_MBUF)
ignore_mbuf = true;
if (!ignore_mbuf)
TEST_ASSERT(orig_op->segments[i].length == data_len,
--
2.34.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2024-08-12 20:44:02.756122524 +0800
+++ 0003-app-bbdev-fix-TB-logic.patch 2024-08-12 20:44:01.875069251 +0800
@@ -1 +1 @@
-From 494d0c9bb17b320582a6a8437181cff8bc152c9d Mon Sep 17 00:00:00 2001
+From 179f1c6e6b3c3a778ad096051156663a896a2f7a Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 494d0c9bb17b320582a6a8437181cff8bc152c9d ]
@@ -9 +11,0 @@
-Cc: stable at dpdk.org
@@ -18 +20 @@
-index a21c9c7bdd..6d9bf3a233 100644
+index dcce00aa0a..efd046984d 100644
More information about the stable
mailing list