From bace76f6bbf73f874f84d80a998995b479c95d6c Mon Sep 17 00:00:00 2001 From: Harry van Haaren Date: Thu, 25 Jan 2018 09:01:09 +0000 Subject: [PATCH] net/virtio: 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: Maxime Coquelin Acked-by: Bruce Richardson --- drivers/net/virtio/virtio_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c index 0ee1fab4d8..2082d6adb0 100644 --- a/drivers/net/virtio/virtio_ethdev.c +++ b/drivers/net/virtio/virtio_ethdev.c @@ -2151,10 +2151,10 @@ RTE_INIT(virtio_init_log); static void virtio_init_log(void) { - virtio_logtype_init = rte_log_register("pmd.virtio.init"); + virtio_logtype_init = rte_log_register("pmd.net.virtio.init"); if (virtio_logtype_init >= 0) rte_log_set_level(virtio_logtype_init, RTE_LOG_NOTICE); - virtio_logtype_driver = rte_log_register("pmd.virtio.driver"); + virtio_logtype_driver = rte_log_register("pmd.net.virtio.driver"); if (virtio_logtype_driver >= 0) rte_log_set_level(virtio_logtype_driver, RTE_LOG_NOTICE); } -- 2.20.1