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 <stephen@networkplumber.org>
Acked-by: Matan Azrad <matan@mellanox.com>
This commit is contained in:
Stephen Hemminger 2018-08-01 10:43:56 -07:00 committed by Thomas Monjalon
parent fc4a4860ba
commit cf63e03273

View 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;