ethdev: decrease log level of ownership change
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 1 Aug 2018 17:43:56 +0000 (10:43 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 2 Aug 2018 07:00:18 +0000 (09:00 +0200)
Changing ownership of a port is a normal event, and should
not be logged at ERR priority. Downgrade to a DEBUG message.

Fixes: bea1e0c70cfc ("ethdev: convert static log type usage to dynamic")

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Matan Azrad <matan@mellanox.com>
lib/librte_ethdev/rte_ethdev.c

index 2e40c3f..c7ab157 100644 (file)
@@ -463,7 +463,7 @@ _rte_eth_dev_owner_set(const uint16_t port_id, const uint64_t old_owner_id,
 
        port_owner->id = new_owner->id;
 
-       RTE_ETHDEV_LOG(ERR, "Port %u owner is %s_%016"PRIx64"\n",
+       RTE_ETHDEV_LOG(DEBUG, "Port %u owner is %s_%016"PRIx64"\n",
                port_id, new_owner->name, new_owner->id);
 
        return 0;