> -----Original Message----- > From: Srikanth Yalavarthi > Sent: Tuesday, February 7, 2023 9:20 PM > To: Thomas Monjalon ; Srikanth Yalavarthi > > Cc: dev@dpdk.org; Shivah Shankar Shankar Narayan Rao > ; Jerin Jacob Kollanukkaran > ; Anup Prabhu ; Prince Takkar > ; Parijat Shukla > 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 --dev_id \ --socket_id > > > Signed-off-by: Srikanth Yalavarthi > --- > 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