eal: move CPU flags check from constructor to init
authorFlavio Leitner <fbl@sysclose.org>
Fri, 23 Sep 2016 14:47:31 +0000 (11:47 -0300)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 3 Oct 2016 14:13:36 +0000 (16:13 +0200)
commit4757d06634070e0a60c5984919078adc36b1c514
tree39243a59fabf1a1868970ddd7513693bf352b87f
parentc00ae961ff8dbc036322fdb41137a7dedac005c9
eal: move CPU flags check from constructor to init

An application might be linked to DPDK but not really use it,
so move the cpu flag check to the EAL initialization instead.

Signed-off-by: Flavio Leitner <fbl@sysclose.org>
Acked-by: Aaron Conole <aconole@redhat.com>
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/common/eal_common_cpuflags.c
lib/librte_eal/linuxapp/eal/eal.c