[ipxe-devel] [PATCH 2/3] igbvf: Assign random MAC address if none is set

Hannes Reinecke hare at suse.de
Fri May 30 08:42:40 UTC 2014


On 05/30/2014 10:24 AM, Michael Brown wrote:
> On 30/05/14 08:18, Hannes Reinecke wrote:
>> If the VF doesn't have a MAC address assigned we should create
>> a random MAC address. Not doing so results in the probe function
>> to abort and an unuseable device.
>
> This is something which is probably generic enough to justify a
> function such as eth_random_addr() in net/ethernet.c.  Would you be
> willing to reimplement your patch in that way (and without the
> current whitespace-only changes)?
>
To hear is to obey :-)

And one should probably check if ixgbevf.c shouldn't be subjected to 
the same change.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare at suse.de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)



More information about the ipxe-devel mailing list