mbox

[v1,0/5] Implementation of revised ML xstats spec

Message ID 20230423051403.31971-1-syalavarthi@marvell.com (mailing list archive)
Headers

Message

Srikanth Yalavarthi April 23, 2023, 5:13 a.m. UTC
This series of patches introduces revised xstats specification for ML
device. The revised xstats spec is based on eventdev xstats and supports
DEVICE and MODEL modes to get xstats. This enables retrieving xstats for
device and each model separately.


Srikanth Yalavarthi (5):
  mldev: remove xstats APIs from library
  mldev: introduce revised xstats
  mldev: implement xstats library functions
  app/mldev: enable reporting xstats
  ml/cnxk: implement xstats driver functions

 app/test-mldev/meson.build                 |   1 +
 app/test-mldev/ml_common.h                 |  11 +
 app/test-mldev/ml_options.c                |   5 +-
 app/test-mldev/test_common.h               |   3 +
 app/test-mldev/test_inference_common.c     | 113 -----
 app/test-mldev/test_inference_common.h     |   1 -
 app/test-mldev/test_inference_interleave.c |   6 +-
 app/test-mldev/test_inference_ordered.c    |   5 +-
 app/test-mldev/test_model_ops.c            |   3 +
 app/test-mldev/test_stats.c                | 129 +++++
 app/test-mldev/test_stats.h                |  13 +
 doc/guides/mldevs/cnxk.rst                 |  30 +-
 drivers/ml/cnxk/cn10k_ml_dev.h             |  96 +++-
 drivers/ml/cnxk/cn10k_ml_model.h           |  21 -
 drivers/ml/cnxk/cn10k_ml_ops.c             | 520 +++++++++++++++------
 lib/mldev/rte_mldev.c                      |  15 +-
 lib/mldev/rte_mldev.h                      |  97 ++--
 lib/mldev/rte_mldev_core.h                 |  28 +-
 18 files changed, 757 insertions(+), 340 deletions(-)
 create mode 100644 app/test-mldev/test_stats.c
 create mode 100644 app/test-mldev/test_stats.h

--
2.17.1