DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] rte_eal_init() alternative?
@ 2015-09-02 12:49 Montorsi, Francesco
  2015-09-02 12:56 ` Bruce Richardson
  0 siblings, 1 reply; 19+ messages in thread
From: Montorsi, Francesco @ 2015-09-02 12:49 UTC (permalink / raw)
  To: dev

Hi all,

Currently it seems that the only way to initialize EAL is using rte_eal_init() function, correct?

I have the problem that rte_eal_init() will call rte_panic() whenever something fails to initialize or in other cases it will call exit().
In my application, I would rather like to attempt DPDK initialization. If it fails I don't want to exit.
Unfortunately I cannot even copy&paste the rte_eal_init() code into my application (removing rte_panic and exit calls) since it uses a lot of DPDK internal private functions.

I think that my requirements (avoid abort/exit calls when init fails) is a basic requirement... would you accept a patch that adds an alternative rte_eal_init() function that just returns an error code upon failure, instead of immediately exiting?

Thanks for your hard work!

Francesco Montorsi

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2015-10-09 16:03 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-02 12:49 [dpdk-dev] rte_eal_init() alternative? Montorsi, Francesco
2015-09-02 12:56 ` Bruce Richardson
2015-09-02 13:10   ` Thomas Monjalon
2015-09-02 18:17     ` Don Provan
2015-09-02 19:00       ` Stephen Hemminger
2015-09-02 20:50         ` Marc Sune
2015-09-02 21:08         ` Thomas Monjalon
2015-09-02 22:01           ` Wiles, Keith
2015-09-08 18:01             ` Don Provan
2015-09-11 17:15               ` Wiles, Keith
2015-10-08 14:58     ` Montorsi, Francesco
2015-10-09  8:25       ` Panu Matilainen
2015-10-09 10:03         ` Montorsi, Francesco
2015-10-09 10:13           ` Montorsi, Francesco
2015-10-09 11:12             ` Panu Matilainen
2015-10-09 10:40           ` Panu Matilainen
2015-10-09 16:03             ` Thomas F Herbert
2015-09-02 14:08   ` Jay Rolette
2015-09-02 19:23     ` Zoltan Kiss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).