summaryrefslogtreecommitdiff
path: root/drivers/net/bnx2x
diff options
context:
space:
mode:
authorRasesh Mody <rasesh.mody@qlogic.com>2018-04-18 13:15:09 -0700
committerFerruh Yigit <ferruh.yigit@intel.com>2018-04-27 15:54:56 +0100
commit84785018d01932bf98dd0af948309aaefc18195f (patch)
treede9929e09d0691e4f7fc795c47256b37dc6af622 /drivers/net/bnx2x
parent66ba596aa6b5750b16549a322ef9a09fa7f0e3f6 (diff)
downloaddpdk-next-eventdev-84785018d01932bf98dd0af948309aaefc18195f.zip
dpdk-next-eventdev-84785018d01932bf98dd0af948309aaefc18195f.tar.gz
dpdk-next-eventdev-84785018d01932bf98dd0af948309aaefc18195f.tar.xz
net/bnx2x: make init and driver logtype names consistent
Signed-off-by: Rasesh Mody <rasesh.mody@qlogic.com>
Diffstat (limited to 'drivers/net/bnx2x')
-rw-r--r--drivers/net/bnx2x/bnx2x_ethdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c b/drivers/net/bnx2x/bnx2x_ethdev.c
index e08ef77..6ccbb99 100644
--- a/drivers/net/bnx2x/bnx2x_ethdev.c
+++ b/drivers/net/bnx2x/bnx2x_ethdev.c
@@ -697,10 +697,10 @@ RTE_INIT(bnx2x_init_log);
static void
bnx2x_init_log(void)
{
- bnx2x_logtype_init = rte_log_register("pmd.bnx2x.init");
+ bnx2x_logtype_init = rte_log_register("pmd.net.bnx2x.init");
if (bnx2x_logtype_init >= 0)
rte_log_set_level(bnx2x_logtype_init, RTE_LOG_NOTICE);
- bnx2x_logtype_driver = rte_log_register("pmd.bnx2x.driver");
+ bnx2x_logtype_driver = rte_log_register("pmd.net.bnx2x.driver");
if (bnx2x_logtype_driver >= 0)
rte_log_set_level(bnx2x_logtype_driver, RTE_LOG_NOTICE);
}