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

2019-09-03 Thread David Marchand
On Mon, Sep 2, 2019 at 4:17 PM Ferruh Yigit wrote: > > 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 otherwi

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

2019-09-02 Thread Ferruh Yigit
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 setti

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

2019-08-19 Thread David Marchand
All (but the Solarflare net driver) drivers currently do not care about the log level the user might have passed at init time. 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. -- David M