[dpdk-dev] [PATCH] lib/librte_power: set new frequecy on turbo_disable

Bruce Richardson bruce.richardson at intel.com
Tue Apr 16 11:25:12 CEST 2019


On Mon, Apr 15, 2019 at 09:36:40AM -0700, Stephen Hemminger wrote:
> On Mon, 15 Apr 2019 17:11:10 +0100
> "Liang, Ma" <liang.j.ma at intel.com> wrote:
> 
> > >  	pi->turbo_enable = 0;
> > >  
> > > -
> > > +	if ((pi->turbo_available) && (pi->curr_idx <= 1)) {
> 
> You (don't) need (so many) parenthesis.

True (but it doesn't hurt (either)) :-)


More information about the dev mailing list