Skip to contentSkip to conversation

eventdev: support telemetry with xstats info

PATCH Superseded Mike Ximing Chen 1 participant 1 message Sep 18, 2020 Arm/Amlogic Meson SoC support

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 eventdev: support telemetry with xstats info

The telemetry library is connected with eventdev xstats and port link info. The following new telemetry commands are added:

/eventdev/dev_list
/eventdev/port_list,DevID
/eventdev/queue_list,DevID
/eventdev/dev_xstats,DevID
/eventdev/port_xstats,DevID,PortID
/eventdev/queue_xstats,DevID,PortID
/eventdev/queue_links,DevID,PortID

queue_links command displays a list of queues linked with a specified eventdev port and a service priority associated with each link.

---
Depends-on: patch-76075 ("lib/telemetry: fix passing full params string to command")
---
v2:
* Fixed an issue with p_param in handles.

---
 lib/librte_eventdev/meson.build    |   1 +
 lib/librte_eventdev/rte_eventdev.c | 304 +++++++++++++++++++++++++++++
 2 files changed, 305 insertions(+)
lib/librte_eventdev/meson.build +1 -0
index d1f25ee5c..0adc2cd2f 100644
@@ -27,3 +27,4 @@ headers = files('rte_eventdev.h',
 		'rte_event_crypto_adapter.h',
 		'rte_event_eth_tx_adapter.h')
 deps += ['ring', 'ethdev', 'hash', 'mempool', 'mbuf', 'timer', 'cryptodev']
+deps += ['telemetry']
lib/librte_eventdev/rte_eventdev.c +304 -0

313 lines not on this page · raw message

Signature · 1 line
2.17.1