dpdk-fm10k/examples
Ciara Power a35919a113 examples/l3fwd-power: use new telemetry
The l3fwd-power example app now registers a stats command with
telemetry, and provides a callback function to handle formatting the
power stats.

An example usage is shown below:

Connecting to /var/run/dpdk/rte/dpdk_telemetry.v2
{"version": "DPDK 20.05.0-rc0", "pid": 63384, "max_output_len": 16384}
--> /
{"/": ["/", "/ethdev/link_status", "/ethdev/list", "/ethdev/xstats", \
    "/help", "/info", "/l3fwd-power/stats", "/rawdev/list", \
    "/rawdev/xstats"]}
--> /l3fwd-power/stats
{"/l3fwd-power/stats": {"empty_poll": 281625000, "full_poll": 0, \
    "busy_percent": 0}}

The existing stats tracking done by the app using the metrics
library is unaffected. This will still be used to ensure backward
compatibility.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Ciara Power <ciara.power@intel.com>
Reviewed-by: Keith Wiles <keith.wiles@intel.com>
2020-05-11 00:37:15 +02:00
..
bbdev_app examples: hide error for missing pkg-config path flag 2019-11-20 22:48:32 +01:00
bond replace unused attributes 2020-04-16 18:30:58 +02:00
bpf examples/bpf: remove from list of examples to build 2019-10-27 17:23:05 +01:00
cmdline ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
distributor ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ethtool ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
eventdev_pipeline ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
fips_validation replace unused attributes 2020-04-16 18:30:58 +02:00
flow_classify replace no-return attributes 2020-04-16 18:30:58 +02:00
flow_filtering ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
helloworld ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ioat ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ip_fragmentation ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ip_pipeline replace packed attributes 2020-04-16 18:16:46 +02:00
ip_reassembly ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ipsec-secgw examples/ipsec-gw: fix gcc 10 maybe-uninitialized warning 2020-05-06 11:18:36 +02:00
ipv4_multicast ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
kni examples/kni: add SIGTERM signal handling 2020-02-13 18:27:44 +01:00
l2fwd replace unused attributes 2020-04-16 18:30:58 +02:00
l2fwd-cat ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
l2fwd-crypto examples: hide error for missing pkg-config path flag 2019-11-20 22:48:32 +01:00
l2fwd-event ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
l2fwd-jobstats ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
l2fwd-keepalive ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
l3fwd examples/l3fwd: fix error checking 2020-05-01 19:37:17 +02:00
l3fwd-acl ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
l3fwd-graph examples/l3fwd-graph: add graph config and main loop 2020-05-05 23:46:11 +02:00
l3fwd-power examples/l3fwd-power: use new telemetry 2020-05-11 00:37:15 +02:00
link_status_interrupt ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
multi_process ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ntb mempool: return 0 if area is too small on populate 2020-05-05 00:27:05 +02:00
packet_ordering ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
performance-thread ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ptpclient ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
qos_meter ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
qos_sched ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
rxtx_callbacks replace no-return attributes 2020-04-16 18:30:58 +02:00
server_node_efd ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
service_cores ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
skeleton ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
tep_termination examples/tep_term: remove redundant info get 2020-02-21 11:14:35 +01:00
timer ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
vdpa vhost: prefix vDPA enum value for PCI address type 2020-04-21 13:57:07 +02:00
vhost examples: hide error for missing pkg-config path flag 2019-11-20 22:48:32 +01:00
vhost_blk examples/vhost_blk: refactor to increase readability 2020-05-05 15:54:26 +02:00
vhost_crypto examples: hide error for missing pkg-config path flag 2019-11-20 22:48:32 +01:00
vm_power_manager ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
vmdq examples/vmdq: fix RSS configuration 2020-04-21 13:57:06 +02:00
vmdq_dcb ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
Makefile examples/l3fwd-graph: add graph-based l3fwd skeleton 2020-05-05 23:42:26 +02:00
meson.build examples/l3fwd-graph: add graph-based l3fwd skeleton 2020-05-05 23:42:26 +02:00