W dniu 23.03.2021 o 16:54, Thomas Monjalon pisze: > 23/03/2021 11:19, David Marchand: >> --log-level option is handled early, no need to reevaluate it later in >> EAL init. >> >> Before: >> $ echo quit | ./build/app/test/dpdk-test --no-huge -m 512 \ >> --log-level=lib.eal:debug \ >> --log-level=lib.ethdev:debug --log-level=lib.ethdev:info \ >> |& grep -i logtype.level >> >> EAL: lib.eal logtype level changed from info to debug >> EAL: lib.ethdev logtype level changed from info to debug >> EAL: lib.ethdev logtype level changed from debug to info >> EAL: lib.ethdev logtype level changed from info to debug >> EAL: lib.ethdev logtype level changed from debug to info >> >> After: >> $ echo quit | ./build/app/test/dpdk-test --no-huge -m 512 \ >> --log-level=lib.eal:debug \ >> --log-level=lib.ethdev:debug --log-level=lib.ethdev:info \ >> |& grep -i logtype.level >> >> EAL: lib.eal logtype level changed from info to debug >> EAL: lib.ethdev logtype level changed from info to debug >> EAL: lib.ethdev logtype level changed from debug to info >> >> Fixes: 6c7216eefd63 ("eal: fix log level of early messages") >> Fixes: 1c806ae5c3ac ("eal/windows: support command line options parsing") >> Cc: sta...@dpdk.org >> >> Signed-off-by: David Marchand <david.march...@redhat.com> > Acked-by: Thomas Monjalon <tho...@monjalon.net> > > Acked-by: Lukasz Wojciechowski <l.wojciec...@partner.samsung.com> Tested-by: Lukasz Wojciechowski <l.wojciec...@partner.samsung.com>
-- Lukasz Wojciechowski Principal Software Engineer Samsung R&D Institute Poland Samsung Electronics Office +48 22 377 88 25 l.wojciec...@partner.samsung.com