Re: [RFC 00/23] Refactor eal_init to remove panic() calls
From: Aaron Conole <aconole@redhat.com>
Date: 2017-01-03 16:06:26
From: Aaron Conole <aconole@redhat.com>
Date: 2017-01-03 16:06:26
Thomas Monjalon [off-list ref] writes:
Hi Aaron, 2016-12-30 10:25, Aaron Conole:quoted
In many cases, it's enough to simply let the application know that the call to initialize DPDK has failed. A complete halt can then be decided by the application based on error returned (and the app could even attempt a possible re-attempt after some corrective action by the user or application). There is still some work left in this series.Thanks for starting the work. I think it is candidate for 17.05 and can be promoted in the roadmap: http://dpdk.org/dev/roadmap
Okay.
Have you checked wether these changes are modifying the API?
That'll be my last pass through.
Some doxygen comments may need to be updated when a new error code is used.
Agreed; I also want to ensure that there's a consistent set of error codes, and a consistent place to check for them. I'll probably prefer to put them in rte_errno. Thanks for your thoughts, Thomas!