From: Stephen Hemminger <stephen@networkplumber.org>
To: Chengwen Feng <fengchengwen@huawei.com>
Cc: <thomas@monjalon.net>, <dev@dpdk.org>
Subject: Re: [PATCH 1/2] dmadev: include device name in telemetry list output
Date: Wed, 20 May 2026 08:03:11 -0700 [thread overview]
Message-ID: <20260520080311.29609948@phoenix.local> (raw)
In-Reply-To: <20260520035641.50555-2-fengchengwen@huawei.com>
On Wed, 20 May 2026 11:56:40 +0800
Chengwen Feng <fengchengwen@huawei.com> wrote:
> After this commit:
> {
> "/dmadev/list": [
> "0 hisi_sec2-0-dma0",
> "1 hisi_sec2-0-dma1"
> ]
> }
That is awkward JSON. Better to not have the 0 and 1 prefixes.
Typical usage will read JSON in python and array index would
be implicit.
next prev parent reply other threads:[~2026-05-20 15:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-20 3:56 [PATCH 0/2] enhance telemetry list endpoint with device name Chengwen Feng
2026-05-20 3:56 ` [PATCH 1/2] dmadev: include device name in telemetry list output Chengwen Feng
2026-05-20 15:03 ` Stephen Hemminger [this message]
2026-05-20 3:56 ` [PATCH 2/2] ethdev: " Chengwen Feng
2026-05-20 5:40 ` [PATCH 0/2] enhance telemetry list endpoint with device name Morten Brørup
2026-05-20 7:31 ` fengchengwen
2026-05-20 7:49 ` Bruce Richardson
2026-05-20 14:54 ` Stephen Hemminger
2026-05-20 9:38 ` [PATCH v2 0/2] Add list names telemetry endpoint Chengwen Feng
2026-05-20 9:38 ` [PATCH v2 1/2] dmadev: add telemetry endpoint for list names Chengwen Feng
2026-05-20 9:38 ` [PATCH v2 2/2] ethdev: " Chengwen Feng
2026-05-20 13:29 ` Morten Brørup
2026-05-20 14:58 ` Bruce Richardson
2026-05-21 12:24 ` fengchengwen
2026-05-21 12:40 ` Morten Brørup
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=20260520080311.29609948@phoenix.local \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=fengchengwen@huawei.com \
--cc=thomas@monjalon.net \
/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