telemetry: add ability to disable selftest
authorCiara Power <ciara.power@intel.com>
Sat, 27 Oct 2018 09:17:47 +0000 (10:17 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 27 Oct 2018 13:18:23 +0000 (15:18 +0200)
commitc8e76f5ac34dee8f14a57265ff9cca4fe0e1de66
tree02bd838ba248cbfcf5c31540996e057e1cc08cca
parent0fe3a37924d4fb60c712098c33bdae3c2b9f5c6c
telemetry: add ability to disable selftest

This patch adds functionality to enable/disable the selftest.

This functionality will be extended in future to make the
enabling/disabling more dynamic and remove this 'hardcoded' approach. We
are temporarily using this approach due to the design changes (vdev vs eal)
made to the library.

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/rte_telemetry.c