[dpdk-dev] [PATCH 00/11] Fixing log levels for dynamically loaded drivers

Ferruh Yigit ferruh.yigit at intel.com
Mon Sep 2 16:17:39 CEST 2019


On 8/19/2019 12:41 PM, David Marchand wrote:
> All (but the Solarflare net driver) drivers currently do not care about
> the log level the user might have passed at init time.

Is this comment for the shared libraries?
Because otherwise drivers set loglevel during initialization and init time
setting should be reflected to the logtypes before devices probed.

> 
> Convert existing drivers from rte_log_register to a new wrapper
> RTE_LOG_REGISTER that relies on rte_log_register_type_and_pick_level
> that handles this issue.
> 
> 



More information about the dev mailing list