telemetry: introduce backward compatibility
authorCiara Power <ciara.power@intel.com>
Thu, 30 Apr 2020 16:01:32 +0000 (17:01 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 10 May 2020 22:37:15 +0000 (00:37 +0200)
commitb80fe1805eee7bc1804e25ef15699d9eedf23391
treed5020b799ae1fb85ee03ce180aaf0e0bf26e781f
parenta35919a1139b2e2351216e1a42a5e35f9e27b06c
telemetry: introduce backward compatibility

The new telemetry will now open a socket using the old telemetry path,
to ensure backward compatibility. This is not yet initialised, as it
would clash with the existing telemetry, to be removed in a later patch.
This means that both old and new telemetry socket interfaces are
handled in a common way.

Signed-off-by: Ciara Power <ciara.power@intel.com>
Reviewed-by: Keith Wiles <keith.wiles@intel.com>
lib/librte_metrics/rte_metrics_telemetry.c
lib/librte_telemetry/Makefile
lib/librte_telemetry/meson.build
lib/librte_telemetry/rte_telemetry_legacy.h [new file with mode: 0644]
lib/librte_telemetry/rte_telemetry_version.map
lib/librte_telemetry/telemetry.c
lib/librte_telemetry/telemetry_legacy.c [new file with mode: 0644]