[dpdk-dev] [PATCH 12/14] ethdev: raise priority of old driver warning
Stephen Hemminger
stephen at networkplumber.org
Sat Jan 4 02:33:39 CET 2020
The priority of the message about drivers not using new (correct)
behaviour on close was debug. And debug messages are typically surpressed
and never seen. Raise the priority so that broken drivers are visible
and hopefully get developers to fix.
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
lib/librte_ethdev/rte_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c
index 6e9cb243ea80..545687dbc5c9 100644
--- a/lib/librte_ethdev/rte_ethdev.c
+++ b/lib/librte_ethdev/rte_ethdev.c
@@ -1717,7 +1717,7 @@ rte_eth_dev_close(uint16_t port_id)
rte_eth_dev_release_port(dev);
return;
}
- RTE_ETHDEV_LOG(DEBUG, "Port closing is using an old behaviour.\n"
+ RTE_ETHDEV_LOG(NOTICE, "Port closing is using an old behaviour.\n"
"The driver %s should migrate to the new behaviour.\n",
dev->device->driver->name);
/* old behaviour: only free queue arrays */
--
2.20.1
More information about the dev
mailing list