log: redefine logtype values
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 19 Apr 2017 14:06:34 +0000 (15:06 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 19 Apr 2017 23:28:33 +0000 (01:28 +0200)
commit75915f1bde6aca44b76d57184adaee876d7ee257
tree4326cad0ca8297b0c82945cd10309a058242c407
parentdde32aced735259a4ab080c682273f681c02ee36
log: redefine logtype values

After the changes in commit c1b5fa94a46f
("eal: support dynamic log types"), logtype is not treated as a
bitmask, but a decimal value. Therefore, values have to be
converted.

Fixes: c1b5fa94a46f ("eal: support dynamic log types")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_eal/common/eal_common_log.c
lib/librte_eal/common/include/rte_log.h