Re: [dpdk-dev] [PATCH v3 2/3] log: track log level changes

2021-04-09 Thread David Marchand
On Fri, Apr 9, 2021 at 1:59 PM Thomas Monjalon wrote: > > 09/04/2021 13:04, David Marchand: > > Add a log message when registering log types and changing log levels. > > > > __rte_log_register previous handled both legacy and dynamic logtypes. > > To simplify the code, __rte_log_register is rework

Re: [dpdk-dev] [PATCH v3 2/3] log: track log level changes

2021-04-09 Thread Thomas Monjalon
09/04/2021 13:04, David Marchand: > Add a log message when registering log types and changing log levels. > > __rte_log_register previous handled both legacy and dynamic logtypes. > To simplify the code, __rte_log_register is reworked to only handle > dynamic logtypes and takes a log level. > > E

[dpdk-dev] [PATCH v3 2/3] log: track log level changes

2021-04-09 Thread David Marchand
Add a log message when registering log types and changing log levels. __rte_log_register previous handled both legacy and dynamic logtypes. To simplify the code, __rte_log_register is reworked to only handle dynamic logtypes and takes a log level. Example: $ DPDK_TEST=logs_autotest ./build/app/te