net/avf: 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: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
Harry van Haaren 2018-01-25 09:00:57 +00:00 committed by Thomas Monjalon
parent 828b385c1d
commit 88f6bf7c75

View File

@ -1342,10 +1342,10 @@ RTE_INIT(avf_init_log);
static void static void
avf_init_log(void) avf_init_log(void)
{ {
avf_logtype_init = rte_log_register("pmd.avf.init"); avf_logtype_init = rte_log_register("pmd.net.avf.init");
if (avf_logtype_init >= 0) if (avf_logtype_init >= 0)
rte_log_set_level(avf_logtype_init, RTE_LOG_NOTICE); rte_log_set_level(avf_logtype_init, RTE_LOG_NOTICE);
avf_logtype_driver = rte_log_register("pmd.avf.driver"); avf_logtype_driver = rte_log_register("pmd.net.avf.driver");
if (avf_logtype_driver >= 0) if (avf_logtype_driver >= 0)
rte_log_set_level(avf_logtype_driver, RTE_LOG_NOTICE); rte_log_set_level(avf_logtype_driver, RTE_LOG_NOTICE);
} }