From: Stephen Hemminger Date: Wed, 1 Aug 2018 17:43:56 +0000 (-0700) Subject: ethdev: decrease log level of ownership change X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=cf63e032737a61fbfb38247269e21184d8928375;p=dpdk.git ethdev: decrease log level of ownership change 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 Acked-by: Matan Azrad --- diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c index 2e40c3fba9..c7ab15722f 100644 --- a/lib/librte_ethdev/rte_ethdev.c +++ b/lib/librte_ethdev/rte_ethdev.c @@ -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;