patch 'test/bbdev: remove check for invalid opaque data' has been queued to stable release 21.11.4

Kevin Traynor ktraynor at redhat.com
Wed Mar 15 15:36:00 CET 2023


Hi,

FYI, your patch has been queued to stable release 21.11.4

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/20/23. 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/e29f5be725333c24ae47570cb9ee2045a98ca571

Thanks.

Kevin

---
>From e29f5be725333c24ae47570cb9ee2045a98ca571 Mon Sep 17 00:00:00 2001
From: Hernan Vargas <hernan.vargas at intel.com>
Date: Thu, 2 Mar 2023 12:21:57 -0800
Subject: [PATCH] test/bbdev: remove check for invalid opaque data

[ upstream commit 26437807ff57a13133d4c03d87c5eac037f1ffaa ]

Assert also if the opaque data is invalid.

Fixes: 335c11fd2763 ("app/bbdev: support HARQ validation")

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 | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c
index 7e76f92bf1..aab2c41ec1 100644
--- a/app/test-bbdev/test_bbdev_perf.c
+++ b/app/test-bbdev/test_bbdev_perf.c
@@ -71,5 +71,4 @@
 #define SYNC_WAIT 0
 #define SYNC_START 1
-#define INVALID_OPAQUE -1
 
 #define INVALID_QUEUE_ID -1
@@ -1824,8 +1823,7 @@ check_enc_status_and_ordering(struct rte_bbdev_enc_op *op,
 			op->status, expected_status);
 
-	if (op->opaque_data != (void *)(uintptr_t)INVALID_OPAQUE)
-		TEST_ASSERT((void *)(uintptr_t)order_idx == op->opaque_data,
-				"Ordering error, expected %p, got %p",
-				(void *)(uintptr_t)order_idx, op->opaque_data);
+	TEST_ASSERT((void *)(uintptr_t)order_idx == op->opaque_data,
+			"Ordering error, expected %p, got %p",
+			(void *)(uintptr_t)order_idx, op->opaque_data);
 
 	return TEST_SUCCESS;
-- 
2.39.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-03-15 14:30:20.788066260 +0000
+++ 0007-test-bbdev-remove-check-for-invalid-opaque-data.patch	2023-03-15 14:30:20.554123591 +0000
@@ -1 +1 @@
-From 26437807ff57a13133d4c03d87c5eac037f1ffaa Mon Sep 17 00:00:00 2001
+From e29f5be725333c24ae47570cb9ee2045a98ca571 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 26437807ff57a13133d4c03d87c5eac037f1ffaa ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
-index 74e7e13940..95d63a3548 100644
+index 7e76f92bf1..aab2c41ec1 100644
@@ -21 +22 @@
-@@ -79,5 +79,4 @@
+@@ -71,5 +71,4 @@
@@ -27 +28 @@
-@@ -1952,8 +1951,7 @@ check_enc_status_and_ordering(struct rte_bbdev_enc_op *op,
+@@ -1824,8 +1823,7 @@ check_enc_status_and_ordering(struct rte_bbdev_enc_op *op,



More information about the stable mailing list