From 5f111f924f1c1a0dc3a4737f62ed2b8cab058d68 Mon Sep 17 00:00:00 2001 From: Volodymyr Fialko Date: Mon, 31 Oct 2022 11:39:06 +0100 Subject: [PATCH] app/eventdev: fix limits in error message Swap min and max values to match their labels. Fixes: 2eaa37b86635 ("app/eventdev: add vector mode in pipeline test") Cc: stable@dpdk.org Signed-off-by: Volodymyr Fialko Acked-by: Pavan Nikhilesh --- 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 2a6f4ba3a8..b111690b7c 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; }