net/thunderx: align dynamic log names with standard
This commit aligns the names for dynamic logging with the newly defined logging format. Note that the "nicvf" term has been replaced with "thunderx", as the naming scheme defines that a PMD name should be the same as the directory that it lives in: drivers/net/thunderx Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
parent
b8da8fad67
commit
fd396066e1
@ -56,15 +56,15 @@ RTE_INIT(nicvf_init_log);
|
||||
static void
|
||||
nicvf_init_log(void)
|
||||
{
|
||||
nicvf_logtype_mbox = rte_log_register("pmd.nicvf.mbox");
|
||||
nicvf_logtype_mbox = rte_log_register("pmd.net.thunderx.mbox");
|
||||
if (nicvf_logtype_mbox >= 0)
|
||||
rte_log_set_level(nicvf_logtype_mbox, RTE_LOG_NOTICE);
|
||||
|
||||
nicvf_logtype_init = rte_log_register("pmd.nicvf.init");
|
||||
nicvf_logtype_init = rte_log_register("pmd.net.thunderx.init");
|
||||
if (nicvf_logtype_init >= 0)
|
||||
rte_log_set_level(nicvf_logtype_init, RTE_LOG_NOTICE);
|
||||
|
||||
nicvf_logtype_driver = rte_log_register("pmd.nicvf.driver");
|
||||
nicvf_logtype_driver = rte_log_register("pmd.net.thunderx.driver");
|
||||
if (nicvf_logtype_driver >= 0)
|
||||
rte_log_set_level(nicvf_logtype_driver, RTE_LOG_NOTICE);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user