[dpdk-dev] [PATCH] testpmd: fix typo when closing port

Mcnamara, John john.mcnamara at intel.com
Wed Jun 8 19:18:27 CEST 2016



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon
> Sent: Wednesday, June 8, 2016 5:29 PM
> To: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] testpmd: fix typo when closing port
> 
> 2016-06-08 16:20, Pablo de Lara:
> >  		if (rte_atomic16_cmpset(&(port->port_status),
> >  			RTE_PORT_HANDLING, RTE_PORT_CLOSED) == 0)
> > -			printf("Port %d can not be set into stopped\n", pi);
> > +			printf("Port %d can not be set into closed\n", pi);
> 
> My english would say "Port cannot be closed".
> Am I wrong?

Yes, that is better or "Port cannot be set to closed" if "closed" is a
state like here.


More information about the dev mailing list