From: Harry van Haaren Date: Thu, 25 Jan 2018 09:00:56 +0000 (+0000) Subject: drivers/bbdev: align dynamic log names with standard X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e7b8f15bed077af40b0804202c665582fa4943fb;p=dpdk.git drivers/bbdev: 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: Bruce Richardson --- diff --git a/drivers/bbdev/null/bbdev_null.c b/drivers/bbdev/null/bbdev_null.c index b23d76666e..1a66de1407 100644 --- a/drivers/bbdev/null/bbdev_null.c +++ b/drivers/bbdev/null/bbdev_null.c @@ -340,7 +340,7 @@ RTE_INIT(null_bbdev_init_log); static void null_bbdev_init_log(void) { - bbdev_logtype = rte_log_register("pmd.bbdev.null"); + bbdev_logtype = rte_log_register("pmd.bb.null"); if (bbdev_logtype >= 0) rte_log_set_level(bbdev_logtype, RTE_LOG_NOTICE); } diff --git a/drivers/bbdev/turbo_sw/bbdev_turbo_software.c b/drivers/bbdev/turbo_sw/bbdev_turbo_software.c index 981da6e753..33f7135467 100644 --- a/drivers/bbdev/turbo_sw/bbdev_turbo_software.c +++ b/drivers/bbdev/turbo_sw/bbdev_turbo_software.c @@ -1200,7 +1200,7 @@ RTE_INIT(null_bbdev_init_log); static void null_bbdev_init_log(void) { - bbdev_logtype = rte_log_register("pmd.bbdev.turbo_sw"); + bbdev_logtype = rte_log_register("pmd.bb.turbo_sw"); if (bbdev_logtype >= 0) rte_log_set_level(bbdev_logtype, RTE_LOG_NOTICE); }