DPDK patches and discussions
 help / color / mirror / Atom feed
From: Srikanth Yalavarthi <syalavarthi@marvell.com>
Cc: <dev@dpdk.org>, <syalavarthi@marvell.com>,
	<sshankarnara@marvell.com>, <aprabhu@marvell.com>,
	<ptakkar@marvell.com>
Subject: [PATCH v1 0/5] Implementation of revised ML xstats spec
Date: Sat, 22 Apr 2023 22:13:58 -0700	[thread overview]
Message-ID: <20230423051403.31971-1-syalavarthi@marvell.com> (raw)

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


             reply	other threads:[~2023-04-23  5:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-23  5:13 Srikanth Yalavarthi [this message]
2023-04-23  5:13 ` [PATCH v1 1/5] mldev: remove xstats APIs from library Srikanth Yalavarthi
2023-04-23  5:14 ` [PATCH v1 2/5] mldev: introduce revised xstats Srikanth Yalavarthi
2023-04-23  5:14 ` [PATCH v1 3/5] mldev: implement xstats library functions Srikanth Yalavarthi
2023-04-23  5:14 ` [PATCH v1 4/5] app/mldev: enable reporting xstats Srikanth Yalavarthi
2023-04-23  5:14 ` [PATCH v1 5/5] ml/cnxk: implement xstats driver functions Srikanth Yalavarthi
2023-06-06 13:40 ` [PATCH v1 0/5] Implementation of revised ML xstats spec Thomas Monjalon

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=20230423051403.31971-1-syalavarthi@marvell.com \
    --to=syalavarthi@marvell.com \
    --cc=aprabhu@marvell.com \
    --cc=dev@dpdk.org \
    --cc=ptakkar@marvell.com \
    --cc=sshankarnara@marvell.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).