eal: revert parsing option --telemetry
authorSean Morrissey <sean.morrissey@intel.com>
Wed, 24 Jul 2019 15:20:59 +0000 (16:20 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 29 Jul 2019 20:24:59 +0000 (22:24 +0200)
This reverts commit debacba0297fbe214b4185a9791e6a9fdf6642ba.

Reverting this patch as it currently breaks the initialization of
telemetry, more investigation is ongoing to fix the issue for the
printed error message for unrecognized argument.

Fixes: debacba0297f ("eal: fix parsing option --telemetry")
Cc: stable@dpdk.org
Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/common/eal_options.h

index 24e36cf..512d508 100644 (file)
@@ -81,9 +81,6 @@ eal_long_options[] = {
        {OPT_LEGACY_MEM,        0, NULL, OPT_LEGACY_MEM_NUM       },
        {OPT_SINGLE_FILE_SEGMENTS, 0, NULL, OPT_SINGLE_FILE_SEGMENTS_NUM},
        {OPT_MATCH_ALLOCATIONS, 0, NULL, OPT_MATCH_ALLOCATIONS_NUM},
-#ifdef RTE_LIBRTE_TELEMETRY
-       {OPT_TELEMETRY,         0, NULL, OPT_TELEMETRY_NUM        },
-#endif
        {0,                     0, NULL, 0                        }
 };
 
index e4c8e25..9855429 100644 (file)
@@ -69,10 +69,6 @@ enum {
        OPT_IOVA_MODE_NUM,
 #define OPT_MATCH_ALLOCATIONS  "match-allocations"
        OPT_MATCH_ALLOCATIONS_NUM,
-#ifdef RTE_LIBRTE_TELEMETRY
-       #define OPT_TELEMETRY          "telemetry"
-               OPT_TELEMETRY_NUM,
-#endif
        OPT_LONG_MAX_NUM
 };