[PATCH 1/2] dmadev: include device name in telemetry list output

Stephen Hemminger stephen at networkplumber.org
Wed May 20 17:03:11 CEST 2026


On Wed, 20 May 2026 11:56:40 +0800
Chengwen Feng <fengchengwen at 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.


More information about the dev mailing list