> -----Original Message----- > From: Sean Morrissey <[email protected]> > Sent: Wednesday, March 23, 2022 10:19 PM > To: Chengwen Feng <[email protected]>; Laatz, Kevin > <[email protected]>; Richardson, Bruce <[email protected]> > Cc: [email protected]; Morrissey, Sean <[email protected]> > Subject: [PATCH v1] dmadev: add telemetry support > > Telemetry commands are now registered through the dmadev library for the > gathering of DSA stats. The corresponding callback functions for listing > dmadevs and providing info and stats for a specific dmadev are implemented > in the dmadev library. > > An example usage can be seen below: > > Connecting to /var/run/dpdk/rte/dpdk_telemetry.v2 > {"version": "DPDK 22.03.0-rc2", "pid": 2956551, "max_output_len": 16384} > Connected to application: "dpdk-dma" > --> / > {"/": ["/", "/dmadev/info", "/dmadev/list", "/dmadev/stats", ...]} > --> /dmadev/list > {"/dmadev/list": [0, 1]} > --> /dmadev/info,0 > {"/dmadev/info": {"name": "0000:00:01.0", "nb_vchans": 1, "numa_node": 0}} > --> /dmadev/stats,0,0 > {"/dmadev/stats": {"submitted": 0, "completed": 0, "errors": 0}} > > Signed-off-by: Sean Morrissey <[email protected]> > --- > doc/guides/prog_guide/dmadev.rst | 24 ++++++ > doc/guides/rel_notes/release_22_07.rst | 4 + > lib/dmadev/meson.build | 2 + > lib/dmadev/rte_dmadev.c | 105 +++++++++++++++++++++++++ > 4 files changed, 135 insertions(+) >
Thanks for adding the telemetry support. Tested-by: Sunil Pai G <[email protected]> Regards, Sunil

