[dpdk-dev] [PATCH v2 07/10] app/test: use struct ether_addr instead of a byte array cast

Cyril Chemparathy cchemparathy at ezchip.com
Mon Jun 22 18:40:21 CEST 2015


On Sun, 21 Jun 2015 21:56:24 -0400
Stephen Hemminger <stephen at networkplumber.org> wrote:

> On Fri, 19 Jun 2015 10:34:50 -0700
> Cyril Chemparathy <cchemparathy at ezchip.com> wrote:
> 
> > +	static struct ether_addr src_mac =
> > +		{ { 0x00, 0xFF, 0xAA, 0xFF, 0xAA, 0xFF } };
> > +	static struct ether_addr dst_mac =
> > +		{ { 0x00, 0xAA, 0xFF, 0xAA, 0xFF, 0xAA } };
> >  
> 
> Should have been const (in original code).

Thanks.  Fixed for v3.  I'll be happy to resend the series unless you
have comments on the rest of the patches.


More information about the dev mailing list