1b756087db
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>
15 lines
417 B
Meson
15 lines
417 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2018 Intel Corporation
|
|
|
|
sources = files('rte_telemetry.c', 'rte_telemetry_parser.c')
|
|
headers = files('rte_telemetry.h', 'rte_telemetry_internal.h', 'rte_telemetry_parser.h')
|
|
deps += ['metrics', 'ethdev']
|
|
cflags += '-DALLOW_EXPERIMENTAL_API'
|
|
|
|
jansson = cc.find_library('jansson', required: false)
|
|
if jansson.found()
|
|
ext_deps += jansson
|
|
else
|
|
build = false
|
|
endif
|