[dpdk-dev] [PATCH] doc: announce API change to remove exit calls in libs

Thomas Monjalon thomas at monjalon.net
Thu May 9 09:38:35 CEST 2019


09/05/2019 09:34, David Marchand:
> On Wed, May 8, 2019 at 10:54 PM Thomas Monjalon <thomas at monjalon.net> wrote:
> > --- a/doc/guides/rel_notes/deprecation.rst
> > +++ b/doc/guides/rel_notes/deprecation.rst
> > +* eal: The function ``rte_eal_remote_launch`` will return new error codes
> > +  after read or write error on the pipe, instead of calling ``rte_panic``.
> > +
> >
> 
> Nit: do we need error codes ? or only a single new error code ?

That's something to discuss.
In my opinion, we should return any errno from read and write syscalls:
	return -errno;




More information about the dev mailing list