[PATCH v4 01/12] app/mldev: implement test framework for mldev
Anup Prabhu
aprabhu at marvell.com
Fri Mar 3 09:15:45 CET 2023
> -----Original Message-----
> From: Srikanth Yalavarthi <syalavarthi at marvell.com>
> Sent: Tuesday, February 7, 2023 9:20 PM
> To: Thomas Monjalon <thomas at monjalon.net>; Srikanth Yalavarthi
> <syalavarthi at marvell.com>
> Cc: dev at dpdk.org; Shivah Shankar Shankar Narayan Rao
> <sshankarnara at marvell.com>; Jerin Jacob Kollanukkaran
> <jerinj at marvell.com>; Anup Prabhu <aprabhu at marvell.com>; Prince Takkar
> <ptakkar at marvell.com>; Parijat Shukla <pshukla at marvell.com>
> Subject: [PATCH v4 01/12] app/mldev: implement test framework for mldev
>
> Implemented framework for mldev test application. New test cases can be
> added using the framework. Support is also enabled to add options specific
> to the test cases. User can launch the tests by specifying the name of test as
> part of launch arguments.
>
> Code to parse command line arguments is imported from test-eventdev,
> with support to parse additional data types.
>
> Common arguments supported include:
>
> test : name of the test application to run
> dev_id : device id of the ML device
> socket_id : socket_id of application resources
> debug : enable debugging
> help : print help
>
> Sample launch command:
> ./dpdk-test-mldev -- --test <testname> --dev_id <dev_id> \ --socket_id
> <socket_id>
>
> Signed-off-by: Srikanth Yalavarthi <syalavarthi at marvell.com>
> ---
> Depends-on: series-25753 ("mldev: introduce machine learning device
> library")
>
> MAINTAINERS | 1 +
> app/meson.build | 1 +
> app/test-mldev/meson.build | 17 ++
> app/test-mldev/ml_common.h | 29 ++
> app/test-mldev/ml_main.c | 118 ++++++++
> app/test-mldev/ml_options.c | 160 +++++++++++
> app/test-mldev/ml_options.h | 31 ++
> app/test-mldev/ml_test.c | 45 +++
> app/test-mldev/ml_test.h | 75 +++++
> app/test-mldev/parser.c | 380 +++++++++++++++++++++++++
> app/test-mldev/parser.h | 55 ++++
> doc/guides/rel_notes/release_23_03.rst | 8 +
> 12 files changed, 920 insertions(+)
>
Acked-by: Anup Prabhu <aprabhu at marvell.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 23531 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/dev/attachments/20230303/ff3c11a3/attachment-0001.bin>
More information about the dev
mailing list