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

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Apr 28 15:46:35 CEST 2015


> 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 to rte_vlog() only.
> 
> Signed-off-by: Jean Dao <jean.dao at 6wind.com>
> Signed-off-by: David Marchand <david.marchand at 6wind.com>

Applied, thanks


More information about the dev mailing list