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:
Harry van Haaren 2018-01-25 09:01:06 +00:00 committed by Thomas Monjalon
parent 96f6003671
commit e26e51cc5c

View File

@ -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);
}