DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: dev@dpdk.org
Cc: ferruh.yigit@amd.com, Bruce Richardson <bruce.richardson@intel.com>
Subject: [PATCH v3 0/3] add support for querying ethdev TM nodes
Date: Wed,  9 Oct 2024 11:32:07 +0100	[thread overview]
Message-ID: <20241009103210.3858363-1-bruce.richardson@intel.com> (raw)
In-Reply-To: <20241008105350.1396216-1-bruce.richardson@intel.com>

Add support for an ethdev TM query function to allow apps to get details
of the TM nodes they previously configured. This patchset includes:

* ethdev changes to add the API
* implementation of the function in "ice" pmd
* testpmd command to allow testing the function

v3: updated comments and removed null check on patch 1.
    Added doc to patch 3.
V2: rebase to the head of next-net tree


Bruce Richardson (3):
  ethdev: add traffic manager query function
  net/ice: add traffic management node query function
  app/testpmd: add support for querying TM nodes

 app/test-pmd/cmdline.c                      |   1 +
 app/test-pmd/cmdline_tm.c                   | 131 ++++++++++++++++++++
 app/test-pmd/cmdline_tm.h                   |   1 +
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |  27 ++++
 drivers/net/ice/ice_tm.c                    |  52 ++++++++
 lib/ethdev/ethdev_trace.h                   |  16 +++
 lib/ethdev/ethdev_trace_points.c            |   3 +
 lib/ethdev/rte_tm.c                         |  22 ++++
 lib/ethdev/rte_tm.h                         |  50 ++++++++
 lib/ethdev/rte_tm_driver.h                  |  12 ++
 lib/ethdev/version.map                      |   1 +
 11 files changed, 316 insertions(+)

--
2.43.0


  parent reply	other threads:[~2024-10-09 10:32 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-08 10:53 [PATCH " Bruce Richardson
2024-10-08 10:53 ` [PATCH 1/3] ethdev: add traffic manager query function Bruce Richardson
2024-10-08 10:53 ` [PATCH 2/3] net/ice: add traffic management node " Bruce Richardson
2024-10-08 10:53 ` [PATCH 3/3] app/testpmd: add support for querying TM nodes Bruce Richardson
2024-10-08 14:43 ` [PATCH v2 0/3] add support for querying ethdev " Bruce Richardson
2024-10-08 14:43   ` [PATCH v2 1/3] ethdev: add traffic manager query function Bruce Richardson
2024-10-09  0:57     ` fengchengwen
2024-10-09  8:07       ` Bruce Richardson
2024-10-09  9:38         ` fengchengwen
2024-10-08 14:43   ` [PATCH v2 2/3] net/ice: add traffic management node " Bruce Richardson
2024-10-08 14:43   ` [PATCH v2 3/3] app/testpmd: add support for querying TM nodes Bruce Richardson
2024-10-09  1:02     ` fengchengwen
2024-10-09 10:32       ` Bruce Richardson
2024-10-09 10:32 ` Bruce Richardson [this message]
2024-10-09 10:32   ` [PATCH v3 1/3] ethdev: add traffic manager query function Bruce Richardson
2024-10-10  2:05     ` Ferruh Yigit
2024-10-12  0:28     ` Ferruh Yigit
2024-10-09 10:32   ` [PATCH v3 2/3] net/ice: add traffic management node " Bruce Richardson
2024-10-09 10:32   ` [PATCH v3 3/3] app/testpmd: add support for querying TM nodes Bruce Richardson
2024-10-12  0:33   ` [PATCH v3 0/3] add support for querying ethdev " Ferruh Yigit

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=20241009103210.3858363-1-bruce.richardson@intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@amd.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).