Go to file
Bruce Richardson c190daedb9 ethdev: add telemetry callbacks
The ethdev library now registers commands with telemetry, and
implements the callback functions. These commands allow the list of
ethdev ports and the xstats and link status for a port to be queried.

An example using ethdev commands is shown below:

Connecting to /var/run/dpdk/rte/dpdk_telemetry.v2
{"version": "DPDK 20.05.0-rc0", "pid": 64379, "max_output_len": 16384}
--> /
{"/": ["/", "/ethdev/link_status", "/ethdev/list", "/ethdev/xstats", \
    "/help", "/info"]}
--> /ethdev/list
{"/ethdev/list": [0, 1, 2, 3]}
--> /ethdev/link_status,0
{"/ethdev/link_status": {"status": "UP", "speed": 10000, "duplex": \
    "full-duplex"}}
--> /ethdev/xstats,0
{"/ethdev/xstats": {"rx_good_packets": 0, "tx_good_packets": 0, \
    <snip>
    "tx_priority7_xon_to_xoff_packets": 0}}

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:01 +02:00
.ci ci: reduce examples in static builds 2020-04-17 23:34:08 +02:00
app telemetry: add utility functions for creating JSON 2020-05-10 23:52:41 +02:00
buildtools build: add internal tag check 2020-04-25 17:01:01 +02:00
config build: add arch-specific header path to global includes 2020-05-10 23:45:02 +02:00
devtools eal/x86: add more CPU flags 2020-05-07 14:51:06 +02:00
doc doc: explicit flow config behaviour in mlx5 guide 2020-05-05 15:54:27 +02:00
drivers common/octeontx: fix gcc 9.1 ABI break 2020-05-06 23:53:19 +02:00
examples examples/vhost_blk: refactor to increase readability 2020-05-05 15:54:26 +02:00
kernel eal: move OS-specific sub-directories 2020-03-31 13:08:55 +02:00
lib ethdev: add telemetry callbacks 2020-05-11 00:37:01 +02:00
license eal: move OS-specific sub-directories 2020-03-31 13:08:55 +02:00
mk telemetry: invert dependency on metrics library 2020-05-10 23:52:00 +02:00
usertools usertools: add new telemetry script 2020-05-10 23:56:47 +02:00
.editorconfig devtools: add EditorConfig file 2020-02-22 21:05:22 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add feature matrix table for bbdev 2020-04-19 22:34:26 +02:00
.travis.yml ci: fix telemetry dependency in Travis 2020-04-10 10:03:22 +02:00
ABI_VERSION version: 20.05-rc0 2020-02-27 12:02:19 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS usertools: add new telemetry script 2020-05-10 23:56:47 +02:00
Makefile remove blank lines at end of file 2019-11-26 00:12:08 +01:00
meson_options.txt trace: introduce new subsystem 2020-04-23 15:39:06 +02:00
meson.build build: add arch-specific header path to global includes 2020-05-10 23:45:02 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 20.05-rc1 2020-04-27 00:04:01 +02:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org