summaryrefslogtreecommitdiff
path: root/devtools
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 /devtools
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 'devtools')
-rwxr-xr-xdevtools/test-build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/devtools/test-build.sh b/devtools/test-build.sh
index d26a9f3..42f4ad0 100755
--- a/devtools/test-build.sh
+++ b/devtools/test-build.sh
@@ -10,6 +10,7 @@ default_path=$PATH
# - DPDK_DEP_ARCHIVE
# - DPDK_DEP_CFLAGS
# - DPDK_DEP_ISAL (y/[n])
+# - DPDK_DEP_JSON (y/[n])
# - DPDK_DEP_LDFLAGS
# - DPDK_DEP_MLX (y/[n])
# - DPDK_DEP_NUMA ([y]/n)
@@ -96,6 +97,7 @@ reset_env ()
unset DPDK_DEP_ARCHIVE
unset DPDK_DEP_CFLAGS
unset DPDK_DEP_ISAL
+ unset DPDK_DEP_JSON
unset DPDK_DEP_LDFLAGS
unset DPDK_DEP_MLX
unset DPDK_DEP_NUMA
@@ -184,6 +186,8 @@ config () # <directory> <target> <options>
sed -ri 's,(MVPP2_PMD=)n,\1y,' $1/.config
test -z "$LIBMUSDK_PATH" || \
sed -ri 's,(MVNETA_PMD=)n,\1y,' $1/.config
+ test -z "$DPDK_DEP_JSON" || \
+ sed -ri 's,(TELEMETRY=)n,\1y,' $1/.config
build_config_hook $1 $2 $3
# Explicit enabler/disabler (uppercase)