DPDK patches and discussions
 help / color / mirror / Atom feed
From: Volodymyr Fialko <vfialko@marvell.com>
To: <dev@dpdk.org>
Cc: <jerinj@marvell.com>, <gakhil@marvell.com>, <anoobj@marvell.com>,
	<pbhagavatula@marvell.com>,
	Volodymyr Fialko <vfialko@marvell.com>
Subject: [PATCH] app/testeventdev: fix limit names in error message
Date: Mon, 31 Oct 2022 11:39:06 +0100	[thread overview]
Message-ID: <20221031103906.82264-1-vfialko@marvell.com> (raw)

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


             reply	other threads:[~2022-10-31 10:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-31 10:39 Volodymyr Fialko [this message]
2022-11-03 15:32 ` Pavan Nikhilesh Bhagavatula
2022-11-07 14:10   ` Jerin Jacob

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221031103906.82264-1-vfialko@marvell.com \
    --to=vfialko@marvell.com \
    --cc=anoobj@marvell.com \
    --cc=dev@dpdk.org \
    --cc=gakhil@marvell.com \
    --cc=jerinj@marvell.com \
    --cc=pbhagavatula@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).