DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] app/testeventdev: fix limit names in error message
@ 2022-10-31 10:39 Volodymyr Fialko
  2022-11-03 15:32 ` Pavan Nikhilesh Bhagavatula
  0 siblings, 1 reply; 3+ messages in thread
From: Volodymyr Fialko @ 2022-10-31 10:39 UTC (permalink / raw)
  To: dev; +Cc: jerinj, gakhil, anoobj, pbhagavatula, Volodymyr Fialko

Swap min and max values to match their labels.

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

Signed-off-by: Volodymyr Fialko <vfialko@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 ab39046ce7..5229d74fe0 100644
--- a/app/test-eventdev/test_pipeline_common.c
+++ b/app/test-eventdev/test_pipeline_common.c
@@ -534,8 +534,8 @@ pipeline_event_rx_adapter_setup(struct evt_options *opt, uint8_t stride,
 			if (opt->vector_size < limits.min_sz ||
 			    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.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-07 14:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-31 10:39 [PATCH] app/testeventdev: fix limit names in error message Volodymyr Fialko
2022-11-03 15:32 ` Pavan Nikhilesh Bhagavatula
2022-11-07 14:10   ` Jerin Jacob

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).