From: Harry van Haaren Date: Thu, 25 Jan 2018 09:01:09 +0000 (+0000) Subject: net/virtio: align dynamic log names with standard X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=bace76f6bbf73f874f84d80a998995b479c95d6c;p=dpdk.git 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 --- 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); }