[PATCH] metrics: return error code on initialization failures

David Marchand david.marchand at redhat.com
Mon Oct 3 09:17:31 CEST 2022


On Thu, Sep 29, 2022 at 1:16 PM Morten Brørup <mb at smartsharesystems.com> wrote:
> > DPDK libraries should never call rte_exit on failure, so change the
> > function return type of rte_metrics_init to "int" to allow returning an
> > error code to the application rather than exiting the whole app on init
> > failure.
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> Acked-by: Morten Brørup <mb at smartsharesystems.com>

Lgtm too.

Added a note in the RN and applied.
Thanks Bruce.


-- 
David Marchand



More information about the dev mailing list