From: Harry van Haaren Date: Thu, 25 Jan 2018 09:01:05 +0000 (+0000) Subject: net/liquidio: align dynamic log names with standard X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=96f60036719a5af580580aae8f5f06e464155cbf;p=dpdk.git net/liquidio: align dynamic log names with standard This commit aligns the names for dynamic logging with the newly defined logging format. Note that the "lio" term has been replaced with "liquidio", as the naming scheme defines that a PMD name should be the same as the directory that it lives in: drivers/net/liquidio Signed-off-by: Harry van Haaren Acked-by: Shijith Thotton Acked-by: Bruce Richardson --- diff --git a/drivers/net/liquidio/lio_ethdev.c b/drivers/net/liquidio/lio_ethdev.c index 843d023383..e1a20cd657 100644 --- a/drivers/net/liquidio/lio_ethdev.c +++ b/drivers/net/liquidio/lio_ethdev.c @@ -2189,10 +2189,10 @@ RTE_INIT(lio_init_log); static void lio_init_log(void) { - lio_logtype_init = rte_log_register("pmd.lio.init"); + lio_logtype_init = rte_log_register("pmd.net.liquidio.init"); if (lio_logtype_init >= 0) rte_log_set_level(lio_logtype_init, RTE_LOG_NOTICE); - lio_logtype_driver = rte_log_register("pmd.lio.driver"); + lio_logtype_driver = rte_log_register("pmd.net.liquidio.driver"); if (lio_logtype_driver >= 0) rte_log_set_level(lio_logtype_driver, RTE_LOG_NOTICE); }