[dpdk-dev] [PATCH 12/14] ethdev: raise priority of old driver warning

Thomas Monjalon thomas at monjalon.net
Sat Apr 25 17:53:47 CEST 2020


04/01/2020 02:33, Stephen Hemminger:
> 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>
> ---
> --- 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_ETHDEV_LOG(DEBUG, "Port closing is using an old behaviour.\n"
> +	RTE_ETHDEV_LOG(NOTICE, "Port closing is using an old behaviour.\n"

Acked-by: Thomas Monjalon <thomas at monjalon.net>

PS: I did not notice this patch earlier.
Please, next time, Cc maintainers with this git-send-email option:
	--cc-cmd devtools/get-maintainer.sh




More information about the dev mailing list