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

* RE: [PATCH] app/testeventdev: fix limit names in error message
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Pavan Nikhilesh Bhagavatula @ 2022-11-03 15:32 UTC (permalink / raw)
  To: Volodymyr Fialko, dev
  Cc: Jerin Jacob Kollanukkaran, Akhil Goyal, Anoob Joseph, Volodymyr Fialko



> -----Original Message-----
> From: Volodymyr Fialko <vfialko@marvell.com>
> Sent: Monday, October 31, 2022 4:09 PM
> To: dev@dpdk.org
> Cc: Jerin Jacob Kollanukkaran <jerinj@marvell.com>; Akhil Goyal
> <gakhil@marvell.com>; Anoob Joseph <anoobj@marvell.com>; Pavan
> Nikhilesh Bhagavatula <pbhagavatula@marvell.com>; Volodymyr Fialko
> <vfialko@marvell.com>
> Subject: [PATCH] app/testeventdev: fix limit names in error message
> 
> 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>

Acked-by: Pavan Nikhilesh <pbhagavatula@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

* Re: [PATCH] app/testeventdev: fix limit names in error message
  2022-11-03 15:32 ` Pavan Nikhilesh Bhagavatula
@ 2022-11-07 14:10   ` Jerin Jacob
  0 siblings, 0 replies; 3+ messages in thread
From: Jerin Jacob @ 2022-11-07 14:10 UTC (permalink / raw)
  To: Pavan Nikhilesh Bhagavatula
  Cc: Volodymyr Fialko, dev, Jerin Jacob Kollanukkaran, Akhil Goyal,
	Anoob Joseph

On Thu, Nov 3, 2022 at 9:02 PM Pavan Nikhilesh Bhagavatula
<pbhagavatula@marvell.com> wrote:
>
>
>
> > -----Original Message-----
> > From: Volodymyr Fialko <vfialko@marvell.com>
> > Sent: Monday, October 31, 2022 4:09 PM
> > To: dev@dpdk.org
> > Cc: Jerin Jacob Kollanukkaran <jerinj@marvell.com>; Akhil Goyal
> > <gakhil@marvell.com>; Anoob Joseph <anoobj@marvell.com>; Pavan
> > Nikhilesh Bhagavatula <pbhagavatula@marvell.com>; Volodymyr Fialko
> > <vfialko@marvell.com>
> > Subject: [PATCH] app/testeventdev: fix limit names in error message
> >
> > 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>
>
> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>


Applied to dpdk-next-net-eventdev/for-main. Thanks


>
> > ---
> >  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).