Re: [dpdk-dev] [PATCH v2] eal: don't call RTE_LOG before init

2019-10-16 Thread David Marchand
On Thu, Sep 19, 2019 at 3:31 PM Stephen Hemminger wrote: > > rte_init_alert is called before rte_log is initialized. rte_eal_init_alert* > Therefore RTE_LOG() should not be used (only stderr). There should be nothing disastrous when calling RTE_LOG() before rte_eal_log_init has been called. RTE

[dpdk-dev] [PATCH v2] eal: don't call RTE_LOG before init

2019-09-19 Thread Stephen Hemminger
rte_init_alert is called before rte_log is initialized. Therefore RTE_LOG() should not be used (only stderr). For VFIO, it is initialized after rte_log_init therefore, use RTE_LOG. Signed-off-by: Stephen Hemminger --- lib/librte_eal/linux/eal/eal.c | 3 +-- 1 file changed, 1 insertion(+), 2 del