net/octeontx: use driver log type
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 16 Jul 2019 18:47:30 +0000 (11:47 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:36 +0000 (14:31 +0200)
All log messages should use driver logtype. RTE_LOGTYPE_PMD is
planned to be deprecated in the future.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/octeontx/octeontx_ethdev.c

index 1b85339..27eed47 100644 (file)
@@ -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 */