eal: move internal config initialization
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 18 Apr 2017 14:22:21 +0000 (16:22 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 19 Apr 2017 23:29:01 +0000 (01:29 +0200)
commit08853d3cbc79b69ca1a3fe69e2617f539b1a0093
treef050ee2b8335ad3a7853021ba7438f9b56380d75
parentea98a7afb47c25959735d31518f4944dde6552e5
eal: move internal config initialization

It's better to initialize the internal config in rte_eal_init()
instead of eal_log_level_parse(), since this structure is not only
about logs.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/linuxapp/eal/eal.c