net/tap: lower the priority of log messages
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 11 Jan 2019 20:35:17 +0000 (12:35 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 Jan 2019 16:44:29 +0000 (17:44 +0100)
Any messages that normally occur during probe should be at DEBUG
level (not NOTICE). This reduces overall log clutter.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by Keith Wiles <keith.wiles@intel.com>

drivers/net/tap/rte_eth_tap.c

index d8e9ede..d699b4f 100644 (file)
@@ -2053,7 +2053,7 @@ rte_pmd_tun_probe(struct rte_vdev_device *dev)
        }
        pmd_link.link_speed = ETH_SPEED_NUM_10G;
 
-       TAP_LOG(NOTICE, "Initializing pmd_tun for %s as %s",
+       TAP_LOG(DEBUG, "Initializing pmd_tun for %s as %s",
                name, tun_name);
 
        ret = eth_dev_tap_create(dev, tun_name, remote_iface, 0,
@@ -2258,8 +2258,7 @@ rte_pmd_tap_probe(struct rte_vdev_device *dev)
        }
        pmd_link.link_speed = speed;
 
-       TAP_LOG(NOTICE, "Initializing pmd_tap for %s as %s",
-               name, tap_name);
+       TAP_LOG(DEBUG, "Initializing pmd_tap for %s", name);
 
        /* Register IPC feed callback */
        if (!tap_devices_count) {