eal: do not panic on argument parsing error
authorAaron Conole <aconole@redhat.com>
Wed, 22 Mar 2017 20:19:30 +0000 (16:19 -0400)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Mar 2017 13:52:08 +0000 (15:52 +0200)
commita0222a4679e085bbce18264d28a08656391c46ee
treef5c15b2680aa3a741e5b7b39413cee525a8a81cd
parent547a61af71889bfd26ee1f0b10c7ec50b94cc3e4
eal: do not panic on argument parsing error

It's possible that the application could take a corrective action here,
and either prompt the user for different arguments, or at least perform
a better logging.  Exiting this early prevents any useful information
gathering from the application layer.

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