X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Fbsdapp%2Feal%2Feal.c;h=ed16c2e58994b5e27fb85e53a9521547e8eaf941;hb=08853d3cbc79b69ca1a3fe69e2617f539b1a0093;hp=db154db9aa4852f3ecec84b6a3e04675ebc760f6;hpb=ea98a7afb47c25959735d31518f4944dde6552e5;p=dpdk.git diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c index db154db9aa..ed16c2e589 100644 --- a/lib/librte_eal/bsdapp/eal/eal.c +++ b/lib/librte_eal/bsdapp/eal/eal.c @@ -323,7 +323,6 @@ eal_log_level_parse(int argc, char **argv) optind = 1; optreset = 1; - eal_reset_internal_config(&internal_config); rte_log_set_global_level(internal_config.log_level); while ((opt = getopt_long(argc, argvopt, eal_short_options, @@ -520,6 +519,8 @@ rte_eal_init(int argc, char **argv) thread_id = pthread_self(); + eal_reset_internal_config(&internal_config); + /* set log level as early as possible */ eal_log_level_parse(argc, argv);