From eba9f61b2fa053970b1f5df137b15d83bb430c22 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Wed, 8 May 2019 22:54:13 +0200 Subject: [PATCH] doc: announce API change to remove exit calls in libs Two public functions from EAL and metrics libraries need to return some new error codes instead of calling rte_panic or rte_exit. Signed-off-by: Thomas Monjalon Acked-by: Arnon Warshavsky Acked-by: David Marchand Acked-by: Ferruh Yigit --- doc/guides/rel_notes/deprecation.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index b47c8c2540..e612784296 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -20,6 +20,9 @@ Deprecation Notices * kvargs: The function ``rte_kvargs_process`` will get a new parameter for returning key match count. It will ease handling of no-match case. +* 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``. + * eal: both declaring and identifying devices will be streamlined in v18.11. New functions will appear to query a specific port from buses, classes of device and device drivers. Device declaration will be made coherent with the @@ -82,3 +85,6 @@ Deprecation Notices * cryptodev: the ``uint8_t *data`` member of ``key`` structure in the xforms structure (``rte_crypto_cipher_xform``, ``rte_crypto_auth_xform``, and ``rte_crypto_aead_xform``) will be changed to ``const uint8_t *data``. + +* metrics: The function ``rte_metrics_init`` will have a non-void return + in order to notify errors instead of calling ``rte_exit``. -- 2.20.1