> -----Original Message----- > From: Srikanth Yalavarthi > Sent: Tuesday, February 7, 2023 9:20 PM > To: Srikanth Yalavarthi > Cc: dev@dpdk.org; Shivah Shankar Shankar Narayan Rao > ; Jerin Jacob Kollanukkaran > ; Anup Prabhu ; Prince Takkar > ; Parijat Shukla > Subject: [PATCH v4 04/12] app/mldev: add test case to validate model ops > > Added test case to validate model operations. Model ops test is a collection > of sub-tests. Each sub-test invokes the model operations in a specific order. > > Sub-test A: (load -> start -> stop -> unload) x n Sub-test B: load x n -> start x n > -> stop x n -> unload x n Sub-test C: load x n + (start + stop) x n + unload x n > Sub-test D: (load + start) x n -> (stop + unload) x n > > Added internal functions to handle model load, start, stop and unload. List of > models to be used for testing can be specified through application argument > "--models" > > Signed-off-by: Srikanth Yalavarthi > --- > app/test-mldev/meson.build | 2 + > app/test-mldev/ml_options.c | 45 ++- > app/test-mldev/ml_options.h | 9 + > app/test-mldev/test_model_common.c | 162 +++++++++++ app/test- > mldev/test_model_common.h | 37 +++ > app/test-mldev/test_model_ops.c | 433 > +++++++++++++++++++++++++++++ > app/test-mldev/test_model_ops.h | 21 ++ > 7 files changed, 706 insertions(+), 3 deletions(-) create mode 100644 > app/test-mldev/test_model_common.c > create mode 100644 app/test-mldev/test_model_common.h > create mode 100644 app/test-mldev/test_model_ops.c create mode > 100644 app/test-mldev/test_model_ops.h > Acked-by: Anup Prabhu