patch 'app/eventdev: fix limits in error message' has been queued to stable release 21.11.3

Kevin Traynor ktraynor at redhat.com
Wed Nov 23 19:03:43 CET 2022


Hi,

FYI, your patch has been queued to stable release 21.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 11/28/22. 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/7773bb2b9a3cb4b3bb97baad0ae983b8b363b95a

Thanks.

Kevin

---
>From 7773bb2b9a3cb4b3bb97baad0ae983b8b363b95a Mon Sep 17 00:00:00 2001
From: Volodymyr Fialko <vfialko at marvell.com>
Date: Mon, 31 Oct 2022 11:39:06 +0100
Subject: [PATCH] app/eventdev: fix limits in error message

[ upstream commit 5f111f924f1c1a0dc3a4737f62ed2b8cab058d68 ]

Swap min and max values to match their labels.

Fixes: 2eaa37b86635 ("app/eventdev: add vector mode in pipeline test")

Signed-off-by: Volodymyr Fialko <vfialko at marvell.com>
Acked-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
---
 app/test-eventdev/test_pipeline_common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/test-eventdev/test_pipeline_common.c b/app/test-eventdev/test_pipeline_common.c
index ddaa9f3fdb..7e745899c5 100644
--- a/app/test-eventdev/test_pipeline_common.c
+++ b/app/test-eventdev/test_pipeline_common.c
@@ -373,6 +373,6 @@ pipeline_event_rx_adapter_setup(struct evt_options *opt, uint8_t stride,
 			    opt->vector_size > limits.max_sz) {
 				evt_err("Vector size [%d] not within limits max[%d] min[%d]",
-					opt->vector_size, limits.min_sz,
-					limits.max_sz);
+					opt->vector_size, limits.max_sz,
+					limits.min_sz);
 				return -EINVAL;
 			}
-- 
2.38.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-11-23 09:55:57.799040445 +0000
+++ 0030-app-eventdev-fix-limits-in-error-message.patch	2022-11-23 09:55:57.069149307 +0000
@@ -1 +1 @@
-From 5f111f924f1c1a0dc3a4737f62ed2b8cab058d68 Mon Sep 17 00:00:00 2001
+From 7773bb2b9a3cb4b3bb97baad0ae983b8b363b95a Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 5f111f924f1c1a0dc3a4737f62ed2b8cab058d68 ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
-index 2a6f4ba3a8..b111690b7c 100644
+index ddaa9f3fdb..7e745899c5 100644
@@ -21 +22 @@
-@@ -535,6 +535,6 @@ pipeline_event_rx_adapter_setup(struct evt_options *opt, uint8_t stride,
+@@ -373,6 +373,6 @@ pipeline_event_rx_adapter_setup(struct evt_options *opt, uint8_t stride,



More information about the stable mailing list