From: fengchengwen <fengchengwen@huawei.com>
To: Bruce Richardson <bruce.richardson@intel.com>, <dev@dpdk.org>
Cc: <ferruh.yigit@amd.com>
Subject: Re: [PATCH v2 3/3] app/testpmd: add support for querying TM nodes
Date: Wed, 9 Oct 2024 09:02:01 +0800 [thread overview]
Message-ID: <f22f5f89-3a99-46cf-9dcf-61beec71f1b3@huawei.com> (raw)
In-Reply-To: <20241008144320.1632138-4-bruce.richardson@intel.com>
Please update the testpmd doc, with that added,
Acked-by: Chengwen Feng <fengchengwen@huawei.com>
On 2024/10/8 22:43, Bruce Richardson wrote:
> Support use of the rte_tm_node_query API to print out details about
> previously added TM nodes in testpmd.
>
> Example output, configuring three nodes, and then printing the details:
>
> testpmd> add port tm nonleaf node 0 100 -1 0 1 0 -1 1 0 0
> testpmd> add port tm nonleaf node 0 90 100 0 1 1 -1 1 0 0
> testpmd> add port tm leaf node 0 0 90 0 1 2 -1 0 0xffffffff 0 0
> testpmd>
> testpmd> show port tm node 0 100
> Port 0 TM Node 100
> Parent Node ID: <NULL>
> Level ID: 0
> Priority: 0
> Weight: 0
> Shaper Profile ID: <none>
> Shared Shaper IDs: <none>
> Stats Mask: 0
> Nonleaf Node Parameters
> Num Strict Priorities: 1
> WFQ Weights Mode: WFQ
> testpmd> show port tm node 0 90
> Port 0 TM Node 90
> Parent Node ID: 100
> Level ID: 1
> Priority: 0
> Weight: 1
> Shaper Profile ID: <none>
> Shared Shaper IDs: <none>
> Stats Mask: 0
> Nonleaf Node Parameters
> Num Strict Priorities: 1
> WFQ Weights Mode: WFQ
> testpmd> show port tm node 0 0
> Port 0 TM Node 0
> Parent Node ID: 90
> Level ID: 2
> Priority: 0
> Weight: 1
> Shaper Profile ID: <none>
> Shared Shaper IDs: <none>
> Stats Mask: 0
> Leaf Node Parameters
> CMAN Mode: Tail Drop
> WRED Profile ID: <none>
> Shared WRED Context Ids: <none>
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
> app/test-pmd/cmdline.c | 1 +
> app/test-pmd/cmdline_tm.c | 131 ++++++++++++++++++++++++++++++++++++++
> app/test-pmd/cmdline_tm.h | 1 +
> 3 files changed, 133 insertions(+)
>
...
next prev parent reply other threads:[~2024-10-09 1:02 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-08 10:53 [PATCH 0/3] add support for querying ethdev " 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 [this message]
2024-10-09 10:32 ` Bruce Richardson
2024-10-09 10:32 ` [PATCH v3 0/3] add support for querying ethdev " Bruce Richardson
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=f22f5f89-3a99-46cf-9dcf-61beec71f1b3@huawei.com \
--to=fengchengwen@huawei.com \
--cc=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).