ethdev: decrease log level for unneeded actions
authorKevin Traynor <ktraynor@redhat.com>
Thu, 2 Aug 2018 18:39:41 +0000 (19:39 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 5 Aug 2018 13:28:44 +0000 (15:28 +0200)
commitd78c9816e77f2be376329929be471161512dc155
tree24597699ed746023666cdfd09bffa4b0c3825b49
parentb30aa8911ce652497fcadf0d5c771a2de9ac21c9
ethdev: decrease log level for unneeded actions

Change log level of messages from ERR to INFO where
the post condition of the API is success, but no action
was actually needed as the condition already existed.
e.g. calling rte_eth_dev_start() for a device that is
already started.

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

Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
lib/librte_ethdev/rte_ethdev.c