> -----Original Message----- > From: Troy, Rebecca <rebecca.t...@intel.com> > Sent: Thursday, August 19, 2021 11:22 AM > To: dev@dpdk.org > Cc: Zhang, Roy Fan <roy.fan.zh...@intel.com>; Power, Ciara > <ciara.po...@intel.com>; Troy, Rebecca <rebecca.t...@intel.com>; Akhil > Goyal <gak...@marvell.com>; Doherty, Declan <declan.dohe...@intel.com> > Subject: [PATCH] cryptodev: add telemetry callbacks > > The cryptodev library now registers commands with telemetry, and > implements the corresponding callback functions. These commands > allow a list of cryptodevs and stats for a cryptodev to be > queried. > > An example usage can be seen below: > > Connecting to /var/run/dpdk/rte/dpdk_telemetry.v2 > {"version": "DPDK 21.11.0-rc0", "pid": 1135019, "max_output_len": 16384} > --> / > {"/": ["/", "/cryptodev/list", "/cryptodev/stats", ...]} > --> /cryptodev/list > {"/cryptodev/list": {"0000:1a:01.0_qat_sym": 0, "0000:1a:01.0_qat_asym": \ > 1}} > --> /cryptodev/stats,0 > {"/cryptodev/stats": {"enqueued_count": 0, "dequeued_count": 0, \ > "enqueue_err_count": 0, "dequeue_err_count": 0}} > > Signed-off-by: Rebecca Troy <rebecca.t...@intel.com>
Acked-by: Fan Zhang <roy.fan.zh...@intel.com>