eal: do not panic when CPU is not supported
authorAaron Conole <aconole@redhat.com>
Wed, 22 Mar 2017 20:19:28 +0000 (16:19 -0400)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Mar 2017 13:50:09 +0000 (15:50 +0200)
commit37e97ad2c56a69d9e8958925d5348b72c8066e57
tree23c35bcd8f9eaa438a46b8859a07e2b4135c2b36
parent647644e51f4c7c4d7b5170408dca100dbc013838
eal: do not panic when CPU is not supported

This adds a new API to check for the eal cpu versions.

It's now possible to gracefully exit the application, or for
applications which support non-dpdk datapaths working in concert with
DPDK datapaths, there no longer is the possibility of exiting for
unsupported CPUs.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/common/eal_common_cpuflags.c
lib/librte_eal/common/include/generic/rte_cpuflags.h
lib/librte_eal/linuxapp/eal/eal.c