[dpdk-dev] [PATCH 2/2] examples: increase port_id range

Yang, Zhiyong zhiyong.yang at intel.com
Thu Aug 10 03:03:35 CEST 2017


Hi, Stephen:

> -----Original Message-----
> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Wednesday, August 9, 2017 10:49 PM
> To: Yang, Zhiyong <zhiyong.yang at intel.com>
> Cc: dev at dpdk.org; thomas at monjalon.net
> Subject: Re: [dpdk-dev] [PATCH 2/2] examples: increase port_id range
> 
> On Wed,  9 Aug 2017 16:42:03 +0800
> Zhiyong Yang <zhiyong.yang at intel.com> wrote:
> 
> > -	BOND_PORT = (uint8_t)retval;
> > +	BOND_PORT = (uint16_t)retval;
> >
> 
> The cast here is unnecessary (in C). Please remove it.

Ok, remove it.

Thanks
Zhiyong


More information about the dev mailing list