From e26e51cc5c7660568337028099b0a74ef0e10321 Mon Sep 17 00:00:00 2001 From: Harry van Haaren Date: Thu, 25 Jan 2018 09:01:06 +0000 Subject: [PATCH] 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 Acked-by: Alejandro Lucero Acked-by: Bruce Richardson --- drivers/net/nfp/nfp_net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index 0044699237..e5bfde627b 100644 --- a/drivers/net/nfp/nfp_net.c +++ b/drivers/net/nfp/nfp_net.c @@ -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); } -- 2.20.1