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

Hannes Reinecke hare at suse.de
Fri May 30 15:19:48 BST 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)?
>
Updated patch attached.

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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-igbvf-Assign-random-MAC-address-if-none-is-set.patch
Type: text/x-patch
Size: 3430 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20140530/ed0f21c4/attachment.bin>


More information about the ipxe-devel mailing list