From: Stanislaw Kardach Date: Fri, 26 Mar 2021 10:47:58 +0000 (+0100) Subject: timer: clarify error if subsystem already initialized X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5516e4760eb48c97bbaba195b18dda2302eeeb4f;p=dpdk.git timer: clarify error if subsystem already initialized rte_timer_subsystem_init() may return -EALREADY if it has been already initialized. Therefore put explicitly into doxygen that this is not a failure for the application. Signed-off-by: Stanislaw Kardach Reviewed-by: Michal Krawczyk Acked-by: Erik Gabriel Carrillo --- diff --git a/lib/librte_timer/rte_timer.h b/lib/librte_timer/rte_timer.h index 22a27aa08d..0f820555c0 100644 --- a/lib/librte_timer/rte_timer.h +++ b/lib/librte_timer/rte_timer.h @@ -171,6 +171,7 @@ int rte_timer_data_dealloc(uint32_t id); * - 0: Success * - -ENOMEM: Unable to allocate memory needed to initialize timer * subsystem + * - -EALREADY: timer subsystem was already initialized. Not an error. */ int rte_timer_subsystem_init(void);