telemetry: add parser for client socket messages
authorCiara Power <ciara.power@intel.com>
Sat, 27 Oct 2018 09:17:44 +0000 (10:17 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 27 Oct 2018 13:18:23 +0000 (15:18 +0200)
commit1b756087db9345870e9f478b409ce678db25c86d
tree034956c8a10a10687107b15471736617d67ef424
parentee5ff0d3297e9bf284dd2c0de62b0e3024ae20b0
telemetry: add parser for client socket messages

This patch adds the parser file. This is used to parse any
messages that are received on any of the client sockets.

Currently, the unregister functionality works using the parser.
Functionality relating to getting statistic values for certain ports
will be added in a subsequent patch, however the parsing involved
for that command is added in this patch.

Some of the parser code included is in preparation for future
functionality, that is not implemented yet in this patchset.

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>
lib/librte_telemetry/Makefile
lib/librte_telemetry/meson.build
lib/librte_telemetry/rte_telemetry.c
lib/librte_telemetry/rte_telemetry_internal.h
lib/librte_telemetry/rte_telemetry_parser.c [new file with mode: 0644]
lib/librte_telemetry/rte_telemetry_parser.h [new file with mode: 0644]
lib/librte_telemetry/rte_telemetry_version.map