[dpdk-dev] [PATCH] eal: fix log level check

2015-04-28 Thread Thomas Monjalon
> According to the api, rte_log() / rte_vlog() are supposed to check the log > level > and type but they were not doing so. This check was only done in the RTE_LOG > macro while this macro is only there to remove log messages at build time. > > rte_log() always calls rte_vlog(), so move the check

[dpdk-dev] [PATCH] eal: fix log level check

2015-04-06 Thread David Marchand
From: Jean Dao According to the api, rte_log() / rte_vlog() are supposed to check the log level and type but they were not doing so. This check was only done in the RTE_LOG macro while this macro is only there to remove log messages at build time. rte_log() always calls rte_vlog(), so move the c