eal: do not panic on interrupt thread init
authorAaron Conole <aconole@redhat.com>
Wed, 22 Mar 2017 20:19:35 +0000 (16:19 -0400)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Mar 2017 13:56:59 +0000 (15:56 +0200)
commitc050e5abae75b7d8f3332f410c44aa9cd904c384
tree2e3b03df4a98496dadb611a4b9223176f543f489
parent330bed86d35c8cbca29082604e2f3dea7b83b277
eal: do not panic on interrupt thread init

There could be some confusion as to why the call failed - this change
will always reflect the value of the error in rte_error.

When initializing the interrupt thread, there are a number of possible
reasons for failure - some of which are correctable by the application.
Do not panic() needlessly, and give the application a change to reflect
this information to the user.

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/linuxapp/eal/eal.c
lib/librte_eal/linuxapp/eal/eal_interrupts.c