summaryrefslogtreecommitdiff
path: root/mk
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 /mk
parentfdbdb3f9ce4698f505907e85d14f480ff0111299 (diff)
downloaddpdk-next-eventdev-ee5ff0d3297e9bf284dd2c0de62b0e3024ae20b0.zip
dpdk-next-eventdev-ee5ff0d3297e9bf284dd2c0de62b0e3024ae20b0.tar.gz
dpdk-next-eventdev-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 'mk')
-rw-r--r--mk/rte.app.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index 39969f4..3ebc4e6 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -51,7 +51,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_ACL) += --whole-archive
_LDLIBS-$(CONFIG_RTE_LIBRTE_ACL) += -lrte_acl
_LDLIBS-$(CONFIG_RTE_LIBRTE_ACL) += --no-whole-archive
_LDLIBS-$(CONFIG_RTE_LIBRTE_TELEMETRY) += --whole-archive
-_LDLIBS-$(CONFIG_RTE_LIBRTE_TELEMETRY) += -lrte_telemetry
+_LDLIBS-$(CONFIG_RTE_LIBRTE_TELEMETRY) += -lrte_telemetry -ljansson
_LDLIBS-$(CONFIG_RTE_LIBRTE_TELEMETRY) += --no-whole-archive
_LDLIBS-$(CONFIG_RTE_LIBRTE_JOBSTATS) += -lrte_jobstats
_LDLIBS-$(CONFIG_RTE_LIBRTE_METRICS) += -lrte_metrics