summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRemy Horton <remy.horton@intel.com>2017-03-30 22:00:57 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2017-04-05 17:58:51 +0200
commit349950ddb9c5700dc4921ee758fb55265f0e7f16 (patch)
treefa962347b770b424634628c923fa76752ec58a2c /config
parent10def6a1070999a8da2b89e8a8e10fa1eb8b866c (diff)
downloaddpdk-349950ddb9c5700dc4921ee758fb55265f0e7f16.zip
dpdk-349950ddb9c5700dc4921ee758fb55265f0e7f16.tar.gz
dpdk-349950ddb9c5700dc4921ee758fb55265f0e7f16.tar.xz
metrics: add information metrics library
This patch adds a new information metrics library. This Metrics library implements a mechanism by which producers can publish numeric information for later querying by consumers. Metrics themselves are statistics that are not generated by PMDs, and hence are not reported via ethdev extended statistics. Metric information is populated using a push model, where producers update the values contained within the metric library by calling an update function on the relevant metrics. Consumers receive metric information by querying the central metric data, which is held in shared memory. Signed-off-by: Remy Horton <remy.horton@intel.com>
Diffstat (limited to 'config')
-rw-r--r--config/common_base5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/common_base b/config/common_base
index 5bdba1d..8d038e4 100644
--- a/config/common_base
+++ b/config/common_base
@@ -553,6 +553,11 @@ CONFIG_RTE_LIBRTE_EFD=y
CONFIG_RTE_LIBRTE_JOBSTATS=y
#
+# Compile the device metrics library
+#
+CONFIG_RTE_LIBRTE_METRICS=y
+
+#
# Compile librte_lpm
#
CONFIG_RTE_LIBRTE_LPM=y