[dpdk-dev] [PATCH v4 07/17] net/avp: driver registration
    Legacy, Allain 
    Allain.Legacy at windriver.com
       
    Thu Mar 16 16:37:10 CET 2017
    
    
  
> -----Original Message-----
> From: Ferruh Yigit [mailto:ferruh.yigit at intel.com]
> Sent: Thursday, March 16, 2017 10:53 AM
<...>
> I am for removing static function declarations by reordering functions, and
> for this case even reordering not required I think, you can remove them.
Ok.  Will do
> > +	/* Get a mac from device config */
> > +	ether_addr_copy(&avp->ethaddr, ð_dev->data->mac_addrs[0]);
> 
> This copies MAC address from avp->ethaddr to eth_dev.
> But at this point avp->ethaddr is all zero, is this the intention?
This is because of the patch splitting.  The avp_dev_create() call sets this up.  I didn't notice that I had them in separate patches.  I will try to fix this up.
    
    
More information about the dev
mailing list