From: Stephen Hemminger Date: Tue, 16 Jul 2019 18:47:30 +0000 (-0700) Subject: net/octeontx: use driver log type X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e6da1f00e7776ba7a05ca341c73b07f87eaf277f;p=dpdk.git net/octeontx: use driver log type All log messages should use driver logtype. RTE_LOGTYPE_PMD is planned to be deprecated in the future. Signed-off-by: Stephen Hemminger Acked-by: Jerin Jacob --- diff --git a/drivers/net/octeontx/octeontx_ethdev.c b/drivers/net/octeontx/octeontx_ethdev.c index 1b853399df..27eed47bb0 100644 --- a/drivers/net/octeontx/octeontx_ethdev.c +++ b/drivers/net/octeontx/octeontx_ethdev.c @@ -1175,7 +1175,7 @@ octeontx_probe(struct rte_vdev_device *dev) strlen(rte_vdev_device_args(dev)) == 0) { eth_dev = rte_eth_dev_attach_secondary(dev_name); if (!eth_dev) { - RTE_LOG(ERR, PMD, "Failed to probe %s\n", dev_name); + PMD_INIT_LOG(ERR, "Failed to probe %s", dev_name); return -1; } /* TODO: request info from primary to set up Rx and Tx */