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 02/11] test/bbdev: update python script parameters
Date: Tue, 17 Oct 2023 21:07:52 +0200	[thread overview]
Message-ID: <f7a00c33-4d22-4af9-b70b-74bbf9a9e990@redhat.com> (raw)
In-Reply-To: <20230929181328.104311-3-hernan.vargas@intel.com>



On 9/29/23 20:13, Hernan Vargas wrote:
> Update the timeout argument and default values.
> Update EAL help message and default value.
> Add iter_max and snr arguments.
> 
> Signed-off-by: Hernan Vargas <hernan.vargas@intel.com>
> ---
>   app/test-bbdev/test-bbdev.py     | 22 ++++++++++++++++++----
>   app/test-bbdev/test_bbdev_perf.c |  2 +-
>   2 files changed, 19 insertions(+), 5 deletions(-)
> 
> diff --git a/app/test-bbdev/test-bbdev.py b/app/test-bbdev/test-bbdev.py
> index 9cdb4659724d..8d0145076e4d 100755
> --- a/app/test-bbdev/test-bbdev.py
> +++ b/app/test-bbdev/test-bbdev.py
> @@ -25,12 +25,12 @@ def kill(process):
>                       help="specifies path to the bbdev test app",
>                       default=dpdk_path + "/" + dpdk_target + "/app/dpdk-test-bbdev")
>   parser.add_argument("-e", "--eal-params",
> -                    help="EAL arguments which are passed to the test app",
> -                    default="--vdev=baseband_null0")
> -parser.add_argument("-t", "--timeout",
> +                    help="EAL arguments which must be passed to the test app",
> +                    default="--vdev=baseband_null0 -a00:00.0")
> +parser.add_argument("-T", "--timeout",
>                       type=int,
>                       help="Timeout in seconds",
> -                    default=300)
> +                    default=600)
>   parser.add_argument("-c", "--test-cases",
>                       nargs="+",
>                       help="Defines test cases to run. Run all if not specified")
> @@ -48,6 +48,14 @@ def kill(process):
>                       type=int,
>                       help="Operations enqueue/dequeue burst size.",
>                       default=[32])
> +parser.add_argument("-s", "--snr",
> +                    type=int,
> +                    help="SNR in dB for BLER tests",
> +                    default=0)
> +parser.add_argument("-t", "--iter-max",

We shouldn't change parameters meaning, it will silently break existing
scripts making use of it.

> +                    type=int,
> +                    help="Max iterations",
> +                    default=6)
>   parser.add_argument("-l", "--num-lcores",
>                       type=int,
>                       help="Number of lcores to run.",
> @@ -68,6 +76,12 @@ def kill(process):
>   
>   params.extend(["--"])
>   
> +if args.snr:
> +    params.extend(["-s", str(args.snr)])
> +
> +if args.iter_max:
> +    params.extend(["-t", str(args.iter_max)])
> +
>   if args.num_ops:
>       params.extend(["-n", str(args.num_ops)])
>   
> diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c
> index 276bbf0a2e6d..faea26c10eed 100644
> --- a/app/test-bbdev/test_bbdev_perf.c
> +++ b/app/test-bbdev/test_bbdev_perf.c
> @@ -26,7 +26,7 @@
>   
>   #define MAX_QUEUES RTE_MAX_LCORE
>   #define TEST_REPETITIONS 100
> -#define TIME_OUT_POLL 1e8
> +#define TIME_OUT_POLL 1e9
>   #define WAIT_OFFLOAD_US 1000
>   
>   #ifdef RTE_BASEBAND_FPGA_LTE_FEC


  reply	other threads:[~2023-10-17 19:08 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-29 18:13 [PATCH v1 00/11] test-bbdev changes for 23.11 Hernan Vargas
2023-09-29 18:13 ` [PATCH v1 01/11] test/bbdev: fix python script subprocess Hernan Vargas
2023-10-17 19:05   ` Maxime Coquelin
2023-09-29 18:13 ` [PATCH v1 02/11] test/bbdev: update python script parameters Hernan Vargas
2023-10-17 19:07   ` Maxime Coquelin [this message]
2023-10-19  9:01     ` Chautru, Nicolas
2023-10-19  9:19       ` Maxime Coquelin
2023-10-19 12:09         ` Chautru, Nicolas
2023-10-19 12:20           ` Maxime Coquelin
2023-10-27 20:02           ` Chautru, Nicolas
2023-11-02 17:00             ` Maxime Coquelin
2023-11-02 18:18               ` Chautru, Nicolas
2023-11-03  9:48                 ` Maxime Coquelin
2023-09-29 18:13 ` [PATCH v1 03/11] test/bbdev: rename macros from acc200 to vrb Hernan Vargas
2023-10-17 19:30   ` Maxime Coquelin
2023-09-29 18:13 ` [PATCH v1 04/11] test/bbdev: handle exception for LLR generation Hernan Vargas
2023-10-17 19:30   ` Maxime Coquelin
2023-09-29 18:13 ` [PATCH v1 05/11] test/bbdev: improve test log messages Hernan Vargas
2023-10-17 19:40   ` Maxime Coquelin
2023-09-29 18:13 ` [PATCH v1 06/11] test/bbdev: assert failed test for queue configure Hernan Vargas
2023-10-17 19:43   ` Maxime Coquelin
2023-10-19  8:41     ` Chautru, Nicolas
2023-10-19  8:47       ` Maxime Coquelin
2023-10-19 12:12         ` Chautru, Nicolas
2023-10-23  9:05           ` Maxime Coquelin
2023-10-23  9:07             ` Maxime Coquelin
2023-10-23 15:10               ` Kevin Traynor
2023-09-29 18:13 ` [PATCH v1 07/11] test/bbdev: ldpc encoder concatenation vector Hernan Vargas
2023-10-17 19:44   ` Maxime Coquelin
2023-09-29 18:13 ` [PATCH v1 08/11] test/bbdev: increase max burst size Hernan Vargas
2023-10-17 19:45   ` Maxime Coquelin
2023-09-29 18:13 ` [PATCH v1 09/11] test/bbdev: add MLD support Hernan Vargas
2023-10-17 20:03   ` Maxime Coquelin
2023-09-29 18:13 ` [PATCH v1 10/11] test/bbdev: support new FFT capabilities Hernan Vargas
2023-10-17 20:06   ` Maxime Coquelin
2023-09-29 18:13 ` [PATCH v1 11/11] test/bbdev: support 4 bit LLR compression Hernan Vargas
2023-10-17 20:08   ` 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=f7a00c33-4d22-4af9-b70b-74bbf9a9e990@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).