[dpdk-dev] [PATCH] fm10k: add debug info for actual Rx/Tx func

Stephen Hemminger stephen at networkplumber.org
Tue Nov 24 17:41:59 CET 2015


On Tue, 24 Nov 2015 11:32:46 +0100
Thomas Monjalon <thomas.monjalon at 6wind.com> wrote:

> 2015-11-24 14:00, Chen Jing D:
> > This patch adds debug info to notify user what actual Rx/Tx
> > func are used.
> [...]
> > +	if (rx_using_sse)
> > +		PMD_INIT_LOG(ERR, "Use vector Rx func");
> > +	else
> > +		PMD_INIT_LOG(ERR, "Use regular Rx func");
> 
> debug info != LOG(ERR

Really should be DEBUG.
Developers need to remember you don't wan to see those log messages
in a production system.


More information about the dev mailing list