DPDK patches and discussions
 help / color / mirror / Atom feed
From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: Hernan Vargas <hernan.vargas@intel.com>,
	dev@dpdk.org, gakhil@marvell.com, trix@redhat.com
Cc: nicolas.chautru@intel.com, qi.z.zhang@intel.com
Subject: Re: [PATCH v1 4/9] test/bbdev: change iter-max argument
Date: Wed, 12 Jun 2024 11:37:17 +0200	[thread overview]
Message-ID: <40449454-3674-4406-a2fe-0557fd539172@redhat.com> (raw)
In-Reply-To: <20240422190800.123027-5-hernan.vargas@intel.com>



On 4/22/24 21:07, Hernan Vargas wrote:
> -t --iter-max used for max number of iterations.
> -T --timeout used for test timeout value.
> 
> Signed-off-by: Hernan Vargas <hernan.vargas@intel.com>
> ---
>   app/test-bbdev/test-bbdev.py | 16 +++++-----------
>   1 file changed, 5 insertions(+), 11 deletions(-)
> 
> diff --git a/app/test-bbdev/test-bbdev.py b/app/test-bbdev/test-bbdev.py
> index 65a34390548d..9ddca9e78d3b 100755
> --- a/app/test-bbdev/test-bbdev.py
> +++ b/app/test-bbdev/test-bbdev.py
> @@ -27,16 +27,10 @@ def kill(process):
>   parser.add_argument("-e", "--eal-params",
>                       help="EAL arguments which must be passed to the test app",
>                       default="--vdev=baseband_null0 -a00:00.0")
> -# Until deprecated in next release keep -t as an valid argument for timeout, then use -T
> -parser.add_argument("-t", "--timeout",
> +parser.add_argument("-T", "--timeout",
>                       type=int,
>                       help="Timeout in seconds",
>                       default=600)
> -# This will become -t option for iter_max in next release
> -parser.add_argument("--iter-max",
> -                    type=int,
> -                    help="Max iterations",
> -                    default=6)
>   parser.add_argument("-c", "--test-cases",
>                       nargs="+",
>                       help="Defines test cases to run. Run all if not specified")
> @@ -58,6 +52,10 @@ def kill(process):
>                       type=int,
>                       help="SNR in dB for BLER tests",
>                       default=0)
> +parser.add_argument("-t", "--iter-max",
> +                    type=int,
> +                    help="Max iterations",
> +                    default=6)
>   parser.add_argument("-l", "--num-lcores",
>                       type=int,
>                       help="Number of lcores to run.",
> @@ -83,10 +81,6 @@ def kill(process):
>   
>   if args.iter_max:
>       params.extend(["-t", str(args.iter_max)])
> -    print("The argument for iter_max will be -t in next release")
> -
> -if args.timeout:
> -    print("The argument for timeout will be -T in next release")
>   
>   if args.num_ops:
>       params.extend(["-n", str(args.num_ops)])


Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks,
Maxime


  reply	other threads:[~2024-06-12  9:37 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-22 19:07 [PATCH v1 0/9] test-bbdev fixes and improvements for 24.07 Hernan Vargas
2024-04-22 19:07 ` [PATCH v1 1/9] test/bbdev: fix TB logic Hernan Vargas
2024-06-12  9:18   ` Maxime Coquelin
2024-04-22 19:07 ` [PATCH v1 2/9] test/bbdev: fix MLD output size computation Hernan Vargas
2024-06-12  9:25   ` Maxime Coquelin
2024-04-22 19:07 ` [PATCH v1 3/9] test/bbdev: fix interrupt tests Hernan Vargas
2024-06-12  9:27   ` Maxime Coquelin
2024-04-22 19:07 ` [PATCH v1 4/9] test/bbdev: change iter-max argument Hernan Vargas
2024-06-12  9:37   ` Maxime Coquelin [this message]
2024-04-22 19:07 ` [PATCH v1 5/9] test/bbdev: improve timeout message format Hernan Vargas
2024-06-12 10:36   ` Maxime Coquelin
2024-04-22 19:07 ` [PATCH v1 6/9] test/bbdev: add soft output parsing capability Hernan Vargas
2024-06-12 11:09   ` Maxime Coquelin
2024-04-22 19:07 ` [PATCH v1 7/9] test/bbdev: check assumptions on fft window Hernan Vargas
2024-06-12 11:11   ` Maxime Coquelin
2024-06-20 18:11     ` Chautru, Nicolas
2024-06-24  7:48       ` Maxime Coquelin
2024-04-22 19:07 ` [PATCH v1 8/9] test/bbdev: update fft measurement output Hernan Vargas
2024-06-12 11:12   ` Maxime Coquelin
2024-04-22 19:08 ` [PATCH v1 9/9] test/bbdev: remove unnecessary line Hernan Vargas
2024-06-12 11:13   ` Maxime Coquelin

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=40449454-3674-4406-a2fe-0557fd539172@redhat.com \
    --to=maxime.coquelin@redhat.com \
    --cc=dev@dpdk.org \
    --cc=gakhil@marvell.com \
    --cc=hernan.vargas@intel.com \
    --cc=nicolas.chautru@intel.com \
    --cc=qi.z.zhang@intel.com \
    --cc=trix@redhat.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).