net/nfp: align dynamic log names with standard
This commit aligns the names for dynamic logging with the newly defined logging format. Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com> Acked-by: Alejandro Lucero <alejandro.lucero@netronome.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
parent
96f6003671
commit
e26e51cc5c
@ -3165,10 +3165,10 @@ RTE_INIT(nfp_init_log);
|
||||
static void
|
||||
nfp_init_log(void)
|
||||
{
|
||||
nfp_logtype_init = rte_log_register("pmd.nfp.init");
|
||||
nfp_logtype_init = rte_log_register("pmd.net.nfp.init");
|
||||
if (nfp_logtype_init >= 0)
|
||||
rte_log_set_level(nfp_logtype_init, RTE_LOG_NOTICE);
|
||||
nfp_logtype_driver = rte_log_register("pmd.nfp.driver");
|
||||
nfp_logtype_driver = rte_log_register("pmd.net.nfp.driver");
|
||||
if (nfp_logtype_driver >= 0)
|
||||
rte_log_set_level(nfp_logtype_driver, RTE_LOG_NOTICE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user