summaryrefslogtreecommitdiff
path: root/lib/librte_telemetry/Makefile
diff options
context:
space:
mode:
authorCiara Power <ciara.power@intel.com>2018-10-27 10:17:43 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-10-27 15:18:23 +0200
commitee5ff0d3297e9bf284dd2c0de62b0e3024ae20b0 (patch)
tree02c37dad4884cb41be7e58f76e7dc0673f39f3b9 /lib/librte_telemetry/Makefile
parentfdbdb3f9ce4698f505907e85d14f480ff0111299 (diff)
downloaddpdk-ee5ff0d3297e9bf284dd2c0de62b0e3024ae20b0.zip
dpdk-ee5ff0d3297e9bf284dd2c0de62b0e3024ae20b0.tar.gz
dpdk-ee5ff0d3297e9bf284dd2c0de62b0e3024ae20b0.tar.xz
telemetry: add client feature and sockets
This patch introduces clients to the telemetry API. When a client makes a connection through the initial telemetry socket, they can send a message through the socket to be parsed. Register messages are expected through this socket, to enable clients to register and have a client socket setup for future communications. A TAILQ is used to store all clients information. Using this, the client sockets are polled for messages, which will later be parsed and dealt with accordingly. Functionality that make use of the client sockets were introduced in this patch also, such as writing to client sockets, and sending error responses. Signed-off-by: Ciara Power <ciara.power@intel.com> Signed-off-by: Brian Archbold <brian.archbold@intel.com> Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
Diffstat (limited to 'lib/librte_telemetry/Makefile')
-rw-r--r--lib/librte_telemetry/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/librte_telemetry/Makefile b/lib/librte_telemetry/Makefile
index a2d4ff1..0d61361 100644
--- a/lib/librte_telemetry/Makefile
+++ b/lib/librte_telemetry/Makefile
@@ -13,6 +13,7 @@ CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_ethdev
LDLIBS += -lrte_metrics
LDLIBS += -lpthread
+LDLIBS += -ljansson
EXPORT_MAP := rte_telemetry_version.map