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

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Jun 8 19:59:10 CEST 2016


2016-06-08 17:18, Mcnamara, John:
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon
> > 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.

Applied with John's proposal.


More information about the dev mailing list